Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 23:59:02.843540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/56/image_12012025_23_56_02_710450_0003.jpg', '/home/pi/Desktop/images/12012025/23/57/image_12012025_23_57_02_914876_0000.jpg', '/home/pi/Desktop/images/12012025/23/57/image_12012025_23_57_02_914876_0001.jpg', '/home/pi/Desktop/images/12012025/23/57/image_12012025_23_57_02_914876_0002.jpg', '/home/pi/Desktop/images/12012025/23/57/image_12012025_23_57_02_914876_0003.jpg', '/home/pi/Desktop/images/12012025/23/58/image_12012025_23_58_03_140226_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/56/image_12012025_23_56_02_710450_0003.jpg
/home/pi/Desktop/images/12012025/23/57/image_12012025_23_57_02_914876_0000.jpg
/home/pi/Desktop/images/12012025/23/57/image_12012025_23_57_02_914876_0001.jpg
/home/pi/Desktop/images/12012025/23/57/image_12012025_23_57_02_914876_0002.jpg
/home/pi/Desktop/images/12012025/23/57/image_12012025_23_57_02_914876_0003.jpg
/home/pi/Desktop/images/12012025/23/58/image_12012025_23_58_03_140226_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328529922","1328529925","1328529924","1328529921","1328529918","1328530031"],"photo_ids_order":["1328529918","1328529921","1328529922","1328529924","1328529925","1328530031"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/668339b0dcef1ad3ed9afafdaf3cf777.jpg","text":"TemporaryFile(/tmp/multipartBody8360702673505954684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722819068,"filename":"image_12012025_23_57_02_914876_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c127c82fc5cc0f1dfeb96caeb79f5411.jpg","text":"TemporaryFile(/tmp/multipartBody2624413032670946022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722819068,"filename":"image_12012025_23_57_02_914876_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/942b0b7a41398c3d6f0708e3ba4b09fa.jpg","text":"TemporaryFile(/tmp/multipartBody7282891641578105337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722819068,"filename":"image_12012025_23_57_02_914876_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/65ae397e2adf495d0220b4d0b224c9cb.jpg","text":"TemporaryFile(/tmp/multipartBody4404081963079374121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722819068,"filename":"image_12012025_23_57_02_914876_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/390084ecdbe3ac1b155726dd03111a63.jpg","text":"TemporaryFile(/tmp/multipartBody4756548727562200485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722819068,"filename":"image_12012025_23_56_02_710450_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6eee9ab81fd965977ec5901896cb859c.jpg","text":"TemporaryFile(/tmp/multipartBody7417035194902036502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722819068,"filename":"image_12012025_23_58_03_140226_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328529922","file1":"1328529921","file0":"1328529918","file4":"1328529925","file5":"1328530031","file3":"1328529924"},"map_files_photo_id_array":[{"photo_id":"1328530031","filename":"file5"},{"photo_id":"1328529922","filename":"file2"},{"photo_id":"1328529925","filename":"file4"},{"photo_id":"1328529921","filename":"file1"},{"photo_id":"1328529918","filename":"file0"},{"photo_id":"1328529924","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328529922":["hashtag1","hashtag2"]},{"1328529925":["hashtag1","hashtag2"]},{"1328529924":["hashtag1","hashtag2"]},{"1328529921":["hashtag1","hashtag2"]},{"1328529918":["hashtag1","hashtag2"]},{"1328530031":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328529922, 1328529925, 1328529924, 1328529921, 1328529918, 1328530031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.72502064704895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 00:00:22.265120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : refus_amiens_0424_13012025
 fc.token : 832f9dd9be82d72b547808d5fcaa9529
True
{'portfolio_id': 19538744, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1736722883000}
533
2477380
533
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/00/image_13012025_00_00_02_584658_0000.jpg', '/home/pi/Desktop/images/13012025/00/00/image_13012025_00_00_02_584658_0001.jpg', '/home/pi/Desktop/images/13012025/00/00/image_13012025_00_00_02_584658_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/00/image_13012025_00_00_02_584658_0000.jpg
/home/pi/Desktop/images/13012025/00/00/image_13012025_00_00_02_584658_0001.jpg
/home/pi/Desktop/images/13012025/00/00/image_13012025_00_00_02_584658_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328530335","1328530340","1328530343"],"photo_ids_order":["1328530335","1328530340","1328530343"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b77da11f8517cc46e5a8d52270eb9b8d.jpg","text":"TemporaryFile(/tmp/multipartBody1187094169200772744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722893953,"filename":"image_13012025_00_00_02_584658_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/927910fa3ddca7f6d006e778e4977a68.jpg","text":"TemporaryFile(/tmp/multipartBody3267900311389603907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722893953,"filename":"image_13012025_00_00_02_584658_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1b70018534945ed624a79dea970b5eb1.jpg","text":"TemporaryFile(/tmp/multipartBody933639268196663268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722893953,"filename":"image_13012025_00_00_02_584658_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328530343","file1":"1328530340","file0":"1328530335"},"map_files_photo_id_array":[{"photo_id":"1328530343","filename":"file2"},{"photo_id":"1328530340","filename":"file1"},{"photo_id":"1328530335","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328530335":["hashtag1","hashtag2"]},{"1328530340":["hashtag1","hashtag2"]},{"1328530343":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328530335, 1328530340, 1328530343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.47578763961792 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:01:03.028305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/58/image_12012025_23_58_03_140226_0001.jpg', '/home/pi/Desktop/images/12012025/23/58/image_12012025_23_58_03_140226_0002.jpg', '/home/pi/Desktop/images/12012025/23/58/image_12012025_23_58_03_140226_0003.jpg', '/home/pi/Desktop/images/12012025/23/59/image_12012025_23_59_02_246775_0000.jpg', '/home/pi/Desktop/images/12012025/23/59/image_12012025_23_59_02_246775_0001.jpg', '/home/pi/Desktop/images/12012025/23/59/image_12012025_23_59_02_246775_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/58/image_12012025_23_58_03_140226_0001.jpg
/home/pi/Desktop/images/12012025/23/58/image_12012025_23_58_03_140226_0002.jpg
/home/pi/Desktop/images/12012025/23/58/image_12012025_23_58_03_140226_0003.jpg
/home/pi/Desktop/images/12012025/23/59/image_12012025_23_59_02_246775_0000.jpg
/home/pi/Desktop/images/12012025/23/59/image_12012025_23_59_02_246775_0001.jpg
/home/pi/Desktop/images/12012025/23/59/image_12012025_23_59_02_246775_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328530669","1328530475","1328530598","1328530736","1328530439","1328530532"],"photo_ids_order":["1328530439","1328530475","1328530532","1328530598","1328530669","1328530736"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bc1af5e853ec5577e64520f9378d09a5.jpg","text":"TemporaryFile(/tmp/multipartBody2747391609204520811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722939218,"filename":"image_12012025_23_59_02_246775_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e1c194b1dbb5647bf1472534a9453cf5.jpg","text":"TemporaryFile(/tmp/multipartBody1277924259881401867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722939218,"filename":"image_12012025_23_58_03_140226_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b315563af67a9317b0b18285fb42c8fe.jpg","text":"TemporaryFile(/tmp/multipartBody4350815416305705464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722939218,"filename":"image_12012025_23_59_02_246775_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a09a24814b036d4eeb471b7c6d5bf608.jpg","text":"TemporaryFile(/tmp/multipartBody152777418864294057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722939218,"filename":"image_12012025_23_59_02_246775_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cd95dafc520d396ea672283e81c1c047.jpg","text":"TemporaryFile(/tmp/multipartBody602335681485814945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722939218,"filename":"image_12012025_23_58_03_140226_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/354f33d781615515bee01869068c279a.jpg","text":"TemporaryFile(/tmp/multipartBody3045097873788391584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722939218,"filename":"image_12012025_23_58_03_140226_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328530532","file1":"1328530475","file0":"1328530439","file4":"1328530669","file5":"1328530736","file3":"1328530598"},"map_files_photo_id_array":[{"photo_id":"1328530736","filename":"file5"},{"photo_id":"1328530532","filename":"file2"},{"photo_id":"1328530669","filename":"file4"},{"photo_id":"1328530475","filename":"file1"},{"photo_id":"1328530439","filename":"file0"},{"photo_id":"1328530598","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328530669":["hashtag1","hashtag2"]},{"1328530475":["hashtag1","hashtag2"]},{"1328530598":["hashtag1","hashtag2"]},{"1328530736":["hashtag1","hashtag2"]},{"1328530439":["hashtag1","hashtag2"]},{"1328530532":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328530669, 1328530475, 1328530598, 1328530736, 1328530439, 1328530532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.223790645599365 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:02:03.061559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/00/image_13012025_00_00_02_584658_0003.jpg', '/home/pi/Desktop/images/13012025/00/01/image_13012025_00_01_02_617283_0000.jpg', '/home/pi/Desktop/images/13012025/00/01/image_13012025_00_01_02_617283_0001.jpg', '/home/pi/Desktop/images/13012025/00/01/image_13012025_00_01_02_617283_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/00/image_13012025_00_00_02_584658_0003.jpg
/home/pi/Desktop/images/13012025/00/01/image_13012025_00_01_02_617283_0000.jpg
/home/pi/Desktop/images/13012025/00/01/image_13012025_00_01_02_617283_0001.jpg
/home/pi/Desktop/images/13012025/00/01/image_13012025_00_01_02_617283_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328531014","1328531133","1328531191","1328531080"],"photo_ids_order":["1328531014","1328531080","1328531133","1328531191"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/97d9ca295bc086d872f254dfa301d914.jpg","text":"TemporaryFile(/tmp/multipartBody2111147322948651803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722993427,"filename":"image_13012025_00_00_02_584658_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3e95897b14c8d7d81c269b60a6b4a4c6.jpg","text":"TemporaryFile(/tmp/multipartBody498068588484087336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722993427,"filename":"image_13012025_00_01_02_617283_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/16a4570b98db26add10861e73b84a5f2.jpg","text":"TemporaryFile(/tmp/multipartBody325672113503652553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722993427,"filename":"image_13012025_00_01_02_617283_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0b64620565ebaa168fa6265b709b8f55.jpg","text":"TemporaryFile(/tmp/multipartBody2463694988688910262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722993427,"filename":"image_13012025_00_01_02_617283_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328531133","file1":"1328531080","file0":"1328531014","file3":"1328531191"},"map_files_photo_id_array":[{"photo_id":"1328531133","filename":"file2"},{"photo_id":"1328531080","filename":"file1"},{"photo_id":"1328531014","filename":"file0"},{"photo_id":"1328531191","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328531014":["hashtag1","hashtag2"]},{"1328531133":["hashtag1","hashtag2"]},{"1328531191":["hashtag1","hashtag2"]},{"1328531080":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328531014, 1328531133, 1328531191, 1328531080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.200342416763306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:02:52.566538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/59/image_12012025_23_59_02_246775_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/59/image_12012025_23_59_02_246775_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328531460"],"photo_id":"1328531460","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/feb6145da6139e2fb10564f9edada7ef.jpg","text":"TemporaryFile(/tmp/multipartBody6408513355843725496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723036486,"filename":"image_12012025_23_59_02_246775_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1328531460"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1328531460"}],"hashtags":[],"portfolio_id":"19529693","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.290746212005615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 00:03:22.910777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/01/image_13012025_00_01_02_617283_0003.jpg', '/home/pi/Desktop/images/13012025/00/02/image_13012025_00_02_02_774982_0000.jpg', '/home/pi/Desktop/images/13012025/00/02/image_13012025_00_02_02_774982_0001.jpg', '/home/pi/Desktop/images/13012025/00/02/image_13012025_00_02_02_774982_0002.jpg', '/home/pi/Desktop/images/13012025/00/02/image_13012025_00_02_02_774982_0003.jpg', '/home/pi/Desktop/images/13012025/00/03/image_13012025_00_03_02_970850_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/01/image_13012025_00_01_02_617283_0003.jpg
/home/pi/Desktop/images/13012025/00/02/image_13012025_00_02_02_774982_0000.jpg
/home/pi/Desktop/images/13012025/00/02/image_13012025_00_02_02_774982_0001.jpg
/home/pi/Desktop/images/13012025/00/02/image_13012025_00_02_02_774982_0002.jpg
/home/pi/Desktop/images/13012025/00/02/image_13012025_00_02_02_774982_0003.jpg
/home/pi/Desktop/images/13012025/00/03/image_13012025_00_03_02_970850_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328531920","1328531976","1328532095","1328532098","1328532053","1328532019"],"photo_ids_order":["1328531920","1328531976","1328532019","1328532053","1328532095","1328532098"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0fcb5ddc1bdc02dcd83dd22c19203a2c.jpg","text":"TemporaryFile(/tmp/multipartBody1913203242621507890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723078195,"filename":"image_13012025_00_01_02_617283_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0485c85e19044a299c6cabe9c4721232.jpg","text":"TemporaryFile(/tmp/multipartBody3887399482750834485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723078195,"filename":"image_13012025_00_02_02_774982_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6b30625c51e56eef05865f3d7a8477e6.jpg","text":"TemporaryFile(/tmp/multipartBody8163246327642201395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723078195,"filename":"image_13012025_00_02_02_774982_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/91cbe69c640b4150187a1189131461ef.jpg","text":"TemporaryFile(/tmp/multipartBody6974908330869097237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723078195,"filename":"image_13012025_00_03_02_970850_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2a228a518bf3561f39c512d2bbcd5887.jpg","text":"TemporaryFile(/tmp/multipartBody9208201967006828008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723078195,"filename":"image_13012025_00_02_02_774982_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/25aa7717d7e9ef9e52d7586f2b9cb6f5.jpg","text":"TemporaryFile(/tmp/multipartBody3133758089864501533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723078195,"filename":"image_13012025_00_02_02_774982_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328532019","file1":"1328531976","file0":"1328531920","file4":"1328532095","file5":"1328532098","file3":"1328532053"},"map_files_photo_id_array":[{"photo_id":"1328532098","filename":"file5"},{"photo_id":"1328532019","filename":"file2"},{"photo_id":"1328532095","filename":"file4"},{"photo_id":"1328531976","filename":"file1"},{"photo_id":"1328531920","filename":"file0"},{"photo_id":"1328532053","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328531920":["hashtag1","hashtag2"]},{"1328531976":["hashtag1","hashtag2"]},{"1328532095":["hashtag1","hashtag2"]},{"1328532098":["hashtag1","hashtag2"]},{"1328532053":["hashtag1","hashtag2"]},{"1328532019":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328531920, 1328531976, 1328532095, 1328532098, 1328532053, 1328532019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.60464811325073 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:04:51.922205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:05:02.723471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/03/image_13012025_00_03_02_970850_0001.jpg', '/home/pi/Desktop/images/13012025/00/03/image_13012025_00_03_02_970850_0002.jpg', '/home/pi/Desktop/images/13012025/00/03/image_13012025_00_03_02_970850_0003.jpg', '/home/pi/Desktop/images/13012025/00/04/image_13012025_00_04_03_178918_0000.jpg', '/home/pi/Desktop/images/13012025/00/04/image_13012025_00_04_03_178918_0001.jpg', '/home/pi/Desktop/images/13012025/00/04/image_13012025_00_04_03_178918_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/03/image_13012025_00_03_02_970850_0001.jpg
/home/pi/Desktop/images/13012025/00/03/image_13012025_00_03_02_970850_0002.jpg
/home/pi/Desktop/images/13012025/00/03/image_13012025_00_03_02_970850_0003.jpg
/home/pi/Desktop/images/13012025/00/04/image_13012025_00_04_03_178918_0000.jpg
/home/pi/Desktop/images/13012025/00/04/image_13012025_00_04_03_178918_0001.jpg
/home/pi/Desktop/images/13012025/00/04/image_13012025_00_04_03_178918_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328532750","1328532842","1328532787","1328532742","1328532844","1328532894"],"photo_ids_order":["1328532742","1328532750","1328532787","1328532842","1328532844","1328532894"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0ab01d44bfa41014c19b3d55a490eb23.jpg","text":"TemporaryFile(/tmp/multipartBody9094189954491944773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723177943,"filename":"image_13012025_00_03_02_970850_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1c4ea1c593420433df3326fc3a941659.jpg","text":"TemporaryFile(/tmp/multipartBody3785639006245483430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723177943,"filename":"image_13012025_00_04_03_178918_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/27bd4db033273ecb2386fac44dc1c6e8.jpg","text":"TemporaryFile(/tmp/multipartBody2499817113851990363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723177943,"filename":"image_13012025_00_03_02_970850_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d390e6acef369d50261cfa6d7a544fb4.jpg","text":"TemporaryFile(/tmp/multipartBody8674664671966214527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723177943,"filename":"image_13012025_00_03_02_970850_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d723aa37ce90959e27d71f89abc0dcb6.jpg","text":"TemporaryFile(/tmp/multipartBody4834978318028007280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723177943,"filename":"image_13012025_00_04_03_178918_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a5aa3e12c8b9850008ca76418e19a68f.jpg","text":"TemporaryFile(/tmp/multipartBody2241499956275706446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723177943,"filename":"image_13012025_00_04_03_178918_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328532787","file1":"1328532750","file0":"1328532742","file4":"1328532844","file5":"1328532894","file3":"1328532842"},"map_files_photo_id_array":[{"photo_id":"1328532894","filename":"file5"},{"photo_id":"1328532787","filename":"file2"},{"photo_id":"1328532844","filename":"file4"},{"photo_id":"1328532750","filename":"file1"},{"photo_id":"1328532742","filename":"file0"},{"photo_id":"1328532842","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328532750":["hashtag1","hashtag2"]},{"1328532842":["hashtag1","hashtag2"]},{"1328532787":["hashtag1","hashtag2"]},{"1328532742":["hashtag1","hashtag2"]},{"1328532844":["hashtag1","hashtag2"]},{"1328532894":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328532750, 1328532842, 1328532787, 1328532742, 1328532844, 1328532894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.64008641242981 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:06:02.791070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/04/image_13012025_00_04_03_178918_0003.jpg', '/home/pi/Desktop/images/13012025/00/05/image_13012025_00_05_02_274886_0000.jpg', '/home/pi/Desktop/images/13012025/00/05/image_13012025_00_05_02_274886_0001.jpg', '/home/pi/Desktop/images/13012025/00/05/image_13012025_00_05_02_274886_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/04/image_13012025_00_04_03_178918_0003.jpg
/home/pi/Desktop/images/13012025/00/05/image_13012025_00_05_02_274886_0000.jpg
/home/pi/Desktop/images/13012025/00/05/image_13012025_00_05_02_274886_0001.jpg
/home/pi/Desktop/images/13012025/00/05/image_13012025_00_05_02_274886_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328532921","1328532923","1328532925","1328532919"],"photo_ids_order":["1328532919","1328532921","1328532923","1328532925"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d5dd9ea444ed7b1ceb67d9a6b06ebc83.jpg","text":"TemporaryFile(/tmp/multipartBody3659162412900206206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723233101,"filename":"image_13012025_00_05_02_274886_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5f4121ef17ced94c97f59708fed562c1.jpg","text":"TemporaryFile(/tmp/multipartBody598644851899115696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723233101,"filename":"image_13012025_00_05_02_274886_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/283de2a7b756bc2a815c384f25d481c0.jpg","text":"TemporaryFile(/tmp/multipartBody1762335508001145298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723233101,"filename":"image_13012025_00_05_02_274886_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a7b086e77599292e5818469229edf3df.jpg","text":"TemporaryFile(/tmp/multipartBody4503894157878623581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723233101,"filename":"image_13012025_00_04_03_178918_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328532923","file1":"1328532921","file0":"1328532919","file3":"1328532925"},"map_files_photo_id_array":[{"photo_id":"1328532923","filename":"file2"},{"photo_id":"1328532921","filename":"file1"},{"photo_id":"1328532919","filename":"file0"},{"photo_id":"1328532925","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328532921":["hashtag1","hashtag2"]},{"1328532923":["hashtag1","hashtag2"]},{"1328532925":["hashtag1","hashtag2"]},{"1328532919":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328532921, 1328532923, 1328532925, 1328532919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.281957149505615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:06:52.318289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:07:02.884669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/05/image_13012025_00_05_02_274886_0003.jpg', '/home/pi/Desktop/images/13012025/00/06/image_13012025_00_06_02_498656_0000.jpg', '/home/pi/Desktop/images/13012025/00/06/image_13012025_00_06_02_498656_0001.jpg', '/home/pi/Desktop/images/13012025/00/06/image_13012025_00_06_02_498656_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/05/image_13012025_00_05_02_274886_0003.jpg
/home/pi/Desktop/images/13012025/00/06/image_13012025_00_06_02_498656_0000.jpg
/home/pi/Desktop/images/13012025/00/06/image_13012025_00_06_02_498656_0001.jpg
/home/pi/Desktop/images/13012025/00/06/image_13012025_00_06_02_498656_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328532933","1328532935","1328532929","1328532931"],"photo_ids_order":["1328532929","1328532931","1328532933","1328532935"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/139410c14a76ebbeac5a22d22380087c.jpg","text":"TemporaryFile(/tmp/multipartBody4578324897129650955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723293360,"filename":"image_13012025_00_06_02_498656_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/33bde73bd7e0844c0295e9c93eb789cf.jpg","text":"TemporaryFile(/tmp/multipartBody5090568489393233770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723293360,"filename":"image_13012025_00_06_02_498656_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bb7d85b77bd58f9397b826beac6b86d9.jpg","text":"TemporaryFile(/tmp/multipartBody1617876238733946969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723293360,"filename":"image_13012025_00_05_02_274886_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0d3eb5ed8f65d0726ea76a1a436cf5a6.jpg","text":"TemporaryFile(/tmp/multipartBody8965264464570951580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723293360,"filename":"image_13012025_00_06_02_498656_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328532933","file1":"1328532931","file0":"1328532929","file3":"1328532935"},"map_files_photo_id_array":[{"photo_id":"1328532933","filename":"file2"},{"photo_id":"1328532931","filename":"file1"},{"photo_id":"1328532929","filename":"file0"},{"photo_id":"1328532935","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328532933":["hashtag1","hashtag2"]},{"1328532935":["hashtag1","hashtag2"]},{"1328532929":["hashtag1","hashtag2"]},{"1328532931":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328532933, 1328532935, 1328532929, 1328532931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.049546003341675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:07:52.443972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:08:03.035390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/06/image_13012025_00_06_02_498656_0003.jpg', '/home/pi/Desktop/images/13012025/00/07/image_13012025_00_07_02_641703_0000.jpg', '/home/pi/Desktop/images/13012025/00/07/image_13012025_00_07_02_641703_0001.jpg', '/home/pi/Desktop/images/13012025/00/07/image_13012025_00_07_02_641703_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/06/image_13012025_00_06_02_498656_0003.jpg
/home/pi/Desktop/images/13012025/00/07/image_13012025_00_07_02_641703_0000.jpg
/home/pi/Desktop/images/13012025/00/07/image_13012025_00_07_02_641703_0001.jpg
/home/pi/Desktop/images/13012025/00/07/image_13012025_00_07_02_641703_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328532942","1328532945","1328532939","1328532943"],"photo_ids_order":["1328532939","1328532942","1328532943","1328532945"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c2a5b6368858e797dbe8cb30ea8100fb.jpg","text":"TemporaryFile(/tmp/multipartBody3808032308857195024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723353437,"filename":"image_13012025_00_07_02_641703_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6cd5175ca9e9f12e06241cd4966c4f54.jpg","text":"TemporaryFile(/tmp/multipartBody7992476417462667719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723353437,"filename":"image_13012025_00_07_02_641703_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/263828a3b2252c3aafb865119d4535ee.jpg","text":"TemporaryFile(/tmp/multipartBody6973377785134329180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723353437,"filename":"image_13012025_00_06_02_498656_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0f78476159de8a38c65ee1a76cfd4bb3.jpg","text":"TemporaryFile(/tmp/multipartBody5425153968580770676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723353437,"filename":"image_13012025_00_07_02_641703_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328532943","file1":"1328532942","file0":"1328532939","file3":"1328532945"},"map_files_photo_id_array":[{"photo_id":"1328532943","filename":"file2"},{"photo_id":"1328532942","filename":"file1"},{"photo_id":"1328532939","filename":"file0"},{"photo_id":"1328532945","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328532942":["hashtag1","hashtag2"]},{"1328532945":["hashtag1","hashtag2"]},{"1328532939":["hashtag1","hashtag2"]},{"1328532943":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328532942, 1328532945, 1328532939, 1328532943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.86124038696289 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:08:52.654258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:09:02.524722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/07/image_13012025_00_07_02_641703_0003.jpg', '/home/pi/Desktop/images/13012025/00/08/image_13012025_00_08_03_004905_0000.jpg', '/home/pi/Desktop/images/13012025/00/08/image_13012025_00_08_03_004905_0001.jpg', '/home/pi/Desktop/images/13012025/00/08/image_13012025_00_08_03_004905_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/07/image_13012025_00_07_02_641703_0003.jpg
/home/pi/Desktop/images/13012025/00/08/image_13012025_00_08_03_004905_0000.jpg
/home/pi/Desktop/images/13012025/00/08/image_13012025_00_08_03_004905_0001.jpg
/home/pi/Desktop/images/13012025/00/08/image_13012025_00_08_03_004905_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328532954","1328532948","1328532950","1328532952"],"photo_ids_order":["1328532948","1328532950","1328532952","1328532954"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8d39b3582b4719c43e630999e55707bd.jpg","text":"TemporaryFile(/tmp/multipartBody801893616963963092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723412951,"filename":"image_13012025_00_08_03_004905_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/881b09431aeedaa818064c38d229f09f.jpg","text":"TemporaryFile(/tmp/multipartBody1899666336593982243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723412951,"filename":"image_13012025_00_07_02_641703_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7553dfe405da1449e0d2c663901026c3.jpg","text":"TemporaryFile(/tmp/multipartBody3150081136780368070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723412951,"filename":"image_13012025_00_08_03_004905_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a99ca8c941a165713d74aa5bb8742b3f.jpg","text":"TemporaryFile(/tmp/multipartBody6639723567400342865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723412951,"filename":"image_13012025_00_08_03_004905_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328532952","file1":"1328532950","file0":"1328532948","file3":"1328532954"},"map_files_photo_id_array":[{"photo_id":"1328532952","filename":"file2"},{"photo_id":"1328532950","filename":"file1"},{"photo_id":"1328532948","filename":"file0"},{"photo_id":"1328532954","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328532954":["hashtag1","hashtag2"]},{"1328532948":["hashtag1","hashtag2"]},{"1328532950":["hashtag1","hashtag2"]},{"1328532952":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328532954, 1328532948, 1328532950, 1328532952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.17400336265564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:09:51.865886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:10:02.440042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/08/image_13012025_00_08_03_004905_0003.jpg', '/home/pi/Desktop/images/13012025/00/09/image_13012025_00_09_02_994347_0000.jpg', '/home/pi/Desktop/images/13012025/00/09/image_13012025_00_09_02_994347_0001.jpg', '/home/pi/Desktop/images/13012025/00/09/image_13012025_00_09_02_994347_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/08/image_13012025_00_08_03_004905_0003.jpg
/home/pi/Desktop/images/13012025/00/09/image_13012025_00_09_02_994347_0000.jpg
/home/pi/Desktop/images/13012025/00/09/image_13012025_00_09_02_994347_0001.jpg
/home/pi/Desktop/images/13012025/00/09/image_13012025_00_09_02_994347_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328533811","1328533618","1328533348","1328533467"],"photo_ids_order":["1328533348","1328533467","1328533618","1328533811"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/45b4d64b9d3b2a3351e8deb8330f28c8.jpg","text":"TemporaryFile(/tmp/multipartBody297410697912441927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723473011,"filename":"image_13012025_00_09_02_994347_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7fab303ebf8bcb6e3f64df9269dab5ed.jpg","text":"TemporaryFile(/tmp/multipartBody2416102401835228805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723473011,"filename":"image_13012025_00_09_02_994347_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4b185e93035a340acc6ffa01e1fef15e.jpg","text":"TemporaryFile(/tmp/multipartBody5096564952898782933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723473011,"filename":"image_13012025_00_08_03_004905_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6e0e23f47a8db260dad4289df8e919d5.jpg","text":"TemporaryFile(/tmp/multipartBody5440705120476955487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723473011,"filename":"image_13012025_00_09_02_994347_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328533618","file1":"1328533467","file0":"1328533348","file3":"1328533811"},"map_files_photo_id_array":[{"photo_id":"1328533618","filename":"file2"},{"photo_id":"1328533467","filename":"file1"},{"photo_id":"1328533348","filename":"file0"},{"photo_id":"1328533811","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328533811":["hashtag1","hashtag2"]},{"1328533618":["hashtag1","hashtag2"]},{"1328533348":["hashtag1","hashtag2"]},{"1328533467":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328533811, 1328533618, 1328533348, 1328533467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.9940128326416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:10:52.118641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:11:02.842635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/09/image_13012025_00_09_02_994347_0003.jpg', '/home/pi/Desktop/images/13012025/00/10/image_13012025_00_10_02_221988_0000.jpg', '/home/pi/Desktop/images/13012025/00/10/image_13012025_00_10_02_221988_0001.jpg', '/home/pi/Desktop/images/13012025/00/10/image_13012025_00_10_02_221988_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/09/image_13012025_00_09_02_994347_0003.jpg
/home/pi/Desktop/images/13012025/00/10/image_13012025_00_10_02_221988_0000.jpg
/home/pi/Desktop/images/13012025/00/10/image_13012025_00_10_02_221988_0001.jpg
/home/pi/Desktop/images/13012025/00/10/image_13012025_00_10_02_221988_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328534362","1328534358","1328534250","1328534372"],"photo_ids_order":["1328534250","1328534358","1328534362","1328534372"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cf2a0442ce9cb6a32f34b5aa18e0e40b.jpg","text":"TemporaryFile(/tmp/multipartBody3566345819259207405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723533198,"filename":"image_13012025_00_10_02_221988_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5c92942fa51d8e0b5a46e2e3a5f76fc2.jpg","text":"TemporaryFile(/tmp/multipartBody7396666595703455569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723533198,"filename":"image_13012025_00_10_02_221988_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f2a8dc71de111f3bf053420b1fe3ff96.jpg","text":"TemporaryFile(/tmp/multipartBody8917971100435769414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723533198,"filename":"image_13012025_00_09_02_994347_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/31cf4ee05d676e628558b2c629cf1eec.jpg","text":"TemporaryFile(/tmp/multipartBody8852169284695559792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723533198,"filename":"image_13012025_00_10_02_221988_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328534362","file1":"1328534358","file0":"1328534250","file3":"1328534372"},"map_files_photo_id_array":[{"photo_id":"1328534362","filename":"file2"},{"photo_id":"1328534358","filename":"file1"},{"photo_id":"1328534250","filename":"file0"},{"photo_id":"1328534372","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328534362":["hashtag1","hashtag2"]},{"1328534358":["hashtag1","hashtag2"]},{"1328534250":["hashtag1","hashtag2"]},{"1328534372":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328534362, 1328534358, 1328534250, 1328534372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.60440969467163 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:11:52.297311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:12:02.923484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/10/image_13012025_00_10_02_221988_0003.jpg', '/home/pi/Desktop/images/13012025/00/11/image_13012025_00_11_02_409240_0000.jpg', '/home/pi/Desktop/images/13012025/00/11/image_13012025_00_11_02_409240_0001.jpg', '/home/pi/Desktop/images/13012025/00/11/image_13012025_00_11_02_409240_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/10/image_13012025_00_10_02_221988_0003.jpg
/home/pi/Desktop/images/13012025/00/11/image_13012025_00_11_02_409240_0000.jpg
/home/pi/Desktop/images/13012025/00/11/image_13012025_00_11_02_409240_0001.jpg
/home/pi/Desktop/images/13012025/00/11/image_13012025_00_11_02_409240_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328534420","1328534422","1328534425","1328534424"],"photo_ids_order":["1328534420","1328534422","1328534424","1328534425"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/538c76f67346faa1aaac153f0d1269ef.jpg","text":"TemporaryFile(/tmp/multipartBody8100860997493951872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723593354,"filename":"image_13012025_00_10_02_221988_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a8c8a2384208084a3859f898a18cd5ce.jpg","text":"TemporaryFile(/tmp/multipartBody5497927086064785392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723593354,"filename":"image_13012025_00_11_02_409240_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/85a6c39f68b240ff9eb296fd90c3eb1b.jpg","text":"TemporaryFile(/tmp/multipartBody7764323788051070478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723593354,"filename":"image_13012025_00_11_02_409240_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a253dd06b70f58436af837e118372038.jpg","text":"TemporaryFile(/tmp/multipartBody9106826608034989325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723593354,"filename":"image_13012025_00_11_02_409240_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328534424","file1":"1328534422","file0":"1328534420","file3":"1328534425"},"map_files_photo_id_array":[{"photo_id":"1328534424","filename":"file2"},{"photo_id":"1328534422","filename":"file1"},{"photo_id":"1328534420","filename":"file0"},{"photo_id":"1328534425","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328534420":["hashtag1","hashtag2"]},{"1328534422":["hashtag1","hashtag2"]},{"1328534425":["hashtag1","hashtag2"]},{"1328534424":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328534420, 1328534422, 1328534425, 1328534424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.14006423950195 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:12:52.466056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:13:03.272145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/11/image_13012025_00_11_02_409240_0003.jpg', '/home/pi/Desktop/images/13012025/00/12/image_13012025_00_12_02_703538_0000.jpg', '/home/pi/Desktop/images/13012025/00/12/image_13012025_00_12_02_703538_0001.jpg', '/home/pi/Desktop/images/13012025/00/12/image_13012025_00_12_02_703538_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/11/image_13012025_00_11_02_409240_0003.jpg
/home/pi/Desktop/images/13012025/00/12/image_13012025_00_12_02_703538_0000.jpg
/home/pi/Desktop/images/13012025/00/12/image_13012025_00_12_02_703538_0001.jpg
/home/pi/Desktop/images/13012025/00/12/image_13012025_00_12_02_703538_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.046777963638306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 00:13:22.646433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/11/image_13012025_00_11_02_409240_0003.jpg', '/home/pi/Desktop/images/13012025/00/12/image_13012025_00_12_02_703538_0000.jpg', '/home/pi/Desktop/images/13012025/00/12/image_13012025_00_12_02_703538_0001.jpg', '/home/pi/Desktop/images/13012025/00/12/image_13012025_00_12_02_703538_0002.jpg', '/home/pi/Desktop/images/13012025/00/12/image_13012025_00_12_02_703538_0003.jpg', '/home/pi/Desktop/images/13012025/00/13/image_13012025_00_13_02_898176_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/11/image_13012025_00_11_02_409240_0003.jpg
/home/pi/Desktop/images/13012025/00/12/image_13012025_00_12_02_703538_0000.jpg
/home/pi/Desktop/images/13012025/00/12/image_13012025_00_12_02_703538_0001.jpg
/home/pi/Desktop/images/13012025/00/12/image_13012025_00_12_02_703538_0002.jpg
/home/pi/Desktop/images/13012025/00/12/image_13012025_00_12_02_703538_0003.jpg
/home/pi/Desktop/images/13012025/00/13/image_13012025_00_13_02_898176_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328534480","1328534474","1328534477","1328534476","1328534485","1328534475"],"photo_ids_order":["1328534474","1328534475","1328534476","1328534477","1328534480","1328534485"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3ff9deb0abd1ffd76530f0a2c37f92b1.jpg","text":"TemporaryFile(/tmp/multipartBody762760631079905504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723677923,"filename":"image_13012025_00_12_02_703538_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7b1fa5ae24243c1b17c86a6bcc26f1b3.jpg","text":"TemporaryFile(/tmp/multipartBody7843856105337483252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723677923,"filename":"image_13012025_00_11_02_409240_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7ee48d9f9a421c6fafb0928c602eed52.jpg","text":"TemporaryFile(/tmp/multipartBody6736915855320169262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723677923,"filename":"image_13012025_00_12_02_703538_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bdc3901dff4b6186829d9e7cdba56b54.jpg","text":"TemporaryFile(/tmp/multipartBody4392741225040532509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723677923,"filename":"image_13012025_00_12_02_703538_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/05e949762b03b1973dc0b749f04510c9.jpg","text":"TemporaryFile(/tmp/multipartBody3350722776212075506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723677923,"filename":"image_13012025_00_13_02_898176_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/842d9ed2dcbd4775dd199d504776a4c9.jpg","text":"TemporaryFile(/tmp/multipartBody3096964644609762772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723677923,"filename":"image_13012025_00_12_02_703538_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328534476","file1":"1328534475","file0":"1328534474","file4":"1328534480","file5":"1328534485","file3":"1328534477"},"map_files_photo_id_array":[{"photo_id":"1328534485","filename":"file5"},{"photo_id":"1328534476","filename":"file2"},{"photo_id":"1328534480","filename":"file4"},{"photo_id":"1328534475","filename":"file1"},{"photo_id":"1328534474","filename":"file0"},{"photo_id":"1328534477","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328534480":["hashtag1","hashtag2"]},{"1328534474":["hashtag1","hashtag2"]},{"1328534477":["hashtag1","hashtag2"]},{"1328534476":["hashtag1","hashtag2"]},{"1328534485":["hashtag1","hashtag2"]},{"1328534475":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328534480, 1328534474, 1328534477, 1328534476, 1328534485, 1328534475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.13490200042725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:14:51.830309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:15:02.585865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/13/image_13012025_00_13_02_898176_0001.jpg', '/home/pi/Desktop/images/13012025/00/13/image_13012025_00_13_02_898176_0002.jpg', '/home/pi/Desktop/images/13012025/00/13/image_13012025_00_13_02_898176_0003.jpg', '/home/pi/Desktop/images/13012025/00/14/image_13012025_00_14_03_048902_0000.jpg', '/home/pi/Desktop/images/13012025/00/14/image_13012025_00_14_03_048902_0001.jpg', '/home/pi/Desktop/images/13012025/00/14/image_13012025_00_14_03_048902_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/13/image_13012025_00_13_02_898176_0001.jpg
/home/pi/Desktop/images/13012025/00/13/image_13012025_00_13_02_898176_0002.jpg
/home/pi/Desktop/images/13012025/00/13/image_13012025_00_13_02_898176_0003.jpg
/home/pi/Desktop/images/13012025/00/14/image_13012025_00_14_03_048902_0000.jpg
/home/pi/Desktop/images/13012025/00/14/image_13012025_00_14_03_048902_0001.jpg
/home/pi/Desktop/images/13012025/00/14/image_13012025_00_14_03_048902_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328534744","1328534510","1328534674","1328534507","1328534728","1328534511"],"photo_ids_order":["1328534507","1328534510","1328534511","1328534674","1328534728","1328534744"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fbbcf1b5ca4c56229dd3b913939a87c5.jpg","text":"TemporaryFile(/tmp/multipartBody5211024931605902223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723777946,"filename":"image_13012025_00_14_03_048902_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a56519141b6a51cdb7d769d3b30e84fe.jpg","text":"TemporaryFile(/tmp/multipartBody3771981479584120885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723777946,"filename":"image_13012025_00_13_02_898176_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0ef79a1b98535a6a6beeaef6432428f5.jpg","text":"TemporaryFile(/tmp/multipartBody2007425384222804136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723777946,"filename":"image_13012025_00_14_03_048902_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f06c158a4027bbd80cd17c8ca912c687.jpg","text":"TemporaryFile(/tmp/multipartBody929173089770755818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723777946,"filename":"image_13012025_00_13_02_898176_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/761b75afe78838dcd6d5fa195b7327fe.jpg","text":"TemporaryFile(/tmp/multipartBody9146216929490211616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723777946,"filename":"image_13012025_00_14_03_048902_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4397a02376b27e03c9bbd55a4373de49.jpg","text":"TemporaryFile(/tmp/multipartBody8954071736581397081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723777946,"filename":"image_13012025_00_13_02_898176_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328534511","file1":"1328534510","file0":"1328534507","file4":"1328534728","file5":"1328534744","file3":"1328534674"},"map_files_photo_id_array":[{"photo_id":"1328534744","filename":"file5"},{"photo_id":"1328534511","filename":"file2"},{"photo_id":"1328534728","filename":"file4"},{"photo_id":"1328534510","filename":"file1"},{"photo_id":"1328534507","filename":"file0"},{"photo_id":"1328534674","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328534744":["hashtag1","hashtag2"]},{"1328534510":["hashtag1","hashtag2"]},{"1328534674":["hashtag1","hashtag2"]},{"1328534507":["hashtag1","hashtag2"]},{"1328534728":["hashtag1","hashtag2"]},{"1328534511":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328534744, 1328534510, 1328534674, 1328534507, 1328534728, 1328534511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.62212872505188 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:16:02.717804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/14/image_13012025_00_14_03_048902_0003.jpg', '/home/pi/Desktop/images/13012025/00/15/image_13012025_00_15_02_247022_0000.jpg', '/home/pi/Desktop/images/13012025/00/15/image_13012025_00_15_02_247022_0001.jpg', '/home/pi/Desktop/images/13012025/00/15/image_13012025_00_15_02_247022_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/14/image_13012025_00_14_03_048902_0003.jpg
/home/pi/Desktop/images/13012025/00/15/image_13012025_00_15_02_247022_0000.jpg
/home/pi/Desktop/images/13012025/00/15/image_13012025_00_15_02_247022_0001.jpg
/home/pi/Desktop/images/13012025/00/15/image_13012025_00_15_02_247022_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328534866","1328534860","1328534863","1328534857"],"photo_ids_order":["1328534857","1328534860","1328534863","1328534866"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4ebc4d9a19318a7a7649d57b6b27808c.jpg","text":"TemporaryFile(/tmp/multipartBody2566880124580974600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723833081,"filename":"image_13012025_00_15_02_247022_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e81b33bddb965c891e23d6ac7a086e56.jpg","text":"TemporaryFile(/tmp/multipartBody8287326953903012565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723833081,"filename":"image_13012025_00_15_02_247022_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4d29c24735ebe44987e9cc5708c7d85b.jpg","text":"TemporaryFile(/tmp/multipartBody6132429840475771277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723833081,"filename":"image_13012025_00_15_02_247022_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0d311857785236f08bd15b3c93ce0fbd.jpg","text":"TemporaryFile(/tmp/multipartBody6365972672603444220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723833081,"filename":"image_13012025_00_14_03_048902_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328534863","file1":"1328534860","file0":"1328534857","file3":"1328534866"},"map_files_photo_id_array":[{"photo_id":"1328534863","filename":"file2"},{"photo_id":"1328534860","filename":"file1"},{"photo_id":"1328534857","filename":"file0"},{"photo_id":"1328534866","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328534866":["hashtag1","hashtag2"]},{"1328534860":["hashtag1","hashtag2"]},{"1328534863":["hashtag1","hashtag2"]},{"1328534857":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328534866, 1328534860, 1328534863, 1328534857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.21125793457031 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:16:52.234412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:17:03.063340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/15/image_13012025_00_15_02_247022_0003.jpg', '/home/pi/Desktop/images/13012025/00/16/image_13012025_00_16_02_425076_0000.jpg', '/home/pi/Desktop/images/13012025/00/16/image_13012025_00_16_02_425076_0001.jpg', '/home/pi/Desktop/images/13012025/00/16/image_13012025_00_16_02_425076_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/15/image_13012025_00_15_02_247022_0003.jpg
/home/pi/Desktop/images/13012025/00/16/image_13012025_00_16_02_425076_0000.jpg
/home/pi/Desktop/images/13012025/00/16/image_13012025_00_16_02_425076_0001.jpg
/home/pi/Desktop/images/13012025/00/16/image_13012025_00_16_02_425076_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328534872","1328534875","1328534878","1328534882"],"photo_ids_order":["1328534872","1328534875","1328534878","1328534882"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/30c7bc979d759ca1e211b52358b52cec.jpg","text":"TemporaryFile(/tmp/multipartBody15076359957705423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723893464,"filename":"image_13012025_00_15_02_247022_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b50e3a06218b6e5ed129f80eecb7e528.jpg","text":"TemporaryFile(/tmp/multipartBody181523807868403703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723893464,"filename":"image_13012025_00_16_02_425076_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/250d046000f90d35dce5a2e7f393eb19.jpg","text":"TemporaryFile(/tmp/multipartBody7674051896977916059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723893464,"filename":"image_13012025_00_16_02_425076_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1d8284d7893a22dcbbd475ca01123194.jpg","text":"TemporaryFile(/tmp/multipartBody6858011976745036469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723893464,"filename":"image_13012025_00_16_02_425076_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328534878","file1":"1328534875","file0":"1328534872","file3":"1328534882"},"map_files_photo_id_array":[{"photo_id":"1328534878","filename":"file2"},{"photo_id":"1328534875","filename":"file1"},{"photo_id":"1328534872","filename":"file0"},{"photo_id":"1328534882","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328534872":["hashtag1","hashtag2"]},{"1328534875":["hashtag1","hashtag2"]},{"1328534878":["hashtag1","hashtag2"]},{"1328534882":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328534872, 1328534875, 1328534878, 1328534882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.43536376953125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:17:52.391934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:18:03.104291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/16/image_13012025_00_16_02_425076_0003.jpg', '/home/pi/Desktop/images/13012025/00/17/image_13012025_00_17_02_597623_0000.jpg', '/home/pi/Desktop/images/13012025/00/17/image_13012025_00_17_02_597623_0001.jpg', '/home/pi/Desktop/images/13012025/00/17/image_13012025_00_17_02_597623_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/16/image_13012025_00_16_02_425076_0003.jpg
/home/pi/Desktop/images/13012025/00/17/image_13012025_00_17_02_597623_0000.jpg
/home/pi/Desktop/images/13012025/00/17/image_13012025_00_17_02_597623_0001.jpg
/home/pi/Desktop/images/13012025/00/17/image_13012025_00_17_02_597623_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328534891","1328534972","1328534887","1328534889"],"photo_ids_order":["1328534887","1328534889","1328534891","1328534972"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/24f66f054c8f0c39c17381ff6f516ab7.jpg","text":"TemporaryFile(/tmp/multipartBody7102821339933026380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723953381,"filename":"image_13012025_00_17_02_597623_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7a356a3f203c7ec0cbfe55286b054c73.jpg","text":"TemporaryFile(/tmp/multipartBody4494928299034886111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723953381,"filename":"image_13012025_00_17_02_597623_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/43b3d89231afe2b5d23b839bc643011a.jpg","text":"TemporaryFile(/tmp/multipartBody705236399433752178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723953381,"filename":"image_13012025_00_16_02_425076_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9730e2888aaa1ce34d28dc571c93eac0.jpg","text":"TemporaryFile(/tmp/multipartBody7023597971523958304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736723953381,"filename":"image_13012025_00_17_02_597623_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328534891","file1":"1328534889","file0":"1328534887","file3":"1328534972"},"map_files_photo_id_array":[{"photo_id":"1328534891","filename":"file2"},{"photo_id":"1328534889","filename":"file1"},{"photo_id":"1328534887","filename":"file0"},{"photo_id":"1328534972","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328534891":["hashtag1","hashtag2"]},{"1328534972":["hashtag1","hashtag2"]},{"1328534887":["hashtag1","hashtag2"]},{"1328534889":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328534891, 1328534972, 1328534887, 1328534889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.593589305877686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:18:52.554103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:19:03.384398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/17/image_13012025_00_17_02_597623_0003.jpg', '/home/pi/Desktop/images/13012025/00/18/image_13012025_00_18_02_825724_0000.jpg', '/home/pi/Desktop/images/13012025/00/18/image_13012025_00_18_02_825724_0001.jpg', '/home/pi/Desktop/images/13012025/00/18/image_13012025_00_18_02_825724_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/17/image_13012025_00_17_02_597623_0003.jpg
/home/pi/Desktop/images/13012025/00/18/image_13012025_00_18_02_825724_0000.jpg
/home/pi/Desktop/images/13012025/00/18/image_13012025_00_18_02_825724_0001.jpg
/home/pi/Desktop/images/13012025/00/18/image_13012025_00_18_02_825724_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328535916","1328535912","1328535906","1328535909"],"photo_ids_order":["1328535906","1328535909","1328535912","1328535916"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b3263fa632f1c4332105a9deb6a7790f.jpg","text":"TemporaryFile(/tmp/multipartBody7446072372111383523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724013798,"filename":"image_13012025_00_18_02_825724_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e94ce9ef4cb3aab50d178e859f7db4f0.jpg","text":"TemporaryFile(/tmp/multipartBody4556384179894280211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724013798,"filename":"image_13012025_00_18_02_825724_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/531cdfbe8ae7fd58be7c5985d8c04010.jpg","text":"TemporaryFile(/tmp/multipartBody8038435900344411116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724013798,"filename":"image_13012025_00_17_02_597623_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b1df82a393ddda30deb0b4d2871697ad.jpg","text":"TemporaryFile(/tmp/multipartBody4465712272600290049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724013798,"filename":"image_13012025_00_18_02_825724_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328535912","file1":"1328535909","file0":"1328535906","file3":"1328535916"},"map_files_photo_id_array":[{"photo_id":"1328535912","filename":"file2"},{"photo_id":"1328535909","filename":"file1"},{"photo_id":"1328535906","filename":"file0"},{"photo_id":"1328535916","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328535916":["hashtag1","hashtag2"]},{"1328535912":["hashtag1","hashtag2"]},{"1328535906":["hashtag1","hashtag2"]},{"1328535909":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328535916, 1328535912, 1328535906, 1328535909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.365155935287476 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:19:52.734529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:20:02.372945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/18/image_13012025_00_18_02_825724_0003.jpg', '/home/pi/Desktop/images/13012025/00/19/image_13012025_00_19_02_938388_0000.jpg', '/home/pi/Desktop/images/13012025/00/19/image_13012025_00_19_02_938388_0001.jpg', '/home/pi/Desktop/images/13012025/00/19/image_13012025_00_19_02_938388_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/18/image_13012025_00_18_02_825724_0003.jpg
/home/pi/Desktop/images/13012025/00/19/image_13012025_00_19_02_938388_0000.jpg
/home/pi/Desktop/images/13012025/00/19/image_13012025_00_19_02_938388_0001.jpg
/home/pi/Desktop/images/13012025/00/19/image_13012025_00_19_02_938388_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328535967","1328535969","1328535965","1328535953"],"photo_ids_order":["1328535953","1328535965","1328535967","1328535969"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f7f7b59de1fb03424fb19c935f743d54.jpg","text":"TemporaryFile(/tmp/multipartBody4207840204454164736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724072687,"filename":"image_13012025_00_19_02_938388_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bf9950486cff7e0c6fa655b9ce8069ec.jpg","text":"TemporaryFile(/tmp/multipartBody7773856423692135660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724072687,"filename":"image_13012025_00_19_02_938388_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5e8aeb5d22083b5f2c5564b3e2c90b3c.jpg","text":"TemporaryFile(/tmp/multipartBody4717830983553289685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724072687,"filename":"image_13012025_00_19_02_938388_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b258dd1f769e14a635e91fea05cadb05.jpg","text":"TemporaryFile(/tmp/multipartBody929385961771908713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724072687,"filename":"image_13012025_00_18_02_825724_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328535967","file1":"1328535965","file0":"1328535953","file3":"1328535969"},"map_files_photo_id_array":[{"photo_id":"1328535967","filename":"file2"},{"photo_id":"1328535965","filename":"file1"},{"photo_id":"1328535953","filename":"file0"},{"photo_id":"1328535969","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328535967":["hashtag1","hashtag2"]},{"1328535969":["hashtag1","hashtag2"]},{"1328535965":["hashtag1","hashtag2"]},{"1328535953":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328535967, 1328535969, 1328535965, 1328535953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.06188702583313 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:20:51.933177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:21:02.783491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/19/image_13012025_00_19_02_938388_0003.jpg', '/home/pi/Desktop/images/13012025/00/20/image_13012025_00_20_03_042303_0000.jpg', '/home/pi/Desktop/images/13012025/00/20/image_13012025_00_20_03_042303_0001.jpg', '/home/pi/Desktop/images/13012025/00/20/image_13012025_00_20_03_042303_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/19/image_13012025_00_19_02_938388_0003.jpg
/home/pi/Desktop/images/13012025/00/20/image_13012025_00_20_03_042303_0000.jpg
/home/pi/Desktop/images/13012025/00/20/image_13012025_00_20_03_042303_0001.jpg
/home/pi/Desktop/images/13012025/00/20/image_13012025_00_20_03_042303_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328536429","1328536515","1328536517","1328536310"],"photo_ids_order":["1328536310","1328536429","1328536515","1328536517"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1ea321737d1c97813b2b9314069998bd.jpg","text":"TemporaryFile(/tmp/multipartBody894123315844531313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724133125,"filename":"image_13012025_00_20_03_042303_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2df165031aedf64b3402a6d64f7e4b2e.jpg","text":"TemporaryFile(/tmp/multipartBody3123917454449027215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724133125,"filename":"image_13012025_00_20_03_042303_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c16dd2049d50f8382b34854ebe0b8eb9.jpg","text":"TemporaryFile(/tmp/multipartBody2867613542479413593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724133125,"filename":"image_13012025_00_20_03_042303_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ca9a45c08cb5cb96e80494343dd1bce3.jpg","text":"TemporaryFile(/tmp/multipartBody2800668939881929356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724133125,"filename":"image_13012025_00_19_02_938388_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328536515","file1":"1328536429","file0":"1328536310","file3":"1328536517"},"map_files_photo_id_array":[{"photo_id":"1328536515","filename":"file2"},{"photo_id":"1328536429","filename":"file1"},{"photo_id":"1328536310","filename":"file0"},{"photo_id":"1328536517","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328536429":["hashtag1","hashtag2"]},{"1328536515":["hashtag1","hashtag2"]},{"1328536517":["hashtag1","hashtag2"]},{"1328536310":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328536429, 1328536515, 1328536517, 1328536310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.184375524520874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:21:52.101588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:22:02.659107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/20/image_13012025_00_20_03_042303_0003.jpg', '/home/pi/Desktop/images/13012025/00/21/image_13012025_00_21_02_306982_0000.jpg', '/home/pi/Desktop/images/13012025/00/21/image_13012025_00_21_02_306982_0001.jpg', '/home/pi/Desktop/images/13012025/00/21/image_13012025_00_21_02_306982_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/20/image_13012025_00_20_03_042303_0003.jpg
/home/pi/Desktop/images/13012025/00/21/image_13012025_00_21_02_306982_0000.jpg
/home/pi/Desktop/images/13012025/00/21/image_13012025_00_21_02_306982_0001.jpg
/home/pi/Desktop/images/13012025/00/21/image_13012025_00_21_02_306982_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328536645","1328536647","1328536649","1328536643"],"photo_ids_order":["1328536643","1328536645","1328536647","1328536649"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6b1663c59d279f0fc47483b4a0a19e79.jpg","text":"TemporaryFile(/tmp/multipartBody3618497829013003845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724192950,"filename":"image_13012025_00_21_02_306982_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c6592f62fd0d31ff74a1c871aef8d87d.jpg","text":"TemporaryFile(/tmp/multipartBody7221893751521176664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724192950,"filename":"image_13012025_00_21_02_306982_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/193ebc889c0c5ca1907a0d3bdd0e4309.jpg","text":"TemporaryFile(/tmp/multipartBody5842505216337286451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724192950,"filename":"image_13012025_00_21_02_306982_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a68cdf9b0eba7fd2465e4cc5ccb19e98.jpg","text":"TemporaryFile(/tmp/multipartBody6641304870718859937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724192950,"filename":"image_13012025_00_20_03_042303_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328536647","file1":"1328536645","file0":"1328536643","file3":"1328536649"},"map_files_photo_id_array":[{"photo_id":"1328536647","filename":"file2"},{"photo_id":"1328536645","filename":"file1"},{"photo_id":"1328536643","filename":"file0"},{"photo_id":"1328536649","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328536645":["hashtag1","hashtag2"]},{"1328536647":["hashtag1","hashtag2"]},{"1328536649":["hashtag1","hashtag2"]},{"1328536643":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328536645, 1328536647, 1328536649, 1328536643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.30981731414795 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:22:52.287627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:23:03.146015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/21/image_13012025_00_21_02_306982_0003.jpg', '/home/pi/Desktop/images/13012025/00/22/image_13012025_00_22_02_583554_0000.jpg', '/home/pi/Desktop/images/13012025/00/22/image_13012025_00_22_02_583554_0001.jpg', '/home/pi/Desktop/images/13012025/00/22/image_13012025_00_22_02_583554_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/21/image_13012025_00_21_02_306982_0003.jpg
/home/pi/Desktop/images/13012025/00/22/image_13012025_00_22_02_583554_0000.jpg
/home/pi/Desktop/images/13012025/00/22/image_13012025_00_22_02_583554_0001.jpg
/home/pi/Desktop/images/13012025/00/22/image_13012025_00_22_02_583554_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328537245","1328537223","1328537251","1328537248"],"photo_ids_order":["1328537223","1328537245","1328537248","1328537251"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ea43fc6bbfa13cf4d0380fb60425e03e.jpg","text":"TemporaryFile(/tmp/multipartBody7594958226798635108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724253547,"filename":"image_13012025_00_22_02_583554_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0111f80cf45eac8bc58c54f280073b55.jpg","text":"TemporaryFile(/tmp/multipartBody6036175156784433891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724253547,"filename":"image_13012025_00_21_02_306982_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/19543810750bff125233a7e5bebda05d.jpg","text":"TemporaryFile(/tmp/multipartBody6699571650477824820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724253547,"filename":"image_13012025_00_22_02_583554_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7de70891c9c466dc5f6b03f3e12f89de.jpg","text":"TemporaryFile(/tmp/multipartBody2785647257968895005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724253547,"filename":"image_13012025_00_22_02_583554_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328537248","file1":"1328537245","file0":"1328537223","file3":"1328537251"},"map_files_photo_id_array":[{"photo_id":"1328537248","filename":"file2"},{"photo_id":"1328537245","filename":"file1"},{"photo_id":"1328537223","filename":"file0"},{"photo_id":"1328537251","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328537245":["hashtag1","hashtag2"]},{"1328537223":["hashtag1","hashtag2"]},{"1328537251":["hashtag1","hashtag2"]},{"1328537248":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328537245, 1328537223, 1328537251, 1328537248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.90918254852295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:23:52.543383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:24:03.116176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/22/image_13012025_00_22_02_583554_0003.jpg', '/home/pi/Desktop/images/13012025/00/23/image_13012025_00_23_02_642906_0001.jpg', '/home/pi/Desktop/images/13012025/00/23/image_13012025_00_23_02_642906_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/22/image_13012025_00_22_02_583554_0003.jpg
/home/pi/Desktop/images/13012025/00/23/image_13012025_00_23_02_642906_0001.jpg
/home/pi/Desktop/images/13012025/00/23/image_13012025_00_23_02_642906_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328537385","1328537387","1328537389"],"photo_ids_order":["1328537385","1328537387","1328537389"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/48ed5b7d36815b0a402eef68b09ae783.jpg","text":"TemporaryFile(/tmp/multipartBody3063676403797828104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724310947,"filename":"image_13012025_00_22_02_583554_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ef4fc024a2174280090401da19feaff1.jpg","text":"TemporaryFile(/tmp/multipartBody6629345813590932354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724310947,"filename":"image_13012025_00_23_02_642906_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b2135ed3b0fec9425defc3a7c673bbbb.jpg","text":"TemporaryFile(/tmp/multipartBody7500452401486621855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724310947,"filename":"image_13012025_00_23_02_642906_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328537389","file1":"1328537387","file0":"1328537385"},"map_files_photo_id_array":[{"photo_id":"1328537389","filename":"file2"},{"photo_id":"1328537387","filename":"file1"},{"photo_id":"1328537385","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328537385":["hashtag1","hashtag2"]},{"1328537387":["hashtag1","hashtag2"]},{"1328537389":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328537385, 1328537387, 1328537389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.205955028533936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:24:52.745478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:25:02.567010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/23/image_13012025_00_23_02_642906_0003.jpg', '/home/pi/Desktop/images/13012025/00/24/image_13012025_00_24_02_842378_0000.jpg', '/home/pi/Desktop/images/13012025/00/24/image_13012025_00_24_02_842378_0001.jpg', '/home/pi/Desktop/images/13012025/00/24/image_13012025_00_24_02_842378_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/23/image_13012025_00_23_02_642906_0003.jpg
/home/pi/Desktop/images/13012025/00/24/image_13012025_00_24_02_842378_0000.jpg
/home/pi/Desktop/images/13012025/00/24/image_13012025_00_24_02_842378_0001.jpg
/home/pi/Desktop/images/13012025/00/24/image_13012025_00_24_02_842378_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328537425","1328537419","1328537421","1328537423"],"photo_ids_order":["1328537419","1328537421","1328537423","1328537425"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/adfd2555b2e1a231eb754546d43f64d1.jpg","text":"TemporaryFile(/tmp/multipartBody3309696425433396913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724372800,"filename":"image_13012025_00_24_02_842378_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a39605e3c753120c4ada361a01007eb5.jpg","text":"TemporaryFile(/tmp/multipartBody4294621695261026589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724372800,"filename":"image_13012025_00_23_02_642906_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/983f56540d9135fa47f21dbdbbd9d265.jpg","text":"TemporaryFile(/tmp/multipartBody4825065456796456383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724372800,"filename":"image_13012025_00_24_02_842378_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1ce8f9abd7d31be01abf22787bd4a1bf.jpg","text":"TemporaryFile(/tmp/multipartBody4427267216596800968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724372800,"filename":"image_13012025_00_24_02_842378_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328537423","file1":"1328537421","file0":"1328537419","file3":"1328537425"},"map_files_photo_id_array":[{"photo_id":"1328537423","filename":"file2"},{"photo_id":"1328537421","filename":"file1"},{"photo_id":"1328537419","filename":"file0"},{"photo_id":"1328537425","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328537425":["hashtag1","hashtag2"]},{"1328537419":["hashtag1","hashtag2"]},{"1328537421":["hashtag1","hashtag2"]},{"1328537423":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328537425, 1328537419, 1328537421, 1328537423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.689287424087524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:25:51.921761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:26:02.552242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/24/image_13012025_00_24_02_842378_0003.jpg', '/home/pi/Desktop/images/13012025/00/25/image_13012025_00_25_03_082640_0000.jpg', '/home/pi/Desktop/images/13012025/00/25/image_13012025_00_25_03_082640_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/24/image_13012025_00_24_02_842378_0003.jpg
/home/pi/Desktop/images/13012025/00/25/image_13012025_00_25_03_082640_0000.jpg
/home/pi/Desktop/images/13012025/00/25/image_13012025_00_25_03_082640_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328537430","1328537432","1328537428"],"photo_ids_order":["1328537428","1328537430","1328537432"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b9aaad8a397bcbb53880d65a4f0b5078.jpg","text":"TemporaryFile(/tmp/multipartBody9120326889712808146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724430422,"filename":"image_13012025_00_25_03_082640_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/415505f5aea50a4072fce77a814c153d.jpg","text":"TemporaryFile(/tmp/multipartBody7847596858327966037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724430422,"filename":"image_13012025_00_25_03_082640_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0a1149f600dce57adb4d84a95e194391.jpg","text":"TemporaryFile(/tmp/multipartBody8412935558779516560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724430422,"filename":"image_13012025_00_24_02_842378_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328537432","file1":"1328537430","file0":"1328537428"},"map_files_photo_id_array":[{"photo_id":"1328537432","filename":"file2"},{"photo_id":"1328537430","filename":"file1"},{"photo_id":"1328537428","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328537430":["hashtag1","hashtag2"]},{"1328537432":["hashtag1","hashtag2"]},{"1328537428":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328537430, 1328537432, 1328537428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.637676000595093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:26:52.103471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:27:02.902911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/25/image_13012025_00_25_03_082640_0003.jpg', '/home/pi/Desktop/images/13012025/00/26/image_13012025_00_26_02_256610_0000.jpg', '/home/pi/Desktop/images/13012025/00/26/image_13012025_00_26_02_256610_0001.jpg', '/home/pi/Desktop/images/13012025/00/26/image_13012025_00_26_02_256610_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/25/image_13012025_00_25_03_082640_0003.jpg
/home/pi/Desktop/images/13012025/00/26/image_13012025_00_26_02_256610_0000.jpg
/home/pi/Desktop/images/13012025/00/26/image_13012025_00_26_02_256610_0001.jpg
/home/pi/Desktop/images/13012025/00/26/image_13012025_00_26_02_256610_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328537443","1328537437","1328537439","1328537441"],"photo_ids_order":["1328537437","1328537439","1328537441","1328537443"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0a35c6a46a7af3f22d7aaa5edf0f6649.jpg","text":"TemporaryFile(/tmp/multipartBody6303822445023588257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724493204,"filename":"image_13012025_00_26_02_256610_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/36d36af4b51f0ad11b9b6ac8a3809817.jpg","text":"TemporaryFile(/tmp/multipartBody6533487889425485361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724493204,"filename":"image_13012025_00_25_03_082640_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ca178087d8c56e8520b48fffee3e5a8f.jpg","text":"TemporaryFile(/tmp/multipartBody8570759229493851213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724493204,"filename":"image_13012025_00_26_02_256610_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/011c30b94cf19de7388f986b73f1105a.jpg","text":"TemporaryFile(/tmp/multipartBody8815725829650162910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724493204,"filename":"image_13012025_00_26_02_256610_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328537441","file1":"1328537439","file0":"1328537437","file3":"1328537443"},"map_files_photo_id_array":[{"photo_id":"1328537441","filename":"file2"},{"photo_id":"1328537439","filename":"file1"},{"photo_id":"1328537437","filename":"file0"},{"photo_id":"1328537443","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328537443":["hashtag1","hashtag2"]},{"1328537437":["hashtag1","hashtag2"]},{"1328537439":["hashtag1","hashtag2"]},{"1328537441":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328537443, 1328537437, 1328537439, 1328537441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.12757706642151 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:27:52.242394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:28:02.941705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/26/image_13012025_00_26_02_256610_0003.jpg', '/home/pi/Desktop/images/13012025/00/27/image_13012025_00_27_02_440333_0000.jpg', '/home/pi/Desktop/images/13012025/00/27/image_13012025_00_27_02_440333_0001.jpg', '/home/pi/Desktop/images/13012025/00/27/image_13012025_00_27_02_440333_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/26/image_13012025_00_26_02_256610_0003.jpg
/home/pi/Desktop/images/13012025/00/27/image_13012025_00_27_02_440333_0000.jpg
/home/pi/Desktop/images/13012025/00/27/image_13012025_00_27_02_440333_0001.jpg
/home/pi/Desktop/images/13012025/00/27/image_13012025_00_27_02_440333_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328537490","1328537478","1328537522","1328537488"],"photo_ids_order":["1328537478","1328537488","1328537490","1328537522"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/06fa91c78fea90bc435a8ae12ce091ae.jpg","text":"TemporaryFile(/tmp/multipartBody152516927030923931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724553213,"filename":"image_13012025_00_27_02_440333_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/234c907f89d671022c1c751ba07a2c90.jpg","text":"TemporaryFile(/tmp/multipartBody4584546775376462449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724553213,"filename":"image_13012025_00_26_02_256610_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/649dc9fbd44bc3bd9747000217c650a4.jpg","text":"TemporaryFile(/tmp/multipartBody28221670008568270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724553213,"filename":"image_13012025_00_27_02_440333_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/efe4a5f2844361f49c3b09049b00548b.jpg","text":"TemporaryFile(/tmp/multipartBody1351805271269309937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724553213,"filename":"image_13012025_00_27_02_440333_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328537490","file1":"1328537488","file0":"1328537478","file3":"1328537522"},"map_files_photo_id_array":[{"photo_id":"1328537490","filename":"file2"},{"photo_id":"1328537488","filename":"file1"},{"photo_id":"1328537478","filename":"file0"},{"photo_id":"1328537522","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328537490":["hashtag1","hashtag2"]},{"1328537478":["hashtag1","hashtag2"]},{"1328537522":["hashtag1","hashtag2"]},{"1328537488":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328537490, 1328537478, 1328537522, 1328537488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.502241134643555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:28:52.413937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:29:03.237337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/27/image_13012025_00_27_02_440333_0003.jpg', '/home/pi/Desktop/images/13012025/00/28/image_13012025_00_28_02_715736_0000.jpg', '/home/pi/Desktop/images/13012025/00/28/image_13012025_00_28_02_715736_0001.jpg', '/home/pi/Desktop/images/13012025/00/28/image_13012025_00_28_02_715736_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/27/image_13012025_00_27_02_440333_0003.jpg
/home/pi/Desktop/images/13012025/00/28/image_13012025_00_28_02_715736_0000.jpg
/home/pi/Desktop/images/13012025/00/28/image_13012025_00_28_02_715736_0001.jpg
/home/pi/Desktop/images/13012025/00/28/image_13012025_00_28_02_715736_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328537598","1328537602","1328537594","1328537590"],"photo_ids_order":["1328537590","1328537594","1328537598","1328537602"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/76b195bdd9d88a7ebdbe7d17ef36e9dc.jpg","text":"TemporaryFile(/tmp/multipartBody1241076174480398572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724613731,"filename":"image_13012025_00_28_02_715736_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b6f5ab33ed645ed6670af05d6fd90ed9.jpg","text":"TemporaryFile(/tmp/multipartBody1060989423707161625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724613731,"filename":"image_13012025_00_28_02_715736_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5a69d1d219218b695247506fae5dc18a.jpg","text":"TemporaryFile(/tmp/multipartBody8257008812938134029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724613731,"filename":"image_13012025_00_28_02_715736_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ffbfff36fc4c11c75707fc88b4416b64.jpg","text":"TemporaryFile(/tmp/multipartBody6262282522349087181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724613731,"filename":"image_13012025_00_27_02_440333_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328537598","file1":"1328537594","file0":"1328537590","file3":"1328537602"},"map_files_photo_id_array":[{"photo_id":"1328537598","filename":"file2"},{"photo_id":"1328537594","filename":"file1"},{"photo_id":"1328537590","filename":"file0"},{"photo_id":"1328537602","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328537598":["hashtag1","hashtag2"]},{"1328537602":["hashtag1","hashtag2"]},{"1328537594":["hashtag1","hashtag2"]},{"1328537590":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328537598, 1328537602, 1328537594, 1328537590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.4393789768219 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:29:52.596680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:30:03.174953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/28/image_13012025_00_28_02_715736_0003.jpg', '/home/pi/Desktop/images/13012025/00/29/image_13012025_00_29_02_750482_0000.jpg', '/home/pi/Desktop/images/13012025/00/29/image_13012025_00_29_02_750482_0001.jpg', '/home/pi/Desktop/images/13012025/00/29/image_13012025_00_29_02_750482_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/28/image_13012025_00_28_02_715736_0003.jpg
/home/pi/Desktop/images/13012025/00/29/image_13012025_00_29_02_750482_0000.jpg
/home/pi/Desktop/images/13012025/00/29/image_13012025_00_29_02_750482_0001.jpg
/home/pi/Desktop/images/13012025/00/29/image_13012025_00_29_02_750482_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328537769","1328537771","1328537765","1328537767"],"photo_ids_order":["1328537765","1328537767","1328537769","1328537771"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f883ef66cd4e31d2830e84292157cede.jpg","text":"TemporaryFile(/tmp/multipartBody7857838085056498339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724673458,"filename":"image_13012025_00_29_02_750482_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/93ef1bc17f41e8bb6b5542dcb43fa39d.jpg","text":"TemporaryFile(/tmp/multipartBody9135722006258367262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724673458,"filename":"image_13012025_00_29_02_750482_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a1efa543bef0dcb361328ac20ab7d218.jpg","text":"TemporaryFile(/tmp/multipartBody4372978104584213417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724673458,"filename":"image_13012025_00_28_02_715736_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/20e3e3f7f3f67265ceb1a9e66ed228cb.jpg","text":"TemporaryFile(/tmp/multipartBody669351013928752235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724673458,"filename":"image_13012025_00_29_02_750482_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328537769","file1":"1328537767","file0":"1328537765","file3":"1328537771"},"map_files_photo_id_array":[{"photo_id":"1328537769","filename":"file2"},{"photo_id":"1328537767","filename":"file1"},{"photo_id":"1328537765","filename":"file0"},{"photo_id":"1328537771","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328537769":["hashtag1","hashtag2"]},{"1328537771":["hashtag1","hashtag2"]},{"1328537765":["hashtag1","hashtag2"]},{"1328537767":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328537769, 1328537771, 1328537765, 1328537767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.478434562683105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:30:52.818775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:31:02.489059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/29/image_13012025_00_29_02_750482_0003.jpg', '/home/pi/Desktop/images/13012025/00/30/image_13012025_00_30_02_956889_0000.jpg', '/home/pi/Desktop/images/13012025/00/30/image_13012025_00_30_02_956889_0001.jpg', '/home/pi/Desktop/images/13012025/00/30/image_13012025_00_30_02_956889_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/29/image_13012025_00_29_02_750482_0003.jpg
/home/pi/Desktop/images/13012025/00/30/image_13012025_00_30_02_956889_0000.jpg
/home/pi/Desktop/images/13012025/00/30/image_13012025_00_30_02_956889_0001.jpg
/home/pi/Desktop/images/13012025/00/30/image_13012025_00_30_02_956889_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.972996711730957 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 00:31:21.936182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/29/image_13012025_00_29_02_750482_0003.jpg', '/home/pi/Desktop/images/13012025/00/30/image_13012025_00_30_02_956889_0000.jpg', '/home/pi/Desktop/images/13012025/00/30/image_13012025_00_30_02_956889_0001.jpg', '/home/pi/Desktop/images/13012025/00/30/image_13012025_00_30_02_956889_0002.jpg', '/home/pi/Desktop/images/13012025/00/30/image_13012025_00_30_02_956889_0003.jpg', '/home/pi/Desktop/images/13012025/00/31/image_13012025_00_31_03_205971_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/29/image_13012025_00_29_02_750482_0003.jpg
/home/pi/Desktop/images/13012025/00/30/image_13012025_00_30_02_956889_0000.jpg
/home/pi/Desktop/images/13012025/00/30/image_13012025_00_30_02_956889_0001.jpg
/home/pi/Desktop/images/13012025/00/30/image_13012025_00_30_02_956889_0002.jpg
/home/pi/Desktop/images/13012025/00/30/image_13012025_00_30_02_956889_0003.jpg
/home/pi/Desktop/images/13012025/00/31/image_13012025_00_31_03_205971_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328538639","1328538603","1328538488","1328538641","1328538371","1328538259"],"photo_ids_order":["1328538259","1328538371","1328538488","1328538603","1328538639","1328538641"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0be1f8e40f9ab3ebbbca62c10dd7b9c7.jpg","text":"TemporaryFile(/tmp/multipartBody7505694175970084305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724756993,"filename":"image_13012025_00_30_02_956889_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/69d6bff68cf9c13690791e064c182970.jpg","text":"TemporaryFile(/tmp/multipartBody2210564479913099318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724756993,"filename":"image_13012025_00_30_02_956889_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/769b23d209ccb4f23af4475aa0375fc7.jpg","text":"TemporaryFile(/tmp/multipartBody410562837962779256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724756993,"filename":"image_13012025_00_30_02_956889_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c13c1859509f2ae8b7bb14ac562d13d9.jpg","text":"TemporaryFile(/tmp/multipartBody4173642229901914260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724756993,"filename":"image_13012025_00_31_03_205971_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eb8cc01174e9040ea68eb24ab26c441c.jpg","text":"TemporaryFile(/tmp/multipartBody4353619057070311710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724756993,"filename":"image_13012025_00_30_02_956889_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/700f4b1524535872a47e4786da9ff18e.jpg","text":"TemporaryFile(/tmp/multipartBody7540832782631199473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724756993,"filename":"image_13012025_00_29_02_750482_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328538488","file1":"1328538371","file0":"1328538259","file4":"1328538639","file5":"1328538641","file3":"1328538603"},"map_files_photo_id_array":[{"photo_id":"1328538641","filename":"file5"},{"photo_id":"1328538488","filename":"file2"},{"photo_id":"1328538639","filename":"file4"},{"photo_id":"1328538371","filename":"file1"},{"photo_id":"1328538259","filename":"file0"},{"photo_id":"1328538603","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328538639":["hashtag1","hashtag2"]},{"1328538603":["hashtag1","hashtag2"]},{"1328538488":["hashtag1","hashtag2"]},{"1328538641":["hashtag1","hashtag2"]},{"1328538371":["hashtag1","hashtag2"]},{"1328538259":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328538639, 1328538603, 1328538488, 1328538641, 1328538371, 1328538259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.95395088195801 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 00:32:22.213304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/31/image_13012025_00_31_03_205971_0001.jpg', '/home/pi/Desktop/images/13012025/00/31/image_13012025_00_31_03_205971_0002.jpg', '/home/pi/Desktop/images/13012025/00/31/image_13012025_00_31_03_205971_0003.jpg', '/home/pi/Desktop/images/13012025/00/32/image_13012025_00_32_02_330143_0000.jpg', '/home/pi/Desktop/images/13012025/00/32/image_13012025_00_32_02_330143_0001.jpg', '/home/pi/Desktop/images/13012025/00/32/image_13012025_00_32_02_330143_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/31/image_13012025_00_31_03_205971_0001.jpg
/home/pi/Desktop/images/13012025/00/31/image_13012025_00_31_03_205971_0002.jpg
/home/pi/Desktop/images/13012025/00/31/image_13012025_00_31_03_205971_0003.jpg
/home/pi/Desktop/images/13012025/00/32/image_13012025_00_32_02_330143_0000.jpg
/home/pi/Desktop/images/13012025/00/32/image_13012025_00_32_02_330143_0001.jpg
/home/pi/Desktop/images/13012025/00/32/image_13012025_00_32_02_330143_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.677819728851318 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:32:52.254572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:33:03.062619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/31/image_13012025_00_31_03_205971_0001.jpg', '/home/pi/Desktop/images/13012025/00/31/image_13012025_00_31_03_205971_0002.jpg', '/home/pi/Desktop/images/13012025/00/31/image_13012025_00_31_03_205971_0003.jpg', '/home/pi/Desktop/images/13012025/00/32/image_13012025_00_32_02_330143_0000.jpg', '/home/pi/Desktop/images/13012025/00/32/image_13012025_00_32_02_330143_0001.jpg', '/home/pi/Desktop/images/13012025/00/32/image_13012025_00_32_02_330143_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/31/image_13012025_00_31_03_205971_0001.jpg
/home/pi/Desktop/images/13012025/00/31/image_13012025_00_31_03_205971_0002.jpg
/home/pi/Desktop/images/13012025/00/31/image_13012025_00_31_03_205971_0003.jpg
/home/pi/Desktop/images/13012025/00/32/image_13012025_00_32_02_330143_0000.jpg
/home/pi/Desktop/images/13012025/00/32/image_13012025_00_32_02_330143_0001.jpg
/home/pi/Desktop/images/13012025/00/32/image_13012025_00_32_02_330143_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328538816","1328538935","1328538659","1328538701","1328538655","1328538657"],"photo_ids_order":["1328538655","1328538657","1328538659","1328538701","1328538816","1328538935"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2de6c0b78d8a6722d7cd1df5e88f69eb.jpg","text":"TemporaryFile(/tmp/multipartBody8190164594210798584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724858228,"filename":"image_13012025_00_32_02_330143_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1039f67ecd9ce1e47e11c07722dd8131.jpg","text":"TemporaryFile(/tmp/multipartBody4555500386792454598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724858228,"filename":"image_13012025_00_32_02_330143_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/61c7a73c9f16301ddfd03362e40d4ff6.jpg","text":"TemporaryFile(/tmp/multipartBody1331165929776439385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724858228,"filename":"image_13012025_00_31_03_205971_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0a3f89f4daa535d342642f5be25cacc2.jpg","text":"TemporaryFile(/tmp/multipartBody6554956726382203155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724858228,"filename":"image_13012025_00_32_02_330143_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1cbc79dfffb4d775a3b50c80fff6816d.jpg","text":"TemporaryFile(/tmp/multipartBody1290287538695755188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724858228,"filename":"image_13012025_00_31_03_205971_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b48e59ee2f49c79e4fa04fe84558b2f1.jpg","text":"TemporaryFile(/tmp/multipartBody4632213534044208379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724858228,"filename":"image_13012025_00_31_03_205971_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328538659","file1":"1328538657","file0":"1328538655","file4":"1328538816","file5":"1328538935","file3":"1328538701"},"map_files_photo_id_array":[{"photo_id":"1328538935","filename":"file5"},{"photo_id":"1328538659","filename":"file2"},{"photo_id":"1328538816","filename":"file4"},{"photo_id":"1328538657","filename":"file1"},{"photo_id":"1328538655","filename":"file0"},{"photo_id":"1328538701","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328538816":["hashtag1","hashtag2"]},{"1328538935":["hashtag1","hashtag2"]},{"1328538659":["hashtag1","hashtag2"]},{"1328538701":["hashtag1","hashtag2"]},{"1328538655":["hashtag1","hashtag2"]},{"1328538657":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328538816, 1328538935, 1328538659, 1328538701, 1328538655, 1328538657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.784088134765625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:34:03.134379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/32/image_13012025_00_32_02_330143_0003.jpg', '/home/pi/Desktop/images/13012025/00/33/image_13012025_00_33_02_607577_0000.jpg', '/home/pi/Desktop/images/13012025/00/33/image_13012025_00_33_02_607577_0001.jpg', '/home/pi/Desktop/images/13012025/00/33/image_13012025_00_33_02_607577_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/32/image_13012025_00_32_02_330143_0003.jpg
/home/pi/Desktop/images/13012025/00/33/image_13012025_00_33_02_607577_0000.jpg
/home/pi/Desktop/images/13012025/00/33/image_13012025_00_33_02_607577_0001.jpg
/home/pi/Desktop/images/13012025/00/33/image_13012025_00_33_02_607577_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328539172","1328539211","1328539223","1328539221"],"photo_ids_order":["1328539172","1328539211","1328539221","1328539223"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c5c65fd2eaa22d1506800239fa32e099.jpg","text":"TemporaryFile(/tmp/multipartBody2808241348918051951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724913323,"filename":"image_13012025_00_32_02_330143_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/82691aaa4b6bdf85bd75ce4f23810daf.jpg","text":"TemporaryFile(/tmp/multipartBody5937846982409119079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724913323,"filename":"image_13012025_00_33_02_607577_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/da0f5a0df83c204213996683c94c6871.jpg","text":"TemporaryFile(/tmp/multipartBody5610986303464442925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724913323,"filename":"image_13012025_00_33_02_607577_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8eae4c7875f691c6626eed1495c6fd72.jpg","text":"TemporaryFile(/tmp/multipartBody5780919843666473967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724913323,"filename":"image_13012025_00_33_02_607577_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328539221","file1":"1328539211","file0":"1328539172","file3":"1328539223"},"map_files_photo_id_array":[{"photo_id":"1328539221","filename":"file2"},{"photo_id":"1328539211","filename":"file1"},{"photo_id":"1328539172","filename":"file0"},{"photo_id":"1328539223","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328539172":["hashtag1","hashtag2"]},{"1328539211":["hashtag1","hashtag2"]},{"1328539223":["hashtag1","hashtag2"]},{"1328539221":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328539172, 1328539211, 1328539223, 1328539221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.65559005737305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:34:52.621504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:35:02.507968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/33/image_13012025_00_33_02_607577_0003.jpg', '/home/pi/Desktop/images/13012025/00/34/image_13012025_00_34_02_874670_0000.jpg', '/home/pi/Desktop/images/13012025/00/34/image_13012025_00_34_02_874670_0001.jpg', '/home/pi/Desktop/images/13012025/00/34/image_13012025_00_34_02_874670_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/33/image_13012025_00_33_02_607577_0003.jpg
/home/pi/Desktop/images/13012025/00/34/image_13012025_00_34_02_874670_0000.jpg
/home/pi/Desktop/images/13012025/00/34/image_13012025_00_34_02_874670_0001.jpg
/home/pi/Desktop/images/13012025/00/34/image_13012025_00_34_02_874670_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328539999","1328540048","1328539864","1328539746"],"photo_ids_order":["1328539746","1328539864","1328539999","1328540048"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3daf86f99f80b448503c1c2103856adb.jpg","text":"TemporaryFile(/tmp/multipartBody798491679221946914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724972834,"filename":"image_13012025_00_34_02_874670_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1032b5850c000b547d167e48da99af9e.jpg","text":"TemporaryFile(/tmp/multipartBody3499814869495444850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724972834,"filename":"image_13012025_00_34_02_874670_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/85efd59341a51b71bbf38f3356a89742.jpg","text":"TemporaryFile(/tmp/multipartBody6977294124412239484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724972834,"filename":"image_13012025_00_34_02_874670_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/68a33c9d1202ea4cfb9cd7c4cb1512a8.jpg","text":"TemporaryFile(/tmp/multipartBody214014016189780242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736724972834,"filename":"image_13012025_00_33_02_607577_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328539999","file1":"1328539864","file0":"1328539746","file3":"1328540048"},"map_files_photo_id_array":[{"photo_id":"1328539999","filename":"file2"},{"photo_id":"1328539864","filename":"file1"},{"photo_id":"1328539746","filename":"file0"},{"photo_id":"1328540048","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328539999":["hashtag1","hashtag2"]},{"1328540048":["hashtag1","hashtag2"]},{"1328539864":["hashtag1","hashtag2"]},{"1328539746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328539999, 1328540048, 1328539864, 1328539746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.06298208236694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:35:51.832845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:36:02.445927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/34/image_13012025_00_34_02_874670_0003.jpg', '/home/pi/Desktop/images/13012025/00/35/image_13012025_00_35_02_993234_0000.jpg', '/home/pi/Desktop/images/13012025/00/35/image_13012025_00_35_02_993234_0001.jpg', '/home/pi/Desktop/images/13012025/00/35/image_13012025_00_35_02_993234_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/34/image_13012025_00_34_02_874670_0003.jpg
/home/pi/Desktop/images/13012025/00/35/image_13012025_00_35_02_993234_0000.jpg
/home/pi/Desktop/images/13012025/00/35/image_13012025_00_35_02_993234_0001.jpg
/home/pi/Desktop/images/13012025/00/35/image_13012025_00_35_02_993234_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328540256","1328540267","1328540237","1328540269"],"photo_ids_order":["1328540237","1328540256","1328540267","1328540269"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ed9ad4e32def34dbc3c623b106e617d4.jpg","text":"TemporaryFile(/tmp/multipartBody904240256948594668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725032799,"filename":"image_13012025_00_35_02_993234_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d1378eadf8b38f91962fa684e59e6937.jpg","text":"TemporaryFile(/tmp/multipartBody3572874519432373807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725032799,"filename":"image_13012025_00_35_02_993234_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/72f869c596f04a0c511cb4f8be7f37fa.jpg","text":"TemporaryFile(/tmp/multipartBody3683560861177054802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725032799,"filename":"image_13012025_00_34_02_874670_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/05bcce782482848099d655c93dd62907.jpg","text":"TemporaryFile(/tmp/multipartBody5079101847105878186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725032799,"filename":"image_13012025_00_35_02_993234_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328540267","file1":"1328540256","file0":"1328540237","file3":"1328540269"},"map_files_photo_id_array":[{"photo_id":"1328540267","filename":"file2"},{"photo_id":"1328540256","filename":"file1"},{"photo_id":"1328540237","filename":"file0"},{"photo_id":"1328540269","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328540256":["hashtag1","hashtag2"]},{"1328540267":["hashtag1","hashtag2"]},{"1328540237":["hashtag1","hashtag2"]},{"1328540269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328540256, 1328540267, 1328540237, 1328540269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.89109826087952 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:36:52.000229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:37:02.775793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/35/image_13012025_00_35_02_993234_0003.jpg', '/home/pi/Desktop/images/13012025/00/36/image_13012025_00_36_02_150848_0000.jpg', '/home/pi/Desktop/images/13012025/00/36/image_13012025_00_36_02_150848_0001.jpg', '/home/pi/Desktop/images/13012025/00/36/image_13012025_00_36_02_150848_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/35/image_13012025_00_35_02_993234_0003.jpg
/home/pi/Desktop/images/13012025/00/36/image_13012025_00_36_02_150848_0000.jpg
/home/pi/Desktop/images/13012025/00/36/image_13012025_00_36_02_150848_0001.jpg
/home/pi/Desktop/images/13012025/00/36/image_13012025_00_36_02_150848_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328540409","1328540411","1328540413","1328540407"],"photo_ids_order":["1328540407","1328540409","1328540411","1328540413"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3305585b6be98f16ec2a28a873ea3464.jpg","text":"TemporaryFile(/tmp/multipartBody8828575346726954071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725093092,"filename":"image_13012025_00_36_02_150848_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dc86029b0b19339ebf0800ca6a62b98c.jpg","text":"TemporaryFile(/tmp/multipartBody4116914281645796116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725093092,"filename":"image_13012025_00_36_02_150848_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a2d96e803ca006e35db481b31c96bf78.jpg","text":"TemporaryFile(/tmp/multipartBody2460854851603377147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725093092,"filename":"image_13012025_00_36_02_150848_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/46810ec8e8084acd52f5d679116daa69.jpg","text":"TemporaryFile(/tmp/multipartBody3130586685848456792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725093092,"filename":"image_13012025_00_35_02_993234_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328540411","file1":"1328540409","file0":"1328540407","file3":"1328540413"},"map_files_photo_id_array":[{"photo_id":"1328540411","filename":"file2"},{"photo_id":"1328540409","filename":"file1"},{"photo_id":"1328540407","filename":"file0"},{"photo_id":"1328540413","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328540409":["hashtag1","hashtag2"]},{"1328540411":["hashtag1","hashtag2"]},{"1328540413":["hashtag1","hashtag2"]},{"1328540407":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328540409, 1328540411, 1328540413, 1328540407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.44207739830017 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:37:52.244243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:38:02.904393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/36/image_13012025_00_36_02_150848_0003.jpg', '/home/pi/Desktop/images/13012025/00/37/image_13012025_00_37_02_368334_0000.jpg', '/home/pi/Desktop/images/13012025/00/37/image_13012025_00_37_02_368334_0001.jpg', '/home/pi/Desktop/images/13012025/00/37/image_13012025_00_37_02_368334_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/36/image_13012025_00_36_02_150848_0003.jpg
/home/pi/Desktop/images/13012025/00/37/image_13012025_00_37_02_368334_0000.jpg
/home/pi/Desktop/images/13012025/00/37/image_13012025_00_37_02_368334_0001.jpg
/home/pi/Desktop/images/13012025/00/37/image_13012025_00_37_02_368334_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328540418","1328540421","1328540423","1328540416"],"photo_ids_order":["1328540416","1328540418","1328540421","1328540423"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/57059f54f47a3585037ecc17aca6141c.jpg","text":"TemporaryFile(/tmp/multipartBody5654065196151151910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725153214,"filename":"image_13012025_00_37_02_368334_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1cfeb3bfd82484aaa866c5f4ebf4591c.jpg","text":"TemporaryFile(/tmp/multipartBody3495864787264801630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725153214,"filename":"image_13012025_00_37_02_368334_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/49f25ae02de992b645276492afa4a491.jpg","text":"TemporaryFile(/tmp/multipartBody960562612248272971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725153214,"filename":"image_13012025_00_37_02_368334_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e5000b623c6cb962085c40551570a044.jpg","text":"TemporaryFile(/tmp/multipartBody5016160641772394626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725153214,"filename":"image_13012025_00_36_02_150848_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328540421","file1":"1328540418","file0":"1328540416","file3":"1328540423"},"map_files_photo_id_array":[{"photo_id":"1328540421","filename":"file2"},{"photo_id":"1328540418","filename":"file1"},{"photo_id":"1328540416","filename":"file0"},{"photo_id":"1328540423","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328540418":["hashtag1","hashtag2"]},{"1328540421":["hashtag1","hashtag2"]},{"1328540423":["hashtag1","hashtag2"]},{"1328540416":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328540418, 1328540421, 1328540423, 1328540416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.86885094642639 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:38:52.394676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:39:03.053557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/37/image_13012025_00_37_02_368334_0003.jpg', '/home/pi/Desktop/images/13012025/00/38/image_13012025_00_38_02_558070_0000.jpg', '/home/pi/Desktop/images/13012025/00/38/image_13012025_00_38_02_558070_0001.jpg', '/home/pi/Desktop/images/13012025/00/38/image_13012025_00_38_02_558070_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/37/image_13012025_00_37_02_368334_0003.jpg
/home/pi/Desktop/images/13012025/00/38/image_13012025_00_38_02_558070_0000.jpg
/home/pi/Desktop/images/13012025/00/38/image_13012025_00_38_02_558070_0001.jpg
/home/pi/Desktop/images/13012025/00/38/image_13012025_00_38_02_558070_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328540436","1328540430","1328540432","1328540434"],"photo_ids_order":["1328540430","1328540432","1328540434","1328540436"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9b3e7f003ef86714066534c1f083b3d5.jpg","text":"TemporaryFile(/tmp/multipartBody4504898459452793184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725213488,"filename":"image_13012025_00_38_02_558070_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/edafb84982608fad76996fe4782417cd.jpg","text":"TemporaryFile(/tmp/multipartBody4593448676922402598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725213488,"filename":"image_13012025_00_37_02_368334_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/da5c9e65396f430ea4c052ecf8acb4a1.jpg","text":"TemporaryFile(/tmp/multipartBody7084071692752653926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725213488,"filename":"image_13012025_00_38_02_558070_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a9e6b652d7f7223c2f6bd8de4ab3d655.jpg","text":"TemporaryFile(/tmp/multipartBody6137143774903600227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725213488,"filename":"image_13012025_00_38_02_558070_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328540434","file1":"1328540432","file0":"1328540430","file3":"1328540436"},"map_files_photo_id_array":[{"photo_id":"1328540434","filename":"file2"},{"photo_id":"1328540432","filename":"file1"},{"photo_id":"1328540430","filename":"file0"},{"photo_id":"1328540436","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328540436":["hashtag1","hashtag2"]},{"1328540430":["hashtag1","hashtag2"]},{"1328540432":["hashtag1","hashtag2"]},{"1328540434":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328540436, 1328540430, 1328540432, 1328540434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.449575424194336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:39:52.554417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:40:03.123123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/38/image_13012025_00_38_02_558070_0003.jpg', '/home/pi/Desktop/images/13012025/00/39/image_13012025_00_39_02_778679_0000.jpg', '/home/pi/Desktop/images/13012025/00/39/image_13012025_00_39_02_778679_0001.jpg', '/home/pi/Desktop/images/13012025/00/39/image_13012025_00_39_02_778679_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/38/image_13012025_00_38_02_558070_0003.jpg
/home/pi/Desktop/images/13012025/00/39/image_13012025_00_39_02_778679_0000.jpg
/home/pi/Desktop/images/13012025/00/39/image_13012025_00_39_02_778679_0001.jpg
/home/pi/Desktop/images/13012025/00/39/image_13012025_00_39_02_778679_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328540466","1328540468","1328540470","1328540472"],"photo_ids_order":["1328540466","1328540468","1328540470","1328540472"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/739a5564141154299582e586bf0ae6e4.jpg","text":"TemporaryFile(/tmp/multipartBody1127646351426744260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725273530,"filename":"image_13012025_00_38_02_558070_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3eef75bb871ce618e795874d84c92685.jpg","text":"TemporaryFile(/tmp/multipartBody8622345664719185316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725273530,"filename":"image_13012025_00_39_02_778679_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ca7a1875f2cd51e2910d8ca182fb3b77.jpg","text":"TemporaryFile(/tmp/multipartBody4043967213817780571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725273530,"filename":"image_13012025_00_39_02_778679_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cac8f45d58dc8cdf001639da6c9be14f.jpg","text":"TemporaryFile(/tmp/multipartBody5064691788189497603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725273530,"filename":"image_13012025_00_39_02_778679_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328540470","file1":"1328540468","file0":"1328540466","file3":"1328540472"},"map_files_photo_id_array":[{"photo_id":"1328540470","filename":"file2"},{"photo_id":"1328540468","filename":"file1"},{"photo_id":"1328540466","filename":"file0"},{"photo_id":"1328540472","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328540466":["hashtag1","hashtag2"]},{"1328540468":["hashtag1","hashtag2"]},{"1328540470":["hashtag1","hashtag2"]},{"1328540472":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328540466, 1328540468, 1328540470, 1328540472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.75900721549988 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:40:52.751466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:41:02.614263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/39/image_13012025_00_39_02_778679_0003.jpg', '/home/pi/Desktop/images/13012025/00/40/image_13012025_00_40_02_961112_0000.jpg', '/home/pi/Desktop/images/13012025/00/40/image_13012025_00_40_02_961112_0001.jpg', '/home/pi/Desktop/images/13012025/00/40/image_13012025_00_40_02_961112_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/39/image_13012025_00_39_02_778679_0003.jpg
/home/pi/Desktop/images/13012025/00/40/image_13012025_00_40_02_961112_0000.jpg
/home/pi/Desktop/images/13012025/00/40/image_13012025_00_40_02_961112_0001.jpg
/home/pi/Desktop/images/13012025/00/40/image_13012025_00_40_02_961112_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328540478","1328540480","1328540482","1328540476"],"photo_ids_order":["1328540476","1328540478","1328540480","1328540482"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/caa0b79354dbb8d74f07dac70a1a3d48.jpg","text":"TemporaryFile(/tmp/multipartBody7718238032516425367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725333046,"filename":"image_13012025_00_40_02_961112_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9713978c1120153d7ac8a3dc44454435.jpg","text":"TemporaryFile(/tmp/multipartBody5029860476371629708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725333046,"filename":"image_13012025_00_40_02_961112_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/80b0816cc97d7422d74e347e0a2a1639.jpg","text":"TemporaryFile(/tmp/multipartBody6033722127936920762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725333046,"filename":"image_13012025_00_40_02_961112_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e5d80c3f5d8485f7621efd449e20a3ef.jpg","text":"TemporaryFile(/tmp/multipartBody8876206799179437820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725333046,"filename":"image_13012025_00_39_02_778679_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328540480","file1":"1328540478","file0":"1328540476","file3":"1328540482"},"map_files_photo_id_array":[{"photo_id":"1328540480","filename":"file2"},{"photo_id":"1328540478","filename":"file1"},{"photo_id":"1328540476","filename":"file0"},{"photo_id":"1328540482","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328540478":["hashtag1","hashtag2"]},{"1328540480":["hashtag1","hashtag2"]},{"1328540482":["hashtag1","hashtag2"]},{"1328540476":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328540478, 1328540480, 1328540482, 1328540476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.080933809280396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:41:52.060859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:42:02.702767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/40/image_13012025_00_40_02_961112_0003.jpg', '/home/pi/Desktop/images/13012025/00/41/image_13012025_00_41_03_138367_0000.jpg', '/home/pi/Desktop/images/13012025/00/41/image_13012025_00_41_03_138367_0001.jpg', '/home/pi/Desktop/images/13012025/00/41/image_13012025_00_41_03_138367_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/40/image_13012025_00_40_02_961112_0003.jpg
/home/pi/Desktop/images/13012025/00/41/image_13012025_00_41_03_138367_0000.jpg
/home/pi/Desktop/images/13012025/00/41/image_13012025_00_41_03_138367_0001.jpg
/home/pi/Desktop/images/13012025/00/41/image_13012025_00_41_03_138367_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328540489","1328540491","1328540485","1328540487"],"photo_ids_order":["1328540485","1328540487","1328540489","1328540491"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/83d2fd3d91c637c9cf831f4610cb78d6.jpg","text":"TemporaryFile(/tmp/multipartBody5372459684729583821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725393132,"filename":"image_13012025_00_41_03_138367_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3d085355884dc8810129ed65d9ef926c.jpg","text":"TemporaryFile(/tmp/multipartBody3843874347975957923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725393132,"filename":"image_13012025_00_41_03_138367_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a986010c53de5ca677429a2a3cf95965.jpg","text":"TemporaryFile(/tmp/multipartBody2006803151845807516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725393132,"filename":"image_13012025_00_40_02_961112_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/349a872c22b2c27335a2d46f448c518a.jpg","text":"TemporaryFile(/tmp/multipartBody5720032999098732223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725393132,"filename":"image_13012025_00_41_03_138367_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328540489","file1":"1328540487","file0":"1328540485","file3":"1328540491"},"map_files_photo_id_array":[{"photo_id":"1328540489","filename":"file2"},{"photo_id":"1328540487","filename":"file1"},{"photo_id":"1328540485","filename":"file0"},{"photo_id":"1328540491","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328540489":["hashtag1","hashtag2"]},{"1328540491":["hashtag1","hashtag2"]},{"1328540485":["hashtag1","hashtag2"]},{"1328540487":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328540489, 1328540491, 1328540485, 1328540487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.91142010688782 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:42:52.268981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:43:02.965520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/41/image_13012025_00_41_03_138367_0003.jpg', '/home/pi/Desktop/images/13012025/00/42/image_13012025_00_42_02_317446_0000.jpg', '/home/pi/Desktop/images/13012025/00/42/image_13012025_00_42_02_317446_0001.jpg', '/home/pi/Desktop/images/13012025/00/42/image_13012025_00_42_02_317446_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/41/image_13012025_00_41_03_138367_0003.jpg
/home/pi/Desktop/images/13012025/00/42/image_13012025_00_42_02_317446_0000.jpg
/home/pi/Desktop/images/13012025/00/42/image_13012025_00_42_02_317446_0001.jpg
/home/pi/Desktop/images/13012025/00/42/image_13012025_00_42_02_317446_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328540526","1328540528","1328540522","1328540524"],"photo_ids_order":["1328540522","1328540524","1328540526","1328540528"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/843cf578fa4829dbbe01ab2b4863f02c.jpg","text":"TemporaryFile(/tmp/multipartBody37938218831025549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725453352,"filename":"image_13012025_00_42_02_317446_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c3667e2bada27d0ff7f5446362854a32.jpg","text":"TemporaryFile(/tmp/multipartBody2510542797347243969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725453352,"filename":"image_13012025_00_42_02_317446_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7de94303eaa9c34d7bb9c41585f0f913.jpg","text":"TemporaryFile(/tmp/multipartBody3204684987384032240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725453352,"filename":"image_13012025_00_41_03_138367_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0fcb63beb0d562bf77dce966ee37befb.jpg","text":"TemporaryFile(/tmp/multipartBody9074485012851299181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725453352,"filename":"image_13012025_00_42_02_317446_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328540526","file1":"1328540524","file0":"1328540522","file3":"1328540528"},"map_files_photo_id_array":[{"photo_id":"1328540526","filename":"file2"},{"photo_id":"1328540524","filename":"file1"},{"photo_id":"1328540522","filename":"file0"},{"photo_id":"1328540528","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328540526":["hashtag1","hashtag2"]},{"1328540528":["hashtag1","hashtag2"]},{"1328540522":["hashtag1","hashtag2"]},{"1328540524":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328540526, 1328540528, 1328540522, 1328540524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.00524663925171 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:43:52.462512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:44:03.065390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/42/image_13012025_00_42_02_317446_0003.jpg', '/home/pi/Desktop/images/13012025/00/43/image_13012025_00_43_02_643117_0000.jpg', '/home/pi/Desktop/images/13012025/00/43/image_13012025_00_43_02_643117_0001.jpg', '/home/pi/Desktop/images/13012025/00/43/image_13012025_00_43_02_643117_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/42/image_13012025_00_42_02_317446_0003.jpg
/home/pi/Desktop/images/13012025/00/43/image_13012025_00_43_02_643117_0000.jpg
/home/pi/Desktop/images/13012025/00/43/image_13012025_00_43_02_643117_0001.jpg
/home/pi/Desktop/images/13012025/00/43/image_13012025_00_43_02_643117_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328540535","1328540538","1328540552","1328540542"],"photo_ids_order":["1328540535","1328540538","1328540542","1328540552"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/235bc2c3e949099b8db1675e7a429301.jpg","text":"TemporaryFile(/tmp/multipartBody2997196436879230167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725513306,"filename":"image_13012025_00_42_02_317446_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/92552be2d6d144c1e56240ae248b1ac1.jpg","text":"TemporaryFile(/tmp/multipartBody5661785587229028070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725513306,"filename":"image_13012025_00_43_02_643117_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/444be7dfdc210d36a7cdf4aa357fd635.jpg","text":"TemporaryFile(/tmp/multipartBody9048054618536426213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725513306,"filename":"image_13012025_00_43_02_643117_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9ab8ae4c52237f5a96485c603eb4d528.jpg","text":"TemporaryFile(/tmp/multipartBody8530682301477297693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725513306,"filename":"image_13012025_00_43_02_643117_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328540542","file1":"1328540538","file0":"1328540535","file3":"1328540552"},"map_files_photo_id_array":[{"photo_id":"1328540542","filename":"file2"},{"photo_id":"1328540538","filename":"file1"},{"photo_id":"1328540535","filename":"file0"},{"photo_id":"1328540552","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328540535":["hashtag1","hashtag2"]},{"1328540538":["hashtag1","hashtag2"]},{"1328540552":["hashtag1","hashtag2"]},{"1328540542":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328540535, 1328540538, 1328540552, 1328540542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.96418213844299 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:44:52.664688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:45:02.305723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/43/image_13012025_00_43_02_643117_0003.jpg', '/home/pi/Desktop/images/13012025/00/44/image_13012025_00_44_02_824174_0000.jpg', '/home/pi/Desktop/images/13012025/00/44/image_13012025_00_44_02_824174_0001.jpg', '/home/pi/Desktop/images/13012025/00/44/image_13012025_00_44_02_824174_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/43/image_13012025_00_43_02_643117_0003.jpg
/home/pi/Desktop/images/13012025/00/44/image_13012025_00_44_02_824174_0000.jpg
/home/pi/Desktop/images/13012025/00/44/image_13012025_00_44_02_824174_0001.jpg
/home/pi/Desktop/images/13012025/00/44/image_13012025_00_44_02_824174_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328540820","1328540817","1328540786","1328540750"],"photo_ids_order":["1328540750","1328540786","1328540817","1328540820"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4db64dcf297cfde29c0d4fc35873cc71.jpg","text":"TemporaryFile(/tmp/multipartBody138544494072710716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725572769,"filename":"image_13012025_00_44_02_824174_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5054925002a57716103352dbb9f6d37b.jpg","text":"TemporaryFile(/tmp/multipartBody6850012200610217581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725572769,"filename":"image_13012025_00_44_02_824174_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/704365e404c728f68244d584ebd21c5f.jpg","text":"TemporaryFile(/tmp/multipartBody6526793757889425832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725572769,"filename":"image_13012025_00_44_02_824174_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/edc01b12d477265b03272d6f5e36081e.jpg","text":"TemporaryFile(/tmp/multipartBody8117694879168221662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725572769,"filename":"image_13012025_00_43_02_643117_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328540817","file1":"1328540786","file0":"1328540750","file3":"1328540820"},"map_files_photo_id_array":[{"photo_id":"1328540817","filename":"file2"},{"photo_id":"1328540786","filename":"file1"},{"photo_id":"1328540750","filename":"file0"},{"photo_id":"1328540820","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328540820":["hashtag1","hashtag2"]},{"1328540817":["hashtag1","hashtag2"]},{"1328540786":["hashtag1","hashtag2"]},{"1328540750":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328540820, 1328540817, 1328540786, 1328540750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.49989342689514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:45:51.874338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:46:02.541971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/44/image_13012025_00_44_02_824174_0003.jpg', '/home/pi/Desktop/images/13012025/00/45/image_13012025_00_45_03_008073_0000.jpg', '/home/pi/Desktop/images/13012025/00/45/image_13012025_00_45_03_008073_0001.jpg', '/home/pi/Desktop/images/13012025/00/45/image_13012025_00_45_03_008073_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/44/image_13012025_00_44_02_824174_0003.jpg
/home/pi/Desktop/images/13012025/00/45/image_13012025_00_45_03_008073_0000.jpg
/home/pi/Desktop/images/13012025/00/45/image_13012025_00_45_03_008073_0001.jpg
/home/pi/Desktop/images/13012025/00/45/image_13012025_00_45_03_008073_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.965813159942627 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 00:46:22.011188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/44/image_13012025_00_44_02_824174_0003.jpg', '/home/pi/Desktop/images/13012025/00/45/image_13012025_00_45_03_008073_0000.jpg', '/home/pi/Desktop/images/13012025/00/45/image_13012025_00_45_03_008073_0001.jpg', '/home/pi/Desktop/images/13012025/00/45/image_13012025_00_45_03_008073_0002.jpg', '/home/pi/Desktop/images/13012025/00/45/image_13012025_00_45_03_008073_0003.jpg', '/home/pi/Desktop/images/13012025/00/46/image_13012025_00_46_02_237844_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/44/image_13012025_00_44_02_824174_0003.jpg
/home/pi/Desktop/images/13012025/00/45/image_13012025_00_45_03_008073_0000.jpg
/home/pi/Desktop/images/13012025/00/45/image_13012025_00_45_03_008073_0001.jpg
/home/pi/Desktop/images/13012025/00/45/image_13012025_00_45_03_008073_0002.jpg
/home/pi/Desktop/images/13012025/00/45/image_13012025_00_45_03_008073_0003.jpg
/home/pi/Desktop/images/13012025/00/46/image_13012025_00_46_02_237844_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328541361","1328540974","1328540860","1328541255","1328541156","1328541066"],"photo_ids_order":["1328540860","1328540974","1328541066","1328541156","1328541255","1328541361"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/286aa0a2d6d1274bd54a373c91497118.jpg","text":"TemporaryFile(/tmp/multipartBody542526886623265722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725657203,"filename":"image_13012025_00_46_02_237844_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f219e6565f3bb606b40e632915f10cb4.jpg","text":"TemporaryFile(/tmp/multipartBody4692302928244449595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725657203,"filename":"image_13012025_00_45_03_008073_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/74d6288992fb095987d611682233657c.jpg","text":"TemporaryFile(/tmp/multipartBody1705200620953018288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725657203,"filename":"image_13012025_00_44_02_824174_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/179a0b94b95a1a568e4a1208c0179fa3.jpg","text":"TemporaryFile(/tmp/multipartBody4853401235976702601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725657203,"filename":"image_13012025_00_45_03_008073_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fdcfaad9bf6cc0e072a14145de478309.jpg","text":"TemporaryFile(/tmp/multipartBody1223181667707818904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725657203,"filename":"image_13012025_00_45_03_008073_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3f532cd8c49e84ac7b7dbc664cdfd6b4.jpg","text":"TemporaryFile(/tmp/multipartBody1166029377260744475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725657203,"filename":"image_13012025_00_45_03_008073_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328541066","file1":"1328540974","file0":"1328540860","file4":"1328541255","file5":"1328541361","file3":"1328541156"},"map_files_photo_id_array":[{"photo_id":"1328541361","filename":"file5"},{"photo_id":"1328541066","filename":"file2"},{"photo_id":"1328541255","filename":"file4"},{"photo_id":"1328540974","filename":"file1"},{"photo_id":"1328540860","filename":"file0"},{"photo_id":"1328541156","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328541361":["hashtag1","hashtag2"]},{"1328540974":["hashtag1","hashtag2"]},{"1328540860":["hashtag1","hashtag2"]},{"1328541255":["hashtag1","hashtag2"]},{"1328541156":["hashtag1","hashtag2"]},{"1328541066":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328541361, 1328540974, 1328540860, 1328541255, 1328541156, 1328541066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.84227967262268 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 00:47:22.183985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/46/image_13012025_00_46_02_237844_0001.jpg', '/home/pi/Desktop/images/13012025/00/46/image_13012025_00_46_02_237844_0002.jpg', '/home/pi/Desktop/images/13012025/00/46/image_13012025_00_46_02_237844_0003.jpg', '/home/pi/Desktop/images/13012025/00/47/image_13012025_00_47_02_400226_0000.jpg', '/home/pi/Desktop/images/13012025/00/47/image_13012025_00_47_02_400226_0001.jpg', '/home/pi/Desktop/images/13012025/00/47/image_13012025_00_47_02_400226_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/46/image_13012025_00_46_02_237844_0001.jpg
/home/pi/Desktop/images/13012025/00/46/image_13012025_00_46_02_237844_0002.jpg
/home/pi/Desktop/images/13012025/00/46/image_13012025_00_46_02_237844_0003.jpg
/home/pi/Desktop/images/13012025/00/47/image_13012025_00_47_02_400226_0000.jpg
/home/pi/Desktop/images/13012025/00/47/image_13012025_00_47_02_400226_0001.jpg
/home/pi/Desktop/images/13012025/00/47/image_13012025_00_47_02_400226_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328542055","1328541875","1328542057","1328541991","1328542056","1328542059"],"photo_ids_order":["1328541875","1328541991","1328542055","1328542056","1328542057","1328542059"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e62854ae253e88f59b2f02ed796961db.jpg","text":"TemporaryFile(/tmp/multipartBody50726141170036444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725717445,"filename":"image_13012025_00_46_02_237844_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/73d84e5e61fd763bcd20552cedf82996.jpg","text":"TemporaryFile(/tmp/multipartBody7293200149667776181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725717445,"filename":"image_13012025_00_46_02_237844_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eec355d96d5aeb5c25399877de355657.jpg","text":"TemporaryFile(/tmp/multipartBody2060722270707433348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725717445,"filename":"image_13012025_00_47_02_400226_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/27069cbef102fc5ef036c9b08849ef25.jpg","text":"TemporaryFile(/tmp/multipartBody2522298092374193307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725717445,"filename":"image_13012025_00_46_02_237844_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eb6145d95f3036a0c3a7e79087843113.jpg","text":"TemporaryFile(/tmp/multipartBody203629871239921978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725717445,"filename":"image_13012025_00_47_02_400226_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a049bd3848b4b3ca4f054cbd5dc818e0.jpg","text":"TemporaryFile(/tmp/multipartBody2914024245341390082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725717445,"filename":"image_13012025_00_47_02_400226_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328542055","file1":"1328541991","file0":"1328541875","file4":"1328542057","file5":"1328542059","file3":"1328542056"},"map_files_photo_id_array":[{"photo_id":"1328542059","filename":"file5"},{"photo_id":"1328542055","filename":"file2"},{"photo_id":"1328542057","filename":"file4"},{"photo_id":"1328541991","filename":"file1"},{"photo_id":"1328541875","filename":"file0"},{"photo_id":"1328542056","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328542055":["hashtag1","hashtag2"]},{"1328541875":["hashtag1","hashtag2"]},{"1328542057":["hashtag1","hashtag2"]},{"1328541991":["hashtag1","hashtag2"]},{"1328542056":["hashtag1","hashtag2"]},{"1328542059":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328542055, 1328541875, 1328542057, 1328541991, 1328542056, 1328542059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.601553201675415 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 00:48:22.336230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/47/image_13012025_00_47_02_400226_0003.jpg', '/home/pi/Desktop/images/13012025/00/48/image_13012025_00_48_02_596250_0000.jpg', '/home/pi/Desktop/images/13012025/00/48/image_13012025_00_48_02_596250_0001.jpg', '/home/pi/Desktop/images/13012025/00/48/image_13012025_00_48_02_596250_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/47/image_13012025_00_47_02_400226_0003.jpg
/home/pi/Desktop/images/13012025/00/48/image_13012025_00_48_02_596250_0000.jpg
/home/pi/Desktop/images/13012025/00/48/image_13012025_00_48_02_596250_0001.jpg
/home/pi/Desktop/images/13012025/00/48/image_13012025_00_48_02_596250_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328542067","1328542072","1328542066","1328542064"],"photo_ids_order":["1328542064","1328542066","1328542067","1328542072"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0a81e8da28cb74cca9f7a1dd08fe3972.jpg","text":"TemporaryFile(/tmp/multipartBody6563531530812928571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725772826,"filename":"image_13012025_00_48_02_596250_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8ea06318a945382e1d57d2c4512a2856.jpg","text":"TemporaryFile(/tmp/multipartBody3695274365634051901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725772826,"filename":"image_13012025_00_48_02_596250_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0efefd0ec125bc8c07906781c9348f6a.jpg","text":"TemporaryFile(/tmp/multipartBody3785538789893271561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725772826,"filename":"image_13012025_00_48_02_596250_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ed9b06345b46bb0d757299bb3dd564a5.jpg","text":"TemporaryFile(/tmp/multipartBody6963137135745436586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725772826,"filename":"image_13012025_00_47_02_400226_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328542067","file1":"1328542066","file0":"1328542064","file3":"1328542072"},"map_files_photo_id_array":[{"photo_id":"1328542067","filename":"file2"},{"photo_id":"1328542066","filename":"file1"},{"photo_id":"1328542064","filename":"file0"},{"photo_id":"1328542072","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328542067":["hashtag1","hashtag2"]},{"1328542072":["hashtag1","hashtag2"]},{"1328542066":["hashtag1","hashtag2"]},{"1328542064":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328542067, 1328542072, 1328542066, 1328542064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.82524514198303 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 00:49:22.610540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/48/image_13012025_00_48_02_596250_0003.jpg', '/home/pi/Desktop/images/13012025/00/49/image_13012025_00_49_02_754590_0000.jpg', '/home/pi/Desktop/images/13012025/00/49/image_13012025_00_49_02_754590_0001.jpg', '/home/pi/Desktop/images/13012025/00/49/image_13012025_00_49_02_754590_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/48/image_13012025_00_48_02_596250_0003.jpg
/home/pi/Desktop/images/13012025/00/49/image_13012025_00_49_02_754590_0000.jpg
/home/pi/Desktop/images/13012025/00/49/image_13012025_00_49_02_754590_0001.jpg
/home/pi/Desktop/images/13012025/00/49/image_13012025_00_49_02_754590_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328542325","1328542597","1328542420","1328542503"],"photo_ids_order":["1328542325","1328542420","1328542503","1328542597"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/178d5e00d4cebe7b082ee1405c3e9a43.jpg","text":"TemporaryFile(/tmp/multipartBody1572381833734845773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725833022,"filename":"image_13012025_00_48_02_596250_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f822f20714e6121cff421f5f9861019e.jpg","text":"TemporaryFile(/tmp/multipartBody7761128473585386787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725833022,"filename":"image_13012025_00_49_02_754590_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4ae42230a6ae6e432f218233093a55d4.jpg","text":"TemporaryFile(/tmp/multipartBody3057442714422411111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725833022,"filename":"image_13012025_00_49_02_754590_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b932f927dc13947d55961027113bb806.jpg","text":"TemporaryFile(/tmp/multipartBody3392260077070262066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725833022,"filename":"image_13012025_00_49_02_754590_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328542503","file1":"1328542420","file0":"1328542325","file3":"1328542597"},"map_files_photo_id_array":[{"photo_id":"1328542503","filename":"file2"},{"photo_id":"1328542420","filename":"file1"},{"photo_id":"1328542325","filename":"file0"},{"photo_id":"1328542597","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328542325":["hashtag1","hashtag2"]},{"1328542597":["hashtag1","hashtag2"]},{"1328542420":["hashtag1","hashtag2"]},{"1328542503":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328542325, 1328542597, 1328542420, 1328542503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.83090567588806 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 00:50:21.795245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/49/image_13012025_00_49_02_754590_0003.jpg', '/home/pi/Desktop/images/13012025/00/50/image_13012025_00_50_02_899297_0000.jpg', '/home/pi/Desktop/images/13012025/00/50/image_13012025_00_50_02_899297_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/49/image_13012025_00_49_02_754590_0003.jpg
/home/pi/Desktop/images/13012025/00/50/image_13012025_00_50_02_899297_0000.jpg
/home/pi/Desktop/images/13012025/00/50/image_13012025_00_50_02_899297_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328543347","1328543546","1328543444"],"photo_ids_order":["1328543347","1328543444","1328543546"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0ce88e12efc44c3227f1b7716cd528ee.jpg","text":"TemporaryFile(/tmp/multipartBody2169553898145802943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725889436,"filename":"image_13012025_00_49_02_754590_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5c7fe3b023816496238c1abad142fe7f.jpg","text":"TemporaryFile(/tmp/multipartBody1422623941828039518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725889436,"filename":"image_13012025_00_50_02_899297_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5a21ce0366eea02df3e9242e59997756.jpg","text":"TemporaryFile(/tmp/multipartBody3836117617877647242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725889436,"filename":"image_13012025_00_50_02_899297_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328543546","file1":"1328543444","file0":"1328543347"},"map_files_photo_id_array":[{"photo_id":"1328543546","filename":"file2"},{"photo_id":"1328543444","filename":"file1"},{"photo_id":"1328543347","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328543347":["hashtag1","hashtag2"]},{"1328543546":["hashtag1","hashtag2"]},{"1328543444":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328543347, 1328543546, 1328543444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.382534503936768 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:51:02.656056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 00:51:21.987005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/50/image_13012025_00_50_02_899297_0002.jpg', '/home/pi/Desktop/images/13012025/00/51/image_13012025_00_51_02_146061_0001.jpg', '/home/pi/Desktop/images/13012025/00/51/image_13012025_00_51_02_146061_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/50/image_13012025_00_50_02_899297_0002.jpg
/home/pi/Desktop/images/13012025/00/51/image_13012025_00_51_02_146061_0001.jpg
/home/pi/Desktop/images/13012025/00/51/image_13012025_00_51_02_146061_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328543761","1328543763","1328543760"],"photo_ids_order":["1328543760","1328543761","1328543763"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0d015508474d37d53fe0bc04ea6379b2.jpg","text":"TemporaryFile(/tmp/multipartBody7555665147941339103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725949538,"filename":"image_13012025_00_51_02_146061_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/be4e70aef339aa1d23e08a1c92db9210.jpg","text":"TemporaryFile(/tmp/multipartBody9017868759138565703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725949538,"filename":"image_13012025_00_51_02_146061_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/450a5025b475a56e9788ad3e55ca43c7.jpg","text":"TemporaryFile(/tmp/multipartBody6455079364135836818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736725949538,"filename":"image_13012025_00_50_02_899297_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328543763","file1":"1328543761","file0":"1328543760"},"map_files_photo_id_array":[{"photo_id":"1328543763","filename":"file2"},{"photo_id":"1328543761","filename":"file1"},{"photo_id":"1328543760","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328543761":["hashtag1","hashtag2"]},{"1328543763":["hashtag1","hashtag2"]},{"1328543760":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328543761, 1328543763, 1328543760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.224236249923706 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:52:02.620003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 00:52:22.165144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/51/image_13012025_00_51_02_146061_0003.jpg', '/home/pi/Desktop/images/13012025/00/52/image_13012025_00_52_02_426737_0000.jpg', '/home/pi/Desktop/images/13012025/00/52/image_13012025_00_52_02_426737_0001.jpg', '/home/pi/Desktop/images/13012025/00/52/image_13012025_00_52_02_426737_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/51/image_13012025_00_51_02_146061_0003.jpg
/home/pi/Desktop/images/13012025/00/52/image_13012025_00_52_02_426737_0000.jpg
/home/pi/Desktop/images/13012025/00/52/image_13012025_00_52_02_426737_0001.jpg
/home/pi/Desktop/images/13012025/00/52/image_13012025_00_52_02_426737_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.74983811378479 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:52:52.232443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:53:03.037364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/51/image_13012025_00_51_02_146061_0003.jpg', '/home/pi/Desktop/images/13012025/00/52/image_13012025_00_52_02_426737_0000.jpg', '/home/pi/Desktop/images/13012025/00/52/image_13012025_00_52_02_426737_0001.jpg', '/home/pi/Desktop/images/13012025/00/52/image_13012025_00_52_02_426737_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/51/image_13012025_00_51_02_146061_0003.jpg
/home/pi/Desktop/images/13012025/00/52/image_13012025_00_52_02_426737_0000.jpg
/home/pi/Desktop/images/13012025/00/52/image_13012025_00_52_02_426737_0001.jpg
/home/pi/Desktop/images/13012025/00/52/image_13012025_00_52_02_426737_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328543818","1328543853","1328543808","1328543819"],"photo_ids_order":["1328543808","1328543818","1328543819","1328543853"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c093f85433a800c6783f35d6480d9fba.jpg","text":"TemporaryFile(/tmp/multipartBody3828129906630866536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726053243,"filename":"image_13012025_00_52_02_426737_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/da823f4f3e4fd02648835170e0cdfae9.jpg","text":"TemporaryFile(/tmp/multipartBody9179426650882005278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726053243,"filename":"image_13012025_00_52_02_426737_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4a95c7172f6ee4bbccbc3e03baad3be1.jpg","text":"TemporaryFile(/tmp/multipartBody2099824856143520794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726053243,"filename":"image_13012025_00_51_02_146061_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5afcac636a0526b5f8f68843cc81cb35.jpg","text":"TemporaryFile(/tmp/multipartBody6869826003681778365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726053243,"filename":"image_13012025_00_52_02_426737_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328543819","file1":"1328543818","file0":"1328543808","file3":"1328543853"},"map_files_photo_id_array":[{"photo_id":"1328543819","filename":"file2"},{"photo_id":"1328543818","filename":"file1"},{"photo_id":"1328543808","filename":"file0"},{"photo_id":"1328543853","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328543818":["hashtag1","hashtag2"]},{"1328543853":["hashtag1","hashtag2"]},{"1328543808":["hashtag1","hashtag2"]},{"1328543819":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328543818, 1328543853, 1328543808, 1328543819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.5159432888031 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:53:52.434840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:54:03.031007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/52/image_13012025_00_52_02_426737_0003.jpg', '/home/pi/Desktop/images/13012025/00/53/image_13012025_00_53_02_562487_0000.jpg', '/home/pi/Desktop/images/13012025/00/53/image_13012025_00_53_02_562487_0001.jpg', '/home/pi/Desktop/images/13012025/00/53/image_13012025_00_53_02_562487_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/52/image_13012025_00_52_02_426737_0003.jpg
/home/pi/Desktop/images/13012025/00/53/image_13012025_00_53_02_562487_0000.jpg
/home/pi/Desktop/images/13012025/00/53/image_13012025_00_53_02_562487_0001.jpg
/home/pi/Desktop/images/13012025/00/53/image_13012025_00_53_02_562487_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328543944","1328543946","1328543948","1328543942"],"photo_ids_order":["1328543942","1328543944","1328543946","1328543948"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/79109610365dbde63154f1aaa725ab73.jpg","text":"TemporaryFile(/tmp/multipartBody4087775254427942742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726113112,"filename":"image_13012025_00_53_02_562487_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/66ed6c7adf6bf2ba81feaf6bba1d00f3.jpg","text":"TemporaryFile(/tmp/multipartBody2276527992071913503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726113112,"filename":"image_13012025_00_53_02_562487_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8ba569ea38896301aef6eccc87386a0a.jpg","text":"TemporaryFile(/tmp/multipartBody4835071320497368247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726113112,"filename":"image_13012025_00_53_02_562487_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2362a4314c15ad40bf61bf7028443e83.jpg","text":"TemporaryFile(/tmp/multipartBody7439628138256754368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726113112,"filename":"image_13012025_00_52_02_426737_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328543946","file1":"1328543944","file0":"1328543942","file3":"1328543948"},"map_files_photo_id_array":[{"photo_id":"1328543946","filename":"file2"},{"photo_id":"1328543944","filename":"file1"},{"photo_id":"1328543942","filename":"file0"},{"photo_id":"1328543948","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328543944":["hashtag1","hashtag2"]},{"1328543946":["hashtag1","hashtag2"]},{"1328543948":["hashtag1","hashtag2"]},{"1328543942":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328543944, 1328543946, 1328543948, 1328543942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.149542808532715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:54:52.582707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:55:02.307031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/53/image_13012025_00_53_02_562487_0003.jpg', '/home/pi/Desktop/images/13012025/00/54/image_13012025_00_54_02_779400_0000.jpg', '/home/pi/Desktop/images/13012025/00/54/image_13012025_00_54_02_779400_0001.jpg', '/home/pi/Desktop/images/13012025/00/54/image_13012025_00_54_02_779400_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/53/image_13012025_00_53_02_562487_0003.jpg
/home/pi/Desktop/images/13012025/00/54/image_13012025_00_54_02_779400_0000.jpg
/home/pi/Desktop/images/13012025/00/54/image_13012025_00_54_02_779400_0001.jpg
/home/pi/Desktop/images/13012025/00/54/image_13012025_00_54_02_779400_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328543980","1328543982","1328543979","1328543984"],"photo_ids_order":["1328543979","1328543980","1328543982","1328543984"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/79291752480e11fefa5c9312dad21820.jpg","text":"TemporaryFile(/tmp/multipartBody863996209066475845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726172340,"filename":"image_13012025_00_54_02_779400_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/33b895f98976969874e91a44737d88b2.jpg","text":"TemporaryFile(/tmp/multipartBody6912829682265455805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726172340,"filename":"image_13012025_00_54_02_779400_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/91f3854f3718b0a5c903b52c91ccfcd4.jpg","text":"TemporaryFile(/tmp/multipartBody4304962552694579800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726172340,"filename":"image_13012025_00_53_02_562487_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d57310c7cd120075f2d0b4f86f2a6892.jpg","text":"TemporaryFile(/tmp/multipartBody9217980046079627134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726172340,"filename":"image_13012025_00_54_02_779400_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328543982","file1":"1328543980","file0":"1328543979","file3":"1328543984"},"map_files_photo_id_array":[{"photo_id":"1328543982","filename":"file2"},{"photo_id":"1328543980","filename":"file1"},{"photo_id":"1328543979","filename":"file0"},{"photo_id":"1328543984","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328543980":["hashtag1","hashtag2"]},{"1328543982":["hashtag1","hashtag2"]},{"1328543979":["hashtag1","hashtag2"]},{"1328543984":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328543980, 1328543982, 1328543979, 1328543984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.16862082481384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:55:51.773634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:56:02.312277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/54/image_13012025_00_54_02_779400_0003.jpg', '/home/pi/Desktop/images/13012025/00/55/image_13012025_00_55_02_964053_0000.jpg', '/home/pi/Desktop/images/13012025/00/55/image_13012025_00_55_02_964053_0001.jpg', '/home/pi/Desktop/images/13012025/00/55/image_13012025_00_55_02_964053_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/54/image_13012025_00_54_02_779400_0003.jpg
/home/pi/Desktop/images/13012025/00/55/image_13012025_00_55_02_964053_0000.jpg
/home/pi/Desktop/images/13012025/00/55/image_13012025_00_55_02_964053_0001.jpg
/home/pi/Desktop/images/13012025/00/55/image_13012025_00_55_02_964053_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328543989","1328543991","1328543993","1328543995"],"photo_ids_order":["1328543989","1328543991","1328543993","1328543995"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/90519a4cc5b02eb156ab192e7cacdf20.jpg","text":"TemporaryFile(/tmp/multipartBody2403237412260628546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726232489,"filename":"image_13012025_00_54_02_779400_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aadda912bd7e5197fef8b13dcdd51da1.jpg","text":"TemporaryFile(/tmp/multipartBody3397206434789309925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726232489,"filename":"image_13012025_00_55_02_964053_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/026ead3277a955fb37fdc7ff5e571c46.jpg","text":"TemporaryFile(/tmp/multipartBody4861684788995719704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726232489,"filename":"image_13012025_00_55_02_964053_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e43d791a974e5570b73531a4f21b9616.jpg","text":"TemporaryFile(/tmp/multipartBody6451990756486345185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726232489,"filename":"image_13012025_00_55_02_964053_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328543993","file1":"1328543991","file0":"1328543989","file3":"1328543995"},"map_files_photo_id_array":[{"photo_id":"1328543993","filename":"file2"},{"photo_id":"1328543991","filename":"file1"},{"photo_id":"1328543989","filename":"file0"},{"photo_id":"1328543995","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328543989":["hashtag1","hashtag2"]},{"1328543991":["hashtag1","hashtag2"]},{"1328543993":["hashtag1","hashtag2"]},{"1328543995":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328543989, 1328543991, 1328543993, 1328543995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.55438232421875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:56:51.980199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:57:02.662694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/55/image_13012025_00_55_02_964053_0003.jpg', '/home/pi/Desktop/images/13012025/00/56/image_13012025_00_56_02_127366_0000.jpg', '/home/pi/Desktop/images/13012025/00/56/image_13012025_00_56_02_127366_0001.jpg', '/home/pi/Desktop/images/13012025/00/56/image_13012025_00_56_02_127366_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/55/image_13012025_00_55_02_964053_0003.jpg
/home/pi/Desktop/images/13012025/00/56/image_13012025_00_56_02_127366_0000.jpg
/home/pi/Desktop/images/13012025/00/56/image_13012025_00_56_02_127366_0001.jpg
/home/pi/Desktop/images/13012025/00/56/image_13012025_00_56_02_127366_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328544001","1328544003","1328543999","1328544005"],"photo_ids_order":["1328543999","1328544001","1328544003","1328544005"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3de5f835a97b600695ac4cf5b29e7eec.jpg","text":"TemporaryFile(/tmp/multipartBody8069432343579099582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726292661,"filename":"image_13012025_00_56_02_127366_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cf439b29d817542c22e602a64aaf2c74.jpg","text":"TemporaryFile(/tmp/multipartBody7872686546259725676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726292661,"filename":"image_13012025_00_56_02_127366_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/37b47d63be8ec5861fc89d161044cb08.jpg","text":"TemporaryFile(/tmp/multipartBody6121506272417568888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726292661,"filename":"image_13012025_00_55_02_964053_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ae2fb0398a54331d2533361824a8df99.jpg","text":"TemporaryFile(/tmp/multipartBody8267936908920799924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726292661,"filename":"image_13012025_00_56_02_127366_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328544003","file1":"1328544001","file0":"1328543999","file3":"1328544005"},"map_files_photo_id_array":[{"photo_id":"1328544003","filename":"file2"},{"photo_id":"1328544001","filename":"file1"},{"photo_id":"1328543999","filename":"file0"},{"photo_id":"1328544005","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328544001":["hashtag1","hashtag2"]},{"1328544003":["hashtag1","hashtag2"]},{"1328543999":["hashtag1","hashtag2"]},{"1328544005":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328544001, 1328544003, 1328543999, 1328544005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.510870695114136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-13 00:57:52.178168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 00:59:03.134088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/56/image_13012025_00_56_02_127366_0003.jpg', '/home/pi/Desktop/images/13012025/00/57/image_13012025_00_57_02_357039_0000.jpg', '/home/pi/Desktop/images/13012025/00/57/image_13012025_00_57_02_357039_0001.jpg', '/home/pi/Desktop/images/13012025/00/57/image_13012025_00_57_02_357039_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/56/image_13012025_00_56_02_127366_0003.jpg
/home/pi/Desktop/images/13012025/00/57/image_13012025_00_57_02_357039_0000.jpg
/home/pi/Desktop/images/13012025/00/57/image_13012025_00_57_02_357039_0001.jpg
/home/pi/Desktop/images/13012025/00/57/image_13012025_00_57_02_357039_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328544510","1328544506","1328544500","1328544503"],"photo_ids_order":["1328544500","1328544503","1328544506","1328544510"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/032115f491a68e2656d9f72a756b9629.jpg","text":"TemporaryFile(/tmp/multipartBody404665753758091313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726413222,"filename":"image_13012025_00_57_02_357039_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/42ba039d1b1ede27c76b27e1561dc227.jpg","text":"TemporaryFile(/tmp/multipartBody5495416562828374284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726413222,"filename":"image_13012025_00_57_02_357039_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fc8b4fbd00d5ba4e80e0989e45d0c410.jpg","text":"TemporaryFile(/tmp/multipartBody4465317302801684066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726413222,"filename":"image_13012025_00_56_02_127366_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e92d4f367e6b9a1ef465406601c8816f.jpg","text":"TemporaryFile(/tmp/multipartBody4605630121413643092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726413222,"filename":"image_13012025_00_57_02_357039_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328544506","file1":"1328544503","file0":"1328544500","file3":"1328544510"},"map_files_photo_id_array":[{"photo_id":"1328544506","filename":"file2"},{"photo_id":"1328544503","filename":"file1"},{"photo_id":"1328544500","filename":"file0"},{"photo_id":"1328544510","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328544510":["hashtag1","hashtag2"]},{"1328544506":["hashtag1","hashtag2"]},{"1328544500":["hashtag1","hashtag2"]},{"1328544503":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328544510, 1328544506, 1328544500, 1328544503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.21026253700256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:00:02.711914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/57/image_13012025_00_57_02_357039_0003.jpg', '/home/pi/Desktop/images/13012025/00/58/image_13012025_00_58_02_501384_0000.jpg', '/home/pi/Desktop/images/13012025/00/58/image_13012025_00_58_02_501384_0001.jpg', '/home/pi/Desktop/images/13012025/00/58/image_13012025_00_58_02_501384_0002.jpg', '/home/pi/Desktop/images/13012025/00/58/image_13012025_00_58_02_501384_0003.jpg', '/home/pi/Desktop/images/13012025/00/59/image_13012025_00_59_02_730209_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/57/image_13012025_00_57_02_357039_0003.jpg
/home/pi/Desktop/images/13012025/00/58/image_13012025_00_58_02_501384_0000.jpg
/home/pi/Desktop/images/13012025/00/58/image_13012025_00_58_02_501384_0001.jpg
/home/pi/Desktop/images/13012025/00/58/image_13012025_00_58_02_501384_0002.jpg
/home/pi/Desktop/images/13012025/00/58/image_13012025_00_58_02_501384_0003.jpg
/home/pi/Desktop/images/13012025/00/59/image_13012025_00_59_02_730209_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328544792","1328544786","1328544795","1328544789","1328544779","1328544755"],"photo_ids_order":["1328544755","1328544779","1328544786","1328544789","1328544792","1328544795"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0d70d3f44ee6f147fb590ae3669427c5.jpg","text":"TemporaryFile(/tmp/multipartBody3310281535877970490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726477293,"filename":"image_13012025_00_58_02_501384_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/74282ef734aae8ae482f22a640d8edb3.jpg","text":"TemporaryFile(/tmp/multipartBody791270764970216232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726477293,"filename":"image_13012025_00_58_02_501384_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2981b0020abb03baf41a00c359d7915b.jpg","text":"TemporaryFile(/tmp/multipartBody808171277399349878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726477293,"filename":"image_13012025_00_59_02_730209_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/caf4935cdd72a384d18c05ddbb11d1f4.jpg","text":"TemporaryFile(/tmp/multipartBody2103177617966784420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726477293,"filename":"image_13012025_00_58_02_501384_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d3e7a3cc6a1786f22a2b4377fe64b033.jpg","text":"TemporaryFile(/tmp/multipartBody7816922735483593740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726477293,"filename":"image_13012025_00_58_02_501384_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/476634b941fc1204c9f85b6c42f1f164.jpg","text":"TemporaryFile(/tmp/multipartBody2494654959399298450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726477293,"filename":"image_13012025_00_57_02_357039_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328544786","file1":"1328544779","file0":"1328544755","file4":"1328544792","file5":"1328544795","file3":"1328544789"},"map_files_photo_id_array":[{"photo_id":"1328544795","filename":"file5"},{"photo_id":"1328544786","filename":"file2"},{"photo_id":"1328544792","filename":"file4"},{"photo_id":"1328544779","filename":"file1"},{"photo_id":"1328544755","filename":"file0"},{"photo_id":"1328544789","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328544792":["hashtag1","hashtag2"]},{"1328544786":["hashtag1","hashtag2"]},{"1328544795":["hashtag1","hashtag2"]},{"1328544789":["hashtag1","hashtag2"]},{"1328544779":["hashtag1","hashtag2"]},{"1328544755":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328544792, 1328544786, 1328544795, 1328544789, 1328544779, 1328544755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.16776990890503 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:01:22.611693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/00/59/image_13012025_00_59_02_730209_0003.jpg', '/home/pi/Desktop/images/13012025/01/00/image_13012025_01_00_02_931250_0000.jpg', '/home/pi/Desktop/images/13012025/01/00/image_13012025_01_00_02_931250_0001.jpg', '/home/pi/Desktop/images/13012025/01/00/image_13012025_01_00_02_931250_0002.jpg', '/home/pi/Desktop/images/13012025/01/01/image_13012025_01_01_02_500345_0000.jpg', '/home/pi/Desktop/images/13012025/01/01/image_13012025_01_01_02_500345_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/00/59/image_13012025_00_59_02_730209_0003.jpg
/home/pi/Desktop/images/13012025/01/00/image_13012025_01_00_02_931250_0000.jpg
/home/pi/Desktop/images/13012025/01/00/image_13012025_01_00_02_931250_0001.jpg
/home/pi/Desktop/images/13012025/01/00/image_13012025_01_00_02_931250_0002.jpg
/home/pi/Desktop/images/13012025/01/01/image_13012025_01_01_02_500345_0000.jpg
/home/pi/Desktop/images/13012025/01/01/image_13012025_01_01_02_500345_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328545359","1328545068","1328545509","1328544914","1328545255","1328544812"],"photo_ids_order":["1328544812","1328544914","1328545068","1328545255","1328545359","1328545509"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b13b539d20063f3098887526cb010e9f.jpg","text":"TemporaryFile(/tmp/multipartBody3035060066840286268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726556902,"filename":"image_13012025_01_01_02_500345_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3d9a32db4793d46d0f78b0d6dc93abeb.jpg","text":"TemporaryFile(/tmp/multipartBody5289988544554191209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726556902,"filename":"image_13012025_01_00_02_931250_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d1b973d765ac74e4b53342fa3b895512.jpg","text":"TemporaryFile(/tmp/multipartBody6462486985290240464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726556902,"filename":"image_13012025_01_01_02_500345_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8f780d4a0c4109299f3dceb5027b1a6e.jpg","text":"TemporaryFile(/tmp/multipartBody2630869041619208363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726556902,"filename":"image_13012025_01_00_02_931250_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/48ea3d696a449243a9366aa426f857c0.jpg","text":"TemporaryFile(/tmp/multipartBody9223111486000218831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726556902,"filename":"image_13012025_01_00_02_931250_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b0d91ce477d3fc7389c7bd89636f7f69.jpg","text":"TemporaryFile(/tmp/multipartBody3748242444147155777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726556902,"filename":"image_13012025_00_59_02_730209_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328545068","file1":"1328544914","file0":"1328544812","file4":"1328545359","file5":"1328545509","file3":"1328545255"},"map_files_photo_id_array":[{"photo_id":"1328545509","filename":"file5"},{"photo_id":"1328545068","filename":"file2"},{"photo_id":"1328545359","filename":"file4"},{"photo_id":"1328544914","filename":"file1"},{"photo_id":"1328544812","filename":"file0"},{"photo_id":"1328545255","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328545359":["hashtag1","hashtag2"]},{"1328545068":["hashtag1","hashtag2"]},{"1328545509":["hashtag1","hashtag2"]},{"1328544914":["hashtag1","hashtag2"]},{"1328545255":["hashtag1","hashtag2"]},{"1328544812":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328545359, 1328545068, 1328545509, 1328544914, 1328545255, 1328544812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.45884990692139 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:02:22.083552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/01/image_13012025_01_01_02_500345_0002.jpg', '/home/pi/Desktop/images/13012025/01/01/image_13012025_01_01_02_500345_0003.jpg', '/home/pi/Desktop/images/13012025/01/02/image_13012025_01_02_03_013546_0000.jpg', '/home/pi/Desktop/images/13012025/01/02/image_13012025_01_02_03_013546_0001.jpg', '/home/pi/Desktop/images/13012025/01/02/image_13012025_01_02_03_013546_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/01/image_13012025_01_01_02_500345_0002.jpg
/home/pi/Desktop/images/13012025/01/01/image_13012025_01_01_02_500345_0003.jpg
/home/pi/Desktop/images/13012025/01/02/image_13012025_01_02_03_013546_0000.jpg
/home/pi/Desktop/images/13012025/01/02/image_13012025_01_02_03_013546_0001.jpg
/home/pi/Desktop/images/13012025/01/02/image_13012025_01_02_03_013546_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328546337","1328546238","1328546145","1328546034","1328546428"],"photo_ids_order":["1328546034","1328546145","1328546238","1328546337","1328546428"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/54c8280865d1c0ea422ad4f5282ba1b1.jpg","text":"TemporaryFile(/tmp/multipartBody7620962399190747169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726614079,"filename":"image_13012025_01_02_03_013546_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/58b531fd863a6f32bd3bc31ddee61e2a.jpg","text":"TemporaryFile(/tmp/multipartBody8949909933978539817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726614079,"filename":"image_13012025_01_02_03_013546_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3becbc58772644c4aaf8b81d48f37385.jpg","text":"TemporaryFile(/tmp/multipartBody5214180948902416452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726614079,"filename":"image_13012025_01_01_02_500345_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/15a85e5238ede03164b51c9ff0382326.jpg","text":"TemporaryFile(/tmp/multipartBody8190822052846295509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726614079,"filename":"image_13012025_01_01_02_500345_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4fab0f25cc8e372c327d38eb5fc00cdd.jpg","text":"TemporaryFile(/tmp/multipartBody3313452788733745687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726614079,"filename":"image_13012025_01_02_03_013546_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328546238","file1":"1328546145","file0":"1328546034","file4":"1328546428","file3":"1328546337"},"map_files_photo_id_array":[{"photo_id":"1328546238","filename":"file2"},{"photo_id":"1328546428","filename":"file4"},{"photo_id":"1328546145","filename":"file1"},{"photo_id":"1328546034","filename":"file0"},{"photo_id":"1328546337","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328546337":["hashtag1","hashtag2"]},{"1328546238":["hashtag1","hashtag2"]},{"1328546145":["hashtag1","hashtag2"]},{"1328546034":["hashtag1","hashtag2"]},{"1328546428":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328546337, 1328546238, 1328546145, 1328546034, 1328546428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.72419357299805 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:03:22.546541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/02/image_13012025_01_02_03_013546_0003.jpg', '/home/pi/Desktop/images/13012025/01/03/image_13012025_01_03_02_502274_0001.jpg', '/home/pi/Desktop/images/13012025/01/03/image_13012025_01_03_02_502274_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/02/image_13012025_01_02_03_013546_0003.jpg
/home/pi/Desktop/images/13012025/01/03/image_13012025_01_03_02_502274_0001.jpg
/home/pi/Desktop/images/13012025/01/03/image_13012025_01_03_02_502274_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328547008","1328547010","1328547012"],"photo_ids_order":["1328547008","1328547010","1328547012"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ea45a7147238f2759d72c0f84ca871b9.jpg","text":"TemporaryFile(/tmp/multipartBody7886137567990351158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726670041,"filename":"image_13012025_01_02_03_013546_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c77c717453fc280f236cbfdb3c82460d.jpg","text":"TemporaryFile(/tmp/multipartBody5185816924645802083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726670041,"filename":"image_13012025_01_03_02_502274_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0494e8554964bb0f28511a28bc2b51ad.jpg","text":"TemporaryFile(/tmp/multipartBody6542625095310356595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726670041,"filename":"image_13012025_01_03_02_502274_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328547012","file1":"1328547010","file0":"1328547008"},"map_files_photo_id_array":[{"photo_id":"1328547012","filename":"file2"},{"photo_id":"1328547010","filename":"file1"},{"photo_id":"1328547008","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328547008":["hashtag1","hashtag2"]},{"1328547010":["hashtag1","hashtag2"]},{"1328547012":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328547008, 1328547010, 1328547012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.390371799468994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:04:02.636775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:04:22.194161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/03/image_13012025_01_03_02_502274_0003.jpg', '/home/pi/Desktop/images/13012025/01/04/image_13012025_01_04_03_042598_0000.jpg', '/home/pi/Desktop/images/13012025/01/04/image_13012025_01_04_03_042598_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/03/image_13012025_01_03_02_502274_0003.jpg
/home/pi/Desktop/images/13012025/01/04/image_13012025_01_04_03_042598_0000.jpg
/home/pi/Desktop/images/13012025/01/04/image_13012025_01_04_03_042598_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.1013054847717285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:05:03.343676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/03/image_13012025_01_03_02_502274_0003.jpg', '/home/pi/Desktop/images/13012025/01/04/image_13012025_01_04_03_042598_0000.jpg', '/home/pi/Desktop/images/13012025/01/04/image_13012025_01_04_03_042598_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/03/image_13012025_01_03_02_502274_0003.jpg
/home/pi/Desktop/images/13012025/01/04/image_13012025_01_04_03_042598_0000.jpg
/home/pi/Desktop/images/13012025/01/04/image_13012025_01_04_03_042598_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328548109","1328548201","1328548295"],"photo_ids_order":["1328548109","1328548201","1328548295"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7b4add6f2c9125e40f72859582a02f9f.jpg","text":"TemporaryFile(/tmp/multipartBody2711713149148395605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726770885,"filename":"image_13012025_01_03_02_502274_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/423f00dc02e0f2bb07145cad1f0d0d60.jpg","text":"TemporaryFile(/tmp/multipartBody492581680893942924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726770885,"filename":"image_13012025_01_04_03_042598_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0544fc19735cbcf2d48aca4019c09ee1.jpg","text":"TemporaryFile(/tmp/multipartBody5051875080925449791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726770885,"filename":"image_13012025_01_04_03_042598_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328548295","file1":"1328548201","file0":"1328548109"},"map_files_photo_id_array":[{"photo_id":"1328548295","filename":"file2"},{"photo_id":"1328548201","filename":"file1"},{"photo_id":"1328548109","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328548109":["hashtag1","hashtag2"]},{"1328548201":["hashtag1","hashtag2"]},{"1328548295":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328548109, 1328548201, 1328548295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.42013955116272 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:06:02.870624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/04/image_13012025_01_04_03_042598_0003.jpg', '/home/pi/Desktop/images/13012025/01/05/image_13012025_01_05_02_549557_0001.jpg', '/home/pi/Desktop/images/13012025/01/05/image_13012025_01_05_02_549557_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/04/image_13012025_01_04_03_042598_0003.jpg
/home/pi/Desktop/images/13012025/01/05/image_13012025_01_05_02_549557_0001.jpg
/home/pi/Desktop/images/13012025/01/05/image_13012025_01_05_02_549557_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328548805","1328548807","1328548806"],"photo_ids_order":["1328548805","1328548806","1328548807"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5894f6b5fc03d8fc971974935ed597f7.jpg","text":"TemporaryFile(/tmp/multipartBody5989168864902164784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726830346,"filename":"image_13012025_01_04_03_042598_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/91a26e99b1b1afd5a3a8d388c2c72f87.jpg","text":"TemporaryFile(/tmp/multipartBody3913188731428776449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726830346,"filename":"image_13012025_01_05_02_549557_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9aeeb2e69a455f65a936d922d24d8624.jpg","text":"TemporaryFile(/tmp/multipartBody5663031454620703203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726830346,"filename":"image_13012025_01_05_02_549557_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328548807","file1":"1328548806","file0":"1328548805"},"map_files_photo_id_array":[{"photo_id":"1328548807","filename":"file2"},{"photo_id":"1328548806","filename":"file1"},{"photo_id":"1328548805","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328548805":["hashtag1","hashtag2"]},{"1328548807":["hashtag1","hashtag2"]},{"1328548806":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328548805, 1328548807, 1328548806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.166571617126465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:07:02.361751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/05/image_13012025_01_05_02_549557_0003.jpg', '/home/pi/Desktop/images/13012025/01/06/image_13012025_01_06_03_076520_0000.jpg', '/home/pi/Desktop/images/13012025/01/06/image_13012025_01_06_03_076520_0001.jpg', '/home/pi/Desktop/images/13012025/01/06/image_13012025_01_06_03_076520_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/05/image_13012025_01_05_02_549557_0003.jpg
/home/pi/Desktop/images/13012025/01/06/image_13012025_01_06_03_076520_0000.jpg
/home/pi/Desktop/images/13012025/01/06/image_13012025_01_06_03_076520_0001.jpg
/home/pi/Desktop/images/13012025/01/06/image_13012025_01_06_03_076520_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328548832","1328548831","1328548833","1328548830"],"photo_ids_order":["1328548830","1328548831","1328548832","1328548833"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/97ec0b5d5d24b0da1a6e1b85d7782417.jpg","text":"TemporaryFile(/tmp/multipartBody6961830125408043245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726892142,"filename":"image_13012025_01_06_03_076520_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5fd0fe0a34117ffbef8e21597fd5e337.jpg","text":"TemporaryFile(/tmp/multipartBody4521021313266605908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726892142,"filename":"image_13012025_01_06_03_076520_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b5ed728eb72ae5c7fd267104780f6434.jpg","text":"TemporaryFile(/tmp/multipartBody571206596822639738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726892142,"filename":"image_13012025_01_06_03_076520_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/673e354d70c2281f60da8b72c9aed963.jpg","text":"TemporaryFile(/tmp/multipartBody4207950414241867036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726892142,"filename":"image_13012025_01_05_02_549557_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328548832","file1":"1328548831","file0":"1328548830","file3":"1328548833"},"map_files_photo_id_array":[{"photo_id":"1328548832","filename":"file2"},{"photo_id":"1328548831","filename":"file1"},{"photo_id":"1328548830","filename":"file0"},{"photo_id":"1328548833","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328548832":["hashtag1","hashtag2"]},{"1328548831":["hashtag1","hashtag2"]},{"1328548833":["hashtag1","hashtag2"]},{"1328548830":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328548832, 1328548831, 1328548833, 1328548830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.9730122089386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:08:03.037418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/06/image_13012025_01_06_03_076520_0003.jpg', '/home/pi/Desktop/images/13012025/01/07/image_13012025_01_07_02_684558_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/06/image_13012025_01_06_03_076520_0003.jpg
/home/pi/Desktop/images/13012025/01/07/image_13012025_01_07_02_684558_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328548841","1328548840"],"photo_ids_order":["1328548840","1328548841"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a07dc828fcff0a1dd94aa6880732fd06.jpg","text":"TemporaryFile(/tmp/multipartBody5857865835976603354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726948260,"filename":"image_13012025_01_07_02_684558_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/88fe3f8b2f8dbb3108d4732771423574.jpg","text":"TemporaryFile(/tmp/multipartBody4396018320083136759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736726948260,"filename":"image_13012025_01_06_03_076520_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328548841","file0":"1328548840"},"map_files_photo_id_array":[{"photo_id":"1328548841","filename":"file1"},{"photo_id":"1328548840","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328548841":["hashtag1","hashtag2"]},{"1328548840":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328548841, 1328548840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.561411380767822 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:09:02.775056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/07/image_13012025_01_07_02_684558_0003.jpg', '/home/pi/Desktop/images/13012025/01/08/image_13012025_01_08_02_242995_0000.jpg', '/home/pi/Desktop/images/13012025/01/08/image_13012025_01_08_02_242995_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/07/image_13012025_01_07_02_684558_0003.jpg
/home/pi/Desktop/images/13012025/01/08/image_13012025_01_08_02_242995_0000.jpg
/home/pi/Desktop/images/13012025/01/08/image_13012025_01_08_02_242995_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.122673511505127 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:09:22.122467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/07/image_13012025_01_07_02_684558_0003.jpg', '/home/pi/Desktop/images/13012025/01/08/image_13012025_01_08_02_242995_0000.jpg', '/home/pi/Desktop/images/13012025/01/08/image_13012025_01_08_02_242995_0002.jpg', '/home/pi/Desktop/images/13012025/01/08/image_13012025_01_08_02_242995_0003.jpg', '/home/pi/Desktop/images/13012025/01/09/image_13012025_01_09_03_017697_0000.jpg', '/home/pi/Desktop/images/13012025/01/09/image_13012025_01_09_03_017697_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/07/image_13012025_01_07_02_684558_0003.jpg
/home/pi/Desktop/images/13012025/01/08/image_13012025_01_08_02_242995_0000.jpg
/home/pi/Desktop/images/13012025/01/08/image_13012025_01_08_02_242995_0002.jpg
/home/pi/Desktop/images/13012025/01/08/image_13012025_01_08_02_242995_0003.jpg
/home/pi/Desktop/images/13012025/01/09/image_13012025_01_09_03_017697_0000.jpg
/home/pi/Desktop/images/13012025/01/09/image_13012025_01_09_03_017697_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328549434","1328549460","1328549520","1328549619","1328549426","1328549429"],"photo_ids_order":["1328549426","1328549429","1328549434","1328549460","1328549520","1328549619"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/de21d0916b8ae2b1735224f381f9d092.jpg","text":"TemporaryFile(/tmp/multipartBody4985761122529840759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727036437,"filename":"image_13012025_01_08_02_242995_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0c5006d1c92fb178272dcaddef333927.jpg","text":"TemporaryFile(/tmp/multipartBody3122307937390047023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727036437,"filename":"image_13012025_01_08_02_242995_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e0225924d3aadfdc793ae4394517bc68.jpg","text":"TemporaryFile(/tmp/multipartBody789658861731384715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727036437,"filename":"image_13012025_01_09_03_017697_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9f444f42e82b7f1605dcb9781cfd897e.jpg","text":"TemporaryFile(/tmp/multipartBody62687674672771215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727036437,"filename":"image_13012025_01_09_03_017697_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2ea834d6582abb979ff90556d3ad79d6.jpg","text":"TemporaryFile(/tmp/multipartBody1470296149739871510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727036437,"filename":"image_13012025_01_07_02_684558_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aff254cdb87e95b47527bb21f824ffb9.jpg","text":"TemporaryFile(/tmp/multipartBody9027300087442048757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727036437,"filename":"image_13012025_01_08_02_242995_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328549434","file1":"1328549429","file0":"1328549426","file4":"1328549520","file5":"1328549619","file3":"1328549460"},"map_files_photo_id_array":[{"photo_id":"1328549619","filename":"file5"},{"photo_id":"1328549434","filename":"file2"},{"photo_id":"1328549520","filename":"file4"},{"photo_id":"1328549429","filename":"file1"},{"photo_id":"1328549426","filename":"file0"},{"photo_id":"1328549460","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328549434":["hashtag1","hashtag2"]},{"1328549460":["hashtag1","hashtag2"]},{"1328549520":["hashtag1","hashtag2"]},{"1328549619":["hashtag1","hashtag2"]},{"1328549426":["hashtag1","hashtag2"]},{"1328549429":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328549434, 1328549460, 1328549520, 1328549619, 1328549426, 1328549429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.217639684677124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:10:22.731799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/09/image_13012025_01_09_03_017697_0002.jpg', '/home/pi/Desktop/images/13012025/01/09/image_13012025_01_09_03_017697_0003.jpg', '/home/pi/Desktop/images/13012025/01/10/image_13012025_01_10_02_489197_0000.jpg', '/home/pi/Desktop/images/13012025/01/10/image_13012025_01_10_02_489197_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/09/image_13012025_01_09_03_017697_0002.jpg
/home/pi/Desktop/images/13012025/01/09/image_13012025_01_09_03_017697_0003.jpg
/home/pi/Desktop/images/13012025/01/10/image_13012025_01_10_02_489197_0000.jpg
/home/pi/Desktop/images/13012025/01/10/image_13012025_01_10_02_489197_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328549811","1328549822","1328549816","1328549819"],"photo_ids_order":["1328549811","1328549816","1328549819","1328549822"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/56a9932639bd24f2d3b0c6e5edf530a4.jpg","text":"TemporaryFile(/tmp/multipartBody4232284115041525371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727092463,"filename":"image_13012025_01_09_03_017697_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3f0da70e3d6a179d3678aa64183d17b5.jpg","text":"TemporaryFile(/tmp/multipartBody1470293121771032517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727092463,"filename":"image_13012025_01_10_02_489197_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c8a0f9920f45470bd4785ef0d7687964.jpg","text":"TemporaryFile(/tmp/multipartBody4386652613228000973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727092463,"filename":"image_13012025_01_09_03_017697_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a8d99d60eeacf2a6136bf64470a68e89.jpg","text":"TemporaryFile(/tmp/multipartBody2214230528387215351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727092463,"filename":"image_13012025_01_10_02_489197_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328549819","file1":"1328549816","file0":"1328549811","file3":"1328549822"},"map_files_photo_id_array":[{"photo_id":"1328549819","filename":"file2"},{"photo_id":"1328549816","filename":"file1"},{"photo_id":"1328549811","filename":"file0"},{"photo_id":"1328549822","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328549811":["hashtag1","hashtag2"]},{"1328549822":["hashtag1","hashtag2"]},{"1328549816":["hashtag1","hashtag2"]},{"1328549819":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328549811, 1328549822, 1328549816, 1328549819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.614349603652954 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:11:22.276742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/10/image_13012025_01_10_02_489197_0002.jpg', '/home/pi/Desktop/images/13012025/01/11/image_13012025_01_11_03_166283_0001.jpg', '/home/pi/Desktop/images/13012025/01/11/image_13012025_01_11_03_166283_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/10/image_13012025_01_10_02_489197_0002.jpg
/home/pi/Desktop/images/13012025/01/11/image_13012025_01_11_03_166283_0001.jpg
/home/pi/Desktop/images/13012025/01/11/image_13012025_01_11_03_166283_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328549847","1328549829","1328549831"],"photo_ids_order":["1328549829","1328549831","1328549847"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/db25a4cac8bf3795f2dd98665b54ac88.jpg","text":"TemporaryFile(/tmp/multipartBody1355070629532963733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727149765,"filename":"image_13012025_01_11_03_166283_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c8dbad0fc31c1481f590034b514f74fa.jpg","text":"TemporaryFile(/tmp/multipartBody4521477730239449164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727149765,"filename":"image_13012025_01_10_02_489197_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c2d526be5397eb490df94ca04fb64f72.jpg","text":"TemporaryFile(/tmp/multipartBody8283179789382658329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727149765,"filename":"image_13012025_01_11_03_166283_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328549847","file1":"1328549831","file0":"1328549829"},"map_files_photo_id_array":[{"photo_id":"1328549847","filename":"file2"},{"photo_id":"1328549831","filename":"file1"},{"photo_id":"1328549829","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328549847":["hashtag1","hashtag2"]},{"1328549829":["hashtag1","hashtag2"]},{"1328549831":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328549847, 1328549829, 1328549831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.807353019714355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:12:02.206757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:12:21.816775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/11/image_13012025_01_11_03_166283_0003.jpg', '/home/pi/Desktop/images/13012025/01/12/image_13012025_01_12_02_665507_0000.jpg', '/home/pi/Desktop/images/13012025/01/12/image_13012025_01_12_02_665507_0001.jpg', '/home/pi/Desktop/images/13012025/01/12/image_13012025_01_12_02_665507_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/11/image_13012025_01_11_03_166283_0003.jpg
/home/pi/Desktop/images/13012025/01/12/image_13012025_01_12_02_665507_0000.jpg
/home/pi/Desktop/images/13012025/01/12/image_13012025_01_12_02_665507_0001.jpg
/home/pi/Desktop/images/13012025/01/12/image_13012025_01_12_02_665507_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328549908","1328549911","1328549904","1328549906"],"photo_ids_order":["1328549904","1328549906","1328549908","1328549911"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e354fe4f85712294bbc9f7147e47b206.jpg","text":"TemporaryFile(/tmp/multipartBody3684943089648493091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727211559,"filename":"image_13012025_01_12_02_665507_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5a8de02d499d199eeeb747f1ae5321cd.jpg","text":"TemporaryFile(/tmp/multipartBody5939001673661418784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727211559,"filename":"image_13012025_01_12_02_665507_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3fd7a67d3ebb6933eb492bba31cdef2f.jpg","text":"TemporaryFile(/tmp/multipartBody6682689246797781521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727211559,"filename":"image_13012025_01_11_03_166283_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d51b0aefeef026400a81fb2be800eef0.jpg","text":"TemporaryFile(/tmp/multipartBody6721568456301852845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727211559,"filename":"image_13012025_01_12_02_665507_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328549908","file1":"1328549906","file0":"1328549904","file3":"1328549911"},"map_files_photo_id_array":[{"photo_id":"1328549908","filename":"file2"},{"photo_id":"1328549906","filename":"file1"},{"photo_id":"1328549904","filename":"file0"},{"photo_id":"1328549911","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328549908":["hashtag1","hashtag2"]},{"1328549911":["hashtag1","hashtag2"]},{"1328549904":["hashtag1","hashtag2"]},{"1328549906":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328549908, 1328549911, 1328549904, 1328549906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.9060492515564 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:13:22.232164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/12/image_13012025_01_12_02_665507_0003.jpg', '/home/pi/Desktop/images/13012025/01/13/image_13012025_01_13_02_124208_0000.jpg', '/home/pi/Desktop/images/13012025/01/13/image_13012025_01_13_02_124208_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/12/image_13012025_01_12_02_665507_0003.jpg
/home/pi/Desktop/images/13012025/01/13/image_13012025_01_13_02_124208_0000.jpg
/home/pi/Desktop/images/13012025/01/13/image_13012025_01_13_02_124208_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328549953","1328549955","1328549957"],"photo_ids_order":["1328549953","1328549955","1328549957"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e1a833a18ff6fee4aad8093c655e92ad.jpg","text":"TemporaryFile(/tmp/multipartBody6442637798134912762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727269721,"filename":"image_13012025_01_12_02_665507_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/143c48f52c1d49852719a66dacce5f3c.jpg","text":"TemporaryFile(/tmp/multipartBody1570305298785117407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727269721,"filename":"image_13012025_01_13_02_124208_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fe42ff2eb326710df006afce0bb126fd.jpg","text":"TemporaryFile(/tmp/multipartBody4166346277871572940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727269721,"filename":"image_13012025_01_13_02_124208_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328549957","file1":"1328549955","file0":"1328549953"},"map_files_photo_id_array":[{"photo_id":"1328549957","filename":"file2"},{"photo_id":"1328549955","filename":"file1"},{"photo_id":"1328549953","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328549953":["hashtag1","hashtag2"]},{"1328549955":["hashtag1","hashtag2"]},{"1328549957":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328549953, 1328549955, 1328549957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 35.44399881362915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:14:02.231528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:14:21.877336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/13/image_13012025_01_13_02_124208_0002.jpg', '/home/pi/Desktop/images/13012025/01/14/image_13012025_01_14_02_713729_0000.jpg', '/home/pi/Desktop/images/13012025/01/14/image_13012025_01_14_02_713729_0001.jpg', '/home/pi/Desktop/images/13012025/01/14/image_13012025_01_14_02_713729_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/13/image_13012025_01_13_02_124208_0002.jpg
/home/pi/Desktop/images/13012025/01/14/image_13012025_01_14_02_713729_0000.jpg
/home/pi/Desktop/images/13012025/01/14/image_13012025_01_14_02_713729_0001.jpg
/home/pi/Desktop/images/13012025/01/14/image_13012025_01_14_02_713729_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.3416006565094 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:15:02.990442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/13/image_13012025_01_13_02_124208_0002.jpg', '/home/pi/Desktop/images/13012025/01/14/image_13012025_01_14_02_713729_0000.jpg', '/home/pi/Desktop/images/13012025/01/14/image_13012025_01_14_02_713729_0001.jpg', '/home/pi/Desktop/images/13012025/01/14/image_13012025_01_14_02_713729_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/13/image_13012025_01_13_02_124208_0002.jpg
/home/pi/Desktop/images/13012025/01/14/image_13012025_01_14_02_713729_0000.jpg
/home/pi/Desktop/images/13012025/01/14/image_13012025_01_14_02_713729_0001.jpg
/home/pi/Desktop/images/13012025/01/14/image_13012025_01_14_02_713729_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328550719","1328550898","1328550529","1328550996"],"photo_ids_order":["1328550529","1328550719","1328550898","1328550996"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3ad99c02cfc1e56662020c034dcd9586.jpg","text":"TemporaryFile(/tmp/multipartBody7959074041114708956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727372760,"filename":"image_13012025_01_14_02_713729_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/057a5f06d0578dd4103d9cdddb913bae.jpg","text":"TemporaryFile(/tmp/multipartBody3575037963301469509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727372760,"filename":"image_13012025_01_14_02_713729_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e016624288d3e69a1dc4566c19174085.jpg","text":"TemporaryFile(/tmp/multipartBody9185568795383839007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727372760,"filename":"image_13012025_01_13_02_124208_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/04bd654d2d329bc1ba4239c56c45ef00.jpg","text":"TemporaryFile(/tmp/multipartBody9072799756332416753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727372760,"filename":"image_13012025_01_14_02_713729_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328550898","file1":"1328550719","file0":"1328550529","file3":"1328550996"},"map_files_photo_id_array":[{"photo_id":"1328550898","filename":"file2"},{"photo_id":"1328550719","filename":"file1"},{"photo_id":"1328550529","filename":"file0"},{"photo_id":"1328550996","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328550719":["hashtag1","hashtag2"]},{"1328550898":["hashtag1","hashtag2"]},{"1328550529":["hashtag1","hashtag2"]},{"1328550996":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328550719, 1328550898, 1328550529, 1328550996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.09627556800842 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:16:02.308034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/14/image_13012025_01_14_02_713729_0003.jpg', '/home/pi/Desktop/images/13012025/01/15/image_13012025_01_15_02_204350_0000.jpg', '/home/pi/Desktop/images/13012025/01/15/image_13012025_01_15_02_204350_0001.jpg', '/home/pi/Desktop/images/13012025/01/15/image_13012025_01_15_02_204350_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/14/image_13012025_01_14_02_713729_0003.jpg
/home/pi/Desktop/images/13012025/01/15/image_13012025_01_15_02_204350_0000.jpg
/home/pi/Desktop/images/13012025/01/15/image_13012025_01_15_02_204350_0001.jpg
/home/pi/Desktop/images/13012025/01/15/image_13012025_01_15_02_204350_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.373436212539673 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:16:21.923064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/14/image_13012025_01_14_02_713729_0003.jpg', '/home/pi/Desktop/images/13012025/01/15/image_13012025_01_15_02_204350_0000.jpg', '/home/pi/Desktop/images/13012025/01/15/image_13012025_01_15_02_204350_0001.jpg', '/home/pi/Desktop/images/13012025/01/15/image_13012025_01_15_02_204350_0002.jpg', '/home/pi/Desktop/images/13012025/01/15/image_13012025_01_15_02_204350_0003.jpg', '/home/pi/Desktop/images/13012025/01/16/image_13012025_01_16_02_702912_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/14/image_13012025_01_14_02_713729_0003.jpg
/home/pi/Desktop/images/13012025/01/15/image_13012025_01_15_02_204350_0000.jpg
/home/pi/Desktop/images/13012025/01/15/image_13012025_01_15_02_204350_0001.jpg
/home/pi/Desktop/images/13012025/01/15/image_13012025_01_15_02_204350_0002.jpg
/home/pi/Desktop/images/13012025/01/15/image_13012025_01_15_02_204350_0003.jpg
/home/pi/Desktop/images/13012025/01/16/image_13012025_01_16_02_702912_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328551564","1328551501","1328551497","1328551578","1328551437","1328551499"],"photo_ids_order":["1328551437","1328551497","1328551499","1328551501","1328551564","1328551578"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7562ac136fa2e840c7e4121f824d0073.jpg","text":"TemporaryFile(/tmp/multipartBody7292205625751119955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727456183,"filename":"image_13012025_01_15_02_204350_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/afb96ad971e2ed1c3d366c34f1790c81.jpg","text":"TemporaryFile(/tmp/multipartBody3450010089863204111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727456183,"filename":"image_13012025_01_15_02_204350_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/89ea322ee6fd922c8625f5da9e558d67.jpg","text":"TemporaryFile(/tmp/multipartBody7352847246353338184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727456183,"filename":"image_13012025_01_15_02_204350_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c6ac98287bb200a930d33449ed842a7f.jpg","text":"TemporaryFile(/tmp/multipartBody816405540376600487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727456183,"filename":"image_13012025_01_16_02_702912_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/324221c84553cbfc07c8aca033fe5ba9.jpg","text":"TemporaryFile(/tmp/multipartBody3496185095093340259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727456183,"filename":"image_13012025_01_14_02_713729_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d6745e07e84d6b39cb6259aef0dc79cf.jpg","text":"TemporaryFile(/tmp/multipartBody442609985091356634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727456183,"filename":"image_13012025_01_15_02_204350_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328551499","file1":"1328551497","file0":"1328551437","file4":"1328551564","file5":"1328551578","file3":"1328551501"},"map_files_photo_id_array":[{"photo_id":"1328551578","filename":"file5"},{"photo_id":"1328551499","filename":"file2"},{"photo_id":"1328551564","filename":"file4"},{"photo_id":"1328551497","filename":"file1"},{"photo_id":"1328551437","filename":"file0"},{"photo_id":"1328551501","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328551564":["hashtag1","hashtag2"]},{"1328551501":["hashtag1","hashtag2"]},{"1328551497":["hashtag1","hashtag2"]},{"1328551578":["hashtag1","hashtag2"]},{"1328551437":["hashtag1","hashtag2"]},{"1328551499":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328551564, 1328551501, 1328551497, 1328551578, 1328551437, 1328551499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.888100147247314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:17:22.462508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/16/image_13012025_01_16_02_702912_0002.jpg', '/home/pi/Desktop/images/13012025/01/16/image_13012025_01_16_02_702912_0003.jpg', '/home/pi/Desktop/images/13012025/01/17/image_13012025_01_17_02_320692_0000.jpg', '/home/pi/Desktop/images/13012025/01/17/image_13012025_01_17_02_320692_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/16/image_13012025_01_16_02_702912_0002.jpg
/home/pi/Desktop/images/13012025/01/16/image_13012025_01_16_02_702912_0003.jpg
/home/pi/Desktop/images/13012025/01/17/image_13012025_01_17_02_320692_0000.jpg
/home/pi/Desktop/images/13012025/01/17/image_13012025_01_17_02_320692_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328551663","1328551657","1328551659","1328551661"],"photo_ids_order":["1328551657","1328551659","1328551661","1328551663"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/826a614d1a5cfac1147afd37e9cd393e.jpg","text":"TemporaryFile(/tmp/multipartBody4562155702773416137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727512235,"filename":"image_13012025_01_17_02_320692_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e37f297f81a77c8c68aae036cfb643fa.jpg","text":"TemporaryFile(/tmp/multipartBody1962957468412778897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727512235,"filename":"image_13012025_01_16_02_702912_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8c98babd037840b0e297c5bcf9240d24.jpg","text":"TemporaryFile(/tmp/multipartBody6300726310033769178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727512235,"filename":"image_13012025_01_16_02_702912_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/04f79eeb3917041335652c6646506c9e.jpg","text":"TemporaryFile(/tmp/multipartBody7549155802065391044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727512235,"filename":"image_13012025_01_17_02_320692_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328551661","file1":"1328551659","file0":"1328551657","file3":"1328551663"},"map_files_photo_id_array":[{"photo_id":"1328551661","filename":"file2"},{"photo_id":"1328551659","filename":"file1"},{"photo_id":"1328551657","filename":"file0"},{"photo_id":"1328551663","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328551663":["hashtag1","hashtag2"]},{"1328551657":["hashtag1","hashtag2"]},{"1328551659":["hashtag1","hashtag2"]},{"1328551661":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328551663, 1328551657, 1328551659, 1328551661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.12980556488037 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:18:21.983152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/17/image_13012025_01_17_02_320692_0003.jpg', '/home/pi/Desktop/images/13012025/01/18/image_13012025_01_18_02_847087_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/17/image_13012025_01_17_02_320692_0003.jpg
/home/pi/Desktop/images/13012025/01/18/image_13012025_01_18_02_847087_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328551668","1328551667"],"photo_ids_order":["1328551667","1328551668"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6a1af52f34535f05375ef0198678bf71.jpg","text":"TemporaryFile(/tmp/multipartBody2972489644933692385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727567197,"filename":"image_13012025_01_18_02_847087_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/50e0767013d9716a0dcc9bc30d027a26.jpg","text":"TemporaryFile(/tmp/multipartBody5672628567717905894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727567197,"filename":"image_13012025_01_17_02_320692_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328551668","file0":"1328551667"},"map_files_photo_id_array":[{"photo_id":"1328551668","filename":"file1"},{"photo_id":"1328551667","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328551668":["hashtag1","hashtag2"]},{"1328551667":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328551668, 1328551667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.95565629005432 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:19:03.233315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:19:22.523888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/18/image_13012025_01_18_02_847087_0003.jpg', '/home/pi/Desktop/images/13012025/01/19/image_13012025_01_19_02_427895_0001.jpg', '/home/pi/Desktop/images/13012025/01/19/image_13012025_01_19_02_427895_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/18/image_13012025_01_18_02_847087_0003.jpg
/home/pi/Desktop/images/13012025/01/19/image_13012025_01_19_02_427895_0001.jpg
/home/pi/Desktop/images/13012025/01/19/image_13012025_01_19_02_427895_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328551711","1328551707","1328551709"],"photo_ids_order":["1328551707","1328551709","1328551711"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a280b4f6b0e64d0425d267723f40984d.jpg","text":"TemporaryFile(/tmp/multipartBody7402915576825017646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727630010,"filename":"image_13012025_01_19_02_427895_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0ab811a9b1723493eb93f7f454b80e26.jpg","text":"TemporaryFile(/tmp/multipartBody6146203986006764011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727630010,"filename":"image_13012025_01_18_02_847087_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ec5ac8bed627257f79bbdb59c0ca0f81.jpg","text":"TemporaryFile(/tmp/multipartBody4116866739022022857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727630010,"filename":"image_13012025_01_19_02_427895_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328551711","file1":"1328551709","file0":"1328551707"},"map_files_photo_id_array":[{"photo_id":"1328551711","filename":"file2"},{"photo_id":"1328551709","filename":"file1"},{"photo_id":"1328551707","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328551711":["hashtag1","hashtag2"]},{"1328551707":["hashtag1","hashtag2"]},{"1328551709":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328551711, 1328551707, 1328551709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.48329424858093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:20:02.700091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:20:22.158230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/19/image_13012025_01_19_02_427895_0003.jpg', '/home/pi/Desktop/images/13012025/01/20/image_13012025_01_20_02_941792_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/19/image_13012025_01_19_02_427895_0003.jpg
/home/pi/Desktop/images/13012025/01/20/image_13012025_01_20_02_941792_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328551717","1328551716"],"photo_ids_order":["1328551716","1328551717"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/21f826e4696bfdfe9634d538b3e85af1.jpg","text":"TemporaryFile(/tmp/multipartBody8148538500199684378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727687366,"filename":"image_13012025_01_20_02_941792_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e6f2dafb4e7237df8bab95f3a5acc935.jpg","text":"TemporaryFile(/tmp/multipartBody5414364552296846540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727687366,"filename":"image_13012025_01_19_02_427895_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328551717","file0":"1328551716"},"map_files_photo_id_array":[{"photo_id":"1328551717","filename":"file1"},{"photo_id":"1328551716","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328551717":["hashtag1","hashtag2"]},{"1328551716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328551717, 1328551716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.628774166107178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:21:03.217237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:21:22.613493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/20/image_13012025_01_20_02_941792_0003.jpg', '/home/pi/Desktop/images/13012025/01/21/image_13012025_01_21_02_553974_0000.jpg', '/home/pi/Desktop/images/13012025/01/21/image_13012025_01_21_02_553974_0001.jpg', '/home/pi/Desktop/images/13012025/01/21/image_13012025_01_21_02_553974_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/20/image_13012025_01_20_02_941792_0003.jpg
/home/pi/Desktop/images/13012025/01/21/image_13012025_01_21_02_553974_0000.jpg
/home/pi/Desktop/images/13012025/01/21/image_13012025_01_21_02_553974_0001.jpg
/home/pi/Desktop/images/13012025/01/21/image_13012025_01_21_02_553974_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328552035","1328552037","1328552039","1328552033"],"photo_ids_order":["1328552033","1328552035","1328552037","1328552039"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0645969f421e43791e3b44ccb86aaebd.jpg","text":"TemporaryFile(/tmp/multipartBody9203679783166083563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727752349,"filename":"image_13012025_01_21_02_553974_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/04c14ab70c74e06a6918c6ea4709bdc6.jpg","text":"TemporaryFile(/tmp/multipartBody7353094514867842816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727752349,"filename":"image_13012025_01_21_02_553974_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1dbef33cb05c2d1ce909033d722c7dde.jpg","text":"TemporaryFile(/tmp/multipartBody641394280743378929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727752349,"filename":"image_13012025_01_21_02_553974_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b0a52a7038b93b2a42b5ce35921b61e2.jpg","text":"TemporaryFile(/tmp/multipartBody4979772786320874016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727752349,"filename":"image_13012025_01_20_02_941792_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328552037","file1":"1328552035","file0":"1328552033","file3":"1328552039"},"map_files_photo_id_array":[{"photo_id":"1328552037","filename":"file2"},{"photo_id":"1328552035","filename":"file1"},{"photo_id":"1328552033","filename":"file0"},{"photo_id":"1328552039","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328552035":["hashtag1","hashtag2"]},{"1328552037":["hashtag1","hashtag2"]},{"1328552039":["hashtag1","hashtag2"]},{"1328552033":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328552035, 1328552037, 1328552039, 1328552033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.10970115661621 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:22:22.227831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/21/image_13012025_01_21_02_553974_0003.jpg', '/home/pi/Desktop/images/13012025/01/22/image_13012025_01_22_03_027018_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/21/image_13012025_01_21_02_553974_0003.jpg
/home/pi/Desktop/images/13012025/01/22/image_13012025_01_22_03_027018_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328552044","1328552043"],"photo_ids_order":["1328552043","1328552044"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6636649f7e79c7d55ab0be8df365dd9a.jpg","text":"TemporaryFile(/tmp/multipartBody6963784614281860656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727807416,"filename":"image_13012025_01_22_03_027018_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/82a6731918b79a36faf667709ab32783.jpg","text":"TemporaryFile(/tmp/multipartBody8535566473828296110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727807416,"filename":"image_13012025_01_21_02_553974_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328552044","file0":"1328552043"},"map_files_photo_id_array":[{"photo_id":"1328552044","filename":"file1"},{"photo_id":"1328552043","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328552044":["hashtag1","hashtag2"]},{"1328552043":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328552044, 1328552043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.993099689483643 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:23:02.368413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:23:21.778840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/22/image_13012025_01_22_03_027018_0001.jpg', '/home/pi/Desktop/images/13012025/01/23/image_13012025_01_23_02_641015_0001.jpg', '/home/pi/Desktop/images/13012025/01/23/image_13012025_01_23_02_641015_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/22/image_13012025_01_22_03_027018_0001.jpg
/home/pi/Desktop/images/13012025/01/23/image_13012025_01_23_02_641015_0001.jpg
/home/pi/Desktop/images/13012025/01/23/image_13012025_01_23_02_641015_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328552056","1328552057","1328552059"],"photo_ids_order":["1328552056","1328552057","1328552059"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/83555642340da41197e7519d09d2c682.jpg","text":"TemporaryFile(/tmp/multipartBody5338513625161629895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727869279,"filename":"image_13012025_01_22_03_027018_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c68bb1eb2908ed9bf899209de625be86.jpg","text":"TemporaryFile(/tmp/multipartBody284474086733087381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727869279,"filename":"image_13012025_01_23_02_641015_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d14b355aeed8eb8d3a2a5219905f196a.jpg","text":"TemporaryFile(/tmp/multipartBody4625111766198297079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727869279,"filename":"image_13012025_01_23_02_641015_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328552059","file1":"1328552057","file0":"1328552056"},"map_files_photo_id_array":[{"photo_id":"1328552059","filename":"file2"},{"photo_id":"1328552057","filename":"file1"},{"photo_id":"1328552056","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328552056":["hashtag1","hashtag2"]},{"1328552057":["hashtag1","hashtag2"]},{"1328552059":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328552056, 1328552057, 1328552059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.309900522232056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:24:02.880054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:24:22.498909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/23/image_13012025_01_23_02_641015_0003.jpg', '/home/pi/Desktop/images/13012025/01/24/image_13012025_01_24_02_168325_0000.jpg', '/home/pi/Desktop/images/13012025/01/24/image_13012025_01_24_02_168325_0001.jpg', '/home/pi/Desktop/images/13012025/01/24/image_13012025_01_24_02_168325_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/23/image_13012025_01_23_02_641015_0003.jpg
/home/pi/Desktop/images/13012025/01/24/image_13012025_01_24_02_168325_0000.jpg
/home/pi/Desktop/images/13012025/01/24/image_13012025_01_24_02_168325_0001.jpg
/home/pi/Desktop/images/13012025/01/24/image_13012025_01_24_02_168325_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328552076","1328552070","1328552072","1328552074"],"photo_ids_order":["1328552070","1328552072","1328552074","1328552076"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/86ea5a23002e8e91cd732c7a69079c6d.jpg","text":"TemporaryFile(/tmp/multipartBody4867168404344182462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727932266,"filename":"image_13012025_01_24_02_168325_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/636c7b3c34658a49a772670db4432e7d.jpg","text":"TemporaryFile(/tmp/multipartBody533388074401433913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727932266,"filename":"image_13012025_01_23_02_641015_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f060b01c405037aca96bf705ef488c92.jpg","text":"TemporaryFile(/tmp/multipartBody69560827867242224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727932266,"filename":"image_13012025_01_24_02_168325_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2f2f64c5374fcadce2173e9b33a6f294.jpg","text":"TemporaryFile(/tmp/multipartBody667711308857381385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727932266,"filename":"image_13012025_01_24_02_168325_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328552074","file1":"1328552072","file0":"1328552070","file3":"1328552076"},"map_files_photo_id_array":[{"photo_id":"1328552074","filename":"file2"},{"photo_id":"1328552072","filename":"file1"},{"photo_id":"1328552070","filename":"file0"},{"photo_id":"1328552076","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328552076":["hashtag1","hashtag2"]},{"1328552070":["hashtag1","hashtag2"]},{"1328552072":["hashtag1","hashtag2"]},{"1328552074":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328552076, 1328552070, 1328552072, 1328552074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.03115701675415 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:25:21.938112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/24/image_13012025_01_24_02_168325_0003.jpg', '/home/pi/Desktop/images/13012025/01/25/image_13012025_01_25_02_830902_0000.jpg', '/home/pi/Desktop/images/13012025/01/25/image_13012025_01_25_02_830902_0001.jpg', '/home/pi/Desktop/images/13012025/01/25/image_13012025_01_25_02_830902_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/24/image_13012025_01_24_02_168325_0003.jpg
/home/pi/Desktop/images/13012025/01/25/image_13012025_01_25_02_830902_0000.jpg
/home/pi/Desktop/images/13012025/01/25/image_13012025_01_25_02_830902_0001.jpg
/home/pi/Desktop/images/13012025/01/25/image_13012025_01_25_02_830902_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328552082","1328552084","1328552086","1328552080"],"photo_ids_order":["1328552080","1328552082","1328552084","1328552086"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3aae564b396d53f4861dbe4b697990cc.jpg","text":"TemporaryFile(/tmp/multipartBody4847297632803869389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727991753,"filename":"image_13012025_01_25_02_830902_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/38b8f85e11f71baf98ff234ba562233c.jpg","text":"TemporaryFile(/tmp/multipartBody6568488577647939983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727991753,"filename":"image_13012025_01_25_02_830902_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e4b033b0aabf68744baf390d1fa37af8.jpg","text":"TemporaryFile(/tmp/multipartBody8032080710783092651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727991753,"filename":"image_13012025_01_25_02_830902_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c28e08261afbb436ce78fbe90ec01316.jpg","text":"TemporaryFile(/tmp/multipartBody7447118480386358980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736727991753,"filename":"image_13012025_01_24_02_168325_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328552084","file1":"1328552082","file0":"1328552080","file3":"1328552086"},"map_files_photo_id_array":[{"photo_id":"1328552084","filename":"file2"},{"photo_id":"1328552082","filename":"file1"},{"photo_id":"1328552080","filename":"file0"},{"photo_id":"1328552086","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328552082":["hashtag1","hashtag2"]},{"1328552084":["hashtag1","hashtag2"]},{"1328552086":["hashtag1","hashtag2"]},{"1328552080":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328552082, 1328552084, 1328552086, 1328552080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.541850566864014 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:26:03.064017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:26:22.540510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/25/image_13012025_01_25_02_830902_0003.jpg', '/home/pi/Desktop/images/13012025/01/26/image_13012025_01_26_02_461233_0000.jpg', '/home/pi/Desktop/images/13012025/01/26/image_13012025_01_26_02_461233_0001.jpg', '/home/pi/Desktop/images/13012025/01/26/image_13012025_01_26_02_461233_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/25/image_13012025_01_25_02_830902_0003.jpg
/home/pi/Desktop/images/13012025/01/26/image_13012025_01_26_02_461233_0000.jpg
/home/pi/Desktop/images/13012025/01/26/image_13012025_01_26_02_461233_0001.jpg
/home/pi/Desktop/images/13012025/01/26/image_13012025_01_26_02_461233_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328552113","1328552116","1328552110","1328552108"],"photo_ids_order":["1328552108","1328552110","1328552113","1328552116"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c12f1fb2762b3aade52543d5fee07521.jpg","text":"TemporaryFile(/tmp/multipartBody8380802561708466627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728052631,"filename":"image_13012025_01_26_02_461233_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3b46ae4fdd3a528215512d2b2a168537.jpg","text":"TemporaryFile(/tmp/multipartBody2743782450322279247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728052631,"filename":"image_13012025_01_26_02_461233_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c202fe6b257120159ace3fa2c68cb5d1.jpg","text":"TemporaryFile(/tmp/multipartBody254465529988597468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728052631,"filename":"image_13012025_01_26_02_461233_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1eb48352fa63bd693ea239d35e2f2fa3.jpg","text":"TemporaryFile(/tmp/multipartBody3894282882525379671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728052631,"filename":"image_13012025_01_25_02_830902_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328552113","file1":"1328552110","file0":"1328552108","file3":"1328552116"},"map_files_photo_id_array":[{"photo_id":"1328552113","filename":"file2"},{"photo_id":"1328552110","filename":"file1"},{"photo_id":"1328552108","filename":"file0"},{"photo_id":"1328552116","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328552113":["hashtag1","hashtag2"]},{"1328552116":["hashtag1","hashtag2"]},{"1328552110":["hashtag1","hashtag2"]},{"1328552108":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328552113, 1328552116, 1328552110, 1328552108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.49394774436951 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:27:02.751740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:27:22.053962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/26/image_13012025_01_26_02_461233_0003.jpg', '/home/pi/Desktop/images/13012025/01/27/image_13012025_01_27_03_012161_0000.jpg', '/home/pi/Desktop/images/13012025/01/27/image_13012025_01_27_03_012161_0001.jpg', '/home/pi/Desktop/images/13012025/01/27/image_13012025_01_27_03_012161_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/26/image_13012025_01_26_02_461233_0003.jpg
/home/pi/Desktop/images/13012025/01/27/image_13012025_01_27_03_012161_0000.jpg
/home/pi/Desktop/images/13012025/01/27/image_13012025_01_27_03_012161_0001.jpg
/home/pi/Desktop/images/13012025/01/27/image_13012025_01_27_03_012161_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328552236","1328552346","1328552348","1328552338"],"photo_ids_order":["1328552236","1328552338","1328552346","1328552348"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/358e1a3edd18684d4e08f4df03168d4b.jpg","text":"TemporaryFile(/tmp/multipartBody774493829069328355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728112381,"filename":"image_13012025_01_26_02_461233_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/61f3d92fcaba300edf5099256f45a490.jpg","text":"TemporaryFile(/tmp/multipartBody3226230558315164015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728112381,"filename":"image_13012025_01_27_03_012161_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1f89f5c9fd46844048ce5902cb802143.jpg","text":"TemporaryFile(/tmp/multipartBody3901846451166815177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728112381,"filename":"image_13012025_01_27_03_012161_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8cdfeaa0203747336e8f5925f1f90f68.jpg","text":"TemporaryFile(/tmp/multipartBody600486944025138307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728112381,"filename":"image_13012025_01_27_03_012161_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328552346","file1":"1328552338","file0":"1328552236","file3":"1328552348"},"map_files_photo_id_array":[{"photo_id":"1328552346","filename":"file2"},{"photo_id":"1328552338","filename":"file1"},{"photo_id":"1328552236","filename":"file0"},{"photo_id":"1328552348","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328552236":["hashtag1","hashtag2"]},{"1328552346":["hashtag1","hashtag2"]},{"1328552348":["hashtag1","hashtag2"]},{"1328552338":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328552236, 1328552346, 1328552348, 1328552338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.59746265411377 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:28:02.111032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:28:21.727383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/27/image_13012025_01_27_03_012161_0003.jpg', '/home/pi/Desktop/images/13012025/01/28/image_13012025_01_28_02_472927_0000.jpg', '/home/pi/Desktop/images/13012025/01/28/image_13012025_01_28_02_472927_0001.jpg', '/home/pi/Desktop/images/13012025/01/28/image_13012025_01_28_02_472927_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/27/image_13012025_01_27_03_012161_0003.jpg
/home/pi/Desktop/images/13012025/01/28/image_13012025_01_28_02_472927_0000.jpg
/home/pi/Desktop/images/13012025/01/28/image_13012025_01_28_02_472927_0001.jpg
/home/pi/Desktop/images/13012025/01/28/image_13012025_01_28_02_472927_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328552481","1328552483","1328552485","1328552479"],"photo_ids_order":["1328552479","1328552481","1328552483","1328552485"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3ff9e3e04d658f0b7764d25409c1fc77.jpg","text":"TemporaryFile(/tmp/multipartBody8730174818619809680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728171965,"filename":"image_13012025_01_28_02_472927_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/68f1478db49c48b63558d6296700e6a1.jpg","text":"TemporaryFile(/tmp/multipartBody22828549802668173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728171965,"filename":"image_13012025_01_28_02_472927_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aeffbab186bac0576d204223ffbc4016.jpg","text":"TemporaryFile(/tmp/multipartBody2302953564777228031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728171965,"filename":"image_13012025_01_28_02_472927_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/da2e125ee95895336809d42e653bf4f8.jpg","text":"TemporaryFile(/tmp/multipartBody4540418209353826212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728171965,"filename":"image_13012025_01_27_03_012161_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328552483","file1":"1328552481","file0":"1328552479","file3":"1328552485"},"map_files_photo_id_array":[{"photo_id":"1328552483","filename":"file2"},{"photo_id":"1328552481","filename":"file1"},{"photo_id":"1328552479","filename":"file0"},{"photo_id":"1328552485","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328552481":["hashtag1","hashtag2"]},{"1328552483":["hashtag1","hashtag2"]},{"1328552485":["hashtag1","hashtag2"]},{"1328552479":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328552481, 1328552483, 1328552485, 1328552479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.05681800842285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:29:02.790352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:29:22.131969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/28/image_13012025_01_28_02_472927_0003.jpg', '/home/pi/Desktop/images/13012025/01/29/image_13012025_01_29_02_056068_0000.jpg', '/home/pi/Desktop/images/13012025/01/29/image_13012025_01_29_02_056068_0001.jpg', '/home/pi/Desktop/images/13012025/01/29/image_13012025_01_29_02_056068_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/28/image_13012025_01_28_02_472927_0003.jpg
/home/pi/Desktop/images/13012025/01/29/image_13012025_01_29_02_056068_0000.jpg
/home/pi/Desktop/images/13012025/01/29/image_13012025_01_29_02_056068_0001.jpg
/home/pi/Desktop/images/13012025/01/29/image_13012025_01_29_02_056068_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328552496","1328552499","1328552503","1328552501"],"photo_ids_order":["1328552496","1328552499","1328552501","1328552503"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/52ef4f77e69dfe36460292aea0545189.jpg","text":"TemporaryFile(/tmp/multipartBody2195881017480891003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728232414,"filename":"image_13012025_01_28_02_472927_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1b173eeaab69e467d86af82fca71d342.jpg","text":"TemporaryFile(/tmp/multipartBody2551831523032252982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728232414,"filename":"image_13012025_01_29_02_056068_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2c1dc1f2b31ece61a2fc211c7d83d52d.jpg","text":"TemporaryFile(/tmp/multipartBody6604209274327939044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728232414,"filename":"image_13012025_01_29_02_056068_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4e712feca3ae464a0347aea872d307df.jpg","text":"TemporaryFile(/tmp/multipartBody7378581221784745831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728232414,"filename":"image_13012025_01_29_02_056068_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328552501","file1":"1328552499","file0":"1328552496","file3":"1328552503"},"map_files_photo_id_array":[{"photo_id":"1328552501","filename":"file2"},{"photo_id":"1328552499","filename":"file1"},{"photo_id":"1328552496","filename":"file0"},{"photo_id":"1328552503","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328552496":["hashtag1","hashtag2"]},{"1328552499":["hashtag1","hashtag2"]},{"1328552503":["hashtag1","hashtag2"]},{"1328552501":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328552496, 1328552499, 1328552503, 1328552501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.050936698913574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:30:21.789369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/29/image_13012025_01_29_02_056068_0003.jpg', '/home/pi/Desktop/images/13012025/01/30/image_13012025_01_30_02_508111_0000.jpg', '/home/pi/Desktop/images/13012025/01/30/image_13012025_01_30_02_508111_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/29/image_13012025_01_29_02_056068_0003.jpg
/home/pi/Desktop/images/13012025/01/30/image_13012025_01_30_02_508111_0000.jpg
/home/pi/Desktop/images/13012025/01/30/image_13012025_01_30_02_508111_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.508081674575806 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:31:03.015122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/29/image_13012025_01_29_02_056068_0003.jpg', '/home/pi/Desktop/images/13012025/01/30/image_13012025_01_30_02_508111_0000.jpg', '/home/pi/Desktop/images/13012025/01/30/image_13012025_01_30_02_508111_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/29/image_13012025_01_29_02_056068_0003.jpg
/home/pi/Desktop/images/13012025/01/30/image_13012025_01_30_02_508111_0000.jpg
/home/pi/Desktop/images/13012025/01/30/image_13012025_01_30_02_508111_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328552527","1328552529","1328552528"],"photo_ids_order":["1328552527","1328552528","1328552529"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e0962cd04f4d41a7be74d0508fe8d352.jpg","text":"TemporaryFile(/tmp/multipartBody8261685803694644035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728330940,"filename":"image_13012025_01_29_02_056068_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/386db55fe6b8adb80ca8bdf89d3b7801.jpg","text":"TemporaryFile(/tmp/multipartBody7263003511436251004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728330940,"filename":"image_13012025_01_30_02_508111_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/982b8e341df833fe72b93153ddb37910.jpg","text":"TemporaryFile(/tmp/multipartBody4043795113431930257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728330940,"filename":"image_13012025_01_30_02_508111_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328552529","file1":"1328552528","file0":"1328552527"},"map_files_photo_id_array":[{"photo_id":"1328552529","filename":"file2"},{"photo_id":"1328552528","filename":"file1"},{"photo_id":"1328552527","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328552527":["hashtag1","hashtag2"]},{"1328552529":["hashtag1","hashtag2"]},{"1328552528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328552527, 1328552529, 1328552528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.933053255081177 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:32:02.399217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/30/image_13012025_01_30_02_508111_0003.jpg', '/home/pi/Desktop/images/13012025/01/31/image_13012025_01_31_02_180422_0000.jpg', '/home/pi/Desktop/images/13012025/01/31/image_13012025_01_31_02_180422_0001.jpg', '/home/pi/Desktop/images/13012025/01/31/image_13012025_01_31_02_180422_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/30/image_13012025_01_30_02_508111_0003.jpg
/home/pi/Desktop/images/13012025/01/31/image_13012025_01_31_02_180422_0000.jpg
/home/pi/Desktop/images/13012025/01/31/image_13012025_01_31_02_180422_0001.jpg
/home/pi/Desktop/images/13012025/01/31/image_13012025_01_31_02_180422_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328552565","1328552562","1328552561","1328552563"],"photo_ids_order":["1328552561","1328552562","1328552563","1328552565"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/413dc26eb0223a7d45777712aebfb71f.jpg","text":"TemporaryFile(/tmp/multipartBody8452750988271340596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728392668,"filename":"image_13012025_01_31_02_180422_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c975b81d7123f3374fd0221e87ad1dd3.jpg","text":"TemporaryFile(/tmp/multipartBody4740164507762983744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728392668,"filename":"image_13012025_01_31_02_180422_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5f662b058705aacefc397e7c7f8ac9a8.jpg","text":"TemporaryFile(/tmp/multipartBody6031059303158182033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728392668,"filename":"image_13012025_01_30_02_508111_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/11e047fc23e3b4362e2ca18381929a4c.jpg","text":"TemporaryFile(/tmp/multipartBody8569080303357554845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728392668,"filename":"image_13012025_01_31_02_180422_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328552563","file1":"1328552562","file0":"1328552561","file3":"1328552565"},"map_files_photo_id_array":[{"photo_id":"1328552563","filename":"file2"},{"photo_id":"1328552562","filename":"file1"},{"photo_id":"1328552561","filename":"file0"},{"photo_id":"1328552565","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328552565":["hashtag1","hashtag2"]},{"1328552562":["hashtag1","hashtag2"]},{"1328552561":["hashtag1","hashtag2"]},{"1328552563":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328552565, 1328552562, 1328552561, 1328552563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.91300916671753 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:33:03.078781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/31/image_13012025_01_31_02_180422_0003.jpg', '/home/pi/Desktop/images/13012025/01/32/image_13012025_01_32_02_763659_0000.jpg', '/home/pi/Desktop/images/13012025/01/32/image_13012025_01_32_02_763659_0001.jpg', '/home/pi/Desktop/images/13012025/01/32/image_13012025_01_32_02_763659_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/31/image_13012025_01_31_02_180422_0003.jpg
/home/pi/Desktop/images/13012025/01/32/image_13012025_01_32_02_763659_0000.jpg
/home/pi/Desktop/images/13012025/01/32/image_13012025_01_32_02_763659_0001.jpg
/home/pi/Desktop/images/13012025/01/32/image_13012025_01_32_02_763659_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.992690086364746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:33:22.453032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/31/image_13012025_01_31_02_180422_0003.jpg', '/home/pi/Desktop/images/13012025/01/32/image_13012025_01_32_02_763659_0000.jpg', '/home/pi/Desktop/images/13012025/01/32/image_13012025_01_32_02_763659_0001.jpg', '/home/pi/Desktop/images/13012025/01/32/image_13012025_01_32_02_763659_0002.jpg', '/home/pi/Desktop/images/13012025/01/32/image_13012025_01_32_02_763659_0003.jpg', '/home/pi/Desktop/images/13012025/01/33/image_13012025_01_33_02_354015_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/31/image_13012025_01_31_02_180422_0003.jpg
/home/pi/Desktop/images/13012025/01/32/image_13012025_01_32_02_763659_0000.jpg
/home/pi/Desktop/images/13012025/01/32/image_13012025_01_32_02_763659_0001.jpg
/home/pi/Desktop/images/13012025/01/32/image_13012025_01_32_02_763659_0002.jpg
/home/pi/Desktop/images/13012025/01/32/image_13012025_01_32_02_763659_0003.jpg
/home/pi/Desktop/images/13012025/01/33/image_13012025_01_33_02_354015_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328552853","1328552847","1328552849","1328552843","1328552851","1328552845"],"photo_ids_order":["1328552843","1328552845","1328552847","1328552849","1328552851","1328552853"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9f8ac7c631676311f44d42469974735e.jpg","text":"TemporaryFile(/tmp/multipartBody8463468298530258813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728477710,"filename":"image_13012025_01_33_02_354015_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1a9d3ec22cc59671941eb4963f452124.jpg","text":"TemporaryFile(/tmp/multipartBody103986509757543535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728477710,"filename":"image_13012025_01_32_02_763659_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dc70e727e9e55d752c6c7cf35e76a03c.jpg","text":"TemporaryFile(/tmp/multipartBody6235875089897112629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728477710,"filename":"image_13012025_01_32_02_763659_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8e79796186cec94f88b60f400b3564ad.jpg","text":"TemporaryFile(/tmp/multipartBody5856815356473380024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728477710,"filename":"image_13012025_01_31_02_180422_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e9048f0693e8381201696a7846003365.jpg","text":"TemporaryFile(/tmp/multipartBody7969767612268242219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728477710,"filename":"image_13012025_01_32_02_763659_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3ca08e51f7eb1d5651a8d759403f075d.jpg","text":"TemporaryFile(/tmp/multipartBody5192316533985972480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728477710,"filename":"image_13012025_01_32_02_763659_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328552847","file1":"1328552845","file0":"1328552843","file4":"1328552851","file5":"1328552853","file3":"1328552849"},"map_files_photo_id_array":[{"photo_id":"1328552853","filename":"file5"},{"photo_id":"1328552847","filename":"file2"},{"photo_id":"1328552851","filename":"file4"},{"photo_id":"1328552845","filename":"file1"},{"photo_id":"1328552843","filename":"file0"},{"photo_id":"1328552849","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328552853":["hashtag1","hashtag2"]},{"1328552847":["hashtag1","hashtag2"]},{"1328552849":["hashtag1","hashtag2"]},{"1328552843":["hashtag1","hashtag2"]},{"1328552851":["hashtag1","hashtag2"]},{"1328552845":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328552853, 1328552847, 1328552849, 1328552843, 1328552851, 1328552845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.30829429626465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:34:22.133874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/33/image_13012025_01_33_02_354015_0001.jpg', '/home/pi/Desktop/images/13012025/01/33/image_13012025_01_33_02_354015_0002.jpg', '/home/pi/Desktop/images/13012025/01/33/image_13012025_01_33_02_354015_0003.jpg', '/home/pi/Desktop/images/13012025/01/34/image_13012025_01_34_02_917637_0000.jpg', '/home/pi/Desktop/images/13012025/01/34/image_13012025_01_34_02_917637_0001.jpg', '/home/pi/Desktop/images/13012025/01/34/image_13012025_01_34_02_917637_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/33/image_13012025_01_33_02_354015_0001.jpg
/home/pi/Desktop/images/13012025/01/33/image_13012025_01_33_02_354015_0002.jpg
/home/pi/Desktop/images/13012025/01/33/image_13012025_01_33_02_354015_0003.jpg
/home/pi/Desktop/images/13012025/01/34/image_13012025_01_34_02_917637_0000.jpg
/home/pi/Desktop/images/13012025/01/34/image_13012025_01_34_02_917637_0001.jpg
/home/pi/Desktop/images/13012025/01/34/image_13012025_01_34_02_917637_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328552857","1328552868","1328552863","1328552866","1328552860","1328552854"],"photo_ids_order":["1328552854","1328552857","1328552860","1328552863","1328552866","1328552868"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f0494d48c65073a0453da0da2714e9a3.jpg","text":"TemporaryFile(/tmp/multipartBody979171851754758171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728537186,"filename":"image_13012025_01_33_02_354015_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d6151cc9599095e5391777fb4883cfb0.jpg","text":"TemporaryFile(/tmp/multipartBody3607438504881588553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728537186,"filename":"image_13012025_01_34_02_917637_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8275cd32b608a12ff7c23e66485e42f0.jpg","text":"TemporaryFile(/tmp/multipartBody3716921555964123298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728537186,"filename":"image_13012025_01_34_02_917637_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/673fd9936dcde3797756f3b71051d663.jpg","text":"TemporaryFile(/tmp/multipartBody3287956899622111868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728537186,"filename":"image_13012025_01_34_02_917637_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/12a523d916ff17a672106d08e94c1222.jpg","text":"TemporaryFile(/tmp/multipartBody7621075100223846794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728537186,"filename":"image_13012025_01_33_02_354015_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ae52838457250af943e50b2600b32c05.jpg","text":"TemporaryFile(/tmp/multipartBody7357315406267012783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728537186,"filename":"image_13012025_01_33_02_354015_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328552860","file1":"1328552857","file0":"1328552854","file4":"1328552866","file5":"1328552868","file3":"1328552863"},"map_files_photo_id_array":[{"photo_id":"1328552868","filename":"file5"},{"photo_id":"1328552860","filename":"file2"},{"photo_id":"1328552866","filename":"file4"},{"photo_id":"1328552857","filename":"file1"},{"photo_id":"1328552854","filename":"file0"},{"photo_id":"1328552863","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328552857":["hashtag1","hashtag2"]},{"1328552868":["hashtag1","hashtag2"]},{"1328552863":["hashtag1","hashtag2"]},{"1328552866":["hashtag1","hashtag2"]},{"1328552860":["hashtag1","hashtag2"]},{"1328552854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328552857, 1328552868, 1328552863, 1328552866, 1328552860, 1328552854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.47719073295593 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:35:22.625398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/34/image_13012025_01_34_02_917637_0003.jpg', '/home/pi/Desktop/images/13012025/01/35/image_13012025_01_35_02_508404_0000.jpg', '/home/pi/Desktop/images/13012025/01/35/image_13012025_01_35_02_508404_0001.jpg', '/home/pi/Desktop/images/13012025/01/35/image_13012025_01_35_02_508404_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/34/image_13012025_01_34_02_917637_0003.jpg
/home/pi/Desktop/images/13012025/01/35/image_13012025_01_35_02_508404_0000.jpg
/home/pi/Desktop/images/13012025/01/35/image_13012025_01_35_02_508404_0001.jpg
/home/pi/Desktop/images/13012025/01/35/image_13012025_01_35_02_508404_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328552946","1328552934","1328552903","1328552932"],"photo_ids_order":["1328552903","1328552932","1328552934","1328552946"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c4635e6749708cbb3bddb537b9deec0a.jpg","text":"TemporaryFile(/tmp/multipartBody3332301596471101370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728592781,"filename":"image_13012025_01_35_02_508404_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/408fac2e19b84175126bac8b744f03ae.jpg","text":"TemporaryFile(/tmp/multipartBody8628851450671574567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728592781,"filename":"image_13012025_01_35_02_508404_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d9242a7ee0c43af8d73407bdfcdb09b3.jpg","text":"TemporaryFile(/tmp/multipartBody9075872040767934815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728592781,"filename":"image_13012025_01_34_02_917637_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9438adbd7601128723a33bdb57f91d11.jpg","text":"TemporaryFile(/tmp/multipartBody7952612195243190444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728592781,"filename":"image_13012025_01_35_02_508404_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328552934","file1":"1328552932","file0":"1328552903","file3":"1328552946"},"map_files_photo_id_array":[{"photo_id":"1328552934","filename":"file2"},{"photo_id":"1328552932","filename":"file1"},{"photo_id":"1328552903","filename":"file0"},{"photo_id":"1328552946","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328552946":["hashtag1","hashtag2"]},{"1328552934":["hashtag1","hashtag2"]},{"1328552903":["hashtag1","hashtag2"]},{"1328552932":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328552946, 1328552934, 1328552903, 1328552932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.88304615020752 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:36:02.686740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:36:22.214580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/35/image_13012025_01_35_02_508404_0003.jpg', '/home/pi/Desktop/images/13012025/01/36/image_13012025_01_36_03_091510_0000.jpg', '/home/pi/Desktop/images/13012025/01/36/image_13012025_01_36_03_091510_0001.jpg', '/home/pi/Desktop/images/13012025/01/36/image_13012025_01_36_03_091510_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/35/image_13012025_01_35_02_508404_0003.jpg
/home/pi/Desktop/images/13012025/01/36/image_13012025_01_36_03_091510_0000.jpg
/home/pi/Desktop/images/13012025/01/36/image_13012025_01_36_03_091510_0001.jpg
/home/pi/Desktop/images/13012025/01/36/image_13012025_01_36_03_091510_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.915868997573853 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:37:02.432907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/35/image_13012025_01_35_02_508404_0003.jpg', '/home/pi/Desktop/images/13012025/01/36/image_13012025_01_36_03_091510_0000.jpg', '/home/pi/Desktop/images/13012025/01/36/image_13012025_01_36_03_091510_0001.jpg', '/home/pi/Desktop/images/13012025/01/36/image_13012025_01_36_03_091510_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/35/image_13012025_01_35_02_508404_0003.jpg
/home/pi/Desktop/images/13012025/01/36/image_13012025_01_36_03_091510_0000.jpg
/home/pi/Desktop/images/13012025/01/36/image_13012025_01_36_03_091510_0001.jpg
/home/pi/Desktop/images/13012025/01/36/image_13012025_01_36_03_091510_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328553246","1328553249","1328553248","1328553247"],"photo_ids_order":["1328553246","1328553247","1328553248","1328553249"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4464f73e98feb1fabb3e524a266c8987.jpg","text":"TemporaryFile(/tmp/multipartBody7366235032157862112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728692801,"filename":"image_13012025_01_35_02_508404_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cd1b19861dc34c9743f72abcdc4fed55.jpg","text":"TemporaryFile(/tmp/multipartBody8104469752528514078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728692801,"filename":"image_13012025_01_36_03_091510_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5676101e6c1ca33299d746db8e66a02a.jpg","text":"TemporaryFile(/tmp/multipartBody1133606123191782029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728692801,"filename":"image_13012025_01_36_03_091510_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4d4822c9bdd9a9d0192bf855ba4ce2b4.jpg","text":"TemporaryFile(/tmp/multipartBody5264513897871697435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728692801,"filename":"image_13012025_01_36_03_091510_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328553248","file1":"1328553247","file0":"1328553246","file3":"1328553249"},"map_files_photo_id_array":[{"photo_id":"1328553248","filename":"file2"},{"photo_id":"1328553247","filename":"file1"},{"photo_id":"1328553246","filename":"file0"},{"photo_id":"1328553249","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328553246":["hashtag1","hashtag2"]},{"1328553249":["hashtag1","hashtag2"]},{"1328553248":["hashtag1","hashtag2"]},{"1328553247":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328553246, 1328553249, 1328553248, 1328553247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.49742007255554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:38:03.033178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/36/image_13012025_01_36_03_091510_0003.jpg', '/home/pi/Desktop/images/13012025/01/37/image_13012025_01_37_02_678264_0000.jpg', '/home/pi/Desktop/images/13012025/01/37/image_13012025_01_37_02_678264_0001.jpg', '/home/pi/Desktop/images/13012025/01/37/image_13012025_01_37_02_678264_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/36/image_13012025_01_36_03_091510_0003.jpg
/home/pi/Desktop/images/13012025/01/37/image_13012025_01_37_02_678264_0000.jpg
/home/pi/Desktop/images/13012025/01/37/image_13012025_01_37_02_678264_0001.jpg
/home/pi/Desktop/images/13012025/01/37/image_13012025_01_37_02_678264_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.811852216720581 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:38:22.490220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/36/image_13012025_01_36_03_091510_0003.jpg', '/home/pi/Desktop/images/13012025/01/37/image_13012025_01_37_02_678264_0000.jpg', '/home/pi/Desktop/images/13012025/01/37/image_13012025_01_37_02_678264_0001.jpg', '/home/pi/Desktop/images/13012025/01/37/image_13012025_01_37_02_678264_0002.jpg', '/home/pi/Desktop/images/13012025/01/37/image_13012025_01_37_02_678264_0003.jpg', '/home/pi/Desktop/images/13012025/01/38/image_13012025_01_38_02_256160_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/36/image_13012025_01_36_03_091510_0003.jpg
/home/pi/Desktop/images/13012025/01/37/image_13012025_01_37_02_678264_0000.jpg
/home/pi/Desktop/images/13012025/01/37/image_13012025_01_37_02_678264_0001.jpg
/home/pi/Desktop/images/13012025/01/37/image_13012025_01_37_02_678264_0002.jpg
/home/pi/Desktop/images/13012025/01/37/image_13012025_01_37_02_678264_0003.jpg
/home/pi/Desktop/images/13012025/01/38/image_13012025_01_38_02_256160_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328553354","1328553348","1328553356","1328553350","1328553352","1328553358"],"photo_ids_order":["1328553348","1328553350","1328553352","1328553354","1328553356","1328553358"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/759777d0aadcc679b0ebbafcb3a741d6.jpg","text":"TemporaryFile(/tmp/multipartBody5422740701117023183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728777524,"filename":"image_13012025_01_37_02_678264_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a714eca6fad3338a2ae2caabd3c46d99.jpg","text":"TemporaryFile(/tmp/multipartBody5254773058752680074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728777524,"filename":"image_13012025_01_36_03_091510_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/13f37c193c7673c545c4dd6cc68ac28f.jpg","text":"TemporaryFile(/tmp/multipartBody5580291099688598719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728777524,"filename":"image_13012025_01_37_02_678264_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/81a42d3e26c9522d297e14d1eebeb0af.jpg","text":"TemporaryFile(/tmp/multipartBody5328082404534593779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728777524,"filename":"image_13012025_01_37_02_678264_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c3a77283cde18315754792eba48fee57.jpg","text":"TemporaryFile(/tmp/multipartBody8391309599397683618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728777524,"filename":"image_13012025_01_37_02_678264_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/418a6986b327cf8472f237c5f25c0b27.jpg","text":"TemporaryFile(/tmp/multipartBody1131469922967020411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728777524,"filename":"image_13012025_01_38_02_256160_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328553352","file1":"1328553350","file0":"1328553348","file4":"1328553356","file5":"1328553358","file3":"1328553354"},"map_files_photo_id_array":[{"photo_id":"1328553358","filename":"file5"},{"photo_id":"1328553352","filename":"file2"},{"photo_id":"1328553356","filename":"file4"},{"photo_id":"1328553350","filename":"file1"},{"photo_id":"1328553348","filename":"file0"},{"photo_id":"1328553354","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328553354":["hashtag1","hashtag2"]},{"1328553348":["hashtag1","hashtag2"]},{"1328553356":["hashtag1","hashtag2"]},{"1328553350":["hashtag1","hashtag2"]},{"1328553352":["hashtag1","hashtag2"]},{"1328553358":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328553354, 1328553348, 1328553356, 1328553350, 1328553352, 1328553358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.51108765602112 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:39:22.158956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/38/image_13012025_01_38_02_256160_0001.jpg', '/home/pi/Desktop/images/13012025/01/38/image_13012025_01_38_02_256160_0002.jpg', '/home/pi/Desktop/images/13012025/01/38/image_13012025_01_38_02_256160_0003.jpg', '/home/pi/Desktop/images/13012025/01/39/image_13012025_01_39_02_934613_0000.jpg', '/home/pi/Desktop/images/13012025/01/39/image_13012025_01_39_02_934613_0001.jpg', '/home/pi/Desktop/images/13012025/01/39/image_13012025_01_39_02_934613_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/38/image_13012025_01_38_02_256160_0001.jpg
/home/pi/Desktop/images/13012025/01/38/image_13012025_01_38_02_256160_0002.jpg
/home/pi/Desktop/images/13012025/01/38/image_13012025_01_38_02_256160_0003.jpg
/home/pi/Desktop/images/13012025/01/39/image_13012025_01_39_02_934613_0000.jpg
/home/pi/Desktop/images/13012025/01/39/image_13012025_01_39_02_934613_0001.jpg
/home/pi/Desktop/images/13012025/01/39/image_13012025_01_39_02_934613_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328553399","1328553392","1328553397","1328553401","1328553370","1328553361"],"photo_ids_order":["1328553361","1328553370","1328553392","1328553397","1328553399","1328553401"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2bc7a1a5747c58a7f085801e1e0ec279.jpg","text":"TemporaryFile(/tmp/multipartBody955124676172137105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728837297,"filename":"image_13012025_01_39_02_934613_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9719c8691bf437132346f8759e75e285.jpg","text":"TemporaryFile(/tmp/multipartBody6670045987204265773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728837297,"filename":"image_13012025_01_38_02_256160_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f988c1668838eda5b823e6411f283801.jpg","text":"TemporaryFile(/tmp/multipartBody5942847045302718426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728837297,"filename":"image_13012025_01_39_02_934613_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/96c6bd6bc1024f7c89c38937c6e998ad.jpg","text":"TemporaryFile(/tmp/multipartBody4911610096785520289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728837297,"filename":"image_13012025_01_39_02_934613_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/97e3fda3df386173b1d64d620ac651c0.jpg","text":"TemporaryFile(/tmp/multipartBody6978013749757045063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728837297,"filename":"image_13012025_01_38_02_256160_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3e0465d573a66813c14a5f973de5a152.jpg","text":"TemporaryFile(/tmp/multipartBody9103200189301800129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728837297,"filename":"image_13012025_01_38_02_256160_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328553392","file1":"1328553370","file0":"1328553361","file4":"1328553399","file5":"1328553401","file3":"1328553397"},"map_files_photo_id_array":[{"photo_id":"1328553401","filename":"file5"},{"photo_id":"1328553392","filename":"file2"},{"photo_id":"1328553399","filename":"file4"},{"photo_id":"1328553370","filename":"file1"},{"photo_id":"1328553361","filename":"file0"},{"photo_id":"1328553397","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328553399":["hashtag1","hashtag2"]},{"1328553392":["hashtag1","hashtag2"]},{"1328553397":["hashtag1","hashtag2"]},{"1328553401":["hashtag1","hashtag2"]},{"1328553370":["hashtag1","hashtag2"]},{"1328553361":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328553399, 1328553392, 1328553397, 1328553401, 1328553370, 1328553361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.975929498672485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:40:22.704130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/39/image_13012025_01_39_02_934613_0003.jpg', '/home/pi/Desktop/images/13012025/01/40/image_13012025_01_40_02_581237_0000.jpg', '/home/pi/Desktop/images/13012025/01/40/image_13012025_01_40_02_581237_0001.jpg', '/home/pi/Desktop/images/13012025/01/40/image_13012025_01_40_02_581237_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/39/image_13012025_01_39_02_934613_0003.jpg
/home/pi/Desktop/images/13012025/01/40/image_13012025_01_40_02_581237_0000.jpg
/home/pi/Desktop/images/13012025/01/40/image_13012025_01_40_02_581237_0001.jpg
/home/pi/Desktop/images/13012025/01/40/image_13012025_01_40_02_581237_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328553508","1328553553","1328553556","1328553529"],"photo_ids_order":["1328553508","1328553529","1328553553","1328553556"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b647870549ac88b8e6927a186144f3a1.jpg","text":"TemporaryFile(/tmp/multipartBody1737924697394026177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728892968,"filename":"image_13012025_01_39_02_934613_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3f3e7c396e09ce79955aa26c355d0a7f.jpg","text":"TemporaryFile(/tmp/multipartBody8134338125765693955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728892968,"filename":"image_13012025_01_40_02_581237_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/af7950427a1e392a05635ebcdbe88688.jpg","text":"TemporaryFile(/tmp/multipartBody5773571039716175344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728892968,"filename":"image_13012025_01_40_02_581237_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6e05ff0f7e8861024c584fb5a21454bf.jpg","text":"TemporaryFile(/tmp/multipartBody4871821910055156080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728892968,"filename":"image_13012025_01_40_02_581237_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328553553","file1":"1328553529","file0":"1328553508","file3":"1328553556"},"map_files_photo_id_array":[{"photo_id":"1328553553","filename":"file2"},{"photo_id":"1328553529","filename":"file1"},{"photo_id":"1328553508","filename":"file0"},{"photo_id":"1328553556","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328553508":["hashtag1","hashtag2"]},{"1328553553":["hashtag1","hashtag2"]},{"1328553556":["hashtag1","hashtag2"]},{"1328553529":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328553508, 1328553553, 1328553556, 1328553529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.61265730857849 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:41:22.229787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/40/image_13012025_01_40_02_581237_0003.jpg', '/home/pi/Desktop/images/13012025/01/41/image_13012025_01_41_03_048670_0000.jpg', '/home/pi/Desktop/images/13012025/01/41/image_13012025_01_41_03_048670_0001.jpg', '/home/pi/Desktop/images/13012025/01/41/image_13012025_01_41_03_048670_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/40/image_13012025_01_40_02_581237_0003.jpg
/home/pi/Desktop/images/13012025/01/41/image_13012025_01_41_03_048670_0000.jpg
/home/pi/Desktop/images/13012025/01/41/image_13012025_01_41_03_048670_0001.jpg
/home/pi/Desktop/images/13012025/01/41/image_13012025_01_41_03_048670_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328553567","1328553569","1328553563","1328553565"],"photo_ids_order":["1328553563","1328553565","1328553567","1328553569"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/70f612a4ec93fe23085ce723bf0559ab.jpg","text":"TemporaryFile(/tmp/multipartBody6540962203888176266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728952527,"filename":"image_13012025_01_41_03_048670_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4cb893a12e9f885cf9ac9dc17fbc2ab8.jpg","text":"TemporaryFile(/tmp/multipartBody3024118059653863656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728952527,"filename":"image_13012025_01_41_03_048670_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f937106feed15a46b171d1acc41c2935.jpg","text":"TemporaryFile(/tmp/multipartBody1926495785996511801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728952527,"filename":"image_13012025_01_40_02_581237_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/426571043f5fb1a186cb2c73d486662d.jpg","text":"TemporaryFile(/tmp/multipartBody9147842917055505910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736728952527,"filename":"image_13012025_01_41_03_048670_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328553567","file1":"1328553565","file0":"1328553563","file3":"1328553569"},"map_files_photo_id_array":[{"photo_id":"1328553567","filename":"file2"},{"photo_id":"1328553565","filename":"file1"},{"photo_id":"1328553563","filename":"file0"},{"photo_id":"1328553569","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328553567":["hashtag1","hashtag2"]},{"1328553569":["hashtag1","hashtag2"]},{"1328553563":["hashtag1","hashtag2"]},{"1328553565":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328553567, 1328553569, 1328553563, 1328553565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.9219183921814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:42:03.228287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:42:22.754312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/41/image_13012025_01_41_03_048670_0003.jpg', '/home/pi/Desktop/images/13012025/01/42/image_13012025_01_42_02_600413_0000.jpg', '/home/pi/Desktop/images/13012025/01/42/image_13012025_01_42_02_600413_0001.jpg', '/home/pi/Desktop/images/13012025/01/42/image_13012025_01_42_02_600413_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/41/image_13012025_01_41_03_048670_0003.jpg
/home/pi/Desktop/images/13012025/01/42/image_13012025_01_42_02_600413_0000.jpg
/home/pi/Desktop/images/13012025/01/42/image_13012025_01_42_02_600413_0001.jpg
/home/pi/Desktop/images/13012025/01/42/image_13012025_01_42_02_600413_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.723072528839111 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:43:02.841221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/41/image_13012025_01_41_03_048670_0003.jpg', '/home/pi/Desktop/images/13012025/01/42/image_13012025_01_42_02_600413_0000.jpg', '/home/pi/Desktop/images/13012025/01/42/image_13012025_01_42_02_600413_0001.jpg', '/home/pi/Desktop/images/13012025/01/42/image_13012025_01_42_02_600413_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/41/image_13012025_01_41_03_048670_0003.jpg
/home/pi/Desktop/images/13012025/01/42/image_13012025_01_42_02_600413_0000.jpg
/home/pi/Desktop/images/13012025/01/42/image_13012025_01_42_02_600413_0001.jpg
/home/pi/Desktop/images/13012025/01/42/image_13012025_01_42_02_600413_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328553618","1328553620","1328553617","1328553619"],"photo_ids_order":["1328553617","1328553618","1328553619","1328553620"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/48da44b90d3fffbd148641079b8f93a7.jpg","text":"TemporaryFile(/tmp/multipartBody8104301618927350934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729053019,"filename":"image_13012025_01_42_02_600413_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a1f97f8f25d962dd5328a8b38cc0ada5.jpg","text":"TemporaryFile(/tmp/multipartBody8573573962588285149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729053019,"filename":"image_13012025_01_42_02_600413_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7cb2d43821ce6752f661bb073e4db1bb.jpg","text":"TemporaryFile(/tmp/multipartBody983949227365477906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729053019,"filename":"image_13012025_01_41_03_048670_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8ea8998b2b7061605e71a5ef582c7951.jpg","text":"TemporaryFile(/tmp/multipartBody4292742667316610222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729053019,"filename":"image_13012025_01_42_02_600413_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328553619","file1":"1328553618","file0":"1328553617","file3":"1328553620"},"map_files_photo_id_array":[{"photo_id":"1328553619","filename":"file2"},{"photo_id":"1328553618","filename":"file1"},{"photo_id":"1328553617","filename":"file0"},{"photo_id":"1328553620","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328553618":["hashtag1","hashtag2"]},{"1328553620":["hashtag1","hashtag2"]},{"1328553617":["hashtag1","hashtag2"]},{"1328553619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328553618, 1328553620, 1328553617, 1328553619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.02884793281555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:44:02.116191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/42/image_13012025_01_42_02_600413_0003.jpg', '/home/pi/Desktop/images/13012025/01/43/image_13012025_01_43_03_069761_0000.jpg', '/home/pi/Desktop/images/13012025/01/43/image_13012025_01_43_03_069761_0001.jpg', '/home/pi/Desktop/images/13012025/01/43/image_13012025_01_43_03_069761_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/42/image_13012025_01_42_02_600413_0003.jpg
/home/pi/Desktop/images/13012025/01/43/image_13012025_01_43_03_069761_0000.jpg
/home/pi/Desktop/images/13012025/01/43/image_13012025_01_43_03_069761_0001.jpg
/home/pi/Desktop/images/13012025/01/43/image_13012025_01_43_03_069761_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328553660","1328553679","1328553631","1328553643"],"photo_ids_order":["1328553631","1328553643","1328553660","1328553679"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4d31fd21c2b22bb719a6b4140ed7892a.jpg","text":"TemporaryFile(/tmp/multipartBody8271679724292283992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729112363,"filename":"image_13012025_01_43_03_069761_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7d2307170cedd398ae0f9784ca8ec68f.jpg","text":"TemporaryFile(/tmp/multipartBody8418231624092172225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729112363,"filename":"image_13012025_01_43_03_069761_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ed8c7c642d6a3af78754625bf7a4af23.jpg","text":"TemporaryFile(/tmp/multipartBody3213717308993919598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729112363,"filename":"image_13012025_01_42_02_600413_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ef3579b02771643cb035ec26da7bff45.jpg","text":"TemporaryFile(/tmp/multipartBody4663911477594052765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729112363,"filename":"image_13012025_01_43_03_069761_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328553660","file1":"1328553643","file0":"1328553631","file3":"1328553679"},"map_files_photo_id_array":[{"photo_id":"1328553660","filename":"file2"},{"photo_id":"1328553643","filename":"file1"},{"photo_id":"1328553631","filename":"file0"},{"photo_id":"1328553679","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328553660":["hashtag1","hashtag2"]},{"1328553679":["hashtag1","hashtag2"]},{"1328553631":["hashtag1","hashtag2"]},{"1328553643":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328553660, 1328553679, 1328553631, 1328553643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.33728098869324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:45:02.860131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/43/image_13012025_01_43_03_069761_0003.jpg', '/home/pi/Desktop/images/13012025/01/44/image_13012025_01_44_02_621625_0000.jpg', '/home/pi/Desktop/images/13012025/01/44/image_13012025_01_44_02_621625_0001.jpg', '/home/pi/Desktop/images/13012025/01/44/image_13012025_01_44_02_621625_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/43/image_13012025_01_43_03_069761_0003.jpg
/home/pi/Desktop/images/13012025/01/44/image_13012025_01_44_02_621625_0000.jpg
/home/pi/Desktop/images/13012025/01/44/image_13012025_01_44_02_621625_0001.jpg
/home/pi/Desktop/images/13012025/01/44/image_13012025_01_44_02_621625_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328553752","1328553812","1328553751","1328553826"],"photo_ids_order":["1328553751","1328553752","1328553812","1328553826"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c114ec6d436b4485e7c8dd35e062dd4e.jpg","text":"TemporaryFile(/tmp/multipartBody567428244651755577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729173017,"filename":"image_13012025_01_44_02_621625_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0ec2a2fc9390e738514bb760c2737c33.jpg","text":"TemporaryFile(/tmp/multipartBody7936560121177726696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729173017,"filename":"image_13012025_01_44_02_621625_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e083b773389991dddb5d67af6b543a36.jpg","text":"TemporaryFile(/tmp/multipartBody3033197327091203118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729173017,"filename":"image_13012025_01_43_03_069761_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fa7cce2a2a4e5f5f85b52a577383592a.jpg","text":"TemporaryFile(/tmp/multipartBody2301615688075512219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729173017,"filename":"image_13012025_01_44_02_621625_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328553812","file1":"1328553752","file0":"1328553751","file3":"1328553826"},"map_files_photo_id_array":[{"photo_id":"1328553812","filename":"file2"},{"photo_id":"1328553752","filename":"file1"},{"photo_id":"1328553751","filename":"file0"},{"photo_id":"1328553826","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328553752":["hashtag1","hashtag2"]},{"1328553812":["hashtag1","hashtag2"]},{"1328553751":["hashtag1","hashtag2"]},{"1328553826":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328553752, 1328553812, 1328553751, 1328553826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.811607837677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:46:02.406198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/44/image_13012025_01_44_02_621625_0003.jpg', '/home/pi/Desktop/images/13012025/01/45/image_13012025_01_45_02_155311_0000.jpg', '/home/pi/Desktop/images/13012025/01/45/image_13012025_01_45_02_155311_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/44/image_13012025_01_44_02_621625_0003.jpg
/home/pi/Desktop/images/13012025/01/45/image_13012025_01_45_02_155311_0000.jpg
/home/pi/Desktop/images/13012025/01/45/image_13012025_01_45_02_155311_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328553894","1328554195","1328553891"],"photo_ids_order":["1328553891","1328553894","1328554195"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9c386242780235b1bcdf4dc4afed61e3.jpg","text":"TemporaryFile(/tmp/multipartBody7048520258246799482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729230285,"filename":"image_13012025_01_45_02_155311_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b4822fada196c3ff377c5c5a1557e880.jpg","text":"TemporaryFile(/tmp/multipartBody5538811726722449362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729230285,"filename":"image_13012025_01_45_02_155311_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a6948b603745f5064f8e2f2d052599a0.jpg","text":"TemporaryFile(/tmp/multipartBody6023388554889743190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729230285,"filename":"image_13012025_01_44_02_621625_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328554195","file1":"1328553894","file0":"1328553891"},"map_files_photo_id_array":[{"photo_id":"1328554195","filename":"file2"},{"photo_id":"1328553894","filename":"file1"},{"photo_id":"1328553891","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328553894":["hashtag1","hashtag2"]},{"1328554195":["hashtag1","hashtag2"]},{"1328553891":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328553894, 1328554195, 1328553891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.21963381767273 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:47:02.986765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/45/image_13012025_01_45_02_155311_0003.jpg', '/home/pi/Desktop/images/13012025/01/46/image_13012025_01_46_02_746083_0000.jpg', '/home/pi/Desktop/images/13012025/01/46/image_13012025_01_46_02_746083_0001.jpg', '/home/pi/Desktop/images/13012025/01/46/image_13012025_01_46_02_746083_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/45/image_13012025_01_45_02_155311_0003.jpg
/home/pi/Desktop/images/13012025/01/46/image_13012025_01_46_02_746083_0000.jpg
/home/pi/Desktop/images/13012025/01/46/image_13012025_01_46_02_746083_0001.jpg
/home/pi/Desktop/images/13012025/01/46/image_13012025_01_46_02_746083_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.787624597549438 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:47:22.329398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/45/image_13012025_01_45_02_155311_0003.jpg', '/home/pi/Desktop/images/13012025/01/46/image_13012025_01_46_02_746083_0000.jpg', '/home/pi/Desktop/images/13012025/01/46/image_13012025_01_46_02_746083_0001.jpg', '/home/pi/Desktop/images/13012025/01/46/image_13012025_01_46_02_746083_0002.jpg', '/home/pi/Desktop/images/13012025/01/46/image_13012025_01_46_02_746083_0003.jpg', '/home/pi/Desktop/images/13012025/01/47/image_13012025_01_47_02_289778_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/45/image_13012025_01_45_02_155311_0003.jpg
/home/pi/Desktop/images/13012025/01/46/image_13012025_01_46_02_746083_0000.jpg
/home/pi/Desktop/images/13012025/01/46/image_13012025_01_46_02_746083_0001.jpg
/home/pi/Desktop/images/13012025/01/46/image_13012025_01_46_02_746083_0002.jpg
/home/pi/Desktop/images/13012025/01/46/image_13012025_01_46_02_746083_0003.jpg
/home/pi/Desktop/images/13012025/01/47/image_13012025_01_47_02_289778_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328554446","1328554442","1328554436","1328554444","1328554438","1328554440"],"photo_ids_order":["1328554436","1328554438","1328554440","1328554442","1328554444","1328554446"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/be153bea7c3420c845c4cbebf36cfbca.jpg","text":"TemporaryFile(/tmp/multipartBody146261996710787593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729317309,"filename":"image_13012025_01_47_02_289778_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d1bee554a5d2713bd72ca4b0eef16f6e.jpg","text":"TemporaryFile(/tmp/multipartBody3654068243697473394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729317309,"filename":"image_13012025_01_46_02_746083_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aee1c4b3e4e0915742401d9b59024fca.jpg","text":"TemporaryFile(/tmp/multipartBody8218175135681883319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729317309,"filename":"image_13012025_01_45_02_155311_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f1ea093792d028776cb9d0c8b8b89577.jpg","text":"TemporaryFile(/tmp/multipartBody7524577615165104599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729317309,"filename":"image_13012025_01_46_02_746083_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a7d4c5062d8daa508da03762d43546b9.jpg","text":"TemporaryFile(/tmp/multipartBody6560359664698456783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729317309,"filename":"image_13012025_01_46_02_746083_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/989cd137089425e8ad1a4ae9a269be8d.jpg","text":"TemporaryFile(/tmp/multipartBody7128980229322082849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729317309,"filename":"image_13012025_01_46_02_746083_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328554440","file1":"1328554438","file0":"1328554436","file4":"1328554444","file5":"1328554446","file3":"1328554442"},"map_files_photo_id_array":[{"photo_id":"1328554446","filename":"file5"},{"photo_id":"1328554440","filename":"file2"},{"photo_id":"1328554444","filename":"file4"},{"photo_id":"1328554438","filename":"file1"},{"photo_id":"1328554436","filename":"file0"},{"photo_id":"1328554442","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328554446":["hashtag1","hashtag2"]},{"1328554442":["hashtag1","hashtag2"]},{"1328554436":["hashtag1","hashtag2"]},{"1328554444":["hashtag1","hashtag2"]},{"1328554438":["hashtag1","hashtag2"]},{"1328554440":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328554446, 1328554442, 1328554436, 1328554444, 1328554438, 1328554440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.91776204109192 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:48:22.096307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/47/image_13012025_01_47_02_289778_0001.jpg', '/home/pi/Desktop/images/13012025/01/47/image_13012025_01_47_02_289778_0002.jpg', '/home/pi/Desktop/images/13012025/01/47/image_13012025_01_47_02_289778_0003.jpg', '/home/pi/Desktop/images/13012025/01/48/image_13012025_01_48_02_824195_0000.jpg', '/home/pi/Desktop/images/13012025/01/48/image_13012025_01_48_02_824195_0001.jpg', '/home/pi/Desktop/images/13012025/01/48/image_13012025_01_48_02_824195_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/47/image_13012025_01_47_02_289778_0001.jpg
/home/pi/Desktop/images/13012025/01/47/image_13012025_01_47_02_289778_0002.jpg
/home/pi/Desktop/images/13012025/01/47/image_13012025_01_47_02_289778_0003.jpg
/home/pi/Desktop/images/13012025/01/48/image_13012025_01_48_02_824195_0000.jpg
/home/pi/Desktop/images/13012025/01/48/image_13012025_01_48_02_824195_0001.jpg
/home/pi/Desktop/images/13012025/01/48/image_13012025_01_48_02_824195_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328554490","1328554484","1328554487","1328554481","1328554457","1328554459"],"photo_ids_order":["1328554457","1328554459","1328554481","1328554484","1328554487","1328554490"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1176e1f8c46c0ee26c2061a627567d1b.jpg","text":"TemporaryFile(/tmp/multipartBody5863546727102345371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729377257,"filename":"image_13012025_01_48_02_824195_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bc267320d01ad9c7e5f6cd1bab63c12f.jpg","text":"TemporaryFile(/tmp/multipartBody8326679816023740090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729377257,"filename":"image_13012025_01_48_02_824195_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/034f1c1b0281c013f4ad1b3b10d8bbcd.jpg","text":"TemporaryFile(/tmp/multipartBody3191972190039031334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729377257,"filename":"image_13012025_01_48_02_824195_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/850057a3066ac2343a10329b1b3b819c.jpg","text":"TemporaryFile(/tmp/multipartBody9183309744579364703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729377257,"filename":"image_13012025_01_47_02_289778_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cf7b46d2015a123ef05fadeaca9d3927.jpg","text":"TemporaryFile(/tmp/multipartBody8514127023485847225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729377257,"filename":"image_13012025_01_47_02_289778_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e4e4474e42dfa3f8f6015e8dda7a714b.jpg","text":"TemporaryFile(/tmp/multipartBody8575791333610789974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729377257,"filename":"image_13012025_01_47_02_289778_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328554481","file1":"1328554459","file0":"1328554457","file4":"1328554487","file5":"1328554490","file3":"1328554484"},"map_files_photo_id_array":[{"photo_id":"1328554490","filename":"file5"},{"photo_id":"1328554481","filename":"file2"},{"photo_id":"1328554487","filename":"file4"},{"photo_id":"1328554459","filename":"file1"},{"photo_id":"1328554457","filename":"file0"},{"photo_id":"1328554484","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328554490":["hashtag1","hashtag2"]},{"1328554484":["hashtag1","hashtag2"]},{"1328554487":["hashtag1","hashtag2"]},{"1328554481":["hashtag1","hashtag2"]},{"1328554457":["hashtag1","hashtag2"]},{"1328554459":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328554490, 1328554484, 1328554487, 1328554481, 1328554457, 1328554459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.486937284469604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:49:22.689399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/48/image_13012025_01_48_02_824195_0003.jpg', '/home/pi/Desktop/images/13012025/01/49/image_13012025_01_49_02_516358_0000.jpg', '/home/pi/Desktop/images/13012025/01/49/image_13012025_01_49_02_516358_0001.jpg', '/home/pi/Desktop/images/13012025/01/49/image_13012025_01_49_02_516358_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/48/image_13012025_01_48_02_824195_0003.jpg
/home/pi/Desktop/images/13012025/01/49/image_13012025_01_49_02_516358_0000.jpg
/home/pi/Desktop/images/13012025/01/49/image_13012025_01_49_02_516358_0001.jpg
/home/pi/Desktop/images/13012025/01/49/image_13012025_01_49_02_516358_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328554499","1328554493","1328554495","1328554497"],"photo_ids_order":["1328554493","1328554495","1328554497","1328554499"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e3455101ce6f60773140837296326957.jpg","text":"TemporaryFile(/tmp/multipartBody3255630833700538114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729433105,"filename":"image_13012025_01_49_02_516358_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a414e4945af9f707167dbda55e9964e5.jpg","text":"TemporaryFile(/tmp/multipartBody2554838429035420443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729433105,"filename":"image_13012025_01_48_02_824195_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e41768dd959cde31ae815514013997c2.jpg","text":"TemporaryFile(/tmp/multipartBody7830339281833540342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729433105,"filename":"image_13012025_01_49_02_516358_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1eb7df146cae84bfe814c5b3bc534c9c.jpg","text":"TemporaryFile(/tmp/multipartBody5584294637974264576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729433105,"filename":"image_13012025_01_49_02_516358_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328554497","file1":"1328554495","file0":"1328554493","file3":"1328554499"},"map_files_photo_id_array":[{"photo_id":"1328554497","filename":"file2"},{"photo_id":"1328554495","filename":"file1"},{"photo_id":"1328554493","filename":"file0"},{"photo_id":"1328554499","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328554499":["hashtag1","hashtag2"]},{"1328554493":["hashtag1","hashtag2"]},{"1328554495":["hashtag1","hashtag2"]},{"1328554497":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328554499, 1328554493, 1328554495, 1328554497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.144471645355225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:50:22.585261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/49/image_13012025_01_49_02_516358_0003.jpg', '/home/pi/Desktop/images/13012025/01/50/image_13012025_01_50_03_036791_0000.jpg', '/home/pi/Desktop/images/13012025/01/50/image_13012025_01_50_03_036791_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/49/image_13012025_01_49_02_516358_0003.jpg
/home/pi/Desktop/images/13012025/01/50/image_13012025_01_50_03_036791_0000.jpg
/home/pi/Desktop/images/13012025/01/50/image_13012025_01_50_03_036791_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328554601","1328554621","1328554566"],"photo_ids_order":["1328554566","1328554601","1328554621"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/baaf4ce21aa4de493bdf02781193afac.jpg","text":"TemporaryFile(/tmp/multipartBody3075734692516655849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729490524,"filename":"image_13012025_01_50_03_036791_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c67534d622e2609c987c96cae3e553f5.jpg","text":"TemporaryFile(/tmp/multipartBody4568480176840128428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729490524,"filename":"image_13012025_01_50_03_036791_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0a409fe911990286b78129a52ce13f50.jpg","text":"TemporaryFile(/tmp/multipartBody3262035467584486709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729490524,"filename":"image_13012025_01_49_02_516358_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328554621","file1":"1328554601","file0":"1328554566"},"map_files_photo_id_array":[{"photo_id":"1328554621","filename":"file2"},{"photo_id":"1328554601","filename":"file1"},{"photo_id":"1328554566","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328554601":["hashtag1","hashtag2"]},{"1328554621":["hashtag1","hashtag2"]},{"1328554566":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328554601, 1328554621, 1328554566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.14000058174133 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:51:02.701939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:51:22.045014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/50/image_13012025_01_50_03_036791_0003.jpg', '/home/pi/Desktop/images/13012025/01/51/image_13012025_01_51_02_941378_0000.jpg', '/home/pi/Desktop/images/13012025/01/51/image_13012025_01_51_02_941378_0001.jpg', '/home/pi/Desktop/images/13012025/01/51/image_13012025_01_51_02_941378_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/50/image_13012025_01_50_03_036791_0003.jpg
/home/pi/Desktop/images/13012025/01/51/image_13012025_01_51_02_941378_0000.jpg
/home/pi/Desktop/images/13012025/01/51/image_13012025_01_51_02_941378_0001.jpg
/home/pi/Desktop/images/13012025/01/51/image_13012025_01_51_02_941378_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328554664","1328554643","1328554660","1328554662"],"photo_ids_order":["1328554643","1328554660","1328554662","1328554664"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a4f3c48c65ffaeec793db96b86e8f762.jpg","text":"TemporaryFile(/tmp/multipartBody6486582721998473255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729552449,"filename":"image_13012025_01_51_02_941378_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9d19f3b68a2efd18cf287cafe8943113.jpg","text":"TemporaryFile(/tmp/multipartBody7374941509744124922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729552449,"filename":"image_13012025_01_50_03_036791_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9275aae67eac679519f62b7f002af91f.jpg","text":"TemporaryFile(/tmp/multipartBody554513978370064608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729552449,"filename":"image_13012025_01_51_02_941378_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b1409b7408a9fa9ad48fee1cc38cf5a8.jpg","text":"TemporaryFile(/tmp/multipartBody5602894002882896608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729552449,"filename":"image_13012025_01_51_02_941378_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328554662","file1":"1328554660","file0":"1328554643","file3":"1328554664"},"map_files_photo_id_array":[{"photo_id":"1328554662","filename":"file2"},{"photo_id":"1328554660","filename":"file1"},{"photo_id":"1328554643","filename":"file0"},{"photo_id":"1328554664","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328554664":["hashtag1","hashtag2"]},{"1328554643":["hashtag1","hashtag2"]},{"1328554660":["hashtag1","hashtag2"]},{"1328554662":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328554664, 1328554643, 1328554660, 1328554662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.3073148727417 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:52:22.731300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/51/image_13012025_01_51_02_941378_0003.jpg', '/home/pi/Desktop/images/13012025/01/52/image_13012025_01_52_02_502833_0000.jpg', '/home/pi/Desktop/images/13012025/01/52/image_13012025_01_52_02_502833_0001.jpg', '/home/pi/Desktop/images/13012025/01/52/image_13012025_01_52_02_502833_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/51/image_13012025_01_51_02_941378_0003.jpg
/home/pi/Desktop/images/13012025/01/52/image_13012025_01_52_02_502833_0000.jpg
/home/pi/Desktop/images/13012025/01/52/image_13012025_01_52_02_502833_0001.jpg
/home/pi/Desktop/images/13012025/01/52/image_13012025_01_52_02_502833_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.034351587295532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:53:02.795459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/51/image_13012025_01_51_02_941378_0003.jpg', '/home/pi/Desktop/images/13012025/01/52/image_13012025_01_52_02_502833_0000.jpg', '/home/pi/Desktop/images/13012025/01/52/image_13012025_01_52_02_502833_0001.jpg', '/home/pi/Desktop/images/13012025/01/52/image_13012025_01_52_02_502833_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/51/image_13012025_01_51_02_941378_0003.jpg
/home/pi/Desktop/images/13012025/01/52/image_13012025_01_52_02_502833_0000.jpg
/home/pi/Desktop/images/13012025/01/52/image_13012025_01_52_02_502833_0001.jpg
/home/pi/Desktop/images/13012025/01/52/image_13012025_01_52_02_502833_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328554781","1328554784","1328554783","1328554782"],"photo_ids_order":["1328554781","1328554782","1328554783","1328554784"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/29d7a63d5d0b1ed5fe5a1f1af0b6ae26.jpg","text":"TemporaryFile(/tmp/multipartBody7755830061520706985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729653283,"filename":"image_13012025_01_51_02_941378_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0291db47c530a5576bad42c3eeb65664.jpg","text":"TemporaryFile(/tmp/multipartBody9079658825035685303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729653283,"filename":"image_13012025_01_52_02_502833_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f9e4f32c310d52ee95e61cdaf096b8fa.jpg","text":"TemporaryFile(/tmp/multipartBody1640580141991454385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729653283,"filename":"image_13012025_01_52_02_502833_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/12e1f580cccc8f51c217e34633af3fbb.jpg","text":"TemporaryFile(/tmp/multipartBody1161662110434465750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729653283,"filename":"image_13012025_01_52_02_502833_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328554783","file1":"1328554782","file0":"1328554781","file3":"1328554784"},"map_files_photo_id_array":[{"photo_id":"1328554783","filename":"file2"},{"photo_id":"1328554782","filename":"file1"},{"photo_id":"1328554781","filename":"file0"},{"photo_id":"1328554784","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328554781":["hashtag1","hashtag2"]},{"1328554784":["hashtag1","hashtag2"]},{"1328554783":["hashtag1","hashtag2"]},{"1328554782":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328554781, 1328554784, 1328554783, 1328554782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.9220175743103 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:54:02.266815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/52/image_13012025_01_52_02_502833_0003.jpg', '/home/pi/Desktop/images/13012025/01/53/image_13012025_01_53_03_098346_0000.jpg', '/home/pi/Desktop/images/13012025/01/53/image_13012025_01_53_03_098346_0001.jpg', '/home/pi/Desktop/images/13012025/01/53/image_13012025_01_53_03_098346_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/52/image_13012025_01_52_02_502833_0003.jpg
/home/pi/Desktop/images/13012025/01/53/image_13012025_01_53_03_098346_0000.jpg
/home/pi/Desktop/images/13012025/01/53/image_13012025_01_53_03_098346_0001.jpg
/home/pi/Desktop/images/13012025/01/53/image_13012025_01_53_03_098346_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.08544135093689 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:54:21.933786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/52/image_13012025_01_52_02_502833_0003.jpg', '/home/pi/Desktop/images/13012025/01/53/image_13012025_01_53_03_098346_0000.jpg', '/home/pi/Desktop/images/13012025/01/53/image_13012025_01_53_03_098346_0001.jpg', '/home/pi/Desktop/images/13012025/01/53/image_13012025_01_53_03_098346_0002.jpg', '/home/pi/Desktop/images/13012025/01/53/image_13012025_01_53_03_098346_0003.jpg', '/home/pi/Desktop/images/13012025/01/54/image_13012025_01_54_02_670347_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/52/image_13012025_01_52_02_502833_0003.jpg
/home/pi/Desktop/images/13012025/01/53/image_13012025_01_53_03_098346_0000.jpg
/home/pi/Desktop/images/13012025/01/53/image_13012025_01_53_03_098346_0001.jpg
/home/pi/Desktop/images/13012025/01/53/image_13012025_01_53_03_098346_0002.jpg
/home/pi/Desktop/images/13012025/01/53/image_13012025_01_53_03_098346_0003.jpg
/home/pi/Desktop/images/13012025/01/54/image_13012025_01_54_02_670347_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328554803","1328554799","1328554805","1328554795","1328554797","1328554801"],"photo_ids_order":["1328554795","1328554797","1328554799","1328554801","1328554803","1328554805"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/96f3ec3cca433b4285ff59a0a7056861.jpg","text":"TemporaryFile(/tmp/multipartBody2886531420421858480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729737252,"filename":"image_13012025_01_53_03_098346_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4c5cf5e2cc469bd732965348300c1800.jpg","text":"TemporaryFile(/tmp/multipartBody4088321945965868345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729737252,"filename":"image_13012025_01_53_03_098346_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/04ef21f123021db8e1ccb9fe677b40b9.jpg","text":"TemporaryFile(/tmp/multipartBody1281491680137993816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729737252,"filename":"image_13012025_01_54_02_670347_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2f1e9269e02a5ddfbdba4b8a9d122cf8.jpg","text":"TemporaryFile(/tmp/multipartBody5517019473898431377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729737252,"filename":"image_13012025_01_52_02_502833_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e6b649d033a067f29d268557c6a96d59.jpg","text":"TemporaryFile(/tmp/multipartBody707057489525087516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729737252,"filename":"image_13012025_01_53_03_098346_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a56e832f4fa8ac1f9810e7cf407d3efd.jpg","text":"TemporaryFile(/tmp/multipartBody6479091800628135249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729737252,"filename":"image_13012025_01_53_03_098346_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328554799","file1":"1328554797","file0":"1328554795","file4":"1328554803","file5":"1328554805","file3":"1328554801"},"map_files_photo_id_array":[{"photo_id":"1328554805","filename":"file5"},{"photo_id":"1328554799","filename":"file2"},{"photo_id":"1328554803","filename":"file4"},{"photo_id":"1328554797","filename":"file1"},{"photo_id":"1328554795","filename":"file0"},{"photo_id":"1328554801","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328554803":["hashtag1","hashtag2"]},{"1328554799":["hashtag1","hashtag2"]},{"1328554805":["hashtag1","hashtag2"]},{"1328554795":["hashtag1","hashtag2"]},{"1328554797":["hashtag1","hashtag2"]},{"1328554801":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328554803, 1328554799, 1328554805, 1328554795, 1328554797, 1328554801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.612948179244995 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:55:22.501149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/54/image_13012025_01_54_02_670347_0001.jpg', '/home/pi/Desktop/images/13012025/01/54/image_13012025_01_54_02_670347_0002.jpg', '/home/pi/Desktop/images/13012025/01/54/image_13012025_01_54_02_670347_0003.jpg', '/home/pi/Desktop/images/13012025/01/55/image_13012025_01_55_02_355963_0000.jpg', '/home/pi/Desktop/images/13012025/01/55/image_13012025_01_55_02_355963_0001.jpg', '/home/pi/Desktop/images/13012025/01/55/image_13012025_01_55_02_355963_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/54/image_13012025_01_54_02_670347_0001.jpg
/home/pi/Desktop/images/13012025/01/54/image_13012025_01_54_02_670347_0002.jpg
/home/pi/Desktop/images/13012025/01/54/image_13012025_01_54_02_670347_0003.jpg
/home/pi/Desktop/images/13012025/01/55/image_13012025_01_55_02_355963_0000.jpg
/home/pi/Desktop/images/13012025/01/55/image_13012025_01_55_02_355963_0001.jpg
/home/pi/Desktop/images/13012025/01/55/image_13012025_01_55_02_355963_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328554917","1328554911","1328554913","1328554907","1328554915","1328554909"],"photo_ids_order":["1328554907","1328554909","1328554911","1328554913","1328554915","1328554917"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/044afb363515c1bf92e534d52ae966c6.jpg","text":"TemporaryFile(/tmp/multipartBody5511337648159595344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729797591,"filename":"image_13012025_01_55_02_355963_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/41e22cace1de3dc657d136a5a6d5a9ee.jpg","text":"TemporaryFile(/tmp/multipartBody7526825332408709135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729797591,"filename":"image_13012025_01_54_02_670347_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e3b678f9f0b362e1ac4b2fb811397b97.jpg","text":"TemporaryFile(/tmp/multipartBody3946637086344273808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729797591,"filename":"image_13012025_01_55_02_355963_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fb267dc0103362d708aec3336bcfa0da.jpg","text":"TemporaryFile(/tmp/multipartBody614926648388271565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729797591,"filename":"image_13012025_01_54_02_670347_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a667f4fcd9fb5b3c3084a8d13052f922.jpg","text":"TemporaryFile(/tmp/multipartBody3629410731156867169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729797591,"filename":"image_13012025_01_55_02_355963_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/16cbccf6b542523381f049fafa543541.jpg","text":"TemporaryFile(/tmp/multipartBody5911722498733294264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729797591,"filename":"image_13012025_01_54_02_670347_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328554911","file1":"1328554909","file0":"1328554907","file4":"1328554915","file5":"1328554917","file3":"1328554913"},"map_files_photo_id_array":[{"photo_id":"1328554917","filename":"file5"},{"photo_id":"1328554911","filename":"file2"},{"photo_id":"1328554915","filename":"file4"},{"photo_id":"1328554909","filename":"file1"},{"photo_id":"1328554907","filename":"file0"},{"photo_id":"1328554913","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328554917":["hashtag1","hashtag2"]},{"1328554911":["hashtag1","hashtag2"]},{"1328554913":["hashtag1","hashtag2"]},{"1328554907":["hashtag1","hashtag2"]},{"1328554915":["hashtag1","hashtag2"]},{"1328554909":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328554917, 1328554911, 1328554913, 1328554907, 1328554915, 1328554909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.97008442878723 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:56:21.979907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/55/image_13012025_01_55_02_355963_0003.jpg', '/home/pi/Desktop/images/13012025/01/56/image_13012025_01_56_02_881345_0000.jpg', '/home/pi/Desktop/images/13012025/01/56/image_13012025_01_56_02_881345_0001.jpg', '/home/pi/Desktop/images/13012025/01/56/image_13012025_01_56_02_881345_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/55/image_13012025_01_55_02_355963_0003.jpg
/home/pi/Desktop/images/13012025/01/56/image_13012025_01_56_02_881345_0000.jpg
/home/pi/Desktop/images/13012025/01/56/image_13012025_01_56_02_881345_0001.jpg
/home/pi/Desktop/images/13012025/01/56/image_13012025_01_56_02_881345_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328554920","1328554922","1328554925","1328554918"],"photo_ids_order":["1328554918","1328554920","1328554922","1328554925"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f2d73095d4c26dd21d9db7bd8a61d567.jpg","text":"TemporaryFile(/tmp/multipartBody5880663736353963682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729852174,"filename":"image_13012025_01_56_02_881345_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7f8b133285f17157559e52da0796bc38.jpg","text":"TemporaryFile(/tmp/multipartBody6773918822857761196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729852174,"filename":"image_13012025_01_56_02_881345_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e50c0c697d1de0186b79f2df74d1b0c3.jpg","text":"TemporaryFile(/tmp/multipartBody6510748887225792328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729852174,"filename":"image_13012025_01_56_02_881345_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/99f928cf5d2214fcd9c57e17633d3b49.jpg","text":"TemporaryFile(/tmp/multipartBody1576552122961845128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729852174,"filename":"image_13012025_01_55_02_355963_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328554922","file1":"1328554920","file0":"1328554918","file3":"1328554925"},"map_files_photo_id_array":[{"photo_id":"1328554922","filename":"file2"},{"photo_id":"1328554920","filename":"file1"},{"photo_id":"1328554918","filename":"file0"},{"photo_id":"1328554925","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328554920":["hashtag1","hashtag2"]},{"1328554922":["hashtag1","hashtag2"]},{"1328554925":["hashtag1","hashtag2"]},{"1328554918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328554920, 1328554922, 1328554925, 1328554918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.06709599494934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:57:03.059209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 01:57:22.458536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/56/image_13012025_01_56_02_881345_0003.jpg', '/home/pi/Desktop/images/13012025/01/57/image_13012025_01_57_02_376770_0000.jpg', '/home/pi/Desktop/images/13012025/01/57/image_13012025_01_57_02_376770_0001.jpg', '/home/pi/Desktop/images/13012025/01/57/image_13012025_01_57_02_376770_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/56/image_13012025_01_56_02_881345_0003.jpg
/home/pi/Desktop/images/13012025/01/57/image_13012025_01_57_02_376770_0000.jpg
/home/pi/Desktop/images/13012025/01/57/image_13012025_01_57_02_376770_0001.jpg
/home/pi/Desktop/images/13012025/01/57/image_13012025_01_57_02_376770_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328554946","1328554966","1328554933","1328554938"],"photo_ids_order":["1328554933","1328554938","1328554946","1328554966"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4682c8bae8d5096afef821105e4a6137.jpg","text":"TemporaryFile(/tmp/multipartBody1777859338446177558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729912642,"filename":"image_13012025_01_57_02_376770_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/08ed97d7dbe2e670e4d8b608e9ee644e.jpg","text":"TemporaryFile(/tmp/multipartBody6699253322217464086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729912642,"filename":"image_13012025_01_57_02_376770_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4ee400fa9547801348ee04053aca9e5c.jpg","text":"TemporaryFile(/tmp/multipartBody7934526106699464097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729912642,"filename":"image_13012025_01_56_02_881345_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7a6415f433462e46f2a1009278652360.jpg","text":"TemporaryFile(/tmp/multipartBody3313674443093686642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736729912642,"filename":"image_13012025_01_57_02_376770_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328554946","file1":"1328554938","file0":"1328554933","file3":"1328554966"},"map_files_photo_id_array":[{"photo_id":"1328554946","filename":"file2"},{"photo_id":"1328554938","filename":"file1"},{"photo_id":"1328554933","filename":"file0"},{"photo_id":"1328554966","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328554946":["hashtag1","hashtag2"]},{"1328554966":["hashtag1","hashtag2"]},{"1328554933":["hashtag1","hashtag2"]},{"1328554938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328554946, 1328554966, 1328554933, 1328554938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.85396862030029 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 01:59:02.974101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/57/image_13012025_01_57_02_376770_0003.jpg', '/home/pi/Desktop/images/13012025/01/58/image_13012025_01_58_02_890190_0000.jpg', '/home/pi/Desktop/images/13012025/01/58/image_13012025_01_58_02_890190_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/57/image_13012025_01_57_02_376770_0003.jpg
/home/pi/Desktop/images/13012025/01/58/image_13012025_01_58_02_890190_0000.jpg
/home/pi/Desktop/images/13012025/01/58/image_13012025_01_58_02_890190_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328554985","1328554982","1328554990"],"photo_ids_order":["1328554982","1328554985","1328554990"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/09a93957fd0fc694a0e207a50f05d03d.jpg","text":"TemporaryFile(/tmp/multipartBody4796057420672245752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730010648,"filename":"image_13012025_01_58_02_890190_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/641ddea2ba8eaadc98e2a25bf291c92d.jpg","text":"TemporaryFile(/tmp/multipartBody4572703427388514957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730010648,"filename":"image_13012025_01_57_02_376770_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/40d3fbe15b4bc87f546aa9a4def08468.jpg","text":"TemporaryFile(/tmp/multipartBody1185404515285543635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730010648,"filename":"image_13012025_01_58_02_890190_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328554990","file1":"1328554985","file0":"1328554982"},"map_files_photo_id_array":[{"photo_id":"1328554990","filename":"file2"},{"photo_id":"1328554985","filename":"file1"},{"photo_id":"1328554982","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328554985":["hashtag1","hashtag2"]},{"1328554982":["hashtag1","hashtag2"]},{"1328554990":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328554985, 1328554982, 1328554990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.676718950271606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:00:02.264235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/58/image_13012025_01_58_02_890190_0003.jpg', '/home/pi/Desktop/images/13012025/01/59/image_13012025_01_59_02_530326_0000.jpg', '/home/pi/Desktop/images/13012025/01/59/image_13012025_01_59_02_530326_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/58/image_13012025_01_58_02_890190_0003.jpg
/home/pi/Desktop/images/13012025/01/59/image_13012025_01_59_02_530326_0000.jpg
/home/pi/Desktop/images/13012025/01/59/image_13012025_01_59_02_530326_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328555004","1328555006","1328555002"],"photo_ids_order":["1328555002","1328555004","1328555006"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f2e4bfd4b65f28d184bdc91e9d00fdf4.jpg","text":"TemporaryFile(/tmp/multipartBody710887489797692869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730069809,"filename":"image_13012025_01_59_02_530326_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e5edeb31b3b4cf833d73585b1edf6be6.jpg","text":"TemporaryFile(/tmp/multipartBody6270416679350478328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730069809,"filename":"image_13012025_01_59_02_530326_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/47a334005a4fe2455744c43c048cb5f7.jpg","text":"TemporaryFile(/tmp/multipartBody7139761052035615411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730069809,"filename":"image_13012025_01_58_02_890190_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328555006","file1":"1328555004","file0":"1328555002"},"map_files_photo_id_array":[{"photo_id":"1328555006","filename":"file2"},{"photo_id":"1328555004","filename":"file1"},{"photo_id":"1328555002","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328555004":["hashtag1","hashtag2"]},{"1328555006":["hashtag1","hashtag2"]},{"1328555002":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328555004, 1328555006, 1328555002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.614707946777344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:01:02.987038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/59/image_13012025_01_59_02_530326_0003.jpg', '/home/pi/Desktop/images/13012025/02/00/image_13012025_02_00_02_709717_0000.jpg', '/home/pi/Desktop/images/13012025/02/00/image_13012025_02_00_02_709717_0001.jpg', '/home/pi/Desktop/images/13012025/02/00/image_13012025_02_00_02_709717_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/01/59/image_13012025_01_59_02_530326_0003.jpg
/home/pi/Desktop/images/13012025/02/00/image_13012025_02_00_02_709717_0000.jpg
/home/pi/Desktop/images/13012025/02/00/image_13012025_02_00_02_709717_0001.jpg
/home/pi/Desktop/images/13012025/02/00/image_13012025_02_00_02_709717_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328555293","1328555251","1328555277","1328555214"],"photo_ids_order":["1328555214","1328555251","1328555277","1328555293"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7d33bba2ce2cd0c0b0109df711031b8b.jpg","text":"TemporaryFile(/tmp/multipartBody8252263734847071140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730133135,"filename":"image_13012025_02_00_02_709717_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/281f0b2c40eb21110d285017a0b85453.jpg","text":"TemporaryFile(/tmp/multipartBody3868184265392139076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730133135,"filename":"image_13012025_02_00_02_709717_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ca02d0ddf05b74e14fa82de74d6aa184.jpg","text":"TemporaryFile(/tmp/multipartBody4465617876983707199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730133135,"filename":"image_13012025_02_00_02_709717_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/76b797c49dd32a6b5d91914fc65e3330.jpg","text":"TemporaryFile(/tmp/multipartBody8821812674142873687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730133135,"filename":"image_13012025_01_59_02_530326_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328555277","file1":"1328555251","file0":"1328555214","file3":"1328555293"},"map_files_photo_id_array":[{"photo_id":"1328555277","filename":"file2"},{"photo_id":"1328555251","filename":"file1"},{"photo_id":"1328555214","filename":"file0"},{"photo_id":"1328555293","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328555293":["hashtag1","hashtag2"]},{"1328555251":["hashtag1","hashtag2"]},{"1328555277":["hashtag1","hashtag2"]},{"1328555214":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328555293, 1328555251, 1328555277, 1328555214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.77676320075989 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:02:02.310188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/00/image_13012025_02_00_02_709717_0003.jpg', '/home/pi/Desktop/images/13012025/02/01/image_13012025_02_01_02_227480_0000.jpg', '/home/pi/Desktop/images/13012025/02/01/image_13012025_02_01_02_227480_0001.jpg', '/home/pi/Desktop/images/13012025/02/01/image_13012025_02_01_02_227480_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/00/image_13012025_02_00_02_709717_0003.jpg
/home/pi/Desktop/images/13012025/02/01/image_13012025_02_01_02_227480_0000.jpg
/home/pi/Desktop/images/13012025/02/01/image_13012025_02_01_02_227480_0001.jpg
/home/pi/Desktop/images/13012025/02/01/image_13012025_02_01_02_227480_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.564311504364014 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:02:22.001282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/00/image_13012025_02_00_02_709717_0003.jpg', '/home/pi/Desktop/images/13012025/02/01/image_13012025_02_01_02_227480_0000.jpg', '/home/pi/Desktop/images/13012025/02/01/image_13012025_02_01_02_227480_0001.jpg', '/home/pi/Desktop/images/13012025/02/01/image_13012025_02_01_02_227480_0002.jpg', '/home/pi/Desktop/images/13012025/02/01/image_13012025_02_01_02_227480_0003.jpg', '/home/pi/Desktop/images/13012025/02/02/image_13012025_02_02_02_745599_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/00/image_13012025_02_00_02_709717_0003.jpg
/home/pi/Desktop/images/13012025/02/01/image_13012025_02_01_02_227480_0000.jpg
/home/pi/Desktop/images/13012025/02/01/image_13012025_02_01_02_227480_0001.jpg
/home/pi/Desktop/images/13012025/02/01/image_13012025_02_01_02_227480_0002.jpg
/home/pi/Desktop/images/13012025/02/01/image_13012025_02_01_02_227480_0003.jpg
/home/pi/Desktop/images/13012025/02/02/image_13012025_02_02_02_745599_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328555309","1328555306","1328555311","1328555308","1328555373","1328555304"],"photo_ids_order":["1328555304","1328555306","1328555308","1328555309","1328555311","1328555373"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c639331c6134657badd167ab1eff70c8.jpg","text":"TemporaryFile(/tmp/multipartBody1382782113215367587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730216567,"filename":"image_13012025_02_01_02_227480_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/be395865c7684b4b7b8e5eeca66ff5a2.jpg","text":"TemporaryFile(/tmp/multipartBody959839793538154373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730216567,"filename":"image_13012025_02_01_02_227480_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5de8221035f3fcdcec8761e8941a5261.jpg","text":"TemporaryFile(/tmp/multipartBody281521803096012360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730216567,"filename":"image_13012025_02_01_02_227480_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/572e88e20e07d7d383df7cf1a5a878cd.jpg","text":"TemporaryFile(/tmp/multipartBody4355121402514118639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730216567,"filename":"image_13012025_02_01_02_227480_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/562261fb753c2cdf492a09be8f56d0fe.jpg","text":"TemporaryFile(/tmp/multipartBody1672594879806036639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730216567,"filename":"image_13012025_02_02_02_745599_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b8d0899e788d2298e08046269be9f678.jpg","text":"TemporaryFile(/tmp/multipartBody3341541671612141547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730216567,"filename":"image_13012025_02_00_02_709717_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328555308","file1":"1328555306","file0":"1328555304","file4":"1328555311","file5":"1328555373","file3":"1328555309"},"map_files_photo_id_array":[{"photo_id":"1328555373","filename":"file5"},{"photo_id":"1328555308","filename":"file2"},{"photo_id":"1328555311","filename":"file4"},{"photo_id":"1328555306","filename":"file1"},{"photo_id":"1328555304","filename":"file0"},{"photo_id":"1328555309","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328555309":["hashtag1","hashtag2"]},{"1328555306":["hashtag1","hashtag2"]},{"1328555311":["hashtag1","hashtag2"]},{"1328555308":["hashtag1","hashtag2"]},{"1328555373":["hashtag1","hashtag2"]},{"1328555304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328555309, 1328555306, 1328555311, 1328555308, 1328555373, 1328555304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.2765896320343 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:03:22.576278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/02/image_13012025_02_02_02_745599_0001.jpg', '/home/pi/Desktop/images/13012025/02/02/image_13012025_02_02_02_745599_0002.jpg', '/home/pi/Desktop/images/13012025/02/02/image_13012025_02_02_02_745599_0003.jpg', '/home/pi/Desktop/images/13012025/02/03/image_13012025_02_03_02_447416_0000.jpg', '/home/pi/Desktop/images/13012025/02/03/image_13012025_02_03_02_447416_0001.jpg', '/home/pi/Desktop/images/13012025/02/03/image_13012025_02_03_02_447416_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/02/image_13012025_02_02_02_745599_0001.jpg
/home/pi/Desktop/images/13012025/02/02/image_13012025_02_02_02_745599_0002.jpg
/home/pi/Desktop/images/13012025/02/02/image_13012025_02_02_02_745599_0003.jpg
/home/pi/Desktop/images/13012025/02/03/image_13012025_02_03_02_447416_0000.jpg
/home/pi/Desktop/images/13012025/02/03/image_13012025_02_03_02_447416_0001.jpg
/home/pi/Desktop/images/13012025/02/03/image_13012025_02_03_02_447416_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328555975","1328555992","1328555994","1328555964","1328555996","1328555990"],"photo_ids_order":["1328555964","1328555975","1328555990","1328555992","1328555994","1328555996"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5187566cd0b6c3114e469500ee7bd84a.jpg","text":"TemporaryFile(/tmp/multipartBody3033301220022520541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730277078,"filename":"image_13012025_02_02_02_745599_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d7776a1a2fe2018ae0d3bb78d682d780.jpg","text":"TemporaryFile(/tmp/multipartBody2139571205702024069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730277078,"filename":"image_13012025_02_03_02_447416_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0d0008c32333d434341d8f2c1678a16b.jpg","text":"TemporaryFile(/tmp/multipartBody4630880459479533294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730277078,"filename":"image_13012025_02_03_02_447416_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3fa0994844259b826a1ffc27fdc16dae.jpg","text":"TemporaryFile(/tmp/multipartBody5040317431439779002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730277078,"filename":"image_13012025_02_02_02_745599_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/34536b283f619240ab48243ed3d632ac.jpg","text":"TemporaryFile(/tmp/multipartBody1972178614447420666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730277078,"filename":"image_13012025_02_03_02_447416_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f796a241840dcc18b9ef1ec4cf1bc6ef.jpg","text":"TemporaryFile(/tmp/multipartBody1152451802399667969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730277078,"filename":"image_13012025_02_02_02_745599_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328555990","file1":"1328555975","file0":"1328555964","file4":"1328555994","file5":"1328555996","file3":"1328555992"},"map_files_photo_id_array":[{"photo_id":"1328555996","filename":"file5"},{"photo_id":"1328555990","filename":"file2"},{"photo_id":"1328555994","filename":"file4"},{"photo_id":"1328555975","filename":"file1"},{"photo_id":"1328555964","filename":"file0"},{"photo_id":"1328555992","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328555975":["hashtag1","hashtag2"]},{"1328555992":["hashtag1","hashtag2"]},{"1328555994":["hashtag1","hashtag2"]},{"1328555964":["hashtag1","hashtag2"]},{"1328555996":["hashtag1","hashtag2"]},{"1328555990":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328555975, 1328555992, 1328555994, 1328555964, 1328555996, 1328555990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.6169593334198 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:04:22.203363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/03/image_13012025_02_03_02_447416_0003.jpg', '/home/pi/Desktop/images/13012025/02/04/image_13012025_02_04_02_936487_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/03/image_13012025_02_03_02_447416_0003.jpg
/home/pi/Desktop/images/13012025/02/04/image_13012025_02_04_02_936487_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328555997","1328556117"],"photo_ids_order":["1328555997","1328556117"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c3f070a73cf0f08b53ce5a53d05719b5.jpg","text":"TemporaryFile(/tmp/multipartBody8358697807084312774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730327396,"filename":"image_13012025_02_03_02_447416_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d23e3a0be530a39b0a1780c686de652c.jpg","text":"TemporaryFile(/tmp/multipartBody7128907294954780320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730327396,"filename":"image_13012025_02_04_02_936487_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328556117","file0":"1328555997"},"map_files_photo_id_array":[{"photo_id":"1328556117","filename":"file1"},{"photo_id":"1328555997","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328555997":["hashtag1","hashtag2"]},{"1328556117":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328555997, 1328556117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.781360864639282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:05:03.390224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:05:22.659667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/04/image_13012025_02_04_02_936487_0002.jpg', '/home/pi/Desktop/images/13012025/02/05/image_13012025_02_05_02_557671_0000.jpg', '/home/pi/Desktop/images/13012025/02/05/image_13012025_02_05_02_557671_0001.jpg', '/home/pi/Desktop/images/13012025/02/05/image_13012025_02_05_02_557671_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/04/image_13012025_02_04_02_936487_0002.jpg
/home/pi/Desktop/images/13012025/02/05/image_13012025_02_05_02_557671_0000.jpg
/home/pi/Desktop/images/13012025/02/05/image_13012025_02_05_02_557671_0001.jpg
/home/pi/Desktop/images/13012025/02/05/image_13012025_02_05_02_557671_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328556518","1328556409","1328556411","1328556437"],"photo_ids_order":["1328556409","1328556411","1328556437","1328556518"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/88ecec4f552a9a043d0fb6ec18e0ae4a.jpg","text":"TemporaryFile(/tmp/multipartBody2700420448006903865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730392361,"filename":"image_13012025_02_05_02_557671_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/18ec172ed5bc9b398aa332196261a358.jpg","text":"TemporaryFile(/tmp/multipartBody5384257786582914220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730392361,"filename":"image_13012025_02_04_02_936487_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3818bb3e60bc3042d80eeaff21b0b67f.jpg","text":"TemporaryFile(/tmp/multipartBody5902335896691804072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730392361,"filename":"image_13012025_02_05_02_557671_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/19c69b80db46f08648f3242acb53d062.jpg","text":"TemporaryFile(/tmp/multipartBody4994717958991353353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730392361,"filename":"image_13012025_02_05_02_557671_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328556437","file1":"1328556411","file0":"1328556409","file3":"1328556518"},"map_files_photo_id_array":[{"photo_id":"1328556437","filename":"file2"},{"photo_id":"1328556411","filename":"file1"},{"photo_id":"1328556409","filename":"file0"},{"photo_id":"1328556518","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328556518":["hashtag1","hashtag2"]},{"1328556409":["hashtag1","hashtag2"]},{"1328556411":["hashtag1","hashtag2"]},{"1328556437":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328556518, 1328556409, 1328556411, 1328556437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.35204362869263 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:06:02.679535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:06:22.294787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/05/image_13012025_02_05_02_557671_0003.jpg', '/home/pi/Desktop/images/13012025/02/06/image_13012025_02_06_03_045699_0000.jpg', '/home/pi/Desktop/images/13012025/02/06/image_13012025_02_06_03_045699_0001.jpg', '/home/pi/Desktop/images/13012025/02/06/image_13012025_02_06_03_045699_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/05/image_13012025_02_05_02_557671_0003.jpg
/home/pi/Desktop/images/13012025/02/06/image_13012025_02_06_03_045699_0000.jpg
/home/pi/Desktop/images/13012025/02/06/image_13012025_02_06_03_045699_0001.jpg
/home/pi/Desktop/images/13012025/02/06/image_13012025_02_06_03_045699_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.30011534690857 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:07:02.345585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/05/image_13012025_02_05_02_557671_0003.jpg', '/home/pi/Desktop/images/13012025/02/06/image_13012025_02_06_03_045699_0000.jpg', '/home/pi/Desktop/images/13012025/02/06/image_13012025_02_06_03_045699_0001.jpg', '/home/pi/Desktop/images/13012025/02/06/image_13012025_02_06_03_045699_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/05/image_13012025_02_05_02_557671_0003.jpg
/home/pi/Desktop/images/13012025/02/06/image_13012025_02_06_03_045699_0000.jpg
/home/pi/Desktop/images/13012025/02/06/image_13012025_02_06_03_045699_0001.jpg
/home/pi/Desktop/images/13012025/02/06/image_13012025_02_06_03_045699_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328556661","1328556660","1328556663","1328556662"],"photo_ids_order":["1328556660","1328556661","1328556662","1328556663"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0157689846adaa14aed049a82593bfad.jpg","text":"TemporaryFile(/tmp/multipartBody1668384177231434740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730492091,"filename":"image_13012025_02_06_03_045699_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/420db2b35404744d62efaf4cf8ee4995.jpg","text":"TemporaryFile(/tmp/multipartBody8727527270791036237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730492091,"filename":"image_13012025_02_05_02_557671_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8be651a061eec18b11640724afb0c987.jpg","text":"TemporaryFile(/tmp/multipartBody4750097861060878250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730492091,"filename":"image_13012025_02_06_03_045699_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/040c1e89ee9044eead964cf9d2baf12d.jpg","text":"TemporaryFile(/tmp/multipartBody4579425377225095094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730492091,"filename":"image_13012025_02_06_03_045699_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328556662","file1":"1328556661","file0":"1328556660","file3":"1328556663"},"map_files_photo_id_array":[{"photo_id":"1328556662","filename":"file2"},{"photo_id":"1328556661","filename":"file1"},{"photo_id":"1328556660","filename":"file0"},{"photo_id":"1328556663","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328556661":["hashtag1","hashtag2"]},{"1328556660":["hashtag1","hashtag2"]},{"1328556663":["hashtag1","hashtag2"]},{"1328556662":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328556661, 1328556660, 1328556663, 1328556662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.01248574256897 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:08:02.808482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/06/image_13012025_02_06_03_045699_0003.jpg', '/home/pi/Desktop/images/13012025/02/07/image_13012025_02_07_02_643668_0000.jpg', '/home/pi/Desktop/images/13012025/02/07/image_13012025_02_07_02_643668_0001.jpg', '/home/pi/Desktop/images/13012025/02/07/image_13012025_02_07_02_643668_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/06/image_13012025_02_06_03_045699_0003.jpg
/home/pi/Desktop/images/13012025/02/07/image_13012025_02_07_02_643668_0000.jpg
/home/pi/Desktop/images/13012025/02/07/image_13012025_02_07_02_643668_0001.jpg
/home/pi/Desktop/images/13012025/02/07/image_13012025_02_07_02_643668_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.335008382797241 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:08:22.420446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/06/image_13012025_02_06_03_045699_0003.jpg', '/home/pi/Desktop/images/13012025/02/07/image_13012025_02_07_02_643668_0000.jpg', '/home/pi/Desktop/images/13012025/02/07/image_13012025_02_07_02_643668_0001.jpg', '/home/pi/Desktop/images/13012025/02/07/image_13012025_02_07_02_643668_0002.jpg', '/home/pi/Desktop/images/13012025/02/07/image_13012025_02_07_02_643668_0003.jpg', '/home/pi/Desktop/images/13012025/02/08/image_13012025_02_08_02_145594_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/06/image_13012025_02_06_03_045699_0003.jpg
/home/pi/Desktop/images/13012025/02/07/image_13012025_02_07_02_643668_0000.jpg
/home/pi/Desktop/images/13012025/02/07/image_13012025_02_07_02_643668_0001.jpg
/home/pi/Desktop/images/13012025/02/07/image_13012025_02_07_02_643668_0002.jpg
/home/pi/Desktop/images/13012025/02/07/image_13012025_02_07_02_643668_0003.jpg
/home/pi/Desktop/images/13012025/02/08/image_13012025_02_08_02_145594_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328556676","1328556684","1328556678","1328556683","1328556680","1328556674"],"photo_ids_order":["1328556674","1328556676","1328556678","1328556680","1328556683","1328556684"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3ff4ec45854813891e3cd64eba1d65bb.jpg","text":"TemporaryFile(/tmp/multipartBody6915492179034462004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730576915,"filename":"image_13012025_02_07_02_643668_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bda467c57808d85234d9a08f33826f3f.jpg","text":"TemporaryFile(/tmp/multipartBody466553407650196534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730576915,"filename":"image_13012025_02_08_02_145594_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f63f6ae75f92ab6aca43380b6fcd5027.jpg","text":"TemporaryFile(/tmp/multipartBody8633211857226860757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730576915,"filename":"image_13012025_02_07_02_643668_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/80e49ef5b4713086be164a3106ad766b.jpg","text":"TemporaryFile(/tmp/multipartBody7365587262637097340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730576915,"filename":"image_13012025_02_07_02_643668_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d7707c17027bf1e59f5021ba359a22d5.jpg","text":"TemporaryFile(/tmp/multipartBody7900214510844228381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730576915,"filename":"image_13012025_02_07_02_643668_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c595f135ecfff1978da728c9d785f7cb.jpg","text":"TemporaryFile(/tmp/multipartBody2339439223269895608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730576915,"filename":"image_13012025_02_06_03_045699_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328556678","file1":"1328556676","file0":"1328556674","file4":"1328556683","file5":"1328556684","file3":"1328556680"},"map_files_photo_id_array":[{"photo_id":"1328556684","filename":"file5"},{"photo_id":"1328556678","filename":"file2"},{"photo_id":"1328556683","filename":"file4"},{"photo_id":"1328556676","filename":"file1"},{"photo_id":"1328556674","filename":"file0"},{"photo_id":"1328556680","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328556676":["hashtag1","hashtag2"]},{"1328556684":["hashtag1","hashtag2"]},{"1328556678":["hashtag1","hashtag2"]},{"1328556683":["hashtag1","hashtag2"]},{"1328556680":["hashtag1","hashtag2"]},{"1328556674":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328556676, 1328556684, 1328556678, 1328556683, 1328556680, 1328556674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.64467120170593 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:09:21.873844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/08/image_13012025_02_08_02_145594_0001.jpg', '/home/pi/Desktop/images/13012025/02/09/image_13012025_02_09_02_787170_0000.jpg', '/home/pi/Desktop/images/13012025/02/09/image_13012025_02_09_02_787170_0001.jpg', '/home/pi/Desktop/images/13012025/02/09/image_13012025_02_09_02_787170_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/08/image_13012025_02_08_02_145594_0001.jpg
/home/pi/Desktop/images/13012025/02/09/image_13012025_02_09_02_787170_0000.jpg
/home/pi/Desktop/images/13012025/02/09/image_13012025_02_09_02_787170_0001.jpg
/home/pi/Desktop/images/13012025/02/09/image_13012025_02_09_02_787170_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328556691","1328556685","1328556687","1328556689"],"photo_ids_order":["1328556685","1328556687","1328556689","1328556691"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bdc41200c24125aaa725d5d26c5b27ca.jpg","text":"TemporaryFile(/tmp/multipartBody8419197389835785006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730631986,"filename":"image_13012025_02_09_02_787170_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/06b79400fb9434b321b4d52ac0dcbd2f.jpg","text":"TemporaryFile(/tmp/multipartBody4753449395765384801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730631986,"filename":"image_13012025_02_08_02_145594_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/723b9efbc5077409ed7c1695b424bdc7.jpg","text":"TemporaryFile(/tmp/multipartBody4818214713311294512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730631986,"filename":"image_13012025_02_09_02_787170_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/76c1da0dd417f3d6872db35c44cab849.jpg","text":"TemporaryFile(/tmp/multipartBody1296838567325134497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730631986,"filename":"image_13012025_02_09_02_787170_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328556689","file1":"1328556687","file0":"1328556685","file3":"1328556691"},"map_files_photo_id_array":[{"photo_id":"1328556689","filename":"file2"},{"photo_id":"1328556687","filename":"file1"},{"photo_id":"1328556685","filename":"file0"},{"photo_id":"1328556691","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328556691":["hashtag1","hashtag2"]},{"1328556685":["hashtag1","hashtag2"]},{"1328556687":["hashtag1","hashtag2"]},{"1328556689":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328556691, 1328556685, 1328556687, 1328556689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.99778938293457 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:10:02.766724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:10:22.366389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/09/image_13012025_02_09_02_787170_0003.jpg', '/home/pi/Desktop/images/13012025/02/10/image_13012025_02_10_02_250944_0000.jpg', '/home/pi/Desktop/images/13012025/02/10/image_13012025_02_10_02_250944_0001.jpg', '/home/pi/Desktop/images/13012025/02/10/image_13012025_02_10_02_250944_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/09/image_13012025_02_09_02_787170_0003.jpg
/home/pi/Desktop/images/13012025/02/10/image_13012025_02_10_02_250944_0000.jpg
/home/pi/Desktop/images/13012025/02/10/image_13012025_02_10_02_250944_0001.jpg
/home/pi/Desktop/images/13012025/02/10/image_13012025_02_10_02_250944_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328557087","1328557083","1328557085","1328557090"],"photo_ids_order":["1328557083","1328557085","1328557087","1328557090"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2e0a04a5a058167b05d533f0669a20f0.jpg","text":"TemporaryFile(/tmp/multipartBody2548113058579218888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730692556,"filename":"image_13012025_02_10_02_250944_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0b085ab65427ab27428965c250977ffe.jpg","text":"TemporaryFile(/tmp/multipartBody5433775567575377378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730692556,"filename":"image_13012025_02_09_02_787170_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0fbcf033c34c31bcc2dfae0ef2cd4ce1.jpg","text":"TemporaryFile(/tmp/multipartBody1114680403891114197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730692556,"filename":"image_13012025_02_10_02_250944_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8dcdea133a6b2caa24cd7f2302320e78.jpg","text":"TemporaryFile(/tmp/multipartBody8474767132074196972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730692556,"filename":"image_13012025_02_10_02_250944_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328557087","file1":"1328557085","file0":"1328557083","file3":"1328557090"},"map_files_photo_id_array":[{"photo_id":"1328557087","filename":"file2"},{"photo_id":"1328557085","filename":"file1"},{"photo_id":"1328557083","filename":"file0"},{"photo_id":"1328557090","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328557087":["hashtag1","hashtag2"]},{"1328557083":["hashtag1","hashtag2"]},{"1328557085":["hashtag1","hashtag2"]},{"1328557090":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328557087, 1328557083, 1328557085, 1328557090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.63645052909851 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:11:21.775612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/10/image_13012025_02_10_02_250944_0003.jpg', '/home/pi/Desktop/images/13012025/02/11/image_13012025_02_11_02_722440_0000.jpg', '/home/pi/Desktop/images/13012025/02/11/image_13012025_02_11_02_722440_0001.jpg', '/home/pi/Desktop/images/13012025/02/11/image_13012025_02_11_02_722440_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/10/image_13012025_02_10_02_250944_0003.jpg
/home/pi/Desktop/images/13012025/02/11/image_13012025_02_11_02_722440_0000.jpg
/home/pi/Desktop/images/13012025/02/11/image_13012025_02_11_02_722440_0001.jpg
/home/pi/Desktop/images/13012025/02/11/image_13012025_02_11_02_722440_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328557102","1328557098","1328557104","1328557100"],"photo_ids_order":["1328557098","1328557100","1328557102","1328557104"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/52c86dbdd14bfc95761fa1f3d818acda.jpg","text":"TemporaryFile(/tmp/multipartBody2704333440105571853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730751889,"filename":"image_13012025_02_11_02_722440_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e547aecaaf5d9523bdb1a3a6dc957b7f.jpg","text":"TemporaryFile(/tmp/multipartBody948403101795536217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730751889,"filename":"image_13012025_02_10_02_250944_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c6d2fbcf9269f95622bc9fc815b92822.jpg","text":"TemporaryFile(/tmp/multipartBody6217402750008822328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730751889,"filename":"image_13012025_02_11_02_722440_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/74176601273470d3aed2285fadaac8ac.jpg","text":"TemporaryFile(/tmp/multipartBody6217529769537053861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730751889,"filename":"image_13012025_02_11_02_722440_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328557102","file1":"1328557100","file0":"1328557098","file3":"1328557104"},"map_files_photo_id_array":[{"photo_id":"1328557102","filename":"file2"},{"photo_id":"1328557100","filename":"file1"},{"photo_id":"1328557098","filename":"file0"},{"photo_id":"1328557104","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328557102":["hashtag1","hashtag2"]},{"1328557098":["hashtag1","hashtag2"]},{"1328557104":["hashtag1","hashtag2"]},{"1328557100":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328557102, 1328557098, 1328557104, 1328557100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.53433322906494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:12:02.933232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:12:22.434108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/11/image_13012025_02_11_02_722440_0003.jpg', '/home/pi/Desktop/images/13012025/02/12/image_13012025_02_12_02_299635_0000.jpg', '/home/pi/Desktop/images/13012025/02/12/image_13012025_02_12_02_299635_0001.jpg', '/home/pi/Desktop/images/13012025/02/12/image_13012025_02_12_02_299635_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/11/image_13012025_02_11_02_722440_0003.jpg
/home/pi/Desktop/images/13012025/02/12/image_13012025_02_12_02_299635_0000.jpg
/home/pi/Desktop/images/13012025/02/12/image_13012025_02_12_02_299635_0001.jpg
/home/pi/Desktop/images/13012025/02/12/image_13012025_02_12_02_299635_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.86247992515564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:13:02.458420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/11/image_13012025_02_11_02_722440_0003.jpg', '/home/pi/Desktop/images/13012025/02/12/image_13012025_02_12_02_299635_0000.jpg', '/home/pi/Desktop/images/13012025/02/12/image_13012025_02_12_02_299635_0001.jpg', '/home/pi/Desktop/images/13012025/02/12/image_13012025_02_12_02_299635_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/11/image_13012025_02_11_02_722440_0003.jpg
/home/pi/Desktop/images/13012025/02/12/image_13012025_02_12_02_299635_0000.jpg
/home/pi/Desktop/images/13012025/02/12/image_13012025_02_12_02_299635_0001.jpg
/home/pi/Desktop/images/13012025/02/12/image_13012025_02_12_02_299635_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328557147","1328557146","1328557145","1328557148"],"photo_ids_order":["1328557145","1328557146","1328557147","1328557148"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9bd2405e63993e595b8f3f0f127ae473.jpg","text":"TemporaryFile(/tmp/multipartBody840059676177942696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730852798,"filename":"image_13012025_02_12_02_299635_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8244b94cd1cbdd836cf276685bd7344a.jpg","text":"TemporaryFile(/tmp/multipartBody6579621123794565969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730852798,"filename":"image_13012025_02_12_02_299635_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a44ae1e45d44b7b53f18c20600094a22.jpg","text":"TemporaryFile(/tmp/multipartBody2454545522837627697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730852798,"filename":"image_13012025_02_11_02_722440_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d4ae0e26fd8869fd677b171d162b000f.jpg","text":"TemporaryFile(/tmp/multipartBody8542034804370269864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730852798,"filename":"image_13012025_02_12_02_299635_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328557147","file1":"1328557146","file0":"1328557145","file3":"1328557148"},"map_files_photo_id_array":[{"photo_id":"1328557147","filename":"file2"},{"photo_id":"1328557146","filename":"file1"},{"photo_id":"1328557145","filename":"file0"},{"photo_id":"1328557148","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328557147":["hashtag1","hashtag2"]},{"1328557146":["hashtag1","hashtag2"]},{"1328557145":["hashtag1","hashtag2"]},{"1328557148":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328557147, 1328557146, 1328557145, 1328557148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.88514280319214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:14:03.119098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/12/image_13012025_02_12_02_299635_0003.jpg', '/home/pi/Desktop/images/13012025/02/13/image_13012025_02_13_02_799217_0000.jpg', '/home/pi/Desktop/images/13012025/02/13/image_13012025_02_13_02_799217_0001.jpg', '/home/pi/Desktop/images/13012025/02/13/image_13012025_02_13_02_799217_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/12/image_13012025_02_12_02_299635_0003.jpg
/home/pi/Desktop/images/13012025/02/13/image_13012025_02_13_02_799217_0000.jpg
/home/pi/Desktop/images/13012025/02/13/image_13012025_02_13_02_799217_0001.jpg
/home/pi/Desktop/images/13012025/02/13/image_13012025_02_13_02_799217_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.817295551300049 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:14:22.660153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/12/image_13012025_02_12_02_299635_0003.jpg', '/home/pi/Desktop/images/13012025/02/13/image_13012025_02_13_02_799217_0000.jpg', '/home/pi/Desktop/images/13012025/02/13/image_13012025_02_13_02_799217_0001.jpg', '/home/pi/Desktop/images/13012025/02/13/image_13012025_02_13_02_799217_0002.jpg', '/home/pi/Desktop/images/13012025/02/13/image_13012025_02_13_02_799217_0003.jpg', '/home/pi/Desktop/images/13012025/02/14/image_13012025_02_14_02_296324_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/12/image_13012025_02_12_02_299635_0003.jpg
/home/pi/Desktop/images/13012025/02/13/image_13012025_02_13_02_799217_0000.jpg
/home/pi/Desktop/images/13012025/02/13/image_13012025_02_13_02_799217_0001.jpg
/home/pi/Desktop/images/13012025/02/13/image_13012025_02_13_02_799217_0002.jpg
/home/pi/Desktop/images/13012025/02/13/image_13012025_02_13_02_799217_0003.jpg
/home/pi/Desktop/images/13012025/02/14/image_13012025_02_14_02_296324_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328557168","1328557176","1328557179","1328557170","1328557172","1328557183"],"photo_ids_order":["1328557168","1328557170","1328557172","1328557176","1328557179","1328557183"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/103dc5d2ba429c0a727fea72bc232164.jpg","text":"TemporaryFile(/tmp/multipartBody4801708335594893485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730937614,"filename":"image_13012025_02_12_02_299635_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b1a8cd61dae1227bd56ed421aad43c14.jpg","text":"TemporaryFile(/tmp/multipartBody251509828129377575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730937614,"filename":"image_13012025_02_13_02_799217_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e8a7064c56893fb4d46425a9b404318a.jpg","text":"TemporaryFile(/tmp/multipartBody2882521593588373999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730937614,"filename":"image_13012025_02_13_02_799217_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f7d8fedf28911567567d85062f1703dc.jpg","text":"TemporaryFile(/tmp/multipartBody2614890454109887962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730937614,"filename":"image_13012025_02_13_02_799217_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/11ab30369f13a566e182ccfd48da3085.jpg","text":"TemporaryFile(/tmp/multipartBody6224170639278157393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730937614,"filename":"image_13012025_02_13_02_799217_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cba518c36712eeff144f91c2d1de21ed.jpg","text":"TemporaryFile(/tmp/multipartBody6030910588961828182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730937614,"filename":"image_13012025_02_14_02_296324_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328557172","file1":"1328557170","file0":"1328557168","file4":"1328557179","file5":"1328557183","file3":"1328557176"},"map_files_photo_id_array":[{"photo_id":"1328557183","filename":"file5"},{"photo_id":"1328557172","filename":"file2"},{"photo_id":"1328557179","filename":"file4"},{"photo_id":"1328557170","filename":"file1"},{"photo_id":"1328557168","filename":"file0"},{"photo_id":"1328557176","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328557168":["hashtag1","hashtag2"]},{"1328557176":["hashtag1","hashtag2"]},{"1328557179":["hashtag1","hashtag2"]},{"1328557170":["hashtag1","hashtag2"]},{"1328557172":["hashtag1","hashtag2"]},{"1328557183":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328557168, 1328557176, 1328557179, 1328557170, 1328557172, 1328557183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.07065224647522 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:15:22.078744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/14/image_13012025_02_14_02_296324_0001.jpg', '/home/pi/Desktop/images/13012025/02/14/image_13012025_02_14_02_296324_0002.jpg', '/home/pi/Desktop/images/13012025/02/15/image_13012025_02_15_02_939561_0001.jpg', '/home/pi/Desktop/images/13012025/02/15/image_13012025_02_15_02_939561_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/14/image_13012025_02_14_02_296324_0001.jpg
/home/pi/Desktop/images/13012025/02/14/image_13012025_02_14_02_296324_0002.jpg
/home/pi/Desktop/images/13012025/02/15/image_13012025_02_15_02_939561_0001.jpg
/home/pi/Desktop/images/13012025/02/15/image_13012025_02_15_02_939561_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328557515","1328557544","1328557547","1328557541"],"photo_ids_order":["1328557515","1328557541","1328557544","1328557547"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fe4a8c921d1ba079f87c656b396b07c0.jpg","text":"TemporaryFile(/tmp/multipartBody2442628030100891017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730992324,"filename":"image_13012025_02_14_02_296324_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1f0afd4e933bd61210bfc18e999caab7.jpg","text":"TemporaryFile(/tmp/multipartBody7690478339555629191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730992324,"filename":"image_13012025_02_15_02_939561_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/be3acb5a9d54c44effb11b641479c474.jpg","text":"TemporaryFile(/tmp/multipartBody7829526741384006816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730992324,"filename":"image_13012025_02_15_02_939561_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/19d741d34c9b6f03d8ac368d5c1000b6.jpg","text":"TemporaryFile(/tmp/multipartBody7213864813253480982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736730992324,"filename":"image_13012025_02_14_02_296324_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328557544","file1":"1328557541","file0":"1328557515","file3":"1328557547"},"map_files_photo_id_array":[{"photo_id":"1328557544","filename":"file2"},{"photo_id":"1328557541","filename":"file1"},{"photo_id":"1328557515","filename":"file0"},{"photo_id":"1328557547","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328557515":["hashtag1","hashtag2"]},{"1328557544":["hashtag1","hashtag2"]},{"1328557547":["hashtag1","hashtag2"]},{"1328557541":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328557515, 1328557544, 1328557547, 1328557541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.03349733352661 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:16:03.003192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:16:22.554893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/15/image_13012025_02_15_02_939561_0003.jpg', '/home/pi/Desktop/images/13012025/02/16/image_13012025_02_16_02_443763_0000.jpg', '/home/pi/Desktop/images/13012025/02/16/image_13012025_02_16_02_443763_0001.jpg', '/home/pi/Desktop/images/13012025/02/16/image_13012025_02_16_02_443763_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/15/image_13012025_02_15_02_939561_0003.jpg
/home/pi/Desktop/images/13012025/02/16/image_13012025_02_16_02_443763_0000.jpg
/home/pi/Desktop/images/13012025/02/16/image_13012025_02_16_02_443763_0001.jpg
/home/pi/Desktop/images/13012025/02/16/image_13012025_02_16_02_443763_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328557603","1328557595","1328557608","1328557598"],"photo_ids_order":["1328557595","1328557598","1328557603","1328557608"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1c55b5a9ef7014a026a703d2ab385245.jpg","text":"TemporaryFile(/tmp/multipartBody5171177780915781349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731052852,"filename":"image_13012025_02_16_02_443763_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2228ed4d424fd059b3b482d24bb8ef6d.jpg","text":"TemporaryFile(/tmp/multipartBody1046119624373679892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731052852,"filename":"image_13012025_02_15_02_939561_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1e38538dc9841c0ebb6cb5e06b388fc4.jpg","text":"TemporaryFile(/tmp/multipartBody8523677432811873974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731052852,"filename":"image_13012025_02_16_02_443763_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/196ebce8639f55a73187a74079449901.jpg","text":"TemporaryFile(/tmp/multipartBody5410714883692328353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731052852,"filename":"image_13012025_02_16_02_443763_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328557603","file1":"1328557598","file0":"1328557595","file3":"1328557608"},"map_files_photo_id_array":[{"photo_id":"1328557603","filename":"file2"},{"photo_id":"1328557598","filename":"file1"},{"photo_id":"1328557595","filename":"file0"},{"photo_id":"1328557608","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328557603":["hashtag1","hashtag2"]},{"1328557595":["hashtag1","hashtag2"]},{"1328557608":["hashtag1","hashtag2"]},{"1328557598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328557603, 1328557595, 1328557608, 1328557598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.13442659378052 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:17:22.132921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/16/image_13012025_02_16_02_443763_0003.jpg', '/home/pi/Desktop/images/13012025/02/17/image_13012025_02_17_02_926218_0000.jpg', '/home/pi/Desktop/images/13012025/02/17/image_13012025_02_17_02_926218_0001.jpg', '/home/pi/Desktop/images/13012025/02/17/image_13012025_02_17_02_926218_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/16/image_13012025_02_16_02_443763_0003.jpg
/home/pi/Desktop/images/13012025/02/17/image_13012025_02_17_02_926218_0000.jpg
/home/pi/Desktop/images/13012025/02/17/image_13012025_02_17_02_926218_0001.jpg
/home/pi/Desktop/images/13012025/02/17/image_13012025_02_17_02_926218_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328557627","1328557621","1328557623","1328557625"],"photo_ids_order":["1328557621","1328557623","1328557625","1328557627"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/94b91c56a4d5d3e02a06cc1e61f99def.jpg","text":"TemporaryFile(/tmp/multipartBody4468311562414874664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731112367,"filename":"image_13012025_02_17_02_926218_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cf3cbace91f488824803cf8eb461dee5.jpg","text":"TemporaryFile(/tmp/multipartBody497875659445790451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731112367,"filename":"image_13012025_02_16_02_443763_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a4e64577c87b995fa7658b64b2ccbaa7.jpg","text":"TemporaryFile(/tmp/multipartBody110501759968863903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731112367,"filename":"image_13012025_02_17_02_926218_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7ddd2f1ab20eab6c56ba84d95d5f0b80.jpg","text":"TemporaryFile(/tmp/multipartBody2488434676249926607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731112367,"filename":"image_13012025_02_17_02_926218_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328557625","file1":"1328557623","file0":"1328557621","file3":"1328557627"},"map_files_photo_id_array":[{"photo_id":"1328557625","filename":"file2"},{"photo_id":"1328557623","filename":"file1"},{"photo_id":"1328557621","filename":"file0"},{"photo_id":"1328557627","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328557627":["hashtag1","hashtag2"]},{"1328557621":["hashtag1","hashtag2"]},{"1328557623":["hashtag1","hashtag2"]},{"1328557625":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328557627, 1328557621, 1328557623, 1328557625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.12944555282593 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:18:03.067273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:18:22.471687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/17/image_13012025_02_17_02_926218_0003.jpg', '/home/pi/Desktop/images/13012025/02/18/image_13012025_02_18_02_421631_0000.jpg', '/home/pi/Desktop/images/13012025/02/18/image_13012025_02_18_02_421631_0001.jpg', '/home/pi/Desktop/images/13012025/02/18/image_13012025_02_18_02_421631_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/17/image_13012025_02_17_02_926218_0003.jpg
/home/pi/Desktop/images/13012025/02/18/image_13012025_02_18_02_421631_0000.jpg
/home/pi/Desktop/images/13012025/02/18/image_13012025_02_18_02_421631_0001.jpg
/home/pi/Desktop/images/13012025/02/18/image_13012025_02_18_02_421631_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.921195983886719 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:19:02.657516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/17/image_13012025_02_17_02_926218_0003.jpg', '/home/pi/Desktop/images/13012025/02/18/image_13012025_02_18_02_421631_0000.jpg', '/home/pi/Desktop/images/13012025/02/18/image_13012025_02_18_02_421631_0001.jpg', '/home/pi/Desktop/images/13012025/02/18/image_13012025_02_18_02_421631_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/17/image_13012025_02_17_02_926218_0003.jpg
/home/pi/Desktop/images/13012025/02/18/image_13012025_02_18_02_421631_0000.jpg
/home/pi/Desktop/images/13012025/02/18/image_13012025_02_18_02_421631_0001.jpg
/home/pi/Desktop/images/13012025/02/18/image_13012025_02_18_02_421631_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328558343","1328558322","1328558246","1328558348"],"photo_ids_order":["1328558246","1328558322","1328558343","1328558348"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/36d299ed67597cc62f718e2156ae9b6c.jpg","text":"TemporaryFile(/tmp/multipartBody682897079122738019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731213058,"filename":"image_13012025_02_18_02_421631_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d162281779af4fe353d9055eb1f4cde2.jpg","text":"TemporaryFile(/tmp/multipartBody2668469943279104529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731213058,"filename":"image_13012025_02_18_02_421631_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/004898ddf0aae7139008be5b9f8587e1.jpg","text":"TemporaryFile(/tmp/multipartBody495604939718004819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731213058,"filename":"image_13012025_02_17_02_926218_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/16605fba4bf143242f33a8366d46827e.jpg","text":"TemporaryFile(/tmp/multipartBody5799144546310304726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731213058,"filename":"image_13012025_02_18_02_421631_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328558343","file1":"1328558322","file0":"1328558246","file3":"1328558348"},"map_files_photo_id_array":[{"photo_id":"1328558343","filename":"file2"},{"photo_id":"1328558322","filename":"file1"},{"photo_id":"1328558246","filename":"file0"},{"photo_id":"1328558348","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328558343":["hashtag1","hashtag2"]},{"1328558322":["hashtag1","hashtag2"]},{"1328558246":["hashtag1","hashtag2"]},{"1328558348":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328558343, 1328558322, 1328558246, 1328558348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.60785102844238 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:20:02.151888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/18/image_13012025_02_18_02_421631_0003.jpg', '/home/pi/Desktop/images/13012025/02/19/image_13012025_02_19_02_949755_0000.jpg', '/home/pi/Desktop/images/13012025/02/19/image_13012025_02_19_02_949755_0001.jpg', '/home/pi/Desktop/images/13012025/02/19/image_13012025_02_19_02_949755_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/18/image_13012025_02_18_02_421631_0003.jpg
/home/pi/Desktop/images/13012025/02/19/image_13012025_02_19_02_949755_0000.jpg
/home/pi/Desktop/images/13012025/02/19/image_13012025_02_19_02_949755_0001.jpg
/home/pi/Desktop/images/13012025/02/19/image_13012025_02_19_02_949755_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.831866264343262 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:20:21.772971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/18/image_13012025_02_18_02_421631_0003.jpg', '/home/pi/Desktop/images/13012025/02/19/image_13012025_02_19_02_949755_0000.jpg', '/home/pi/Desktop/images/13012025/02/19/image_13012025_02_19_02_949755_0001.jpg', '/home/pi/Desktop/images/13012025/02/19/image_13012025_02_19_02_949755_0002.jpg', '/home/pi/Desktop/images/13012025/02/19/image_13012025_02_19_02_949755_0003.jpg', '/home/pi/Desktop/images/13012025/02/20/image_13012025_02_20_02_433145_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/18/image_13012025_02_18_02_421631_0003.jpg
/home/pi/Desktop/images/13012025/02/19/image_13012025_02_19_02_949755_0000.jpg
/home/pi/Desktop/images/13012025/02/19/image_13012025_02_19_02_949755_0001.jpg
/home/pi/Desktop/images/13012025/02/19/image_13012025_02_19_02_949755_0002.jpg
/home/pi/Desktop/images/13012025/02/19/image_13012025_02_19_02_949755_0003.jpg
/home/pi/Desktop/images/13012025/02/20/image_13012025_02_20_02_433145_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328558466","1328558475","1328558469","1328558468","1328558471","1328558473"],"photo_ids_order":["1328558466","1328558468","1328558469","1328558471","1328558473","1328558475"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/84de4d32a1903b2cfeb1c463f4fbdc29.jpg","text":"TemporaryFile(/tmp/multipartBody7734111505724667991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731296694,"filename":"image_13012025_02_18_02_421631_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/489f305234ae15af0c6fe4dca9a9df3e.jpg","text":"TemporaryFile(/tmp/multipartBody5543510928788471558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731296694,"filename":"image_13012025_02_20_02_433145_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fe26534c29a69745078631a36b90099a.jpg","text":"TemporaryFile(/tmp/multipartBody6435839016733988115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731296694,"filename":"image_13012025_02_19_02_949755_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6b7c5dbb940a4d30614dd171dcd6bdd1.jpg","text":"TemporaryFile(/tmp/multipartBody5739922108874113345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731296694,"filename":"image_13012025_02_19_02_949755_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9d1ac5dee006f048e5aa6f7f4038024e.jpg","text":"TemporaryFile(/tmp/multipartBody860190986026740554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731296694,"filename":"image_13012025_02_19_02_949755_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d0d62d780605d05e959c8ecd7050b84d.jpg","text":"TemporaryFile(/tmp/multipartBody9175263175635089873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731296694,"filename":"image_13012025_02_19_02_949755_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328558469","file1":"1328558468","file0":"1328558466","file4":"1328558473","file5":"1328558475","file3":"1328558471"},"map_files_photo_id_array":[{"photo_id":"1328558475","filename":"file5"},{"photo_id":"1328558469","filename":"file2"},{"photo_id":"1328558473","filename":"file4"},{"photo_id":"1328558468","filename":"file1"},{"photo_id":"1328558466","filename":"file0"},{"photo_id":"1328558471","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328558466":["hashtag1","hashtag2"]},{"1328558475":["hashtag1","hashtag2"]},{"1328558469":["hashtag1","hashtag2"]},{"1328558468":["hashtag1","hashtag2"]},{"1328558471":["hashtag1","hashtag2"]},{"1328558473":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328558466, 1328558475, 1328558469, 1328558468, 1328558471, 1328558473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.733423948287964 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:21:22.317068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/20/image_13012025_02_20_02_433145_0001.jpg', '/home/pi/Desktop/images/13012025/02/20/image_13012025_02_20_02_433145_0002.jpg', '/home/pi/Desktop/images/13012025/02/20/image_13012025_02_20_02_433145_0003.jpg', '/home/pi/Desktop/images/13012025/02/21/image_13012025_02_21_02_200124_0000.jpg', '/home/pi/Desktop/images/13012025/02/21/image_13012025_02_21_02_200124_0001.jpg', '/home/pi/Desktop/images/13012025/02/21/image_13012025_02_21_02_200124_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/20/image_13012025_02_20_02_433145_0001.jpg
/home/pi/Desktop/images/13012025/02/20/image_13012025_02_20_02_433145_0002.jpg
/home/pi/Desktop/images/13012025/02/20/image_13012025_02_20_02_433145_0003.jpg
/home/pi/Desktop/images/13012025/02/21/image_13012025_02_21_02_200124_0000.jpg
/home/pi/Desktop/images/13012025/02/21/image_13012025_02_21_02_200124_0001.jpg
/home/pi/Desktop/images/13012025/02/21/image_13012025_02_21_02_200124_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328558503","1328558509","1328558486","1328558505","1328558507","1328558501"],"photo_ids_order":["1328558486","1328558501","1328558503","1328558505","1328558507","1328558509"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7fafeaa70c80942a2b69995dca107d03.jpg","text":"TemporaryFile(/tmp/multipartBody6135421092726920609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731357125,"filename":"image_13012025_02_20_02_433145_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/005f106fb16d87c55430c4b877cc2233.jpg","text":"TemporaryFile(/tmp/multipartBody7012183826521936861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731357125,"filename":"image_13012025_02_21_02_200124_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/93773faf6808ae93ca2aad064e54cf37.jpg","text":"TemporaryFile(/tmp/multipartBody7603834274413273600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731357125,"filename":"image_13012025_02_20_02_433145_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b529706b2a5510dcc3ba9827ef3a39ec.jpg","text":"TemporaryFile(/tmp/multipartBody2958641962459356459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731357125,"filename":"image_13012025_02_21_02_200124_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b4db2057b470c04bdad9e48558e0852f.jpg","text":"TemporaryFile(/tmp/multipartBody8607530005719996266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731357125,"filename":"image_13012025_02_21_02_200124_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/954392b9717f95aba7231ef7a23d80bb.jpg","text":"TemporaryFile(/tmp/multipartBody6054268822748906053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731357125,"filename":"image_13012025_02_20_02_433145_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328558503","file1":"1328558501","file0":"1328558486","file4":"1328558507","file5":"1328558509","file3":"1328558505"},"map_files_photo_id_array":[{"photo_id":"1328558509","filename":"file5"},{"photo_id":"1328558503","filename":"file2"},{"photo_id":"1328558507","filename":"file4"},{"photo_id":"1328558501","filename":"file1"},{"photo_id":"1328558486","filename":"file0"},{"photo_id":"1328558505","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328558503":["hashtag1","hashtag2"]},{"1328558509":["hashtag1","hashtag2"]},{"1328558486":["hashtag1","hashtag2"]},{"1328558505":["hashtag1","hashtag2"]},{"1328558507":["hashtag1","hashtag2"]},{"1328558501":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328558503, 1328558509, 1328558486, 1328558505, 1328558507, 1328558501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.09796333312988 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:22:21.884507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/21/image_13012025_02_21_02_200124_0003.jpg', '/home/pi/Desktop/images/13012025/02/22/image_13012025_02_22_02_750331_0000.jpg', '/home/pi/Desktop/images/13012025/02/22/image_13012025_02_22_02_750331_0001.jpg', '/home/pi/Desktop/images/13012025/02/22/image_13012025_02_22_02_750331_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/21/image_13012025_02_21_02_200124_0003.jpg
/home/pi/Desktop/images/13012025/02/22/image_13012025_02_22_02_750331_0000.jpg
/home/pi/Desktop/images/13012025/02/22/image_13012025_02_22_02_750331_0001.jpg
/home/pi/Desktop/images/13012025/02/22/image_13012025_02_22_02_750331_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328558518","1328558511","1328558510","1328558515"],"photo_ids_order":["1328558510","1328558511","1328558515","1328558518"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a6f105b3baa5cca48d0c0406b275d955.jpg","text":"TemporaryFile(/tmp/multipartBody4163322414273273628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731411964,"filename":"image_13012025_02_22_02_750331_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/48793f38c47e5adae8781a6191ace040.jpg","text":"TemporaryFile(/tmp/multipartBody7033800072021425999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731411964,"filename":"image_13012025_02_22_02_750331_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/776dad028adc933ba3599ae1aa9a594d.jpg","text":"TemporaryFile(/tmp/multipartBody8959985843676967426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731411964,"filename":"image_13012025_02_21_02_200124_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2b572b65a562cabdd42cce9065d22f9e.jpg","text":"TemporaryFile(/tmp/multipartBody5977670904850803684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731411964,"filename":"image_13012025_02_22_02_750331_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328558515","file1":"1328558511","file0":"1328558510","file3":"1328558518"},"map_files_photo_id_array":[{"photo_id":"1328558515","filename":"file2"},{"photo_id":"1328558511","filename":"file1"},{"photo_id":"1328558510","filename":"file0"},{"photo_id":"1328558518","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328558518":["hashtag1","hashtag2"]},{"1328558511":["hashtag1","hashtag2"]},{"1328558510":["hashtag1","hashtag2"]},{"1328558515":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328558518, 1328558511, 1328558510, 1328558515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.18127417564392 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:23:22.367146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/22/image_13012025_02_22_02_750331_0003.jpg', '/home/pi/Desktop/images/13012025/02/23/image_13012025_02_23_02_239376_0000.jpg', '/home/pi/Desktop/images/13012025/02/23/image_13012025_02_23_02_239376_0001.jpg', '/home/pi/Desktop/images/13012025/02/23/image_13012025_02_23_02_239376_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/22/image_13012025_02_22_02_750331_0003.jpg
/home/pi/Desktop/images/13012025/02/23/image_13012025_02_23_02_239376_0000.jpg
/home/pi/Desktop/images/13012025/02/23/image_13012025_02_23_02_239376_0001.jpg
/home/pi/Desktop/images/13012025/02/23/image_13012025_02_23_02_239376_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328558527","1328558529","1328558531","1328558525"],"photo_ids_order":["1328558525","1328558527","1328558529","1328558531"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4866d2401bebceaca005b624b2eed247.jpg","text":"TemporaryFile(/tmp/multipartBody538520636730225312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731472632,"filename":"image_13012025_02_23_02_239376_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6dd5f6e7f084dfdc0beadc2534e7081f.jpg","text":"TemporaryFile(/tmp/multipartBody1418631984378137956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731472632,"filename":"image_13012025_02_23_02_239376_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3121523cf1c10c887860f39fbcced767.jpg","text":"TemporaryFile(/tmp/multipartBody2255574892330656502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731472632,"filename":"image_13012025_02_23_02_239376_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c60e0069cb6b0f7bcac411645ffed040.jpg","text":"TemporaryFile(/tmp/multipartBody6928344019827676238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731472632,"filename":"image_13012025_02_22_02_750331_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328558529","file1":"1328558527","file0":"1328558525","file3":"1328558531"},"map_files_photo_id_array":[{"photo_id":"1328558529","filename":"file2"},{"photo_id":"1328558527","filename":"file1"},{"photo_id":"1328558525","filename":"file0"},{"photo_id":"1328558531","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328558527":["hashtag1","hashtag2"]},{"1328558529":["hashtag1","hashtag2"]},{"1328558531":["hashtag1","hashtag2"]},{"1328558525":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328558527, 1328558529, 1328558531, 1328558525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.12569808959961 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:24:02.484449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:24:21.853873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/23/image_13012025_02_23_02_239376_0003.jpg', '/home/pi/Desktop/images/13012025/02/24/image_13012025_02_24_02_733371_0000.jpg', '/home/pi/Desktop/images/13012025/02/24/image_13012025_02_24_02_733371_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/23/image_13012025_02_23_02_239376_0003.jpg
/home/pi/Desktop/images/13012025/02/24/image_13012025_02_24_02_733371_0000.jpg
/home/pi/Desktop/images/13012025/02/24/image_13012025_02_24_02_733371_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328558545","1328558535","1328558536"],"photo_ids_order":["1328558535","1328558536","1328558545"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bcc8f8a1aa40b51848851126157b28df.jpg","text":"TemporaryFile(/tmp/multipartBody1042733883841601873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731529676,"filename":"image_13012025_02_24_02_733371_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/379f1d2a35f05f437bea50218db6af02.jpg","text":"TemporaryFile(/tmp/multipartBody6039137028461765286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731529676,"filename":"image_13012025_02_23_02_239376_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2f5dd798bc87d5980bfb8fbcaa3e5f06.jpg","text":"TemporaryFile(/tmp/multipartBody240504462781568022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731529676,"filename":"image_13012025_02_24_02_733371_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328558545","file1":"1328558536","file0":"1328558535"},"map_files_photo_id_array":[{"photo_id":"1328558545","filename":"file2"},{"photo_id":"1328558536","filename":"file1"},{"photo_id":"1328558535","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328558545":["hashtag1","hashtag2"]},{"1328558535":["hashtag1","hashtag2"]},{"1328558536":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328558545, 1328558535, 1328558536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.378639459609985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:25:03.160586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:25:22.404858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/24/image_13012025_02_24_02_733371_0002.jpg', '/home/pi/Desktop/images/13012025/02/25/image_13012025_02_25_02_253609_0000.jpg', '/home/pi/Desktop/images/13012025/02/25/image_13012025_02_25_02_253609_0001.jpg', '/home/pi/Desktop/images/13012025/02/25/image_13012025_02_25_02_253609_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/24/image_13012025_02_24_02_733371_0002.jpg
/home/pi/Desktop/images/13012025/02/25/image_13012025_02_25_02_253609_0000.jpg
/home/pi/Desktop/images/13012025/02/25/image_13012025_02_25_02_253609_0001.jpg
/home/pi/Desktop/images/13012025/02/25/image_13012025_02_25_02_253609_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328558576","1328558695","1328558875","1328558560"],"photo_ids_order":["1328558560","1328558576","1328558695","1328558875"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9c8b1f4672b10f70ce2f0b9b2f7f3fa4.jpg","text":"TemporaryFile(/tmp/multipartBody1672949326276525140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731592617,"filename":"image_13012025_02_25_02_253609_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7312565c5e848e92424810d942301f02.jpg","text":"TemporaryFile(/tmp/multipartBody237536296290014157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731592617,"filename":"image_13012025_02_25_02_253609_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/90333c5a36757de14ae463433d1ab493.jpg","text":"TemporaryFile(/tmp/multipartBody5676876775115391981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731592617,"filename":"image_13012025_02_25_02_253609_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7ba4f3e5e14de1ee4733b977df032ecb.jpg","text":"TemporaryFile(/tmp/multipartBody1566982656428233394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731592617,"filename":"image_13012025_02_24_02_733371_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328558695","file1":"1328558576","file0":"1328558560","file3":"1328558875"},"map_files_photo_id_array":[{"photo_id":"1328558695","filename":"file2"},{"photo_id":"1328558576","filename":"file1"},{"photo_id":"1328558560","filename":"file0"},{"photo_id":"1328558875","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328558576":["hashtag1","hashtag2"]},{"1328558695":["hashtag1","hashtag2"]},{"1328558875":["hashtag1","hashtag2"]},{"1328558560":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328558576, 1328558695, 1328558875, 1328558560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.88671946525574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:26:22.136223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/25/image_13012025_02_25_02_253609_0003.jpg', '/home/pi/Desktop/images/13012025/02/26/image_13012025_02_26_02_813613_0000.jpg', '/home/pi/Desktop/images/13012025/02/26/image_13012025_02_26_02_813613_0001.jpg', '/home/pi/Desktop/images/13012025/02/26/image_13012025_02_26_02_813613_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/25/image_13012025_02_25_02_253609_0003.jpg
/home/pi/Desktop/images/13012025/02/26/image_13012025_02_26_02_813613_0000.jpg
/home/pi/Desktop/images/13012025/02/26/image_13012025_02_26_02_813613_0001.jpg
/home/pi/Desktop/images/13012025/02/26/image_13012025_02_26_02_813613_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328558976","1328559041","1328559139","1328559100"],"photo_ids_order":["1328558976","1328559041","1328559100","1328559139"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fd616d49cb75f50a27e8036e649f665b.jpg","text":"TemporaryFile(/tmp/multipartBody6939412964821732197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731652167,"filename":"image_13012025_02_25_02_253609_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1d715791e643e87f2a965bb2c3ec75c5.jpg","text":"TemporaryFile(/tmp/multipartBody5010955690637000460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731652167,"filename":"image_13012025_02_26_02_813613_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/70f91209c8d5cfc92a4381c91be8db80.jpg","text":"TemporaryFile(/tmp/multipartBody4143203451064152014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731652167,"filename":"image_13012025_02_26_02_813613_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3a3b4989f9527f2ee24c41a35352e78d.jpg","text":"TemporaryFile(/tmp/multipartBody5821844514066560716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731652167,"filename":"image_13012025_02_26_02_813613_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328559100","file1":"1328559041","file0":"1328558976","file3":"1328559139"},"map_files_photo_id_array":[{"photo_id":"1328559100","filename":"file2"},{"photo_id":"1328559041","filename":"file1"},{"photo_id":"1328558976","filename":"file0"},{"photo_id":"1328559139","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328558976":["hashtag1","hashtag2"]},{"1328559041":["hashtag1","hashtag2"]},{"1328559139":["hashtag1","hashtag2"]},{"1328559100":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328558976, 1328559041, 1328559139, 1328559100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.79677629470825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:27:22.626324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/26/image_13012025_02_26_02_813613_0003.jpg', '/home/pi/Desktop/images/13012025/02/27/image_13012025_02_27_02_466825_0000.jpg', '/home/pi/Desktop/images/13012025/02/27/image_13012025_02_27_02_466825_0001.jpg', '/home/pi/Desktop/images/13012025/02/27/image_13012025_02_27_02_466825_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/26/image_13012025_02_26_02_813613_0003.jpg
/home/pi/Desktop/images/13012025/02/27/image_13012025_02_27_02_466825_0000.jpg
/home/pi/Desktop/images/13012025/02/27/image_13012025_02_27_02_466825_0001.jpg
/home/pi/Desktop/images/13012025/02/27/image_13012025_02_27_02_466825_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328559309","1328559306","1328559373","1328559325"],"photo_ids_order":["1328559306","1328559309","1328559325","1328559373"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/54968d60b2b85c83e4be00be6b494e26.jpg","text":"TemporaryFile(/tmp/multipartBody6432572005848649600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731712856,"filename":"image_13012025_02_27_02_466825_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bab8a34ecbb9f707a618001154b150ae.jpg","text":"TemporaryFile(/tmp/multipartBody5000711653731717068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731712856,"filename":"image_13012025_02_26_02_813613_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/63af78bb4b07e7ee3c79a8871330def1.jpg","text":"TemporaryFile(/tmp/multipartBody7239803917024315611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731712856,"filename":"image_13012025_02_27_02_466825_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d2b127d54a39663b94a9c90658b40ee0.jpg","text":"TemporaryFile(/tmp/multipartBody2240959041011075528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731712856,"filename":"image_13012025_02_27_02_466825_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328559325","file1":"1328559309","file0":"1328559306","file3":"1328559373"},"map_files_photo_id_array":[{"photo_id":"1328559325","filename":"file2"},{"photo_id":"1328559309","filename":"file1"},{"photo_id":"1328559306","filename":"file0"},{"photo_id":"1328559373","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328559309":["hashtag1","hashtag2"]},{"1328559306":["hashtag1","hashtag2"]},{"1328559373":["hashtag1","hashtag2"]},{"1328559325":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328559309, 1328559306, 1328559373, 1328559325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.957592248916626 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:28:22.107081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/27/image_13012025_02_27_02_466825_0003.jpg', '/home/pi/Desktop/images/13012025/02/28/image_13012025_02_28_02_976055_0000.jpg', '/home/pi/Desktop/images/13012025/02/28/image_13012025_02_28_02_976055_0001.jpg', '/home/pi/Desktop/images/13012025/02/28/image_13012025_02_28_02_976055_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/27/image_13012025_02_27_02_466825_0003.jpg
/home/pi/Desktop/images/13012025/02/28/image_13012025_02_28_02_976055_0000.jpg
/home/pi/Desktop/images/13012025/02/28/image_13012025_02_28_02_976055_0001.jpg
/home/pi/Desktop/images/13012025/02/28/image_13012025_02_28_02_976055_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.922567129135132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:29:03.274091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/27/image_13012025_02_27_02_466825_0003.jpg', '/home/pi/Desktop/images/13012025/02/28/image_13012025_02_28_02_976055_0000.jpg', '/home/pi/Desktop/images/13012025/02/28/image_13012025_02_28_02_976055_0001.jpg', '/home/pi/Desktop/images/13012025/02/28/image_13012025_02_28_02_976055_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/27/image_13012025_02_27_02_466825_0003.jpg
/home/pi/Desktop/images/13012025/02/28/image_13012025_02_28_02_976055_0000.jpg
/home/pi/Desktop/images/13012025/02/28/image_13012025_02_28_02_976055_0001.jpg
/home/pi/Desktop/images/13012025/02/28/image_13012025_02_28_02_976055_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328559392","1328559386","1328559389","1328559394"],"photo_ids_order":["1328559386","1328559389","1328559392","1328559394"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/817366c00e9bf88e9cb8d9a15d750591.jpg","text":"TemporaryFile(/tmp/multipartBody3043412231300233896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731813641,"filename":"image_13012025_02_28_02_976055_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8148b7a3e55c574c40e5287d64876b20.jpg","text":"TemporaryFile(/tmp/multipartBody8817013065063116239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731813641,"filename":"image_13012025_02_27_02_466825_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5e9a63b893f763058e378592db0a2958.jpg","text":"TemporaryFile(/tmp/multipartBody2127735895324767932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731813641,"filename":"image_13012025_02_28_02_976055_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d5cf008dc2b14c9947b7fea0aebe9e29.jpg","text":"TemporaryFile(/tmp/multipartBody5185248508994396192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731813641,"filename":"image_13012025_02_28_02_976055_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328559392","file1":"1328559389","file0":"1328559386","file3":"1328559394"},"map_files_photo_id_array":[{"photo_id":"1328559392","filename":"file2"},{"photo_id":"1328559389","filename":"file1"},{"photo_id":"1328559386","filename":"file0"},{"photo_id":"1328559394","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328559392":["hashtag1","hashtag2"]},{"1328559386":["hashtag1","hashtag2"]},{"1328559389":["hashtag1","hashtag2"]},{"1328559394":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328559392, 1328559386, 1328559389, 1328559394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.82640337944031 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:30:02.616324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/28/image_13012025_02_28_02_976055_0003.jpg', '/home/pi/Desktop/images/13012025/02/29/image_13012025_02_29_02_537935_0000.jpg', '/home/pi/Desktop/images/13012025/02/29/image_13012025_02_29_02_537935_0001.jpg', '/home/pi/Desktop/images/13012025/02/29/image_13012025_02_29_02_537935_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/28/image_13012025_02_28_02_976055_0003.jpg
/home/pi/Desktop/images/13012025/02/29/image_13012025_02_29_02_537935_0000.jpg
/home/pi/Desktop/images/13012025/02/29/image_13012025_02_29_02_537935_0001.jpg
/home/pi/Desktop/images/13012025/02/29/image_13012025_02_29_02_537935_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328559477","1328559414","1328559494","1328559415"],"photo_ids_order":["1328559414","1328559415","1328559477","1328559494"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d451fcd9cea3eda28351c78a6dd4617a.jpg","text":"TemporaryFile(/tmp/multipartBody3569117751977318522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731872726,"filename":"image_13012025_02_29_02_537935_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/847db8602971b29919bbaed8fc6575af.jpg","text":"TemporaryFile(/tmp/multipartBody5886774887118014918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731872726,"filename":"image_13012025_02_28_02_976055_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4ef0d75f81e99b79f2fc82db6e8667b5.jpg","text":"TemporaryFile(/tmp/multipartBody4798538472596536564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731872726,"filename":"image_13012025_02_29_02_537935_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8934190b9dbddcf9836363fcadff9bae.jpg","text":"TemporaryFile(/tmp/multipartBody581575277213454443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731872726,"filename":"image_13012025_02_29_02_537935_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328559477","file1":"1328559415","file0":"1328559414","file3":"1328559494"},"map_files_photo_id_array":[{"photo_id":"1328559477","filename":"file2"},{"photo_id":"1328559415","filename":"file1"},{"photo_id":"1328559414","filename":"file0"},{"photo_id":"1328559494","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328559477":["hashtag1","hashtag2"]},{"1328559414":["hashtag1","hashtag2"]},{"1328559494":["hashtag1","hashtag2"]},{"1328559415":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328559477, 1328559414, 1328559494, 1328559415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.58636236190796 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:31:02.395912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/29/image_13012025_02_29_02_537935_0003.jpg', '/home/pi/Desktop/images/13012025/02/30/image_13012025_02_30_03_016004_0000.jpg', '/home/pi/Desktop/images/13012025/02/30/image_13012025_02_30_03_016004_0001.jpg', '/home/pi/Desktop/images/13012025/02/30/image_13012025_02_30_03_016004_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/29/image_13012025_02_29_02_537935_0003.jpg
/home/pi/Desktop/images/13012025/02/30/image_13012025_02_30_03_016004_0000.jpg
/home/pi/Desktop/images/13012025/02/30/image_13012025_02_30_03_016004_0001.jpg
/home/pi/Desktop/images/13012025/02/30/image_13012025_02_30_03_016004_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328559785","1328559911","1328559910","1328559607"],"photo_ids_order":["1328559607","1328559785","1328559910","1328559911"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/408e57cb251e11d3f8392afa2091b656.jpg","text":"TemporaryFile(/tmp/multipartBody2685262740276926482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731932606,"filename":"image_13012025_02_30_03_016004_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a6adad84f34fe06f296db1128d601899.jpg","text":"TemporaryFile(/tmp/multipartBody8409177491472292331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731932606,"filename":"image_13012025_02_30_03_016004_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c34e368462c5d875e2a6d9ada7ddb67b.jpg","text":"TemporaryFile(/tmp/multipartBody3292586850389028350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731932606,"filename":"image_13012025_02_30_03_016004_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1790a9950118cf095406466a5aff6d57.jpg","text":"TemporaryFile(/tmp/multipartBody8311930093395795338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731932606,"filename":"image_13012025_02_29_02_537935_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328559910","file1":"1328559785","file0":"1328559607","file3":"1328559911"},"map_files_photo_id_array":[{"photo_id":"1328559910","filename":"file2"},{"photo_id":"1328559785","filename":"file1"},{"photo_id":"1328559607","filename":"file0"},{"photo_id":"1328559911","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328559785":["hashtag1","hashtag2"]},{"1328559911":["hashtag1","hashtag2"]},{"1328559910":["hashtag1","hashtag2"]},{"1328559607":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328559785, 1328559911, 1328559910, 1328559607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.13288068771362 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:32:02.815300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/30/image_13012025_02_30_03_016004_0003.jpg', '/home/pi/Desktop/images/13012025/02/31/image_13012025_02_31_02_689045_0000.jpg', '/home/pi/Desktop/images/13012025/02/31/image_13012025_02_31_02_689045_0001.jpg', '/home/pi/Desktop/images/13012025/02/31/image_13012025_02_31_02_689045_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/30/image_13012025_02_30_03_016004_0003.jpg
/home/pi/Desktop/images/13012025/02/31/image_13012025_02_31_02_689045_0000.jpg
/home/pi/Desktop/images/13012025/02/31/image_13012025_02_31_02_689045_0001.jpg
/home/pi/Desktop/images/13012025/02/31/image_13012025_02_31_02_689045_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328560131","1328560130","1328560133","1328560129"],"photo_ids_order":["1328560129","1328560130","1328560131","1328560133"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d04b17edc42bbe02c81d1e2768535566.jpg","text":"TemporaryFile(/tmp/multipartBody8767758240088496158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731992988,"filename":"image_13012025_02_31_02_689045_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ed6694896a5c3d679229c1a79edf2085.jpg","text":"TemporaryFile(/tmp/multipartBody6976729687345630286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731992988,"filename":"image_13012025_02_31_02_689045_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ec0605e3ec126d0cf78a7782c8bbe1e5.jpg","text":"TemporaryFile(/tmp/multipartBody5782612718307724170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731992988,"filename":"image_13012025_02_31_02_689045_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/68b03a45849c0afc792f3510c178de62.jpg","text":"TemporaryFile(/tmp/multipartBody5657263453609601635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736731992988,"filename":"image_13012025_02_30_03_016004_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328560131","file1":"1328560130","file0":"1328560129","file3":"1328560133"},"map_files_photo_id_array":[{"photo_id":"1328560131","filename":"file2"},{"photo_id":"1328560130","filename":"file1"},{"photo_id":"1328560129","filename":"file0"},{"photo_id":"1328560133","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328560131":["hashtag1","hashtag2"]},{"1328560130":["hashtag1","hashtag2"]},{"1328560133":["hashtag1","hashtag2"]},{"1328560129":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328560131, 1328560130, 1328560133, 1328560129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.60495710372925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:33:02.306693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/31/image_13012025_02_31_02_689045_0003.jpg', '/home/pi/Desktop/images/13012025/02/32/image_13012025_02_32_02_194570_0000.jpg', '/home/pi/Desktop/images/13012025/02/32/image_13012025_02_32_02_194570_0001.jpg', '/home/pi/Desktop/images/13012025/02/32/image_13012025_02_32_02_194570_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/31/image_13012025_02_31_02_689045_0003.jpg
/home/pi/Desktop/images/13012025/02/32/image_13012025_02_32_02_194570_0000.jpg
/home/pi/Desktop/images/13012025/02/32/image_13012025_02_32_02_194570_0001.jpg
/home/pi/Desktop/images/13012025/02/32/image_13012025_02_32_02_194570_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.018456935882568 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:33:21.722479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/31/image_13012025_02_31_02_689045_0003.jpg', '/home/pi/Desktop/images/13012025/02/32/image_13012025_02_32_02_194570_0000.jpg', '/home/pi/Desktop/images/13012025/02/32/image_13012025_02_32_02_194570_0001.jpg', '/home/pi/Desktop/images/13012025/02/32/image_13012025_02_32_02_194570_0002.jpg', '/home/pi/Desktop/images/13012025/02/32/image_13012025_02_32_02_194570_0003.jpg', '/home/pi/Desktop/images/13012025/02/33/image_13012025_02_33_02_791498_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/31/image_13012025_02_31_02_689045_0003.jpg
/home/pi/Desktop/images/13012025/02/32/image_13012025_02_32_02_194570_0000.jpg
/home/pi/Desktop/images/13012025/02/32/image_13012025_02_32_02_194570_0001.jpg
/home/pi/Desktop/images/13012025/02/32/image_13012025_02_32_02_194570_0002.jpg
/home/pi/Desktop/images/13012025/02/32/image_13012025_02_32_02_194570_0003.jpg
/home/pi/Desktop/images/13012025/02/33/image_13012025_02_33_02_791498_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328560204","1328560179","1328560163","1328560166","1328560177","1328560202"],"photo_ids_order":["1328560163","1328560166","1328560177","1328560179","1328560202","1328560204"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/466b10f5b74e8655feec3c45064bd11c.jpg","text":"TemporaryFile(/tmp/multipartBody1315984683506892087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732076962,"filename":"image_13012025_02_33_02_791498_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/087dd70fb2f6c5fa873eceff18cd6352.jpg","text":"TemporaryFile(/tmp/multipartBody1953756842313031873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732076962,"filename":"image_13012025_02_32_02_194570_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6ad05a1a00c801a506f81d9c1424a5b4.jpg","text":"TemporaryFile(/tmp/multipartBody1048792789334442901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732076962,"filename":"image_13012025_02_31_02_689045_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2518d7897731a53306abf6a4226e2db8.jpg","text":"TemporaryFile(/tmp/multipartBody5068373355123225000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732076962,"filename":"image_13012025_02_32_02_194570_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a630ec6beb70ffff53d1e53ed1f407a7.jpg","text":"TemporaryFile(/tmp/multipartBody1107633388654419919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732076962,"filename":"image_13012025_02_32_02_194570_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7fa54ffb52e974f2308a0ab9c5869462.jpg","text":"TemporaryFile(/tmp/multipartBody4427067632533254658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732076962,"filename":"image_13012025_02_32_02_194570_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328560177","file1":"1328560166","file0":"1328560163","file4":"1328560202","file5":"1328560204","file3":"1328560179"},"map_files_photo_id_array":[{"photo_id":"1328560204","filename":"file5"},{"photo_id":"1328560177","filename":"file2"},{"photo_id":"1328560202","filename":"file4"},{"photo_id":"1328560166","filename":"file1"},{"photo_id":"1328560163","filename":"file0"},{"photo_id":"1328560179","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328560204":["hashtag1","hashtag2"]},{"1328560179":["hashtag1","hashtag2"]},{"1328560163":["hashtag1","hashtag2"]},{"1328560166":["hashtag1","hashtag2"]},{"1328560177":["hashtag1","hashtag2"]},{"1328560202":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328560204, 1328560179, 1328560163, 1328560166, 1328560177, 1328560202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.66248440742493 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:34:22.461182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/33/image_13012025_02_33_02_791498_0001.jpg', '/home/pi/Desktop/images/13012025/02/33/image_13012025_02_33_02_791498_0002.jpg', '/home/pi/Desktop/images/13012025/02/33/image_13012025_02_33_02_791498_0003.jpg', '/home/pi/Desktop/images/13012025/02/34/image_13012025_02_34_02_190683_0000.jpg', '/home/pi/Desktop/images/13012025/02/34/image_13012025_02_34_02_190683_0001.jpg', '/home/pi/Desktop/images/13012025/02/34/image_13012025_02_34_02_190683_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/33/image_13012025_02_33_02_791498_0001.jpg
/home/pi/Desktop/images/13012025/02/33/image_13012025_02_33_02_791498_0002.jpg
/home/pi/Desktop/images/13012025/02/33/image_13012025_02_33_02_791498_0003.jpg
/home/pi/Desktop/images/13012025/02/34/image_13012025_02_34_02_190683_0000.jpg
/home/pi/Desktop/images/13012025/02/34/image_13012025_02_34_02_190683_0001.jpg
/home/pi/Desktop/images/13012025/02/34/image_13012025_02_34_02_190683_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328560212","1328560206","1328560215","1328560209","1328560218","1328560220"],"photo_ids_order":["1328560206","1328560209","1328560212","1328560215","1328560218","1328560220"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6ea09c6f4ee28a4127abe575e9d4807d.jpg","text":"TemporaryFile(/tmp/multipartBody6633162548140447114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732137712,"filename":"image_13012025_02_33_02_791498_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ff78a9de6bdc556db22c4e26c310b1e4.jpg","text":"TemporaryFile(/tmp/multipartBody883261639282242041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732137712,"filename":"image_13012025_02_33_02_791498_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0b74e626195dda205ac8ebb07320913e.jpg","text":"TemporaryFile(/tmp/multipartBody6575903446486798567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732137712,"filename":"image_13012025_02_34_02_190683_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/462eaedc91d2fe8b37a9d056fb0b202f.jpg","text":"TemporaryFile(/tmp/multipartBody5026953498860183826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732137712,"filename":"image_13012025_02_33_02_791498_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/baad84ba7e65bdf4f59fcbae262716e5.jpg","text":"TemporaryFile(/tmp/multipartBody3932255045775465463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732137712,"filename":"image_13012025_02_34_02_190683_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a42e7b4a7022ae94164557dd863b9585.jpg","text":"TemporaryFile(/tmp/multipartBody799600399360072852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732137712,"filename":"image_13012025_02_34_02_190683_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328560212","file1":"1328560209","file0":"1328560206","file4":"1328560218","file5":"1328560220","file3":"1328560215"},"map_files_photo_id_array":[{"photo_id":"1328560220","filename":"file5"},{"photo_id":"1328560212","filename":"file2"},{"photo_id":"1328560218","filename":"file4"},{"photo_id":"1328560209","filename":"file1"},{"photo_id":"1328560206","filename":"file0"},{"photo_id":"1328560215","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328560212":["hashtag1","hashtag2"]},{"1328560206":["hashtag1","hashtag2"]},{"1328560215":["hashtag1","hashtag2"]},{"1328560209":["hashtag1","hashtag2"]},{"1328560218":["hashtag1","hashtag2"]},{"1328560220":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328560212, 1328560206, 1328560215, 1328560209, 1328560218, 1328560220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.66945672035217 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:35:21.943208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/34/image_13012025_02_34_02_190683_0003.jpg', '/home/pi/Desktop/images/13012025/02/35/image_13012025_02_35_02_841911_0000.jpg', '/home/pi/Desktop/images/13012025/02/35/image_13012025_02_35_02_841911_0001.jpg', '/home/pi/Desktop/images/13012025/02/35/image_13012025_02_35_02_841911_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/34/image_13012025_02_34_02_190683_0003.jpg
/home/pi/Desktop/images/13012025/02/35/image_13012025_02_35_02_841911_0000.jpg
/home/pi/Desktop/images/13012025/02/35/image_13012025_02_35_02_841911_0001.jpg
/home/pi/Desktop/images/13012025/02/35/image_13012025_02_35_02_841911_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328560353","1328560355","1328560331","1328560310"],"photo_ids_order":["1328560310","1328560331","1328560353","1328560355"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/19b6dc33e657874c545630ae2b669799.jpg","text":"TemporaryFile(/tmp/multipartBody8967000500923865856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732192534,"filename":"image_13012025_02_35_02_841911_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f5ffed8876799db0748d485ec02dfc05.jpg","text":"TemporaryFile(/tmp/multipartBody3113096427023870168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732192534,"filename":"image_13012025_02_35_02_841911_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c4b3341e329b7d20fc0e1158655f95f8.jpg","text":"TemporaryFile(/tmp/multipartBody592320968383176777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732192534,"filename":"image_13012025_02_35_02_841911_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/57d57c1e78027b7e21018473703eeb7b.jpg","text":"TemporaryFile(/tmp/multipartBody3155867525291232828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732192534,"filename":"image_13012025_02_34_02_190683_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328560353","file1":"1328560331","file0":"1328560310","file3":"1328560355"},"map_files_photo_id_array":[{"photo_id":"1328560353","filename":"file2"},{"photo_id":"1328560331","filename":"file1"},{"photo_id":"1328560310","filename":"file0"},{"photo_id":"1328560355","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328560353":["hashtag1","hashtag2"]},{"1328560355":["hashtag1","hashtag2"]},{"1328560331":["hashtag1","hashtag2"]},{"1328560310":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328560353, 1328560355, 1328560331, 1328560310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.34647011756897 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:36:22.605364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/35/image_13012025_02_35_02_841911_0003.jpg', '/home/pi/Desktop/images/13012025/02/36/image_13012025_02_36_02_441529_0000.jpg', '/home/pi/Desktop/images/13012025/02/36/image_13012025_02_36_02_441529_0001.jpg', '/home/pi/Desktop/images/13012025/02/36/image_13012025_02_36_02_441529_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/35/image_13012025_02_35_02_841911_0003.jpg
/home/pi/Desktop/images/13012025/02/36/image_13012025_02_36_02_441529_0000.jpg
/home/pi/Desktop/images/13012025/02/36/image_13012025_02_36_02_441529_0001.jpg
/home/pi/Desktop/images/13012025/02/36/image_13012025_02_36_02_441529_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328560359","1328560370","1328560361","1328560366"],"photo_ids_order":["1328560359","1328560361","1328560366","1328560370"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8d40086429d8bc78be3bdd72105e1ef1.jpg","text":"TemporaryFile(/tmp/multipartBody433311074947533557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732252985,"filename":"image_13012025_02_35_02_841911_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/14dce87393468caf172b903ad3ba84ff.jpg","text":"TemporaryFile(/tmp/multipartBody7205538468692385193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732252985,"filename":"image_13012025_02_36_02_441529_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0cafc492375afb7a377c93070e192816.jpg","text":"TemporaryFile(/tmp/multipartBody2813635925175423948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732252985,"filename":"image_13012025_02_36_02_441529_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/01971f9f4772e4c4d80d3e69d24ba32c.jpg","text":"TemporaryFile(/tmp/multipartBody2762063161195092584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732252985,"filename":"image_13012025_02_36_02_441529_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328560366","file1":"1328560361","file0":"1328560359","file3":"1328560370"},"map_files_photo_id_array":[{"photo_id":"1328560366","filename":"file2"},{"photo_id":"1328560361","filename":"file1"},{"photo_id":"1328560359","filename":"file0"},{"photo_id":"1328560370","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328560359":["hashtag1","hashtag2"]},{"1328560370":["hashtag1","hashtag2"]},{"1328560361":["hashtag1","hashtag2"]},{"1328560366":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328560359, 1328560370, 1328560361, 1328560366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.11876201629639 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:37:21.981971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/36/image_13012025_02_36_02_441529_0003.jpg', '/home/pi/Desktop/images/13012025/02/37/image_13012025_02_37_02_885049_0000.jpg', '/home/pi/Desktop/images/13012025/02/37/image_13012025_02_37_02_885049_0001.jpg', '/home/pi/Desktop/images/13012025/02/37/image_13012025_02_37_02_885049_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/36/image_13012025_02_36_02_441529_0003.jpg
/home/pi/Desktop/images/13012025/02/37/image_13012025_02_37_02_885049_0000.jpg
/home/pi/Desktop/images/13012025/02/37/image_13012025_02_37_02_885049_0001.jpg
/home/pi/Desktop/images/13012025/02/37/image_13012025_02_37_02_885049_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328560392","1328560398","1328560394","1328560396"],"photo_ids_order":["1328560392","1328560394","1328560396","1328560398"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/feb27468dcaf15f3a3aba7bb784c321e.jpg","text":"TemporaryFile(/tmp/multipartBody4506685625236524953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732312236,"filename":"image_13012025_02_36_02_441529_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a84dc9b6916ca8d066f244555b72ee18.jpg","text":"TemporaryFile(/tmp/multipartBody596826916568029287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732312236,"filename":"image_13012025_02_37_02_885049_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/829bed9b335fa17bf73d992b43ddd30c.jpg","text":"TemporaryFile(/tmp/multipartBody3048449280046730613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732312236,"filename":"image_13012025_02_37_02_885049_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cd94d975b90344d95514e3c5aee1806d.jpg","text":"TemporaryFile(/tmp/multipartBody7755065425463197454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732312236,"filename":"image_13012025_02_37_02_885049_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328560396","file1":"1328560394","file0":"1328560392","file3":"1328560398"},"map_files_photo_id_array":[{"photo_id":"1328560396","filename":"file2"},{"photo_id":"1328560394","filename":"file1"},{"photo_id":"1328560392","filename":"file0"},{"photo_id":"1328560398","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328560392":["hashtag1","hashtag2"]},{"1328560398":["hashtag1","hashtag2"]},{"1328560394":["hashtag1","hashtag2"]},{"1328560396":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328560392, 1328560398, 1328560394, 1328560396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.262540102005005 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:38:02.910465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:38:22.525799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/37/image_13012025_02_37_02_885049_0003.jpg', '/home/pi/Desktop/images/13012025/02/38/image_13012025_02_38_02_385316_0000.jpg', '/home/pi/Desktop/images/13012025/02/38/image_13012025_02_38_02_385316_0001.jpg', '/home/pi/Desktop/images/13012025/02/38/image_13012025_02_38_02_385316_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/37/image_13012025_02_37_02_885049_0003.jpg
/home/pi/Desktop/images/13012025/02/38/image_13012025_02_38_02_385316_0000.jpg
/home/pi/Desktop/images/13012025/02/38/image_13012025_02_38_02_385316_0001.jpg
/home/pi/Desktop/images/13012025/02/38/image_13012025_02_38_02_385316_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328560402","1328560410","1328560404","1328560407"],"photo_ids_order":["1328560402","1328560404","1328560407","1328560410"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/77cb5fd785979d6bb233143ee1278f7d.jpg","text":"TemporaryFile(/tmp/multipartBody5246733031511815002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732372762,"filename":"image_13012025_02_37_02_885049_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/53d2e5729cd1093373e04350c76a59f6.jpg","text":"TemporaryFile(/tmp/multipartBody9148527142748561760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732372762,"filename":"image_13012025_02_38_02_385316_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4a30a0fc2e92fe9b7cd6c4224f653c83.jpg","text":"TemporaryFile(/tmp/multipartBody5681300601496571538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732372762,"filename":"image_13012025_02_38_02_385316_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/18efa1930bc644fb3a2454350ed05836.jpg","text":"TemporaryFile(/tmp/multipartBody5570270092426197105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732372762,"filename":"image_13012025_02_38_02_385316_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328560407","file1":"1328560404","file0":"1328560402","file3":"1328560410"},"map_files_photo_id_array":[{"photo_id":"1328560407","filename":"file2"},{"photo_id":"1328560404","filename":"file1"},{"photo_id":"1328560402","filename":"file0"},{"photo_id":"1328560410","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328560402":["hashtag1","hashtag2"]},{"1328560410":["hashtag1","hashtag2"]},{"1328560404":["hashtag1","hashtag2"]},{"1328560407":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328560402, 1328560410, 1328560404, 1328560407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.21835780143738 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:39:21.907846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/38/image_13012025_02_38_02_385316_0003.jpg', '/home/pi/Desktop/images/13012025/02/39/image_13012025_02_39_02_873764_0000.jpg', '/home/pi/Desktop/images/13012025/02/39/image_13012025_02_39_02_873764_0001.jpg', '/home/pi/Desktop/images/13012025/02/39/image_13012025_02_39_02_873764_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/38/image_13012025_02_38_02_385316_0003.jpg
/home/pi/Desktop/images/13012025/02/39/image_13012025_02_39_02_873764_0000.jpg
/home/pi/Desktop/images/13012025/02/39/image_13012025_02_39_02_873764_0001.jpg
/home/pi/Desktop/images/13012025/02/39/image_13012025_02_39_02_873764_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328560417","1328560419","1328560421","1328560424"],"photo_ids_order":["1328560417","1328560419","1328560421","1328560424"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9e397de96f90630344da21ae03536b05.jpg","text":"TemporaryFile(/tmp/multipartBody7998138694629185467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732432390,"filename":"image_13012025_02_38_02_385316_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5066849dcbfb46824e3bc9526037293a.jpg","text":"TemporaryFile(/tmp/multipartBody8565609077858442402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732432390,"filename":"image_13012025_02_39_02_873764_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b7134b94b944bf86469ee52bc9b960a0.jpg","text":"TemporaryFile(/tmp/multipartBody5604533225161383934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732432390,"filename":"image_13012025_02_39_02_873764_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0f14ddb7b5844d8947fcdace96df8b5c.jpg","text":"TemporaryFile(/tmp/multipartBody3844291727755630681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732432390,"filename":"image_13012025_02_39_02_873764_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328560421","file1":"1328560419","file0":"1328560417","file3":"1328560424"},"map_files_photo_id_array":[{"photo_id":"1328560421","filename":"file2"},{"photo_id":"1328560419","filename":"file1"},{"photo_id":"1328560417","filename":"file0"},{"photo_id":"1328560424","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328560417":["hashtag1","hashtag2"]},{"1328560419":["hashtag1","hashtag2"]},{"1328560421":["hashtag1","hashtag2"]},{"1328560424":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328560417, 1328560419, 1328560421, 1328560424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.05870008468628 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:40:02.839011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:40:22.394659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/39/image_13012025_02_39_02_873764_0003.jpg', '/home/pi/Desktop/images/13012025/02/40/image_13012025_02_40_02_325737_0000.jpg', '/home/pi/Desktop/images/13012025/02/40/image_13012025_02_40_02_325737_0001.jpg', '/home/pi/Desktop/images/13012025/02/40/image_13012025_02_40_02_325737_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/39/image_13012025_02_39_02_873764_0003.jpg
/home/pi/Desktop/images/13012025/02/40/image_13012025_02_40_02_325737_0000.jpg
/home/pi/Desktop/images/13012025/02/40/image_13012025_02_40_02_325737_0001.jpg
/home/pi/Desktop/images/13012025/02/40/image_13012025_02_40_02_325737_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.94477105140686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:41:02.430246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/39/image_13012025_02_39_02_873764_0003.jpg', '/home/pi/Desktop/images/13012025/02/40/image_13012025_02_40_02_325737_0000.jpg', '/home/pi/Desktop/images/13012025/02/40/image_13012025_02_40_02_325737_0001.jpg', '/home/pi/Desktop/images/13012025/02/40/image_13012025_02_40_02_325737_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/39/image_13012025_02_39_02_873764_0003.jpg
/home/pi/Desktop/images/13012025/02/40/image_13012025_02_40_02_325737_0000.jpg
/home/pi/Desktop/images/13012025/02/40/image_13012025_02_40_02_325737_0001.jpg
/home/pi/Desktop/images/13012025/02/40/image_13012025_02_40_02_325737_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328560467","1328560470","1328560469","1328560468"],"photo_ids_order":["1328560467","1328560468","1328560469","1328560470"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cd704b31d35bcad6e3bcd8e6d450c967.jpg","text":"TemporaryFile(/tmp/multipartBody5504083246856196446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732532841,"filename":"image_13012025_02_39_02_873764_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e2e5487d8d9f1c2727c9b561050f24d3.jpg","text":"TemporaryFile(/tmp/multipartBody286677867300938298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732532841,"filename":"image_13012025_02_40_02_325737_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5c704a07b5849f0e503e966de82c1733.jpg","text":"TemporaryFile(/tmp/multipartBody1975717490169633929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732532841,"filename":"image_13012025_02_40_02_325737_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/41208aa1954174477420984f46267cc7.jpg","text":"TemporaryFile(/tmp/multipartBody6922235575816656855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732532841,"filename":"image_13012025_02_40_02_325737_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328560469","file1":"1328560468","file0":"1328560467","file3":"1328560470"},"map_files_photo_id_array":[{"photo_id":"1328560469","filename":"file2"},{"photo_id":"1328560468","filename":"file1"},{"photo_id":"1328560467","filename":"file0"},{"photo_id":"1328560470","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328560467":["hashtag1","hashtag2"]},{"1328560470":["hashtag1","hashtag2"]},{"1328560469":["hashtag1","hashtag2"]},{"1328560468":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328560467, 1328560470, 1328560469, 1328560468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.66978359222412 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:42:03.014652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/40/image_13012025_02_40_02_325737_0003.jpg', '/home/pi/Desktop/images/13012025/02/41/image_13012025_02_41_02_774480_0000.jpg', '/home/pi/Desktop/images/13012025/02/41/image_13012025_02_41_02_774480_0001.jpg', '/home/pi/Desktop/images/13012025/02/41/image_13012025_02_41_02_774480_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/40/image_13012025_02_40_02_325737_0003.jpg
/home/pi/Desktop/images/13012025/02/41/image_13012025_02_41_02_774480_0000.jpg
/home/pi/Desktop/images/13012025/02/41/image_13012025_02_41_02_774480_0001.jpg
/home/pi/Desktop/images/13012025/02/41/image_13012025_02_41_02_774480_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.074362516403198 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:42:22.613484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/40/image_13012025_02_40_02_325737_0003.jpg', '/home/pi/Desktop/images/13012025/02/41/image_13012025_02_41_02_774480_0000.jpg', '/home/pi/Desktop/images/13012025/02/41/image_13012025_02_41_02_774480_0001.jpg', '/home/pi/Desktop/images/13012025/02/41/image_13012025_02_41_02_774480_0002.jpg', '/home/pi/Desktop/images/13012025/02/41/image_13012025_02_41_02_774480_0003.jpg', '/home/pi/Desktop/images/13012025/02/42/image_13012025_02_42_02_267785_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/40/image_13012025_02_40_02_325737_0003.jpg
/home/pi/Desktop/images/13012025/02/41/image_13012025_02_41_02_774480_0000.jpg
/home/pi/Desktop/images/13012025/02/41/image_13012025_02_41_02_774480_0001.jpg
/home/pi/Desktop/images/13012025/02/41/image_13012025_02_41_02_774480_0002.jpg
/home/pi/Desktop/images/13012025/02/41/image_13012025_02_41_02_774480_0003.jpg
/home/pi/Desktop/images/13012025/02/42/image_13012025_02_42_02_267785_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328560522","1328560481","1328560493","1328560523","1328560517","1328560519"],"photo_ids_order":["1328560481","1328560493","1328560517","1328560519","1328560522","1328560523"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8f51e224558227e3b3f27f7fbafadcdf.jpg","text":"TemporaryFile(/tmp/multipartBody1830088556933955895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732617858,"filename":"image_13012025_02_41_02_774480_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2b9428f2270c0a0b567b53022bf71fa5.jpg","text":"TemporaryFile(/tmp/multipartBody3472579473771921675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732617858,"filename":"image_13012025_02_40_02_325737_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b165de3b178205afec971aee40ce6cd9.jpg","text":"TemporaryFile(/tmp/multipartBody6771086593787481681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732617858,"filename":"image_13012025_02_41_02_774480_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0fd6ff98d4c5e489ada0309342fd3783.jpg","text":"TemporaryFile(/tmp/multipartBody6406655463509388572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732617858,"filename":"image_13012025_02_42_02_267785_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1f3b50ffaee20036b5de188fdb416af0.jpg","text":"TemporaryFile(/tmp/multipartBody2787883632855184690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732617858,"filename":"image_13012025_02_41_02_774480_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7f4416f6a591b6ba9c45b6903a152c88.jpg","text":"TemporaryFile(/tmp/multipartBody7036483477939779188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732617858,"filename":"image_13012025_02_41_02_774480_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328560517","file1":"1328560493","file0":"1328560481","file4":"1328560522","file5":"1328560523","file3":"1328560519"},"map_files_photo_id_array":[{"photo_id":"1328560523","filename":"file5"},{"photo_id":"1328560517","filename":"file2"},{"photo_id":"1328560522","filename":"file4"},{"photo_id":"1328560493","filename":"file1"},{"photo_id":"1328560481","filename":"file0"},{"photo_id":"1328560519","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328560522":["hashtag1","hashtag2"]},{"1328560481":["hashtag1","hashtag2"]},{"1328560493":["hashtag1","hashtag2"]},{"1328560523":["hashtag1","hashtag2"]},{"1328560517":["hashtag1","hashtag2"]},{"1328560519":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328560522, 1328560481, 1328560493, 1328560523, 1328560517, 1328560519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.48377466201782 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:44:02.818783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/42/image_13012025_02_42_02_267785_0001.jpg', '/home/pi/Desktop/images/13012025/02/42/image_13012025_02_42_02_267785_0002.jpg', '/home/pi/Desktop/images/13012025/02/42/image_13012025_02_42_02_267785_0003.jpg', '/home/pi/Desktop/images/13012025/02/43/image_13012025_02_43_02_847016_0000.jpg', '/home/pi/Desktop/images/13012025/02/43/image_13012025_02_43_02_847016_0001.jpg', '/home/pi/Desktop/images/13012025/02/43/image_13012025_02_43_02_847016_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/42/image_13012025_02_42_02_267785_0001.jpg
/home/pi/Desktop/images/13012025/02/42/image_13012025_02_42_02_267785_0002.jpg
/home/pi/Desktop/images/13012025/02/42/image_13012025_02_42_02_267785_0003.jpg
/home/pi/Desktop/images/13012025/02/43/image_13012025_02_43_02_847016_0000.jpg
/home/pi/Desktop/images/13012025/02/43/image_13012025_02_43_02_847016_0001.jpg
/home/pi/Desktop/images/13012025/02/43/image_13012025_02_43_02_847016_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328560589","1328560533","1328560586","1328560541","1328560543","1328560537"],"photo_ids_order":["1328560533","1328560537","1328560541","1328560543","1328560586","1328560589"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/20fa419ab1f863ac2cc5746816056ff3.jpg","text":"TemporaryFile(/tmp/multipartBody6211834170685785034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732718085,"filename":"image_13012025_02_43_02_847016_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b865fef771b6da5aa4ae640ae24f2130.jpg","text":"TemporaryFile(/tmp/multipartBody412348650737991995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732718085,"filename":"image_13012025_02_42_02_267785_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6775481daa6f76c2d61c54f149dcee38.jpg","text":"TemporaryFile(/tmp/multipartBody5131404864728593032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732718085,"filename":"image_13012025_02_43_02_847016_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/66422cb4f9ea49c44738b823e315bb08.jpg","text":"TemporaryFile(/tmp/multipartBody2558583986024451778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732718085,"filename":"image_13012025_02_42_02_267785_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3f995c4e4b73331143fb8df6cd2287ef.jpg","text":"TemporaryFile(/tmp/multipartBody3464456077284906172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732718085,"filename":"image_13012025_02_43_02_847016_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c3adb72f1fc1e8c2e5cb6603ced8e267.jpg","text":"TemporaryFile(/tmp/multipartBody3112179210770418114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732718085,"filename":"image_13012025_02_42_02_267785_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328560541","file1":"1328560537","file0":"1328560533","file4":"1328560586","file5":"1328560589","file3":"1328560543"},"map_files_photo_id_array":[{"photo_id":"1328560589","filename":"file5"},{"photo_id":"1328560541","filename":"file2"},{"photo_id":"1328560586","filename":"file4"},{"photo_id":"1328560537","filename":"file1"},{"photo_id":"1328560533","filename":"file0"},{"photo_id":"1328560543","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328560589":["hashtag1","hashtag2"]},{"1328560533":["hashtag1","hashtag2"]},{"1328560586":["hashtag1","hashtag2"]},{"1328560541":["hashtag1","hashtag2"]},{"1328560543":["hashtag1","hashtag2"]},{"1328560537":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328560589, 1328560533, 1328560586, 1328560541, 1328560543, 1328560537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.77717971801758 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:45:02.596545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/43/image_13012025_02_43_02_847016_0003.jpg', '/home/pi/Desktop/images/13012025/02/44/image_13012025_02_44_02_410670_0000.jpg', '/home/pi/Desktop/images/13012025/02/44/image_13012025_02_44_02_410670_0001.jpg', '/home/pi/Desktop/images/13012025/02/44/image_13012025_02_44_02_410670_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/43/image_13012025_02_43_02_847016_0003.jpg
/home/pi/Desktop/images/13012025/02/44/image_13012025_02_44_02_410670_0000.jpg
/home/pi/Desktop/images/13012025/02/44/image_13012025_02_44_02_410670_0001.jpg
/home/pi/Desktop/images/13012025/02/44/image_13012025_02_44_02_410670_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328560797","1328560796","1328560798","1328560795"],"photo_ids_order":["1328560795","1328560796","1328560797","1328560798"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8bedefa7802b9025cce58cc43ca7964b.jpg","text":"TemporaryFile(/tmp/multipartBody2427192455699899386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732773053,"filename":"image_13012025_02_44_02_410670_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/75801c7b6807bb23fdb6eac20d2cc36a.jpg","text":"TemporaryFile(/tmp/multipartBody2157333071432738459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732773053,"filename":"image_13012025_02_44_02_410670_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4b11d55a6c5302fe735d28de3bb09169.jpg","text":"TemporaryFile(/tmp/multipartBody5542329712300615524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732773053,"filename":"image_13012025_02_44_02_410670_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/569586c2704bee847bd69ace31a2da0b.jpg","text":"TemporaryFile(/tmp/multipartBody6772054913848728625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732773053,"filename":"image_13012025_02_43_02_847016_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328560797","file1":"1328560796","file0":"1328560795","file3":"1328560798"},"map_files_photo_id_array":[{"photo_id":"1328560797","filename":"file2"},{"photo_id":"1328560796","filename":"file1"},{"photo_id":"1328560795","filename":"file0"},{"photo_id":"1328560798","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328560797":["hashtag1","hashtag2"]},{"1328560796":["hashtag1","hashtag2"]},{"1328560798":["hashtag1","hashtag2"]},{"1328560795":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328560797, 1328560796, 1328560798, 1328560795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.23303699493408 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:46:03.197791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/44/image_13012025_02_44_02_410670_0003.jpg', '/home/pi/Desktop/images/13012025/02/45/image_13012025_02_45_02_925932_0000.jpg', '/home/pi/Desktop/images/13012025/02/45/image_13012025_02_45_02_925932_0001.jpg', '/home/pi/Desktop/images/13012025/02/45/image_13012025_02_45_02_925932_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/44/image_13012025_02_44_02_410670_0003.jpg
/home/pi/Desktop/images/13012025/02/45/image_13012025_02_45_02_925932_0000.jpg
/home/pi/Desktop/images/13012025/02/45/image_13012025_02_45_02_925932_0001.jpg
/home/pi/Desktop/images/13012025/02/45/image_13012025_02_45_02_925932_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.041194915771484 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:46:22.735799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/44/image_13012025_02_44_02_410670_0003.jpg', '/home/pi/Desktop/images/13012025/02/45/image_13012025_02_45_02_925932_0000.jpg', '/home/pi/Desktop/images/13012025/02/45/image_13012025_02_45_02_925932_0001.jpg', '/home/pi/Desktop/images/13012025/02/45/image_13012025_02_45_02_925932_0002.jpg', '/home/pi/Desktop/images/13012025/02/45/image_13012025_02_45_02_925932_0003.jpg', '/home/pi/Desktop/images/13012025/02/46/image_13012025_02_46_02_475636_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/44/image_13012025_02_44_02_410670_0003.jpg
/home/pi/Desktop/images/13012025/02/45/image_13012025_02_45_02_925932_0000.jpg
/home/pi/Desktop/images/13012025/02/45/image_13012025_02_45_02_925932_0001.jpg
/home/pi/Desktop/images/13012025/02/45/image_13012025_02_45_02_925932_0002.jpg
/home/pi/Desktop/images/13012025/02/45/image_13012025_02_45_02_925932_0003.jpg
/home/pi/Desktop/images/13012025/02/46/image_13012025_02_46_02_475636_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328560845","1328560839","1328560841","1328560835","1328560843","1328560837"],"photo_ids_order":["1328560835","1328560837","1328560839","1328560841","1328560843","1328560845"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eb944ec95e3b873cfbc1990f45d545e6.jpg","text":"TemporaryFile(/tmp/multipartBody650230037941655539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732858088,"filename":"image_13012025_02_46_02_475636_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5521e696fcc32fd41f4f3e65a638ef78.jpg","text":"TemporaryFile(/tmp/multipartBody2248810807903336334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732858088,"filename":"image_13012025_02_45_02_925932_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e938a414a55b1348f83c415efc4fea7f.jpg","text":"TemporaryFile(/tmp/multipartBody8585648288385623305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732858088,"filename":"image_13012025_02_45_02_925932_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a3eb1c766397949ffac44a767ccf4240.jpg","text":"TemporaryFile(/tmp/multipartBody3414920252316217378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732858088,"filename":"image_13012025_02_44_02_410670_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7842ac057ace208f964e44531dc064bf.jpg","text":"TemporaryFile(/tmp/multipartBody6221027672477674292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732858088,"filename":"image_13012025_02_45_02_925932_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4d11e9fcdba18983d83a770e2261762f.jpg","text":"TemporaryFile(/tmp/multipartBody6500306864965458471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732858088,"filename":"image_13012025_02_45_02_925932_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328560839","file1":"1328560837","file0":"1328560835","file4":"1328560843","file5":"1328560845","file3":"1328560841"},"map_files_photo_id_array":[{"photo_id":"1328560845","filename":"file5"},{"photo_id":"1328560839","filename":"file2"},{"photo_id":"1328560843","filename":"file4"},{"photo_id":"1328560837","filename":"file1"},{"photo_id":"1328560835","filename":"file0"},{"photo_id":"1328560841","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328560845":["hashtag1","hashtag2"]},{"1328560839":["hashtag1","hashtag2"]},{"1328560841":["hashtag1","hashtag2"]},{"1328560835":["hashtag1","hashtag2"]},{"1328560843":["hashtag1","hashtag2"]},{"1328560837":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328560845, 1328560839, 1328560841, 1328560835, 1328560843, 1328560837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.86143445968628 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:47:22.231913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/46/image_13012025_02_46_02_475636_0001.jpg', '/home/pi/Desktop/images/13012025/02/46/image_13012025_02_46_02_475636_0002.jpg', '/home/pi/Desktop/images/13012025/02/46/image_13012025_02_46_02_475636_0003.jpg', '/home/pi/Desktop/images/13012025/02/47/image_13012025_02_47_03_113610_0000.jpg', '/home/pi/Desktop/images/13012025/02/47/image_13012025_02_47_03_113610_0001.jpg', '/home/pi/Desktop/images/13012025/02/47/image_13012025_02_47_03_113610_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/46/image_13012025_02_46_02_475636_0001.jpg
/home/pi/Desktop/images/13012025/02/46/image_13012025_02_46_02_475636_0002.jpg
/home/pi/Desktop/images/13012025/02/46/image_13012025_02_46_02_475636_0003.jpg
/home/pi/Desktop/images/13012025/02/47/image_13012025_02_47_03_113610_0000.jpg
/home/pi/Desktop/images/13012025/02/47/image_13012025_02_47_03_113610_0001.jpg
/home/pi/Desktop/images/13012025/02/47/image_13012025_02_47_03_113610_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328561232","1328561234","1328561228","1328561162","1328561050","1328561230"],"photo_ids_order":["1328561050","1328561162","1328561228","1328561230","1328561232","1328561234"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/beee4ceef52d2d73c1e16b8d183f5d34.jpg","text":"TemporaryFile(/tmp/multipartBody1330816313103558206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732917415,"filename":"image_13012025_02_47_03_113610_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6535872367a9858c38fab56ab0329d06.jpg","text":"TemporaryFile(/tmp/multipartBody6401073841450073992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732917415,"filename":"image_13012025_02_47_03_113610_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/662add8a81cbb2870d6aa06a9dd99d87.jpg","text":"TemporaryFile(/tmp/multipartBody7020988422799076036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732917415,"filename":"image_13012025_02_46_02_475636_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1412e74767389ca249f483dbbcde069b.jpg","text":"TemporaryFile(/tmp/multipartBody4298518264849284468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732917415,"filename":"image_13012025_02_46_02_475636_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c347a72c4d998e0c942c07e64cd258a2.jpg","text":"TemporaryFile(/tmp/multipartBody4883275118112785074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732917415,"filename":"image_13012025_02_46_02_475636_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d341d0ad68a49eb9d05d59300940f0e6.jpg","text":"TemporaryFile(/tmp/multipartBody8796922975186344432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732917415,"filename":"image_13012025_02_47_03_113610_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328561228","file1":"1328561162","file0":"1328561050","file4":"1328561232","file5":"1328561234","file3":"1328561230"},"map_files_photo_id_array":[{"photo_id":"1328561234","filename":"file5"},{"photo_id":"1328561228","filename":"file2"},{"photo_id":"1328561232","filename":"file4"},{"photo_id":"1328561162","filename":"file1"},{"photo_id":"1328561050","filename":"file0"},{"photo_id":"1328561230","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328561232":["hashtag1","hashtag2"]},{"1328561234":["hashtag1","hashtag2"]},{"1328561228":["hashtag1","hashtag2"]},{"1328561162":["hashtag1","hashtag2"]},{"1328561050":["hashtag1","hashtag2"]},{"1328561230":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328561232, 1328561234, 1328561228, 1328561162, 1328561050, 1328561230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.52666902542114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:48:22.778529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/47/image_13012025_02_47_03_113610_0003.jpg', '/home/pi/Desktop/images/13012025/02/48/image_13012025_02_48_02_614809_0000.jpg', '/home/pi/Desktop/images/13012025/02/48/image_13012025_02_48_02_614809_0001.jpg', '/home/pi/Desktop/images/13012025/02/48/image_13012025_02_48_02_614809_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/47/image_13012025_02_47_03_113610_0003.jpg
/home/pi/Desktop/images/13012025/02/48/image_13012025_02_48_02_614809_0000.jpg
/home/pi/Desktop/images/13012025/02/48/image_13012025_02_48_02_614809_0001.jpg
/home/pi/Desktop/images/13012025/02/48/image_13012025_02_48_02_614809_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328561451","1328561433","1328561429","1328561371"],"photo_ids_order":["1328561371","1328561429","1328561433","1328561451"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/74ace28a99caae2df7a0d148a2cb66ed.jpg","text":"TemporaryFile(/tmp/multipartBody1261298674082971802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732973212,"filename":"image_13012025_02_48_02_614809_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f07ce6ecabce1801a4001144bcded712.jpg","text":"TemporaryFile(/tmp/multipartBody3573756158357417600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732973212,"filename":"image_13012025_02_48_02_614809_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/528ca7baf4801022b8052a763f292d69.jpg","text":"TemporaryFile(/tmp/multipartBody7891601887863919330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732973212,"filename":"image_13012025_02_48_02_614809_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/88a60cda9ba8f59e25f96f8d56b54b50.jpg","text":"TemporaryFile(/tmp/multipartBody4731498384593024346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736732973212,"filename":"image_13012025_02_47_03_113610_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328561433","file1":"1328561429","file0":"1328561371","file3":"1328561451"},"map_files_photo_id_array":[{"photo_id":"1328561433","filename":"file2"},{"photo_id":"1328561429","filename":"file1"},{"photo_id":"1328561371","filename":"file0"},{"photo_id":"1328561451","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328561451":["hashtag1","hashtag2"]},{"1328561433":["hashtag1","hashtag2"]},{"1328561429":["hashtag1","hashtag2"]},{"1328561371":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328561451, 1328561433, 1328561429, 1328561371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.876960039138794 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:49:22.134480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/48/image_13012025_02_48_02_614809_0003.jpg', '/home/pi/Desktop/images/13012025/02/49/image_13012025_02_49_03_073278_0000.jpg', '/home/pi/Desktop/images/13012025/02/49/image_13012025_02_49_03_073278_0001.jpg', '/home/pi/Desktop/images/13012025/02/49/image_13012025_02_49_03_073278_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/48/image_13012025_02_48_02_614809_0003.jpg
/home/pi/Desktop/images/13012025/02/49/image_13012025_02_49_03_073278_0000.jpg
/home/pi/Desktop/images/13012025/02/49/image_13012025_02_49_03_073278_0001.jpg
/home/pi/Desktop/images/13012025/02/49/image_13012025_02_49_03_073278_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328561550","1328561544","1328561546","1328561548"],"photo_ids_order":["1328561544","1328561546","1328561548","1328561550"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6e770c6848fd52b741c4c9019d744e6c.jpg","text":"TemporaryFile(/tmp/multipartBody5157162895392523918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733032428,"filename":"image_13012025_02_49_03_073278_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/59c2449a68afca464cea99d862252ae0.jpg","text":"TemporaryFile(/tmp/multipartBody7049171953075531093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733032428,"filename":"image_13012025_02_48_02_614809_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e4d076912189d7df1bc6493ddb387c49.jpg","text":"TemporaryFile(/tmp/multipartBody5692596075852717033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733032428,"filename":"image_13012025_02_49_03_073278_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/88ddb99b42b1a96ee4fad7c2551cc91f.jpg","text":"TemporaryFile(/tmp/multipartBody4830204487294531224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733032428,"filename":"image_13012025_02_49_03_073278_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328561548","file1":"1328561546","file0":"1328561544","file3":"1328561550"},"map_files_photo_id_array":[{"photo_id":"1328561548","filename":"file2"},{"photo_id":"1328561546","filename":"file1"},{"photo_id":"1328561544","filename":"file0"},{"photo_id":"1328561550","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328561550":["hashtag1","hashtag2"]},{"1328561544":["hashtag1","hashtag2"]},{"1328561546":["hashtag1","hashtag2"]},{"1328561548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328561550, 1328561544, 1328561546, 1328561548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.09132409095764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:50:03.173436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:50:22.697130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/49/image_13012025_02_49_03_073278_0003.jpg', '/home/pi/Desktop/images/13012025/02/50/image_13012025_02_50_02_559930_0000.jpg', '/home/pi/Desktop/images/13012025/02/50/image_13012025_02_50_02_559930_0001.jpg', '/home/pi/Desktop/images/13012025/02/50/image_13012025_02_50_02_559930_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/49/image_13012025_02_49_03_073278_0003.jpg
/home/pi/Desktop/images/13012025/02/50/image_13012025_02_50_02_559930_0000.jpg
/home/pi/Desktop/images/13012025/02/50/image_13012025_02_50_02_559930_0001.jpg
/home/pi/Desktop/images/13012025/02/50/image_13012025_02_50_02_559930_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328561559","1328561556","1328561554","1328561583"],"photo_ids_order":["1328561554","1328561556","1328561559","1328561583"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bacab58f9c074452b5f05e75d9972977.jpg","text":"TemporaryFile(/tmp/multipartBody24168260610784489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733092968,"filename":"image_13012025_02_50_02_559930_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f30e55c5aab7a0f60b3ed71a2caa68f6.jpg","text":"TemporaryFile(/tmp/multipartBody4145240451861109627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733092968,"filename":"image_13012025_02_50_02_559930_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/953d79dece96e3dbbd957086288dfaa0.jpg","text":"TemporaryFile(/tmp/multipartBody1748001591689025031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733092968,"filename":"image_13012025_02_49_03_073278_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1b53c6b756ca1ab5ad3d8f7622d3e2e5.jpg","text":"TemporaryFile(/tmp/multipartBody2978222910462998945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733092968,"filename":"image_13012025_02_50_02_559930_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328561559","file1":"1328561556","file0":"1328561554","file3":"1328561583"},"map_files_photo_id_array":[{"photo_id":"1328561559","filename":"file2"},{"photo_id":"1328561556","filename":"file1"},{"photo_id":"1328561554","filename":"file0"},{"photo_id":"1328561583","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328561559":["hashtag1","hashtag2"]},{"1328561556":["hashtag1","hashtag2"]},{"1328561554":["hashtag1","hashtag2"]},{"1328561583":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328561559, 1328561556, 1328561554, 1328561583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.6266713142395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:51:22.225430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/50/image_13012025_02_50_02_559930_0003.jpg', '/home/pi/Desktop/images/13012025/02/51/image_13012025_02_51_03_127751_0000.jpg', '/home/pi/Desktop/images/13012025/02/51/image_13012025_02_51_03_127751_0001.jpg', '/home/pi/Desktop/images/13012025/02/51/image_13012025_02_51_03_127751_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/50/image_13012025_02_50_02_559930_0003.jpg
/home/pi/Desktop/images/13012025/02/51/image_13012025_02_51_03_127751_0000.jpg
/home/pi/Desktop/images/13012025/02/51/image_13012025_02_51_03_127751_0001.jpg
/home/pi/Desktop/images/13012025/02/51/image_13012025_02_51_03_127751_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328561825","1328561810","1328561812","1328561815"],"photo_ids_order":["1328561810","1328561812","1328561815","1328561825"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/22fa5723089d46f075727207491daa60.jpg","text":"TemporaryFile(/tmp/multipartBody2136138446913571789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733152687,"filename":"image_13012025_02_51_03_127751_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0c3c712e5d087ee87e37c9ce8d88c1a3.jpg","text":"TemporaryFile(/tmp/multipartBody3082558728760788386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733152687,"filename":"image_13012025_02_50_02_559930_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a299ebcc14fd842826afee604c314811.jpg","text":"TemporaryFile(/tmp/multipartBody4325645890783282082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733152687,"filename":"image_13012025_02_51_03_127751_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/159c3909fc8e470e73c0290b446d9720.jpg","text":"TemporaryFile(/tmp/multipartBody8239241171152456792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733152687,"filename":"image_13012025_02_51_03_127751_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328561815","file1":"1328561812","file0":"1328561810","file3":"1328561825"},"map_files_photo_id_array":[{"photo_id":"1328561815","filename":"file2"},{"photo_id":"1328561812","filename":"file1"},{"photo_id":"1328561810","filename":"file0"},{"photo_id":"1328561825","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328561825":["hashtag1","hashtag2"]},{"1328561810":["hashtag1","hashtag2"]},{"1328561812":["hashtag1","hashtag2"]},{"1328561815":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328561825, 1328561810, 1328561812, 1328561815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.14149522781372 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:52:21.879716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/51/image_13012025_02_51_03_127751_0003.jpg', '/home/pi/Desktop/images/13012025/02/52/image_13012025_02_52_02_694997_0000.jpg', '/home/pi/Desktop/images/13012025/02/52/image_13012025_02_52_02_694997_0001.jpg', '/home/pi/Desktop/images/13012025/02/52/image_13012025_02_52_02_694997_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/51/image_13012025_02_51_03_127751_0003.jpg
/home/pi/Desktop/images/13012025/02/52/image_13012025_02_52_02_694997_0000.jpg
/home/pi/Desktop/images/13012025/02/52/image_13012025_02_52_02_694997_0001.jpg
/home/pi/Desktop/images/13012025/02/52/image_13012025_02_52_02_694997_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.77912974357605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:53:02.950214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/51/image_13012025_02_51_03_127751_0003.jpg', '/home/pi/Desktop/images/13012025/02/52/image_13012025_02_52_02_694997_0000.jpg', '/home/pi/Desktop/images/13012025/02/52/image_13012025_02_52_02_694997_0001.jpg', '/home/pi/Desktop/images/13012025/02/52/image_13012025_02_52_02_694997_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/51/image_13012025_02_51_03_127751_0003.jpg
/home/pi/Desktop/images/13012025/02/52/image_13012025_02_52_02_694997_0000.jpg
/home/pi/Desktop/images/13012025/02/52/image_13012025_02_52_02_694997_0001.jpg
/home/pi/Desktop/images/13012025/02/52/image_13012025_02_52_02_694997_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328561955","1328561954","1328561957","1328561956"],"photo_ids_order":["1328561954","1328561955","1328561956","1328561957"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2000a6419c2e063307833f94b1db1440.jpg","text":"TemporaryFile(/tmp/multipartBody4158174271293113710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733253200,"filename":"image_13012025_02_52_02_694997_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b237591e2ad7e6ee37dd74044ec44871.jpg","text":"TemporaryFile(/tmp/multipartBody6533327926605714967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733253200,"filename":"image_13012025_02_51_03_127751_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7bb8508854e57127c07e6ad21da4c698.jpg","text":"TemporaryFile(/tmp/multipartBody5290193277246697255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733253200,"filename":"image_13012025_02_52_02_694997_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/09ea09495d1489196549d0692d25d68c.jpg","text":"TemporaryFile(/tmp/multipartBody5343843320428381369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733253200,"filename":"image_13012025_02_52_02_694997_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328561956","file1":"1328561955","file0":"1328561954","file3":"1328561957"},"map_files_photo_id_array":[{"photo_id":"1328561956","filename":"file2"},{"photo_id":"1328561955","filename":"file1"},{"photo_id":"1328561954","filename":"file0"},{"photo_id":"1328561957","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328561955":["hashtag1","hashtag2"]},{"1328561954":["hashtag1","hashtag2"]},{"1328561957":["hashtag1","hashtag2"]},{"1328561956":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328561955, 1328561954, 1328561957, 1328561956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.60276985168457 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:54:02.441901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/52/image_13012025_02_52_02_694997_0003.jpg', '/home/pi/Desktop/images/13012025/02/53/image_13012025_02_53_02_195966_0000.jpg', '/home/pi/Desktop/images/13012025/02/53/image_13012025_02_53_02_195966_0001.jpg', '/home/pi/Desktop/images/13012025/02/53/image_13012025_02_53_02_195966_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/52/image_13012025_02_52_02_694997_0003.jpg
/home/pi/Desktop/images/13012025/02/53/image_13012025_02_53_02_195966_0000.jpg
/home/pi/Desktop/images/13012025/02/53/image_13012025_02_53_02_195966_0001.jpg
/home/pi/Desktop/images/13012025/02/53/image_13012025_02_53_02_195966_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.964124917984009 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:54:22.038512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/52/image_13012025_02_52_02_694997_0003.jpg', '/home/pi/Desktop/images/13012025/02/53/image_13012025_02_53_02_195966_0000.jpg', '/home/pi/Desktop/images/13012025/02/53/image_13012025_02_53_02_195966_0001.jpg', '/home/pi/Desktop/images/13012025/02/53/image_13012025_02_53_02_195966_0002.jpg', '/home/pi/Desktop/images/13012025/02/53/image_13012025_02_53_02_195966_0003.jpg', '/home/pi/Desktop/images/13012025/02/54/image_13012025_02_54_02_694475_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/52/image_13012025_02_52_02_694997_0003.jpg
/home/pi/Desktop/images/13012025/02/53/image_13012025_02_53_02_195966_0000.jpg
/home/pi/Desktop/images/13012025/02/53/image_13012025_02_53_02_195966_0001.jpg
/home/pi/Desktop/images/13012025/02/53/image_13012025_02_53_02_195966_0002.jpg
/home/pi/Desktop/images/13012025/02/53/image_13012025_02_53_02_195966_0003.jpg
/home/pi/Desktop/images/13012025/02/54/image_13012025_02_54_02_694475_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328562003","1328561999","1328561983","1328562001","1328561997","1328561970"],"photo_ids_order":["1328561970","1328561983","1328561997","1328561999","1328562001","1328562003"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3b443e623519baf6a58520bb65178a80.jpg","text":"TemporaryFile(/tmp/multipartBody7881831045576720913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733337117,"filename":"image_13012025_02_54_02_694475_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4997997d7d2dcd6233d6210e2a4b7307.jpg","text":"TemporaryFile(/tmp/multipartBody5655374755983195678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733337117,"filename":"image_13012025_02_53_02_195966_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a938f50143c71f1bdf3f0e9ee4e40e09.jpg","text":"TemporaryFile(/tmp/multipartBody5285931357141594311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733337117,"filename":"image_13012025_02_53_02_195966_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cc9056995b59f03ed7b52cf6d08739fa.jpg","text":"TemporaryFile(/tmp/multipartBody8362277513975956411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733337117,"filename":"image_13012025_02_53_02_195966_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ecd283300706c48ca5bb3b70a5338046.jpg","text":"TemporaryFile(/tmp/multipartBody4137794940531113079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733337117,"filename":"image_13012025_02_53_02_195966_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/937d92af90350a1b1426bef44f61d1e0.jpg","text":"TemporaryFile(/tmp/multipartBody7332249645650778726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733337117,"filename":"image_13012025_02_52_02_694997_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328561997","file1":"1328561983","file0":"1328561970","file4":"1328562001","file5":"1328562003","file3":"1328561999"},"map_files_photo_id_array":[{"photo_id":"1328562003","filename":"file5"},{"photo_id":"1328561997","filename":"file2"},{"photo_id":"1328562001","filename":"file4"},{"photo_id":"1328561983","filename":"file1"},{"photo_id":"1328561970","filename":"file0"},{"photo_id":"1328561999","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328562003":["hashtag1","hashtag2"]},{"1328561999":["hashtag1","hashtag2"]},{"1328561983":["hashtag1","hashtag2"]},{"1328562001":["hashtag1","hashtag2"]},{"1328561997":["hashtag1","hashtag2"]},{"1328561970":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328562003, 1328561999, 1328561983, 1328562001, 1328561997, 1328561970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.07401990890503 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:55:22.530105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/54/image_13012025_02_54_02_694475_0001.jpg', '/home/pi/Desktop/images/13012025/02/54/image_13012025_02_54_02_694475_0002.jpg', '/home/pi/Desktop/images/13012025/02/55/image_13012025_02_55_02_423103_0000.jpg', '/home/pi/Desktop/images/13012025/02/55/image_13012025_02_55_02_423103_0001.jpg', '/home/pi/Desktop/images/13012025/02/55/image_13012025_02_55_02_423103_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/54/image_13012025_02_54_02_694475_0001.jpg
/home/pi/Desktop/images/13012025/02/54/image_13012025_02_54_02_694475_0002.jpg
/home/pi/Desktop/images/13012025/02/55/image_13012025_02_55_02_423103_0000.jpg
/home/pi/Desktop/images/13012025/02/55/image_13012025_02_55_02_423103_0001.jpg
/home/pi/Desktop/images/13012025/02/55/image_13012025_02_55_02_423103_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328562009","1328562011","1328562005","1328562013","1328562007"],"photo_ids_order":["1328562005","1328562007","1328562009","1328562011","1328562013"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eb496377a4644d40dd8560ff832faf04.jpg","text":"TemporaryFile(/tmp/multipartBody1858709349114237767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733395178,"filename":"image_13012025_02_55_02_423103_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2b710f1737ca5c516a800a8161139042.jpg","text":"TemporaryFile(/tmp/multipartBody8804576579767415426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733395178,"filename":"image_13012025_02_55_02_423103_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3d253a8d0c2767adb1de3bb28d19fff2.jpg","text":"TemporaryFile(/tmp/multipartBody4086862222572198295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733395178,"filename":"image_13012025_02_54_02_694475_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6195bbc03343408c4e1d767a2e9138fb.jpg","text":"TemporaryFile(/tmp/multipartBody8358377070658795615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733395178,"filename":"image_13012025_02_55_02_423103_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a66744952d8862570943ca4f8537b385.jpg","text":"TemporaryFile(/tmp/multipartBody8526692886801554337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733395178,"filename":"image_13012025_02_54_02_694475_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328562009","file1":"1328562007","file0":"1328562005","file4":"1328562013","file3":"1328562011"},"map_files_photo_id_array":[{"photo_id":"1328562009","filename":"file2"},{"photo_id":"1328562013","filename":"file4"},{"photo_id":"1328562007","filename":"file1"},{"photo_id":"1328562005","filename":"file0"},{"photo_id":"1328562011","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328562009":["hashtag1","hashtag2"]},{"1328562011":["hashtag1","hashtag2"]},{"1328562005":["hashtag1","hashtag2"]},{"1328562013":["hashtag1","hashtag2"]},{"1328562007":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328562009, 1328562011, 1328562005, 1328562013, 1328562007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 49.03869009017944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:56:22.184654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/55/image_13012025_02_55_02_423103_0003.jpg', '/home/pi/Desktop/images/13012025/02/56/image_13012025_02_56_02_953729_0000.jpg', '/home/pi/Desktop/images/13012025/02/56/image_13012025_02_56_02_953729_0001.jpg', '/home/pi/Desktop/images/13012025/02/56/image_13012025_02_56_02_953729_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/55/image_13012025_02_55_02_423103_0003.jpg
/home/pi/Desktop/images/13012025/02/56/image_13012025_02_56_02_953729_0000.jpg
/home/pi/Desktop/images/13012025/02/56/image_13012025_02_56_02_953729_0001.jpg
/home/pi/Desktop/images/13012025/02/56/image_13012025_02_56_02_953729_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328562020","1328562023","1328562017","1328562015"],"photo_ids_order":["1328562015","1328562017","1328562020","1328562023"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f91b654ec15a41989ba1920855c9e461.jpg","text":"TemporaryFile(/tmp/multipartBody7637886656199276900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733452522,"filename":"image_13012025_02_56_02_953729_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/53751db2529914811a28c47560158914.jpg","text":"TemporaryFile(/tmp/multipartBody5773416797821105077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733452522,"filename":"image_13012025_02_56_02_953729_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0898701a323708061114616a3aa65492.jpg","text":"TemporaryFile(/tmp/multipartBody4891657977611040548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733452522,"filename":"image_13012025_02_56_02_953729_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/79250c885db79865cae9d824a5a4c39d.jpg","text":"TemporaryFile(/tmp/multipartBody2735419843806496042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733452522,"filename":"image_13012025_02_55_02_423103_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328562020","file1":"1328562017","file0":"1328562015","file3":"1328562023"},"map_files_photo_id_array":[{"photo_id":"1328562020","filename":"file2"},{"photo_id":"1328562017","filename":"file1"},{"photo_id":"1328562015","filename":"file0"},{"photo_id":"1328562023","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328562020":["hashtag1","hashtag2"]},{"1328562023":["hashtag1","hashtag2"]},{"1328562017":["hashtag1","hashtag2"]},{"1328562015":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328562020, 1328562023, 1328562017, 1328562015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.60191082954407 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 02:57:22.666658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/56/image_13012025_02_56_02_953729_0003.jpg', '/home/pi/Desktop/images/13012025/02/57/image_13012025_02_57_02_529487_0000.jpg', '/home/pi/Desktop/images/13012025/02/57/image_13012025_02_57_02_529487_0001.jpg', '/home/pi/Desktop/images/13012025/02/57/image_13012025_02_57_02_529487_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/56/image_13012025_02_56_02_953729_0003.jpg
/home/pi/Desktop/images/13012025/02/57/image_13012025_02_57_02_529487_0000.jpg
/home/pi/Desktop/images/13012025/02/57/image_13012025_02_57_02_529487_0001.jpg
/home/pi/Desktop/images/13012025/02/57/image_13012025_02_57_02_529487_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328562044","1328562046","1328562040","1328562042"],"photo_ids_order":["1328562040","1328562042","1328562044","1328562046"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ef00f2b685df3ae282d21aa8c00dd4ef.jpg","text":"TemporaryFile(/tmp/multipartBody3135162632429577312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733513037,"filename":"image_13012025_02_57_02_529487_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8689fe30c23e966577d7c2af8b770993.jpg","text":"TemporaryFile(/tmp/multipartBody6804476035879900764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733513037,"filename":"image_13012025_02_57_02_529487_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d1fa04b5f6f0a4f91d5172f04494f160.jpg","text":"TemporaryFile(/tmp/multipartBody5942056308393985649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733513037,"filename":"image_13012025_02_56_02_953729_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/442bf64037dad1e3167aa240a6a98560.jpg","text":"TemporaryFile(/tmp/multipartBody4316077235657520638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733513037,"filename":"image_13012025_02_57_02_529487_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328562044","file1":"1328562042","file0":"1328562040","file3":"1328562046"},"map_files_photo_id_array":[{"photo_id":"1328562044","filename":"file2"},{"photo_id":"1328562042","filename":"file1"},{"photo_id":"1328562040","filename":"file0"},{"photo_id":"1328562046","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328562044":["hashtag1","hashtag2"]},{"1328562046":["hashtag1","hashtag2"]},{"1328562040":["hashtag1","hashtag2"]},{"1328562042":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328562044, 1328562046, 1328562040, 1328562042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.70389175415039 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 02:59:02.952468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/57/image_13012025_02_57_02_529487_0003.jpg', '/home/pi/Desktop/images/13012025/02/58/image_13012025_02_58_03_027881_0000.jpg', '/home/pi/Desktop/images/13012025/02/58/image_13012025_02_58_03_027881_0001.jpg', '/home/pi/Desktop/images/13012025/02/58/image_13012025_02_58_03_027881_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/57/image_13012025_02_57_02_529487_0003.jpg
/home/pi/Desktop/images/13012025/02/58/image_13012025_02_58_03_027881_0000.jpg
/home/pi/Desktop/images/13012025/02/58/image_13012025_02_58_03_027881_0001.jpg
/home/pi/Desktop/images/13012025/02/58/image_13012025_02_58_03_027881_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328562686","1328562668","1328562557","1328562564"],"photo_ids_order":["1328562557","1328562564","1328562668","1328562686"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/42b9c3e77cb88218c100d5a551cbc152.jpg","text":"TemporaryFile(/tmp/multipartBody2856419386994470981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733613217,"filename":"image_13012025_02_58_03_027881_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5ea2e116e3b15a688ab340f9037162dd.jpg","text":"TemporaryFile(/tmp/multipartBody2127548709030798409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733613217,"filename":"image_13012025_02_58_03_027881_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/09ff53da6f05c0b31cb4cf43e8e34dfd.jpg","text":"TemporaryFile(/tmp/multipartBody2736134228498971845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733613217,"filename":"image_13012025_02_57_02_529487_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ef75fce5af4a66f2fc0a4ba5ff889f24.jpg","text":"TemporaryFile(/tmp/multipartBody414292390797052965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733613217,"filename":"image_13012025_02_58_03_027881_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328562668","file1":"1328562564","file0":"1328562557","file3":"1328562686"},"map_files_photo_id_array":[{"photo_id":"1328562668","filename":"file2"},{"photo_id":"1328562564","filename":"file1"},{"photo_id":"1328562557","filename":"file0"},{"photo_id":"1328562686","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328562686":["hashtag1","hashtag2"]},{"1328562668":["hashtag1","hashtag2"]},{"1328562557":["hashtag1","hashtag2"]},{"1328562564":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328562686, 1328562668, 1328562557, 1328562564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.87342810630798 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:00:02.458058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/58/image_13012025_02_58_03_027881_0003.jpg', '/home/pi/Desktop/images/13012025/02/59/image_13012025_02_59_02_540268_0000.jpg', '/home/pi/Desktop/images/13012025/02/59/image_13012025_02_59_02_540268_0001.jpg', '/home/pi/Desktop/images/13012025/02/59/image_13012025_02_59_02_540268_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/58/image_13012025_02_58_03_027881_0003.jpg
/home/pi/Desktop/images/13012025/02/59/image_13012025_02_59_02_540268_0000.jpg
/home/pi/Desktop/images/13012025/02/59/image_13012025_02_59_02_540268_0001.jpg
/home/pi/Desktop/images/13012025/02/59/image_13012025_02_59_02_540268_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328562713","1328562716","1328562710","1328562706"],"photo_ids_order":["1328562706","1328562710","1328562713","1328562716"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e391f2853c077a8fdf895efc7f749922.jpg","text":"TemporaryFile(/tmp/multipartBody3257903423774792474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733672844,"filename":"image_13012025_02_59_02_540268_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1f3e6a28c9ec9bd9cc115c8d065e2e5f.jpg","text":"TemporaryFile(/tmp/multipartBody7397138338369899436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733672844,"filename":"image_13012025_02_59_02_540268_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8f5daf7483bb8477240ae36750081269.jpg","text":"TemporaryFile(/tmp/multipartBody8602913759799566603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733672844,"filename":"image_13012025_02_59_02_540268_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/485a6425c04a9515d1c5d4fc3e918c15.jpg","text":"TemporaryFile(/tmp/multipartBody8565960421421899393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733672844,"filename":"image_13012025_02_58_03_027881_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328562713","file1":"1328562710","file0":"1328562706","file3":"1328562716"},"map_files_photo_id_array":[{"photo_id":"1328562713","filename":"file2"},{"photo_id":"1328562710","filename":"file1"},{"photo_id":"1328562706","filename":"file0"},{"photo_id":"1328562716","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328562713":["hashtag1","hashtag2"]},{"1328562716":["hashtag1","hashtag2"]},{"1328562710":["hashtag1","hashtag2"]},{"1328562706":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328562713, 1328562716, 1328562710, 1328562706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.805980920791626 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:01:02.969293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/59/image_13012025_02_59_02_540268_0003.jpg', '/home/pi/Desktop/images/13012025/03/00/image_13012025_03_00_02_768636_0000.jpg', '/home/pi/Desktop/images/13012025/03/00/image_13012025_03_00_02_768636_0001.jpg', '/home/pi/Desktop/images/13012025/03/00/image_13012025_03_00_02_768636_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/02/59/image_13012025_02_59_02_540268_0003.jpg
/home/pi/Desktop/images/13012025/03/00/image_13012025_03_00_02_768636_0000.jpg
/home/pi/Desktop/images/13012025/03/00/image_13012025_03_00_02_768636_0001.jpg
/home/pi/Desktop/images/13012025/03/00/image_13012025_03_00_02_768636_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328562887","1328562959","1328562883","1328563092"],"photo_ids_order":["1328562883","1328562887","1328562959","1328563092"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8c9e059ad0f0e77013f12b6d7d3aa03a.jpg","text":"TemporaryFile(/tmp/multipartBody670233162532513255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733733499,"filename":"image_13012025_03_00_02_768636_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/14a2ecbe1812de143ed0b74d3d60b77e.jpg","text":"TemporaryFile(/tmp/multipartBody2932390690130574296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733733499,"filename":"image_13012025_03_00_02_768636_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bcb18b95dfd5e31014c920f0052a4253.jpg","text":"TemporaryFile(/tmp/multipartBody7893292210998776538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733733499,"filename":"image_13012025_02_59_02_540268_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/69bc417a3492fea8291de029ae1b7e7a.jpg","text":"TemporaryFile(/tmp/multipartBody5522762500475044711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733733499,"filename":"image_13012025_03_00_02_768636_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328562959","file1":"1328562887","file0":"1328562883","file3":"1328563092"},"map_files_photo_id_array":[{"photo_id":"1328562959","filename":"file2"},{"photo_id":"1328562887","filename":"file1"},{"photo_id":"1328562883","filename":"file0"},{"photo_id":"1328563092","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328562887":["hashtag1","hashtag2"]},{"1328562959":["hashtag1","hashtag2"]},{"1328562883":["hashtag1","hashtag2"]},{"1328563092":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328562887, 1328562959, 1328562883, 1328563092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.21316909790039 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:02:02.446344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/00/image_13012025_03_00_02_768636_0003.jpg', '/home/pi/Desktop/images/13012025/03/01/image_13012025_03_01_02_334256_0000.jpg', '/home/pi/Desktop/images/13012025/03/01/image_13012025_03_01_02_334256_0001.jpg', '/home/pi/Desktop/images/13012025/03/01/image_13012025_03_01_02_334256_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/00/image_13012025_03_00_02_768636_0003.jpg
/home/pi/Desktop/images/13012025/03/01/image_13012025_03_01_02_334256_0000.jpg
/home/pi/Desktop/images/13012025/03/01/image_13012025_03_01_02_334256_0001.jpg
/home/pi/Desktop/images/13012025/03/01/image_13012025_03_01_02_334256_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328564466","1328563950","1328564468","1328564198"],"photo_ids_order":["1328563950","1328564198","1328564466","1328564468"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/33704f7de83e07a6e05c56c4b708c4df.jpg","text":"TemporaryFile(/tmp/multipartBody1727161488365397502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733792857,"filename":"image_13012025_03_01_02_334256_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a61d76a1f2e614eb1d9d57d36bfd52b3.jpg","text":"TemporaryFile(/tmp/multipartBody393384620400796034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733792857,"filename":"image_13012025_03_00_02_768636_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c84a9cfe84b8675d4e5a93465a417e86.jpg","text":"TemporaryFile(/tmp/multipartBody323472096532480233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733792857,"filename":"image_13012025_03_01_02_334256_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3766f9bf09e7c2e96f24746fd55c0b4b.jpg","text":"TemporaryFile(/tmp/multipartBody6598734486536791782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733792857,"filename":"image_13012025_03_01_02_334256_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328564466","file1":"1328564198","file0":"1328563950","file3":"1328564468"},"map_files_photo_id_array":[{"photo_id":"1328564466","filename":"file2"},{"photo_id":"1328564198","filename":"file1"},{"photo_id":"1328563950","filename":"file0"},{"photo_id":"1328564468","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328564466":["hashtag1","hashtag2"]},{"1328563950":["hashtag1","hashtag2"]},{"1328564468":["hashtag1","hashtag2"]},{"1328564198":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328564466, 1328563950, 1328564468, 1328564198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.55795741081238 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:03:03.289667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/01/image_13012025_03_01_02_334256_0003.jpg', '/home/pi/Desktop/images/13012025/03/02/image_13012025_03_02_02_842356_0000.jpg', '/home/pi/Desktop/images/13012025/03/02/image_13012025_03_02_02_842356_0001.jpg', '/home/pi/Desktop/images/13012025/03/02/image_13012025_03_02_02_842356_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/01/image_13012025_03_01_02_334256_0003.jpg
/home/pi/Desktop/images/13012025/03/02/image_13012025_03_02_02_842356_0000.jpg
/home/pi/Desktop/images/13012025/03/02/image_13012025_03_02_02_842356_0001.jpg
/home/pi/Desktop/images/13012025/03/02/image_13012025_03_02_02_842356_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328565037","1328564708","1328564994","1328564894"],"photo_ids_order":["1328564708","1328564894","1328564994","1328565037"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/beaedf75dadef37f74fbf6ee1b90be4a.jpg","text":"TemporaryFile(/tmp/multipartBody5225834908350930594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733853748,"filename":"image_13012025_03_02_02_842356_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6797709f1a9f8777ff6da2af9fac9371.jpg","text":"TemporaryFile(/tmp/multipartBody2040819373652916389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733853748,"filename":"image_13012025_03_01_02_334256_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fc3b9a2e6cae058d7a97c1d16c0f3d07.jpg","text":"TemporaryFile(/tmp/multipartBody8626296018124172372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733853748,"filename":"image_13012025_03_02_02_842356_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/80e431296ac993dc54fab6196193328f.jpg","text":"TemporaryFile(/tmp/multipartBody5973346721219497772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733853748,"filename":"image_13012025_03_02_02_842356_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328564994","file1":"1328564894","file0":"1328564708","file3":"1328565037"},"map_files_photo_id_array":[{"photo_id":"1328564994","filename":"file2"},{"photo_id":"1328564894","filename":"file1"},{"photo_id":"1328564708","filename":"file0"},{"photo_id":"1328565037","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328565037":["hashtag1","hashtag2"]},{"1328564708":["hashtag1","hashtag2"]},{"1328564994":["hashtag1","hashtag2"]},{"1328564894":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328565037, 1328564708, 1328564994, 1328564894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.21666145324707 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:04:02.734886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/02/image_13012025_03_02_02_842356_0003.jpg', '/home/pi/Desktop/images/13012025/03/03/image_13012025_03_03_02_528009_0000.jpg', '/home/pi/Desktop/images/13012025/03/03/image_13012025_03_03_02_528009_0001.jpg', '/home/pi/Desktop/images/13012025/03/03/image_13012025_03_03_02_528009_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/02/image_13012025_03_02_02_842356_0003.jpg
/home/pi/Desktop/images/13012025/03/03/image_13012025_03_03_02_528009_0000.jpg
/home/pi/Desktop/images/13012025/03/03/image_13012025_03_03_02_528009_0001.jpg
/home/pi/Desktop/images/13012025/03/03/image_13012025_03_03_02_528009_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328565186","1328565188","1328565190","1328565187"],"photo_ids_order":["1328565186","1328565187","1328565188","1328565190"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0c6b5c3b0b17dc9d7c6a8c57e914ca6e.jpg","text":"TemporaryFile(/tmp/multipartBody5313709420678209820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733913069,"filename":"image_13012025_03_02_02_842356_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c70363025968ba689b23a421a9274b4e.jpg","text":"TemporaryFile(/tmp/multipartBody6209751085358824672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733913069,"filename":"image_13012025_03_03_02_528009_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1dab32aa0e000ee797fbec488753ebf9.jpg","text":"TemporaryFile(/tmp/multipartBody6057810957183625021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733913069,"filename":"image_13012025_03_03_02_528009_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1c3729b5dbf5548e79d7608c477e93f2.jpg","text":"TemporaryFile(/tmp/multipartBody6146370082998361556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733913069,"filename":"image_13012025_03_03_02_528009_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328565188","file1":"1328565187","file0":"1328565186","file3":"1328565190"},"map_files_photo_id_array":[{"photo_id":"1328565188","filename":"file2"},{"photo_id":"1328565187","filename":"file1"},{"photo_id":"1328565186","filename":"file0"},{"photo_id":"1328565190","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328565186":["hashtag1","hashtag2"]},{"1328565188":["hashtag1","hashtag2"]},{"1328565190":["hashtag1","hashtag2"]},{"1328565187":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328565186, 1328565188, 1328565190, 1328565187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.36175012588501 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:05:02.483350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/03/image_13012025_03_03_02_528009_0003.jpg', '/home/pi/Desktop/images/13012025/03/04/image_13012025_03_04_03_061112_0000.jpg', '/home/pi/Desktop/images/13012025/03/04/image_13012025_03_04_03_061112_0001.jpg', '/home/pi/Desktop/images/13012025/03/04/image_13012025_03_04_03_061112_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/03/image_13012025_03_03_02_528009_0003.jpg
/home/pi/Desktop/images/13012025/03/04/image_13012025_03_04_03_061112_0000.jpg
/home/pi/Desktop/images/13012025/03/04/image_13012025_03_04_03_061112_0001.jpg
/home/pi/Desktop/images/13012025/03/04/image_13012025_03_04_03_061112_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328565421","1328565418","1328565414","1328565416"],"photo_ids_order":["1328565414","1328565416","1328565418","1328565421"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5a768b22bbb06c79e0d6dfcfd1fc2b39.jpg","text":"TemporaryFile(/tmp/multipartBody3014871494885370453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733972848,"filename":"image_13012025_03_04_03_061112_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d0c937dcd2d5fa1eac9f3af7f47cdcad.jpg","text":"TemporaryFile(/tmp/multipartBody3835790760468743962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733972848,"filename":"image_13012025_03_04_03_061112_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6e967872376447aae113a7b8dbc74c42.jpg","text":"TemporaryFile(/tmp/multipartBody7016134134397329418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733972848,"filename":"image_13012025_03_03_02_528009_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bbc39cdf602978065f59b7711b744e8d.jpg","text":"TemporaryFile(/tmp/multipartBody5943682416653248683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736733972848,"filename":"image_13012025_03_04_03_061112_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328565418","file1":"1328565416","file0":"1328565414","file3":"1328565421"},"map_files_photo_id_array":[{"photo_id":"1328565418","filename":"file2"},{"photo_id":"1328565416","filename":"file1"},{"photo_id":"1328565414","filename":"file0"},{"photo_id":"1328565421","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328565421":["hashtag1","hashtag2"]},{"1328565418":["hashtag1","hashtag2"]},{"1328565414":["hashtag1","hashtag2"]},{"1328565416":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328565421, 1328565418, 1328565414, 1328565416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.632909297943115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:06:02.955011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/04/image_13012025_03_04_03_061112_0003.jpg', '/home/pi/Desktop/images/13012025/03/05/image_13012025_03_05_02_743580_0000.jpg', '/home/pi/Desktop/images/13012025/03/05/image_13012025_03_05_02_743580_0001.jpg', '/home/pi/Desktop/images/13012025/03/05/image_13012025_03_05_02_743580_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/04/image_13012025_03_04_03_061112_0003.jpg
/home/pi/Desktop/images/13012025/03/05/image_13012025_03_05_02_743580_0000.jpg
/home/pi/Desktop/images/13012025/03/05/image_13012025_03_05_02_743580_0001.jpg
/home/pi/Desktop/images/13012025/03/05/image_13012025_03_05_02_743580_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328565576","1328565618","1328565627","1328565575"],"photo_ids_order":["1328565575","1328565576","1328565618","1328565627"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1efe3cca061239dd6285c5b9ed5274c3.jpg","text":"TemporaryFile(/tmp/multipartBody143868804190180306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734033365,"filename":"image_13012025_03_05_02_743580_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a90cf86e21489b54c141be2af5963b7a.jpg","text":"TemporaryFile(/tmp/multipartBody8088711234911863237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734033365,"filename":"image_13012025_03_05_02_743580_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/61b37ce4930e6f21960d8826f891b931.jpg","text":"TemporaryFile(/tmp/multipartBody3306925237347387126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734033365,"filename":"image_13012025_03_05_02_743580_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/13712d527d3a9157413bb719cbce140c.jpg","text":"TemporaryFile(/tmp/multipartBody8904076311767952706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734033365,"filename":"image_13012025_03_04_03_061112_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328565618","file1":"1328565576","file0":"1328565575","file3":"1328565627"},"map_files_photo_id_array":[{"photo_id":"1328565618","filename":"file2"},{"photo_id":"1328565576","filename":"file1"},{"photo_id":"1328565575","filename":"file0"},{"photo_id":"1328565627","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328565576":["hashtag1","hashtag2"]},{"1328565618":["hashtag1","hashtag2"]},{"1328565627":["hashtag1","hashtag2"]},{"1328565575":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328565576, 1328565618, 1328565627, 1328565575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.724616050720215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:07:02.481238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/05/image_13012025_03_05_02_743580_0003.jpg', '/home/pi/Desktop/images/13012025/03/06/image_13012025_03_06_02_200037_0000.jpg', '/home/pi/Desktop/images/13012025/03/06/image_13012025_03_06_02_200037_0001.jpg', '/home/pi/Desktop/images/13012025/03/06/image_13012025_03_06_02_200037_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/05/image_13012025_03_05_02_743580_0003.jpg
/home/pi/Desktop/images/13012025/03/06/image_13012025_03_06_02_200037_0000.jpg
/home/pi/Desktop/images/13012025/03/06/image_13012025_03_06_02_200037_0001.jpg
/home/pi/Desktop/images/13012025/03/06/image_13012025_03_06_02_200037_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328565709","1328565711","1328565708","1328565710"],"photo_ids_order":["1328565708","1328565709","1328565710","1328565711"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/781709ab2c68ccb4ff41f44faaf14674.jpg","text":"TemporaryFile(/tmp/multipartBody7606006382760621206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734092891,"filename":"image_13012025_03_06_02_200037_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d226351a21adc89f518bacc7a7c7f4db.jpg","text":"TemporaryFile(/tmp/multipartBody7887873281389567309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734092891,"filename":"image_13012025_03_06_02_200037_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/64b4d1d4330dde21f1234b0e5943b4ae.jpg","text":"TemporaryFile(/tmp/multipartBody5212784889617917180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734092891,"filename":"image_13012025_03_05_02_743580_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8117c5f6d08cee0c5981ce1485bc50ca.jpg","text":"TemporaryFile(/tmp/multipartBody8514878434153801209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734092891,"filename":"image_13012025_03_06_02_200037_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328565710","file1":"1328565709","file0":"1328565708","file3":"1328565711"},"map_files_photo_id_array":[{"photo_id":"1328565710","filename":"file2"},{"photo_id":"1328565709","filename":"file1"},{"photo_id":"1328565708","filename":"file0"},{"photo_id":"1328565711","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328565709":["hashtag1","hashtag2"]},{"1328565711":["hashtag1","hashtag2"]},{"1328565708":["hashtag1","hashtag2"]},{"1328565710":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328565709, 1328565711, 1328565708, 1328565710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.47768568992615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:08:03.141551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/06/image_13012025_03_06_02_200037_0003.jpg', '/home/pi/Desktop/images/13012025/03/07/image_13012025_03_07_02_846597_0000.jpg', '/home/pi/Desktop/images/13012025/03/07/image_13012025_03_07_02_846597_0001.jpg', '/home/pi/Desktop/images/13012025/03/07/image_13012025_03_07_02_846597_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/06/image_13012025_03_06_02_200037_0003.jpg
/home/pi/Desktop/images/13012025/03/07/image_13012025_03_07_02_846597_0000.jpg
/home/pi/Desktop/images/13012025/03/07/image_13012025_03_07_02_846597_0001.jpg
/home/pi/Desktop/images/13012025/03/07/image_13012025_03_07_02_846597_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328565718","1328565721","1328565720","1328565719"],"photo_ids_order":["1328565718","1328565719","1328565720","1328565721"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b4f40627b546b46d36e386d62c73e722.jpg","text":"TemporaryFile(/tmp/multipartBody8839004190274230696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734153396,"filename":"image_13012025_03_06_02_200037_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a68a8ffcdad0e9b3b6b87d64b2e7b85f.jpg","text":"TemporaryFile(/tmp/multipartBody8729326619731151252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734153396,"filename":"image_13012025_03_07_02_846597_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8d7c76965810f8267b644322b5770de8.jpg","text":"TemporaryFile(/tmp/multipartBody995283791288015445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734153396,"filename":"image_13012025_03_07_02_846597_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/076c8e234764ef5a68573f2f6d13ebd8.jpg","text":"TemporaryFile(/tmp/multipartBody146994856330863957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734153396,"filename":"image_13012025_03_07_02_846597_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328565720","file1":"1328565719","file0":"1328565718","file3":"1328565721"},"map_files_photo_id_array":[{"photo_id":"1328565720","filename":"file2"},{"photo_id":"1328565719","filename":"file1"},{"photo_id":"1328565718","filename":"file0"},{"photo_id":"1328565721","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328565718":["hashtag1","hashtag2"]},{"1328565721":["hashtag1","hashtag2"]},{"1328565720":["hashtag1","hashtag2"]},{"1328565719":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328565718, 1328565721, 1328565720, 1328565719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.245888471603394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:09:02.749679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/07/image_13012025_03_07_02_846597_0003.jpg', '/home/pi/Desktop/images/13012025/03/08/image_13012025_03_08_02_364439_0000.jpg', '/home/pi/Desktop/images/13012025/03/08/image_13012025_03_08_02_364439_0001.jpg', '/home/pi/Desktop/images/13012025/03/08/image_13012025_03_08_02_364439_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/07/image_13012025_03_07_02_846597_0003.jpg
/home/pi/Desktop/images/13012025/03/08/image_13012025_03_08_02_364439_0000.jpg
/home/pi/Desktop/images/13012025/03/08/image_13012025_03_08_02_364439_0001.jpg
/home/pi/Desktop/images/13012025/03/08/image_13012025_03_08_02_364439_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328565730","1328565729","1328565731","1328565728"],"photo_ids_order":["1328565728","1328565729","1328565730","1328565731"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8eadc8eaf074e2bb259d4df789c30c2a.jpg","text":"TemporaryFile(/tmp/multipartBody8921171865765082819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734213567,"filename":"image_13012025_03_08_02_364439_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/74b6b6e75faf634f6de0f4621b95ff11.jpg","text":"TemporaryFile(/tmp/multipartBody3425124245366072756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734213567,"filename":"image_13012025_03_08_02_364439_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/06bcfe1c809aa90bed2a543797d8b3e8.jpg","text":"TemporaryFile(/tmp/multipartBody1471015662163428664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734213567,"filename":"image_13012025_03_08_02_364439_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a35d9d28108a1502b5e58ae97663d7d4.jpg","text":"TemporaryFile(/tmp/multipartBody2644226543930955866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734213567,"filename":"image_13012025_03_07_02_846597_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328565730","file1":"1328565729","file0":"1328565728","file3":"1328565731"},"map_files_photo_id_array":[{"photo_id":"1328565730","filename":"file2"},{"photo_id":"1328565729","filename":"file1"},{"photo_id":"1328565728","filename":"file0"},{"photo_id":"1328565731","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328565730":["hashtag1","hashtag2"]},{"1328565729":["hashtag1","hashtag2"]},{"1328565731":["hashtag1","hashtag2"]},{"1328565728":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328565730, 1328565729, 1328565731, 1328565728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.04733657836914 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:10:02.280647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/08/image_13012025_03_08_02_364439_0003.jpg', '/home/pi/Desktop/images/13012025/03/09/image_13012025_03_09_03_027114_0000.jpg', '/home/pi/Desktop/images/13012025/03/09/image_13012025_03_09_03_027114_0001.jpg', '/home/pi/Desktop/images/13012025/03/09/image_13012025_03_09_03_027114_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/08/image_13012025_03_08_02_364439_0003.jpg
/home/pi/Desktop/images/13012025/03/09/image_13012025_03_09_03_027114_0000.jpg
/home/pi/Desktop/images/13012025/03/09/image_13012025_03_09_03_027114_0001.jpg
/home/pi/Desktop/images/13012025/03/09/image_13012025_03_09_03_027114_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.975886821746826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:10:21.737391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/08/image_13012025_03_08_02_364439_0003.jpg', '/home/pi/Desktop/images/13012025/03/09/image_13012025_03_09_03_027114_0000.jpg', '/home/pi/Desktop/images/13012025/03/09/image_13012025_03_09_03_027114_0001.jpg', '/home/pi/Desktop/images/13012025/03/09/image_13012025_03_09_03_027114_0002.jpg', '/home/pi/Desktop/images/13012025/03/09/image_13012025_03_09_03_027114_0003.jpg', '/home/pi/Desktop/images/13012025/03/10/image_13012025_03_10_02_583161_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/08/image_13012025_03_08_02_364439_0003.jpg
/home/pi/Desktop/images/13012025/03/09/image_13012025_03_09_03_027114_0000.jpg
/home/pi/Desktop/images/13012025/03/09/image_13012025_03_09_03_027114_0001.jpg
/home/pi/Desktop/images/13012025/03/09/image_13012025_03_09_03_027114_0002.jpg
/home/pi/Desktop/images/13012025/03/09/image_13012025_03_09_03_027114_0003.jpg
/home/pi/Desktop/images/13012025/03/10/image_13012025_03_10_02_583161_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328565922","1328565771","1328565909","1328565869","1328565872","1328565766"],"photo_ids_order":["1328565766","1328565771","1328565869","1328565872","1328565909","1328565922"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1630d9dda7df95465d4a8c9f7df48e7b.jpg","text":"TemporaryFile(/tmp/multipartBody92504607665635260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734296987,"filename":"image_13012025_03_10_02_583161_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/17b07ac129c1384d7524fc4a46bc6b30.jpg","text":"TemporaryFile(/tmp/multipartBody6675428661804136758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734296987,"filename":"image_13012025_03_09_03_027114_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c07a3eeda25831836d9234f4f76f801a.jpg","text":"TemporaryFile(/tmp/multipartBody5294529577236727418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734296987,"filename":"image_13012025_03_09_03_027114_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/95871ded787086ed86138200015f7252.jpg","text":"TemporaryFile(/tmp/multipartBody102898144291786243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734296987,"filename":"image_13012025_03_09_03_027114_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/77f321628d9028e8c6236613102d2bdd.jpg","text":"TemporaryFile(/tmp/multipartBody3651722984444260650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734296987,"filename":"image_13012025_03_09_03_027114_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7330c7ab8bd290cb71373f6d64ea4809.jpg","text":"TemporaryFile(/tmp/multipartBody224561850724979964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734296987,"filename":"image_13012025_03_08_02_364439_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328565869","file1":"1328565771","file0":"1328565766","file4":"1328565909","file5":"1328565922","file3":"1328565872"},"map_files_photo_id_array":[{"photo_id":"1328565922","filename":"file5"},{"photo_id":"1328565869","filename":"file2"},{"photo_id":"1328565909","filename":"file4"},{"photo_id":"1328565771","filename":"file1"},{"photo_id":"1328565766","filename":"file0"},{"photo_id":"1328565872","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328565922":["hashtag1","hashtag2"]},{"1328565771":["hashtag1","hashtag2"]},{"1328565909":["hashtag1","hashtag2"]},{"1328565869":["hashtag1","hashtag2"]},{"1328565872":["hashtag1","hashtag2"]},{"1328565766":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328565922, 1328565771, 1328565909, 1328565869, 1328565872, 1328565766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.96866059303284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:11:22.355284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/10/image_13012025_03_10_02_583161_0001.jpg', '/home/pi/Desktop/images/13012025/03/10/image_13012025_03_10_02_583161_0002.jpg', '/home/pi/Desktop/images/13012025/03/10/image_13012025_03_10_02_583161_0003.jpg', '/home/pi/Desktop/images/13012025/03/11/image_13012025_03_11_02_212465_0000.jpg', '/home/pi/Desktop/images/13012025/03/11/image_13012025_03_11_02_212465_0001.jpg', '/home/pi/Desktop/images/13012025/03/11/image_13012025_03_11_02_212465_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/10/image_13012025_03_10_02_583161_0001.jpg
/home/pi/Desktop/images/13012025/03/10/image_13012025_03_10_02_583161_0002.jpg
/home/pi/Desktop/images/13012025/03/10/image_13012025_03_10_02_583161_0003.jpg
/home/pi/Desktop/images/13012025/03/11/image_13012025_03_11_02_212465_0000.jpg
/home/pi/Desktop/images/13012025/03/11/image_13012025_03_11_02_212465_0001.jpg
/home/pi/Desktop/images/13012025/03/11/image_13012025_03_11_02_212465_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328566659","1328566707","1328566704","1328566664","1328566559","1328566709"],"photo_ids_order":["1328566559","1328566659","1328566664","1328566704","1328566707","1328566709"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a58597ad3406c6f181fd60554bc51f73.jpg","text":"TemporaryFile(/tmp/multipartBody1171627533093546084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734357470,"filename":"image_13012025_03_10_02_583161_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eb3006aca177a2f80ed0cb55a7374099.jpg","text":"TemporaryFile(/tmp/multipartBody8510425059226235069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734357470,"filename":"image_13012025_03_11_02_212465_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c2c16027af86ede7eb468829a0ec72df.jpg","text":"TemporaryFile(/tmp/multipartBody5957493988356186549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734357470,"filename":"image_13012025_03_11_02_212465_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/41f052c367f4b57712f23b0e7aef6249.jpg","text":"TemporaryFile(/tmp/multipartBody6898887850598263215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734357470,"filename":"image_13012025_03_10_02_583161_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e5e9b9428b5e134fa8efbd5e17547903.jpg","text":"TemporaryFile(/tmp/multipartBody2946219822789178607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734357470,"filename":"image_13012025_03_10_02_583161_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/219ddbf663cd8f9f48ee8e0e9b598fff.jpg","text":"TemporaryFile(/tmp/multipartBody3428595268706692969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734357470,"filename":"image_13012025_03_11_02_212465_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328566664","file1":"1328566659","file0":"1328566559","file4":"1328566707","file5":"1328566709","file3":"1328566704"},"map_files_photo_id_array":[{"photo_id":"1328566709","filename":"file5"},{"photo_id":"1328566664","filename":"file2"},{"photo_id":"1328566707","filename":"file4"},{"photo_id":"1328566659","filename":"file1"},{"photo_id":"1328566559","filename":"file0"},{"photo_id":"1328566704","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328566659":["hashtag1","hashtag2"]},{"1328566707":["hashtag1","hashtag2"]},{"1328566704":["hashtag1","hashtag2"]},{"1328566664":["hashtag1","hashtag2"]},{"1328566559":["hashtag1","hashtag2"]},{"1328566709":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328566659, 1328566707, 1328566704, 1328566664, 1328566559, 1328566709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.51942181587219 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:12:21.855738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/11/image_13012025_03_11_02_212465_0003.jpg', '/home/pi/Desktop/images/13012025/03/12/image_13012025_03_12_02_761659_0000.jpg', '/home/pi/Desktop/images/13012025/03/12/image_13012025_03_12_02_761659_0001.jpg', '/home/pi/Desktop/images/13012025/03/12/image_13012025_03_12_02_761659_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/11/image_13012025_03_11_02_212465_0003.jpg
/home/pi/Desktop/images/13012025/03/12/image_13012025_03_12_02_761659_0000.jpg
/home/pi/Desktop/images/13012025/03/12/image_13012025_03_12_02_761659_0001.jpg
/home/pi/Desktop/images/13012025/03/12/image_13012025_03_12_02_761659_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328566725","1328566710","1328566712","1328566714"],"photo_ids_order":["1328566710","1328566712","1328566714","1328566725"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0634c6416913376468ac810330f0ad70.jpg","text":"TemporaryFile(/tmp/multipartBody3581316629890040320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734412133,"filename":"image_13012025_03_12_02_761659_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/feb1f9485bd422653bca035a06a5bc22.jpg","text":"TemporaryFile(/tmp/multipartBody5644562832884654198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734412133,"filename":"image_13012025_03_11_02_212465_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ba08e25fdbba65bf64331203a43c73b1.jpg","text":"TemporaryFile(/tmp/multipartBody6630966810440724797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734412133,"filename":"image_13012025_03_12_02_761659_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0bc41f9ee37fe187dcc8fa92f180063a.jpg","text":"TemporaryFile(/tmp/multipartBody2481158944656547148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734412133,"filename":"image_13012025_03_12_02_761659_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328566714","file1":"1328566712","file0":"1328566710","file3":"1328566725"},"map_files_photo_id_array":[{"photo_id":"1328566714","filename":"file2"},{"photo_id":"1328566712","filename":"file1"},{"photo_id":"1328566710","filename":"file0"},{"photo_id":"1328566725","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328566725":["hashtag1","hashtag2"]},{"1328566710":["hashtag1","hashtag2"]},{"1328566712":["hashtag1","hashtag2"]},{"1328566714":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328566725, 1328566710, 1328566712, 1328566714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.408303022384644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:13:03.062588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:13:22.366536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/12/image_13012025_03_12_02_761659_0003.jpg', '/home/pi/Desktop/images/13012025/03/13/image_13012025_03_13_02_294392_0000.jpg', '/home/pi/Desktop/images/13012025/03/13/image_13012025_03_13_02_294392_0001.jpg', '/home/pi/Desktop/images/13012025/03/13/image_13012025_03_13_02_294392_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/12/image_13012025_03_12_02_761659_0003.jpg
/home/pi/Desktop/images/13012025/03/13/image_13012025_03_13_02_294392_0000.jpg
/home/pi/Desktop/images/13012025/03/13/image_13012025_03_13_02_294392_0001.jpg
/home/pi/Desktop/images/13012025/03/13/image_13012025_03_13_02_294392_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328566746","1328566740","1328566742","1328566744"],"photo_ids_order":["1328566740","1328566742","1328566744","1328566746"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1320108bd9c5121dcb6a84c8a838203a.jpg","text":"TemporaryFile(/tmp/multipartBody8790525940260490633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734472703,"filename":"image_13012025_03_13_02_294392_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a7a1e8de4d8dd02d98a5756f8a074941.jpg","text":"TemporaryFile(/tmp/multipartBody519736211747352231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734472703,"filename":"image_13012025_03_12_02_761659_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ac98587a5daf3d85f3a9b969d96b42c5.jpg","text":"TemporaryFile(/tmp/multipartBody6221021956472382157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734472703,"filename":"image_13012025_03_13_02_294392_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ca6ee00e309e3ebf7203307b36ceefa3.jpg","text":"TemporaryFile(/tmp/multipartBody6687588069718839064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734472703,"filename":"image_13012025_03_13_02_294392_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328566744","file1":"1328566742","file0":"1328566740","file3":"1328566746"},"map_files_photo_id_array":[{"photo_id":"1328566744","filename":"file2"},{"photo_id":"1328566742","filename":"file1"},{"photo_id":"1328566740","filename":"file0"},{"photo_id":"1328566746","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328566746":["hashtag1","hashtag2"]},{"1328566740":["hashtag1","hashtag2"]},{"1328566742":["hashtag1","hashtag2"]},{"1328566744":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328566746, 1328566740, 1328566742, 1328566744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.156455278396606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:14:02.632362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:14:22.150339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/13/image_13012025_03_13_02_294392_0003.jpg', '/home/pi/Desktop/images/13012025/03/14/image_13012025_03_14_02_766508_0000.jpg', '/home/pi/Desktop/images/13012025/03/14/image_13012025_03_14_02_766508_0001.jpg', '/home/pi/Desktop/images/13012025/03/14/image_13012025_03_14_02_766508_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/13/image_13012025_03_13_02_294392_0003.jpg
/home/pi/Desktop/images/13012025/03/14/image_13012025_03_14_02_766508_0000.jpg
/home/pi/Desktop/images/13012025/03/14/image_13012025_03_14_02_766508_0001.jpg
/home/pi/Desktop/images/13012025/03/14/image_13012025_03_14_02_766508_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328566764","1328566758","1328566760","1328566762"],"photo_ids_order":["1328566758","1328566760","1328566762","1328566764"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f4660a3145a3298a6f87501a6f243f2d.jpg","text":"TemporaryFile(/tmp/multipartBody8684096888828001100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734532283,"filename":"image_13012025_03_14_02_766508_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f273af415eae0ec1e2586d4fd4d97754.jpg","text":"TemporaryFile(/tmp/multipartBody7185599254725460685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734532283,"filename":"image_13012025_03_13_02_294392_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/33198642ca38020974179b4d392b49c1.jpg","text":"TemporaryFile(/tmp/multipartBody5853094162706649482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734532283,"filename":"image_13012025_03_14_02_766508_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/654f517b14201a166d92803c99dbe60e.jpg","text":"TemporaryFile(/tmp/multipartBody3967047115888275201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734532283,"filename":"image_13012025_03_14_02_766508_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328566762","file1":"1328566760","file0":"1328566758","file3":"1328566764"},"map_files_photo_id_array":[{"photo_id":"1328566762","filename":"file2"},{"photo_id":"1328566760","filename":"file1"},{"photo_id":"1328566758","filename":"file0"},{"photo_id":"1328566764","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328566764":["hashtag1","hashtag2"]},{"1328566758":["hashtag1","hashtag2"]},{"1328566760":["hashtag1","hashtag2"]},{"1328566762":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328566764, 1328566758, 1328566760, 1328566762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.26360487937927 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:15:03.238590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:15:22.594477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/14/image_13012025_03_14_02_766508_0003.jpg', '/home/pi/Desktop/images/13012025/03/15/image_13012025_03_15_02_463964_0000.jpg', '/home/pi/Desktop/images/13012025/03/15/image_13012025_03_15_02_463964_0001.jpg', '/home/pi/Desktop/images/13012025/03/15/image_13012025_03_15_02_463964_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/14/image_13012025_03_14_02_766508_0003.jpg
/home/pi/Desktop/images/13012025/03/15/image_13012025_03_15_02_463964_0000.jpg
/home/pi/Desktop/images/13012025/03/15/image_13012025_03_15_02_463964_0001.jpg
/home/pi/Desktop/images/13012025/03/15/image_13012025_03_15_02_463964_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328567064","1328566974","1328567012","1328567038"],"photo_ids_order":["1328566974","1328567012","1328567038","1328567064"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c0a931f5c1640979676b7c2b84e81e8f.jpg","text":"TemporaryFile(/tmp/multipartBody5526636640293748357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734592937,"filename":"image_13012025_03_15_02_463964_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b7e088cac0bcaae60bdbbe6922d7165a.jpg","text":"TemporaryFile(/tmp/multipartBody563736384077966325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734592937,"filename":"image_13012025_03_14_02_766508_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/de7651f1defdaf70e9eef27166dcc27f.jpg","text":"TemporaryFile(/tmp/multipartBody5131856436965426397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734592937,"filename":"image_13012025_03_15_02_463964_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b44d0566375ac93201d95e2fba16eb2a.jpg","text":"TemporaryFile(/tmp/multipartBody1787966073763169737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734592937,"filename":"image_13012025_03_15_02_463964_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328567038","file1":"1328567012","file0":"1328566974","file3":"1328567064"},"map_files_photo_id_array":[{"photo_id":"1328567038","filename":"file2"},{"photo_id":"1328567012","filename":"file1"},{"photo_id":"1328566974","filename":"file0"},{"photo_id":"1328567064","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328567064":["hashtag1","hashtag2"]},{"1328566974":["hashtag1","hashtag2"]},{"1328567012":["hashtag1","hashtag2"]},{"1328567038":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328567064, 1328566974, 1328567012, 1328567038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.881518602371216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:16:02.603731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:16:22.197066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/15/image_13012025_03_15_02_463964_0003.jpg', '/home/pi/Desktop/images/13012025/03/16/image_13012025_03_16_02_954195_0000.jpg', '/home/pi/Desktop/images/13012025/03/16/image_13012025_03_16_02_954195_0001.jpg', '/home/pi/Desktop/images/13012025/03/16/image_13012025_03_16_02_954195_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/15/image_13012025_03_15_02_463964_0003.jpg
/home/pi/Desktop/images/13012025/03/16/image_13012025_03_16_02_954195_0000.jpg
/home/pi/Desktop/images/13012025/03/16/image_13012025_03_16_02_954195_0001.jpg
/home/pi/Desktop/images/13012025/03/16/image_13012025_03_16_02_954195_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328567106","1328567108","1328567102","1328567104"],"photo_ids_order":["1328567102","1328567104","1328567106","1328567108"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bc3df384e170db7219a46209393a0439.jpg","text":"TemporaryFile(/tmp/multipartBody7767330260588139118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734652601,"filename":"image_13012025_03_16_02_954195_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f77f5915d81fb278172d482820a3c717.jpg","text":"TemporaryFile(/tmp/multipartBody8415662622568386851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734652601,"filename":"image_13012025_03_16_02_954195_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/69f3f6fdc21b91b7fbf1b45d0c8650a3.jpg","text":"TemporaryFile(/tmp/multipartBody8179460286266391448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734652601,"filename":"image_13012025_03_15_02_463964_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e17626f86433f36f47ef1baa9eed0c3c.jpg","text":"TemporaryFile(/tmp/multipartBody3694340917109216292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734652601,"filename":"image_13012025_03_16_02_954195_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328567106","file1":"1328567104","file0":"1328567102","file3":"1328567108"},"map_files_photo_id_array":[{"photo_id":"1328567106","filename":"file2"},{"photo_id":"1328567104","filename":"file1"},{"photo_id":"1328567102","filename":"file0"},{"photo_id":"1328567108","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328567106":["hashtag1","hashtag2"]},{"1328567108":["hashtag1","hashtag2"]},{"1328567102":["hashtag1","hashtag2"]},{"1328567104":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328567106, 1328567108, 1328567102, 1328567104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.4393470287323 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:17:02.507702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:17:21.757059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/16/image_13012025_03_16_02_954195_0003.jpg', '/home/pi/Desktop/images/13012025/03/17/image_13012025_03_17_02_690876_0000.jpg', '/home/pi/Desktop/images/13012025/03/17/image_13012025_03_17_02_690876_0001.jpg', '/home/pi/Desktop/images/13012025/03/17/image_13012025_03_17_02_690876_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/16/image_13012025_03_16_02_954195_0003.jpg
/home/pi/Desktop/images/13012025/03/17/image_13012025_03_17_02_690876_0000.jpg
/home/pi/Desktop/images/13012025/03/17/image_13012025_03_17_02_690876_0001.jpg
/home/pi/Desktop/images/13012025/03/17/image_13012025_03_17_02_690876_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328567118","1328567112","1328567114","1328567116"],"photo_ids_order":["1328567112","1328567114","1328567116","1328567118"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8a55f2b951c8fe7108f188fc93ce4dc6.jpg","text":"TemporaryFile(/tmp/multipartBody1737493875419267022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734712167,"filename":"image_13012025_03_17_02_690876_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/74afb42895a662ec2ef7bf22bcfcd0dd.jpg","text":"TemporaryFile(/tmp/multipartBody8071843050052749101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734712167,"filename":"image_13012025_03_16_02_954195_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/417e6ae1d732fbacb8fc1a4e79f3c650.jpg","text":"TemporaryFile(/tmp/multipartBody7200424759923618686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734712167,"filename":"image_13012025_03_17_02_690876_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/92f2e6d569721c15ab695b20b5ac0c52.jpg","text":"TemporaryFile(/tmp/multipartBody255894454037222517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734712167,"filename":"image_13012025_03_17_02_690876_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328567116","file1":"1328567114","file0":"1328567112","file3":"1328567118"},"map_files_photo_id_array":[{"photo_id":"1328567116","filename":"file2"},{"photo_id":"1328567114","filename":"file1"},{"photo_id":"1328567112","filename":"file0"},{"photo_id":"1328567118","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328567118":["hashtag1","hashtag2"]},{"1328567112":["hashtag1","hashtag2"]},{"1328567114":["hashtag1","hashtag2"]},{"1328567116":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328567118, 1328567112, 1328567114, 1328567116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.33704614639282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:18:22.476209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/17/image_13012025_03_17_02_690876_0003.jpg', '/home/pi/Desktop/images/13012025/03/18/image_13012025_03_18_02_252520_0000.jpg', '/home/pi/Desktop/images/13012025/03/18/image_13012025_03_18_02_252520_0001.jpg', '/home/pi/Desktop/images/13012025/03/18/image_13012025_03_18_02_252520_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/17/image_13012025_03_17_02_690876_0003.jpg
/home/pi/Desktop/images/13012025/03/18/image_13012025_03_18_02_252520_0000.jpg
/home/pi/Desktop/images/13012025/03/18/image_13012025_03_18_02_252520_0001.jpg
/home/pi/Desktop/images/13012025/03/18/image_13012025_03_18_02_252520_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328567144","1328567147","1328567134","1328567122"],"photo_ids_order":["1328567122","1328567134","1328567144","1328567147"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/403c725e7c0a3e8770cd9aaa98e88971.jpg","text":"TemporaryFile(/tmp/multipartBody663392870628972972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734772857,"filename":"image_13012025_03_18_02_252520_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a7c4af8b7b4db55608cc1e61e66e703e.jpg","text":"TemporaryFile(/tmp/multipartBody6707986138616105080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734772857,"filename":"image_13012025_03_18_02_252520_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6f2a69695c8c91fed14bef41407b039b.jpg","text":"TemporaryFile(/tmp/multipartBody666092199427027517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734772857,"filename":"image_13012025_03_18_02_252520_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e6ba3446075585197eb5169411aec094.jpg","text":"TemporaryFile(/tmp/multipartBody318782017516023720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734772857,"filename":"image_13012025_03_17_02_690876_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328567144","file1":"1328567134","file0":"1328567122","file3":"1328567147"},"map_files_photo_id_array":[{"photo_id":"1328567144","filename":"file2"},{"photo_id":"1328567134","filename":"file1"},{"photo_id":"1328567122","filename":"file0"},{"photo_id":"1328567147","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328567144":["hashtag1","hashtag2"]},{"1328567147":["hashtag1","hashtag2"]},{"1328567134":["hashtag1","hashtag2"]},{"1328567122":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328567144, 1328567147, 1328567134, 1328567122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.258997440338135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:19:21.986192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/18/image_13012025_03_18_02_252520_0003.jpg', '/home/pi/Desktop/images/13012025/03/19/image_13012025_03_19_02_846343_0000.jpg', '/home/pi/Desktop/images/13012025/03/19/image_13012025_03_19_02_846343_0001.jpg', '/home/pi/Desktop/images/13012025/03/19/image_13012025_03_19_02_846343_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/18/image_13012025_03_18_02_252520_0003.jpg
/home/pi/Desktop/images/13012025/03/19/image_13012025_03_19_02_846343_0000.jpg
/home/pi/Desktop/images/13012025/03/19/image_13012025_03_19_02_846343_0001.jpg
/home/pi/Desktop/images/13012025/03/19/image_13012025_03_19_02_846343_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328567154","1328567162","1328567156","1328567158"],"photo_ids_order":["1328567154","1328567156","1328567158","1328567162"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9a74340e1a0f09a827b75b22bad3051b.jpg","text":"TemporaryFile(/tmp/multipartBody2399743726214961611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734832473,"filename":"image_13012025_03_18_02_252520_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f4d10f7b392501eb3600e3704b33224a.jpg","text":"TemporaryFile(/tmp/multipartBody4235423686431336420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734832473,"filename":"image_13012025_03_19_02_846343_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e3c427590020eb458f6e5307b9261ebc.jpg","text":"TemporaryFile(/tmp/multipartBody6303142861280119814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734832473,"filename":"image_13012025_03_19_02_846343_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6c221fd64865d6881351bacd573975aa.jpg","text":"TemporaryFile(/tmp/multipartBody4828721981938222763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734832473,"filename":"image_13012025_03_19_02_846343_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328567158","file1":"1328567156","file0":"1328567154","file3":"1328567162"},"map_files_photo_id_array":[{"photo_id":"1328567158","filename":"file2"},{"photo_id":"1328567156","filename":"file1"},{"photo_id":"1328567154","filename":"file0"},{"photo_id":"1328567162","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328567154":["hashtag1","hashtag2"]},{"1328567162":["hashtag1","hashtag2"]},{"1328567156":["hashtag1","hashtag2"]},{"1328567158":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328567154, 1328567162, 1328567156, 1328567158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.70462107658386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:20:02.925721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:20:22.456732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/19/image_13012025_03_19_02_846343_0003.jpg', '/home/pi/Desktop/images/13012025/03/20/image_13012025_03_20_02_343018_0000.jpg', '/home/pi/Desktop/images/13012025/03/20/image_13012025_03_20_02_343018_0001.jpg', '/home/pi/Desktop/images/13012025/03/20/image_13012025_03_20_02_343018_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/19/image_13012025_03_19_02_846343_0003.jpg
/home/pi/Desktop/images/13012025/03/20/image_13012025_03_20_02_343018_0000.jpg
/home/pi/Desktop/images/13012025/03/20/image_13012025_03_20_02_343018_0001.jpg
/home/pi/Desktop/images/13012025/03/20/image_13012025_03_20_02_343018_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.975944757461548 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:21:02.449481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/19/image_13012025_03_19_02_846343_0003.jpg', '/home/pi/Desktop/images/13012025/03/20/image_13012025_03_20_02_343018_0000.jpg', '/home/pi/Desktop/images/13012025/03/20/image_13012025_03_20_02_343018_0001.jpg', '/home/pi/Desktop/images/13012025/03/20/image_13012025_03_20_02_343018_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/19/image_13012025_03_19_02_846343_0003.jpg
/home/pi/Desktop/images/13012025/03/20/image_13012025_03_20_02_343018_0000.jpg
/home/pi/Desktop/images/13012025/03/20/image_13012025_03_20_02_343018_0001.jpg
/home/pi/Desktop/images/13012025/03/20/image_13012025_03_20_02_343018_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328567253","1328567436","1328567254","1328567323"],"photo_ids_order":["1328567253","1328567254","1328567323","1328567436"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/36b2be66f5e127bedfa19ab7a22fc8ef.jpg","text":"TemporaryFile(/tmp/multipartBody5814028953162974093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734932871,"filename":"image_13012025_03_19_02_846343_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4b2c943c6301de80cddbd9ddd3d253c9.jpg","text":"TemporaryFile(/tmp/multipartBody3528802017509558351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734932871,"filename":"image_13012025_03_20_02_343018_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9a6dab1c85fa13cde5dd5f3572977a93.jpg","text":"TemporaryFile(/tmp/multipartBody800035298996874775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734932871,"filename":"image_13012025_03_20_02_343018_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5bbd74fbe13b7a9531e893c6a9f89a33.jpg","text":"TemporaryFile(/tmp/multipartBody5643196471457638610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736734932871,"filename":"image_13012025_03_20_02_343018_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328567323","file1":"1328567254","file0":"1328567253","file3":"1328567436"},"map_files_photo_id_array":[{"photo_id":"1328567323","filename":"file2"},{"photo_id":"1328567254","filename":"file1"},{"photo_id":"1328567253","filename":"file0"},{"photo_id":"1328567436","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328567253":["hashtag1","hashtag2"]},{"1328567436":["hashtag1","hashtag2"]},{"1328567254":["hashtag1","hashtag2"]},{"1328567323":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328567253, 1328567436, 1328567254, 1328567323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.48170208930969 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:22:03.046828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/20/image_13012025_03_20_02_343018_0003.jpg', '/home/pi/Desktop/images/13012025/03/21/image_13012025_03_21_02_812215_0000.jpg', '/home/pi/Desktop/images/13012025/03/21/image_13012025_03_21_02_812215_0001.jpg', '/home/pi/Desktop/images/13012025/03/21/image_13012025_03_21_02_812215_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/20/image_13012025_03_20_02_343018_0003.jpg
/home/pi/Desktop/images/13012025/03/21/image_13012025_03_21_02_812215_0000.jpg
/home/pi/Desktop/images/13012025/03/21/image_13012025_03_21_02_812215_0001.jpg
/home/pi/Desktop/images/13012025/03/21/image_13012025_03_21_02_812215_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.089202880859375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:22:22.613053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/20/image_13012025_03_20_02_343018_0003.jpg', '/home/pi/Desktop/images/13012025/03/21/image_13012025_03_21_02_812215_0000.jpg', '/home/pi/Desktop/images/13012025/03/21/image_13012025_03_21_02_812215_0001.jpg', '/home/pi/Desktop/images/13012025/03/21/image_13012025_03_21_02_812215_0002.jpg', '/home/pi/Desktop/images/13012025/03/21/image_13012025_03_21_02_812215_0003.jpg', '/home/pi/Desktop/images/13012025/03/22/image_13012025_03_22_02_419784_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/20/image_13012025_03_20_02_343018_0003.jpg
/home/pi/Desktop/images/13012025/03/21/image_13012025_03_21_02_812215_0000.jpg
/home/pi/Desktop/images/13012025/03/21/image_13012025_03_21_02_812215_0001.jpg
/home/pi/Desktop/images/13012025/03/21/image_13012025_03_21_02_812215_0002.jpg
/home/pi/Desktop/images/13012025/03/21/image_13012025_03_21_02_812215_0003.jpg
/home/pi/Desktop/images/13012025/03/22/image_13012025_03_22_02_419784_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328567693","1328567687","1328567695","1328567689","1328567691","1328567697"],"photo_ids_order":["1328567687","1328567689","1328567691","1328567693","1328567695","1328567697"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7c3296aeff1818b2698e8380445c391d.jpg","text":"TemporaryFile(/tmp/multipartBody936797179348712482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735018034,"filename":"image_13012025_03_21_02_812215_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b5e1c4f27bda900d11e21b1f2551d3da.jpg","text":"TemporaryFile(/tmp/multipartBody7883363465343256859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735018034,"filename":"image_13012025_03_20_02_343018_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/442c6e83e2377e6729848b62306b7e1c.jpg","text":"TemporaryFile(/tmp/multipartBody887013621242583084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735018034,"filename":"image_13012025_03_21_02_812215_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6e5447406eda65b2d8ff9426c2531fba.jpg","text":"TemporaryFile(/tmp/multipartBody8217065771027029582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735018034,"filename":"image_13012025_03_21_02_812215_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ceb85303d9f522aeda7ffcbd5027cc48.jpg","text":"TemporaryFile(/tmp/multipartBody7326762073964165922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735018034,"filename":"image_13012025_03_21_02_812215_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/737e1c1a7628d52d40118a937c1d0d38.jpg","text":"TemporaryFile(/tmp/multipartBody7742829886651722204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735018034,"filename":"image_13012025_03_22_02_419784_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328567691","file1":"1328567689","file0":"1328567687","file4":"1328567695","file5":"1328567697","file3":"1328567693"},"map_files_photo_id_array":[{"photo_id":"1328567697","filename":"file5"},{"photo_id":"1328567691","filename":"file2"},{"photo_id":"1328567695","filename":"file4"},{"photo_id":"1328567689","filename":"file1"},{"photo_id":"1328567687","filename":"file0"},{"photo_id":"1328567693","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328567693":["hashtag1","hashtag2"]},{"1328567687":["hashtag1","hashtag2"]},{"1328567695":["hashtag1","hashtag2"]},{"1328567689":["hashtag1","hashtag2"]},{"1328567691":["hashtag1","hashtag2"]},{"1328567697":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328567693, 1328567687, 1328567695, 1328567689, 1328567691, 1328567697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.00822710990906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:23:22.092397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/22/image_13012025_03_22_02_419784_0001.jpg', '/home/pi/Desktop/images/13012025/03/22/image_13012025_03_22_02_419784_0002.jpg', '/home/pi/Desktop/images/13012025/03/22/image_13012025_03_22_02_419784_0003.jpg', '/home/pi/Desktop/images/13012025/03/23/image_13012025_03_23_02_974841_0000.jpg', '/home/pi/Desktop/images/13012025/03/23/image_13012025_03_23_02_974841_0001.jpg', '/home/pi/Desktop/images/13012025/03/23/image_13012025_03_23_02_974841_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/22/image_13012025_03_22_02_419784_0001.jpg
/home/pi/Desktop/images/13012025/03/22/image_13012025_03_22_02_419784_0002.jpg
/home/pi/Desktop/images/13012025/03/22/image_13012025_03_22_02_419784_0003.jpg
/home/pi/Desktop/images/13012025/03/23/image_13012025_03_23_02_974841_0000.jpg
/home/pi/Desktop/images/13012025/03/23/image_13012025_03_23_02_974841_0001.jpg
/home/pi/Desktop/images/13012025/03/23/image_13012025_03_23_02_974841_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328567703","1328567709","1328567699","1328567705","1328567707","1328567701"],"photo_ids_order":["1328567699","1328567701","1328567703","1328567705","1328567707","1328567709"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/edc6772c55e5ba74c4c0c7a05ef0b0ce.jpg","text":"TemporaryFile(/tmp/multipartBody1144936424303441516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735077379,"filename":"image_13012025_03_22_02_419784_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/15e5b8f5b81a04b0ecb275321514160f.jpg","text":"TemporaryFile(/tmp/multipartBody8880723060352380842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735077379,"filename":"image_13012025_03_23_02_974841_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e165c86e38dbae6be24dc875662b3a77.jpg","text":"TemporaryFile(/tmp/multipartBody8754789789696857515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735077379,"filename":"image_13012025_03_22_02_419784_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/168aaf131596733ffe8b06924a3dd963.jpg","text":"TemporaryFile(/tmp/multipartBody1846969836150630090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735077379,"filename":"image_13012025_03_23_02_974841_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/13c9d12325bcb8584514d194bc3789e3.jpg","text":"TemporaryFile(/tmp/multipartBody8665841010947959022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735077379,"filename":"image_13012025_03_23_02_974841_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8cbe5c38fb9faa4898943832908c6e86.jpg","text":"TemporaryFile(/tmp/multipartBody2753518441960263459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735077379,"filename":"image_13012025_03_22_02_419784_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328567703","file1":"1328567701","file0":"1328567699","file4":"1328567707","file5":"1328567709","file3":"1328567705"},"map_files_photo_id_array":[{"photo_id":"1328567709","filename":"file5"},{"photo_id":"1328567703","filename":"file2"},{"photo_id":"1328567707","filename":"file4"},{"photo_id":"1328567701","filename":"file1"},{"photo_id":"1328567699","filename":"file0"},{"photo_id":"1328567705","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328567703":["hashtag1","hashtag2"]},{"1328567709":["hashtag1","hashtag2"]},{"1328567699":["hashtag1","hashtag2"]},{"1328567705":["hashtag1","hashtag2"]},{"1328567707":["hashtag1","hashtag2"]},{"1328567701":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328567703, 1328567709, 1328567699, 1328567705, 1328567707, 1328567701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.65910363197327 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:24:22.676133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/23/image_13012025_03_23_02_974841_0003.jpg', '/home/pi/Desktop/images/13012025/03/24/image_13012025_03_24_02_466492_0001.jpg', '/home/pi/Desktop/images/13012025/03/24/image_13012025_03_24_02_466492_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/23/image_13012025_03_23_02_974841_0003.jpg
/home/pi/Desktop/images/13012025/03/24/image_13012025_03_24_02_466492_0001.jpg
/home/pi/Desktop/images/13012025/03/24/image_13012025_03_24_02_466492_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328567712","1328567715","1328567710"],"photo_ids_order":["1328567710","1328567712","1328567715"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1247d5c7ea312866bde0ed43e7a70c75.jpg","text":"TemporaryFile(/tmp/multipartBody5627211181659660990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735130561,"filename":"image_13012025_03_24_02_466492_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ab81b260ade1ad20aae3c7e3b6417d89.jpg","text":"TemporaryFile(/tmp/multipartBody8770619429982346202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735130561,"filename":"image_13012025_03_24_02_466492_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/375c2d3672fc8ac3da4887da95b0fb81.jpg","text":"TemporaryFile(/tmp/multipartBody3527148960823154462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735130561,"filename":"image_13012025_03_23_02_974841_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328567715","file1":"1328567712","file0":"1328567710"},"map_files_photo_id_array":[{"photo_id":"1328567715","filename":"file2"},{"photo_id":"1328567712","filename":"file1"},{"photo_id":"1328567710","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328567712":["hashtag1","hashtag2"]},{"1328567715":["hashtag1","hashtag2"]},{"1328567710":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328567712, 1328567715, 1328567710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.02860999107361 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:25:02.761678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:25:22.129687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/24/image_13012025_03_24_02_466492_0003.jpg', '/home/pi/Desktop/images/13012025/03/25/image_13012025_03_25_03_013416_0000.jpg', '/home/pi/Desktop/images/13012025/03/25/image_13012025_03_25_03_013416_0001.jpg', '/home/pi/Desktop/images/13012025/03/25/image_13012025_03_25_03_013416_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/24/image_13012025_03_24_02_466492_0003.jpg
/home/pi/Desktop/images/13012025/03/25/image_13012025_03_25_03_013416_0000.jpg
/home/pi/Desktop/images/13012025/03/25/image_13012025_03_25_03_013416_0001.jpg
/home/pi/Desktop/images/13012025/03/25/image_13012025_03_25_03_013416_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328567745","1328567747","1328567741","1328567743"],"photo_ids_order":["1328567741","1328567743","1328567745","1328567747"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0634134db17e71053a877c0743e5af64.jpg","text":"TemporaryFile(/tmp/multipartBody2084725792497908448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735192535,"filename":"image_13012025_03_25_03_013416_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1a8a3a720435f2d73f4928d597a32278.jpg","text":"TemporaryFile(/tmp/multipartBody1183881082919415365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735192535,"filename":"image_13012025_03_25_03_013416_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3ac7855a3211be4c1c4da9dff35a006b.jpg","text":"TemporaryFile(/tmp/multipartBody2593424150992070619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735192535,"filename":"image_13012025_03_24_02_466492_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e7073447dce12c3f26087def1bbfe3ec.jpg","text":"TemporaryFile(/tmp/multipartBody1698061788465195903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735192535,"filename":"image_13012025_03_25_03_013416_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328567745","file1":"1328567743","file0":"1328567741","file3":"1328567747"},"map_files_photo_id_array":[{"photo_id":"1328567745","filename":"file2"},{"photo_id":"1328567743","filename":"file1"},{"photo_id":"1328567741","filename":"file0"},{"photo_id":"1328567747","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328567745":["hashtag1","hashtag2"]},{"1328567747":["hashtag1","hashtag2"]},{"1328567741":["hashtag1","hashtag2"]},{"1328567743":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328567745, 1328567747, 1328567741, 1328567743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.11889457702637 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:26:21.904727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/25/image_13012025_03_25_03_013416_0003.jpg', '/home/pi/Desktop/images/13012025/03/26/image_13012025_03_26_02_610856_0000.jpg', '/home/pi/Desktop/images/13012025/03/26/image_13012025_03_26_02_610856_0001.jpg', '/home/pi/Desktop/images/13012025/03/26/image_13012025_03_26_02_610856_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/25/image_13012025_03_25_03_013416_0003.jpg
/home/pi/Desktop/images/13012025/03/26/image_13012025_03_26_02_610856_0000.jpg
/home/pi/Desktop/images/13012025/03/26/image_13012025_03_26_02_610856_0001.jpg
/home/pi/Desktop/images/13012025/03/26/image_13012025_03_26_02_610856_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328567757","1328567751","1328567753","1328567755"],"photo_ids_order":["1328567751","1328567753","1328567755","1328567757"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4c0a38ad3fd3947e674830c62b194f38.jpg","text":"TemporaryFile(/tmp/multipartBody8081636923678627942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735252260,"filename":"image_13012025_03_26_02_610856_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e9ed7c516dd87bc5f384a9ff415a673d.jpg","text":"TemporaryFile(/tmp/multipartBody1651220199204761363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735252260,"filename":"image_13012025_03_25_03_013416_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/750c24857d5353087de7574c82fb2de1.jpg","text":"TemporaryFile(/tmp/multipartBody8391801162443068191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735252260,"filename":"image_13012025_03_26_02_610856_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6bf0be1d7dbe613aec7987e1556d2020.jpg","text":"TemporaryFile(/tmp/multipartBody8760364071007005098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735252260,"filename":"image_13012025_03_26_02_610856_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328567755","file1":"1328567753","file0":"1328567751","file3":"1328567757"},"map_files_photo_id_array":[{"photo_id":"1328567755","filename":"file2"},{"photo_id":"1328567753","filename":"file1"},{"photo_id":"1328567751","filename":"file0"},{"photo_id":"1328567757","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328567757":["hashtag1","hashtag2"]},{"1328567751":["hashtag1","hashtag2"]},{"1328567753":["hashtag1","hashtag2"]},{"1328567755":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328567757, 1328567751, 1328567753, 1328567755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.99669122695923 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:27:03.056576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:27:22.310104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/26/image_13012025_03_26_02_610856_0003.jpg', '/home/pi/Desktop/images/13012025/03/27/image_13012025_03_27_02_280114_0000.jpg', '/home/pi/Desktop/images/13012025/03/27/image_13012025_03_27_02_280114_0001.jpg', '/home/pi/Desktop/images/13012025/03/27/image_13012025_03_27_02_280114_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/26/image_13012025_03_26_02_610856_0003.jpg
/home/pi/Desktop/images/13012025/03/27/image_13012025_03_27_02_280114_0000.jpg
/home/pi/Desktop/images/13012025/03/27/image_13012025_03_27_02_280114_0001.jpg
/home/pi/Desktop/images/13012025/03/27/image_13012025_03_27_02_280114_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328567763","1328567777","1328567761","1328567766"],"photo_ids_order":["1328567761","1328567763","1328567766","1328567777"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b19c1a12630034fae5ea483ff44a0da7.jpg","text":"TemporaryFile(/tmp/multipartBody4451718264381983769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735312710,"filename":"image_13012025_03_27_02_280114_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/283ce58b116078d0e3b64b968251c40d.jpg","text":"TemporaryFile(/tmp/multipartBody7866038674438874654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735312710,"filename":"image_13012025_03_27_02_280114_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/76f62dd30e9f9efd3d72eceaeec2df7c.jpg","text":"TemporaryFile(/tmp/multipartBody1859810207183100389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735312710,"filename":"image_13012025_03_26_02_610856_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d5bfe17c13ab843d5f19fe5b4dcacd8a.jpg","text":"TemporaryFile(/tmp/multipartBody5055132106611045530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735312710,"filename":"image_13012025_03_27_02_280114_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328567766","file1":"1328567763","file0":"1328567761","file3":"1328567777"},"map_files_photo_id_array":[{"photo_id":"1328567766","filename":"file2"},{"photo_id":"1328567763","filename":"file1"},{"photo_id":"1328567761","filename":"file0"},{"photo_id":"1328567777","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328567763":["hashtag1","hashtag2"]},{"1328567777":["hashtag1","hashtag2"]},{"1328567761":["hashtag1","hashtag2"]},{"1328567766":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328567763, 1328567777, 1328567761, 1328567766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.52832245826721 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:28:02.254221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:28:21.949249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/27/image_13012025_03_27_02_280114_0003.jpg', '/home/pi/Desktop/images/13012025/03/28/image_13012025_03_28_02_801266_0000.jpg', '/home/pi/Desktop/images/13012025/03/28/image_13012025_03_28_02_801266_0001.jpg', '/home/pi/Desktop/images/13012025/03/28/image_13012025_03_28_02_801266_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/27/image_13012025_03_27_02_280114_0003.jpg
/home/pi/Desktop/images/13012025/03/28/image_13012025_03_28_02_801266_0000.jpg
/home/pi/Desktop/images/13012025/03/28/image_13012025_03_28_02_801266_0001.jpg
/home/pi/Desktop/images/13012025/03/28/image_13012025_03_28_02_801266_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328567976","1328567850","1328567897","1328567875"],"photo_ids_order":["1328567850","1328567875","1328567897","1328567976"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/46a92c597aa508f1253f578ff89d1d24.jpg","text":"TemporaryFile(/tmp/multipartBody8575778285620886592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735372326,"filename":"image_13012025_03_28_02_801266_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/533334054d2fd104163e041bfc1d63d2.jpg","text":"TemporaryFile(/tmp/multipartBody4660948478767341544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735372326,"filename":"image_13012025_03_27_02_280114_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3ad0a8efc25068f6c21aee51821f6c50.jpg","text":"TemporaryFile(/tmp/multipartBody4250034905948825265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735372326,"filename":"image_13012025_03_28_02_801266_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6f2feafcbcb73ebcc2f1a7b5eb5bd4ed.jpg","text":"TemporaryFile(/tmp/multipartBody1161235975234832358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735372326,"filename":"image_13012025_03_28_02_801266_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328567897","file1":"1328567875","file0":"1328567850","file3":"1328567976"},"map_files_photo_id_array":[{"photo_id":"1328567897","filename":"file2"},{"photo_id":"1328567875","filename":"file1"},{"photo_id":"1328567850","filename":"file0"},{"photo_id":"1328567976","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328567976":["hashtag1","hashtag2"]},{"1328567850":["hashtag1","hashtag2"]},{"1328567897":["hashtag1","hashtag2"]},{"1328567875":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328567976, 1328567850, 1328567897, 1328567875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.01966977119446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:29:22.523434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/28/image_13012025_03_28_02_801266_0003.jpg', '/home/pi/Desktop/images/13012025/03/29/image_13012025_03_29_02_401606_0000.jpg', '/home/pi/Desktop/images/13012025/03/29/image_13012025_03_29_02_401606_0001.jpg', '/home/pi/Desktop/images/13012025/03/29/image_13012025_03_29_02_401606_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/28/image_13012025_03_28_02_801266_0003.jpg
/home/pi/Desktop/images/13012025/03/29/image_13012025_03_29_02_401606_0000.jpg
/home/pi/Desktop/images/13012025/03/29/image_13012025_03_29_02_401606_0001.jpg
/home/pi/Desktop/images/13012025/03/29/image_13012025_03_29_02_401606_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328568491","1328568487","1328568484","1328568489"],"photo_ids_order":["1328568484","1328568487","1328568489","1328568491"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/69171710d4b859cff6ce5e627a2fce43.jpg","text":"TemporaryFile(/tmp/multipartBody3594712292624772237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735432847,"filename":"image_13012025_03_29_02_401606_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3a9652658ff26e2eda67a328f2e59e5e.jpg","text":"TemporaryFile(/tmp/multipartBody2175236886248444131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735432847,"filename":"image_13012025_03_29_02_401606_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/050e05f9ac74022a41aa42e2e9789f37.jpg","text":"TemporaryFile(/tmp/multipartBody8575746845054798482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735432847,"filename":"image_13012025_03_28_02_801266_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f1b03c4a89a286d4b46dccc090f48831.jpg","text":"TemporaryFile(/tmp/multipartBody5436121440629518515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735432847,"filename":"image_13012025_03_29_02_401606_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328568489","file1":"1328568487","file0":"1328568484","file3":"1328568491"},"map_files_photo_id_array":[{"photo_id":"1328568489","filename":"file2"},{"photo_id":"1328568487","filename":"file1"},{"photo_id":"1328568484","filename":"file0"},{"photo_id":"1328568491","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328568491":["hashtag1","hashtag2"]},{"1328568487":["hashtag1","hashtag2"]},{"1328568484":["hashtag1","hashtag2"]},{"1328568489":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328568491, 1328568487, 1328568484, 1328568489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.917473793029785 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:30:22.015498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/29/image_13012025_03_29_02_401606_0003.jpg', '/home/pi/Desktop/images/13012025/03/30/image_13012025_03_30_02_919846_0000.jpg', '/home/pi/Desktop/images/13012025/03/30/image_13012025_03_30_02_919846_0001.jpg', '/home/pi/Desktop/images/13012025/03/30/image_13012025_03_30_02_919846_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/29/image_13012025_03_29_02_401606_0003.jpg
/home/pi/Desktop/images/13012025/03/30/image_13012025_03_30_02_919846_0000.jpg
/home/pi/Desktop/images/13012025/03/30/image_13012025_03_30_02_919846_0001.jpg
/home/pi/Desktop/images/13012025/03/30/image_13012025_03_30_02_919846_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328568782","1328568763","1328568765","1328568801"],"photo_ids_order":["1328568763","1328568765","1328568782","1328568801"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/be97c57fe1efafb55533d3dbe9cf4a1f.jpg","text":"TemporaryFile(/tmp/multipartBody1106519131315804825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735492498,"filename":"image_13012025_03_30_02_919846_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7235ddc17f069c0156ab767b6421eca3.jpg","text":"TemporaryFile(/tmp/multipartBody4451948315706955437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735492498,"filename":"image_13012025_03_29_02_401606_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/af3b0ef7e5d926081c05a3771af36250.jpg","text":"TemporaryFile(/tmp/multipartBody826616741989687069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735492498,"filename":"image_13012025_03_30_02_919846_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4af0684028ea4ee72d360e6de4eb515c.jpg","text":"TemporaryFile(/tmp/multipartBody2460341609043908792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735492498,"filename":"image_13012025_03_30_02_919846_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328568782","file1":"1328568765","file0":"1328568763","file3":"1328568801"},"map_files_photo_id_array":[{"photo_id":"1328568782","filename":"file2"},{"photo_id":"1328568765","filename":"file1"},{"photo_id":"1328568763","filename":"file0"},{"photo_id":"1328568801","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328568782":["hashtag1","hashtag2"]},{"1328568763":["hashtag1","hashtag2"]},{"1328568765":["hashtag1","hashtag2"]},{"1328568801":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328568782, 1328568763, 1328568765, 1328568801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.970876932144165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:31:22.505330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/30/image_13012025_03_30_02_919846_0003.jpg', '/home/pi/Desktop/images/13012025/03/31/image_13012025_03_31_02_393937_0000.jpg', '/home/pi/Desktop/images/13012025/03/31/image_13012025_03_31_02_393937_0001.jpg', '/home/pi/Desktop/images/13012025/03/31/image_13012025_03_31_02_393937_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/30/image_13012025_03_30_02_919846_0003.jpg
/home/pi/Desktop/images/13012025/03/31/image_13012025_03_31_02_393937_0000.jpg
/home/pi/Desktop/images/13012025/03/31/image_13012025_03_31_02_393937_0001.jpg
/home/pi/Desktop/images/13012025/03/31/image_13012025_03_31_02_393937_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328568950","1328568944","1328568946","1328568948"],"photo_ids_order":["1328568944","1328568946","1328568948","1328568950"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f5cce58db8b145c366bc35a595a0b13d.jpg","text":"TemporaryFile(/tmp/multipartBody1864754044667887421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735552900,"filename":"image_13012025_03_31_02_393937_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fcf9d17e06e08ffbf3a0b8c09f99c187.jpg","text":"TemporaryFile(/tmp/multipartBody5965905989545772261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735552900,"filename":"image_13012025_03_30_02_919846_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2f4770f4a483c2c5c6ee369966ded86c.jpg","text":"TemporaryFile(/tmp/multipartBody6150142930077170202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735552900,"filename":"image_13012025_03_31_02_393937_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8d5658ec2209d120a9f185aba00e66f0.jpg","text":"TemporaryFile(/tmp/multipartBody9102053224989378319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735552900,"filename":"image_13012025_03_31_02_393937_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328568948","file1":"1328568946","file0":"1328568944","file3":"1328568950"},"map_files_photo_id_array":[{"photo_id":"1328568948","filename":"file2"},{"photo_id":"1328568946","filename":"file1"},{"photo_id":"1328568944","filename":"file0"},{"photo_id":"1328568950","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328568950":["hashtag1","hashtag2"]},{"1328568944":["hashtag1","hashtag2"]},{"1328568946":["hashtag1","hashtag2"]},{"1328568948":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328568950, 1328568944, 1328568946, 1328568948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.840258836746216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:32:21.986647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/31/image_13012025_03_31_02_393937_0003.jpg', '/home/pi/Desktop/images/13012025/03/32/image_13012025_03_32_02_860210_0000.jpg', '/home/pi/Desktop/images/13012025/03/32/image_13012025_03_32_02_860210_0001.jpg', '/home/pi/Desktop/images/13012025/03/32/image_13012025_03_32_02_860210_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/31/image_13012025_03_31_02_393937_0003.jpg
/home/pi/Desktop/images/13012025/03/32/image_13012025_03_32_02_860210_0000.jpg
/home/pi/Desktop/images/13012025/03/32/image_13012025_03_32_02_860210_0001.jpg
/home/pi/Desktop/images/13012025/03/32/image_13012025_03_32_02_860210_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.90675401687622 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:33:03.216934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/31/image_13012025_03_31_02_393937_0003.jpg', '/home/pi/Desktop/images/13012025/03/32/image_13012025_03_32_02_860210_0000.jpg', '/home/pi/Desktop/images/13012025/03/32/image_13012025_03_32_02_860210_0001.jpg', '/home/pi/Desktop/images/13012025/03/32/image_13012025_03_32_02_860210_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/31/image_13012025_03_31_02_393937_0003.jpg
/home/pi/Desktop/images/13012025/03/32/image_13012025_03_32_02_860210_0000.jpg
/home/pi/Desktop/images/13012025/03/32/image_13012025_03_32_02_860210_0001.jpg
/home/pi/Desktop/images/13012025/03/32/image_13012025_03_32_02_860210_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328568974","1328568976","1328568973","1328568975"],"photo_ids_order":["1328568973","1328568974","1328568975","1328568976"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/20a8d6593c2bfd15bf01ced0a91a491a.jpg","text":"TemporaryFile(/tmp/multipartBody8911985263938924911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735653593,"filename":"image_13012025_03_32_02_860210_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e64c64935cdb87687acd4b8822640b08.jpg","text":"TemporaryFile(/tmp/multipartBody1639848598312285300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735653593,"filename":"image_13012025_03_32_02_860210_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4899750b537606aeb66721532900cf94.jpg","text":"TemporaryFile(/tmp/multipartBody5403348100815216390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735653593,"filename":"image_13012025_03_31_02_393937_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c3f2d832fe3afd3884ace82cfe273dab.jpg","text":"TemporaryFile(/tmp/multipartBody1208228072182762660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735653593,"filename":"image_13012025_03_32_02_860210_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328568975","file1":"1328568974","file0":"1328568973","file3":"1328568976"},"map_files_photo_id_array":[{"photo_id":"1328568975","filename":"file2"},{"photo_id":"1328568974","filename":"file1"},{"photo_id":"1328568973","filename":"file0"},{"photo_id":"1328568976","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328568974":["hashtag1","hashtag2"]},{"1328568976":["hashtag1","hashtag2"]},{"1328568973":["hashtag1","hashtag2"]},{"1328568975":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328568974, 1328568976, 1328568973, 1328568975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.39951300621033 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:34:02.457743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/32/image_13012025_03_32_02_860210_0003.jpg', '/home/pi/Desktop/images/13012025/03/33/image_13012025_03_33_02_376459_0000.jpg', '/home/pi/Desktop/images/13012025/03/33/image_13012025_03_33_02_376459_0001.jpg', '/home/pi/Desktop/images/13012025/03/33/image_13012025_03_33_02_376459_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/32/image_13012025_03_32_02_860210_0003.jpg
/home/pi/Desktop/images/13012025/03/33/image_13012025_03_33_02_376459_0000.jpg
/home/pi/Desktop/images/13012025/03/33/image_13012025_03_33_02_376459_0001.jpg
/home/pi/Desktop/images/13012025/03/33/image_13012025_03_33_02_376459_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.049394845962524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:34:22.014202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/32/image_13012025_03_32_02_860210_0003.jpg', '/home/pi/Desktop/images/13012025/03/33/image_13012025_03_33_02_376459_0000.jpg', '/home/pi/Desktop/images/13012025/03/33/image_13012025_03_33_02_376459_0001.jpg', '/home/pi/Desktop/images/13012025/03/33/image_13012025_03_33_02_376459_0002.jpg', '/home/pi/Desktop/images/13012025/03/33/image_13012025_03_33_02_376459_0003.jpg', '/home/pi/Desktop/images/13012025/03/34/image_13012025_03_34_02_895468_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/32/image_13012025_03_32_02_860210_0003.jpg
/home/pi/Desktop/images/13012025/03/33/image_13012025_03_33_02_376459_0000.jpg
/home/pi/Desktop/images/13012025/03/33/image_13012025_03_33_02_376459_0001.jpg
/home/pi/Desktop/images/13012025/03/33/image_13012025_03_33_02_376459_0002.jpg
/home/pi/Desktop/images/13012025/03/33/image_13012025_03_33_02_376459_0003.jpg
/home/pi/Desktop/images/13012025/03/34/image_13012025_03_34_02_895468_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328570096","1328569529","1328569087","1328569267","1328569989","1328569766"],"photo_ids_order":["1328569087","1328569267","1328569529","1328569766","1328569989","1328570096"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3f69c13d40437fa2713f15edcc3e9024.jpg","text":"TemporaryFile(/tmp/multipartBody7763633554202186284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735737408,"filename":"image_13012025_03_34_02_895468_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/12143e5fa6f3c3896342e24c550d5690.jpg","text":"TemporaryFile(/tmp/multipartBody4322206570657564774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735737408,"filename":"image_13012025_03_33_02_376459_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d9db8d36bf42300935f444bdde10e3b9.jpg","text":"TemporaryFile(/tmp/multipartBody796359529512918510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735737408,"filename":"image_13012025_03_32_02_860210_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/846eff88906f030ed74f675f9f4b8e87.jpg","text":"TemporaryFile(/tmp/multipartBody865592273884996143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735737408,"filename":"image_13012025_03_33_02_376459_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d0c68a398256b2eb0fbf1e782f0ec658.jpg","text":"TemporaryFile(/tmp/multipartBody2366402545647918251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735737408,"filename":"image_13012025_03_33_02_376459_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c16491e2b701c9d9f8735c5363a6b2d3.jpg","text":"TemporaryFile(/tmp/multipartBody3695552448622132224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735737408,"filename":"image_13012025_03_33_02_376459_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328569529","file1":"1328569267","file0":"1328569087","file4":"1328569989","file5":"1328570096","file3":"1328569766"},"map_files_photo_id_array":[{"photo_id":"1328570096","filename":"file5"},{"photo_id":"1328569529","filename":"file2"},{"photo_id":"1328569989","filename":"file4"},{"photo_id":"1328569267","filename":"file1"},{"photo_id":"1328569087","filename":"file0"},{"photo_id":"1328569766","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328570096":["hashtag1","hashtag2"]},{"1328569529":["hashtag1","hashtag2"]},{"1328569087":["hashtag1","hashtag2"]},{"1328569267":["hashtag1","hashtag2"]},{"1328569989":["hashtag1","hashtag2"]},{"1328569766":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328570096, 1328569529, 1328569087, 1328569267, 1328569989, 1328569766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.45768213272095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:36:02.854989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/34/image_13012025_03_34_02_895468_0001.jpg', '/home/pi/Desktop/images/13012025/03/34/image_13012025_03_34_02_895468_0002.jpg', '/home/pi/Desktop/images/13012025/03/35/image_13012025_03_35_02_422001_0000.jpg', '/home/pi/Desktop/images/13012025/03/35/image_13012025_03_35_02_422001_0001.jpg', '/home/pi/Desktop/images/13012025/03/35/image_13012025_03_35_02_422001_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/34/image_13012025_03_34_02_895468_0001.jpg
/home/pi/Desktop/images/13012025/03/34/image_13012025_03_34_02_895468_0002.jpg
/home/pi/Desktop/images/13012025/03/35/image_13012025_03_35_02_422001_0000.jpg
/home/pi/Desktop/images/13012025/03/35/image_13012025_03_35_02_422001_0001.jpg
/home/pi/Desktop/images/13012025/03/35/image_13012025_03_35_02_422001_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328570462","1328570333","1328570464","1328570355","1328570334"],"photo_ids_order":["1328570333","1328570334","1328570355","1328570462","1328570464"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ef5a4e395037df5ec4d0d474bb57332a.jpg","text":"TemporaryFile(/tmp/multipartBody6460581324138388686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735835721,"filename":"image_13012025_03_35_02_422001_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/57f5ad503d308a038d16fad6fc1a2b96.jpg","text":"TemporaryFile(/tmp/multipartBody6955985090532652882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735835721,"filename":"image_13012025_03_34_02_895468_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/59eb0996653c82fccedfe0e3201516d8.jpg","text":"TemporaryFile(/tmp/multipartBody5039096596754581358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735835721,"filename":"image_13012025_03_35_02_422001_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/770a952dc961c94f39422d133f5d87be.jpg","text":"TemporaryFile(/tmp/multipartBody3296465219632934492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735835721,"filename":"image_13012025_03_35_02_422001_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4258f7f80e0d0ecaf40ab0f5021858f2.jpg","text":"TemporaryFile(/tmp/multipartBody1625551255522624945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735835721,"filename":"image_13012025_03_34_02_895468_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328570355","file1":"1328570334","file0":"1328570333","file4":"1328570464","file3":"1328570462"},"map_files_photo_id_array":[{"photo_id":"1328570355","filename":"file2"},{"photo_id":"1328570464","filename":"file4"},{"photo_id":"1328570334","filename":"file1"},{"photo_id":"1328570333","filename":"file0"},{"photo_id":"1328570462","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328570462":["hashtag1","hashtag2"]},{"1328570333":["hashtag1","hashtag2"]},{"1328570464":["hashtag1","hashtag2"]},{"1328570355":["hashtag1","hashtag2"]},{"1328570334":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328570462, 1328570333, 1328570464, 1328570355, 1328570334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.68377447128296 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:37:02.406906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/35/image_13012025_03_35_02_422001_0003.jpg', '/home/pi/Desktop/images/13012025/03/36/image_13012025_03_36_02_223702_0000.jpg', '/home/pi/Desktop/images/13012025/03/36/image_13012025_03_36_02_223702_0001.jpg', '/home/pi/Desktop/images/13012025/03/36/image_13012025_03_36_02_223702_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/35/image_13012025_03_35_02_422001_0003.jpg
/home/pi/Desktop/images/13012025/03/36/image_13012025_03_36_02_223702_0000.jpg
/home/pi/Desktop/images/13012025/03/36/image_13012025_03_36_02_223702_0001.jpg
/home/pi/Desktop/images/13012025/03/36/image_13012025_03_36_02_223702_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.872488021850586 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:37:21.809142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/35/image_13012025_03_35_02_422001_0003.jpg', '/home/pi/Desktop/images/13012025/03/36/image_13012025_03_36_02_223702_0000.jpg', '/home/pi/Desktop/images/13012025/03/36/image_13012025_03_36_02_223702_0001.jpg', '/home/pi/Desktop/images/13012025/03/36/image_13012025_03_36_02_223702_0002.jpg', '/home/pi/Desktop/images/13012025/03/36/image_13012025_03_36_02_223702_0003.jpg', '/home/pi/Desktop/images/13012025/03/37/image_13012025_03_37_02_727414_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/35/image_13012025_03_35_02_422001_0003.jpg
/home/pi/Desktop/images/13012025/03/36/image_13012025_03_36_02_223702_0000.jpg
/home/pi/Desktop/images/13012025/03/36/image_13012025_03_36_02_223702_0001.jpg
/home/pi/Desktop/images/13012025/03/36/image_13012025_03_36_02_223702_0002.jpg
/home/pi/Desktop/images/13012025/03/36/image_13012025_03_36_02_223702_0003.jpg
/home/pi/Desktop/images/13012025/03/37/image_13012025_03_37_02_727414_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328570720","1328570726","1328570728","1328570722","1328570724","1328570718"],"photo_ids_order":["1328570718","1328570720","1328570722","1328570724","1328570726","1328570728"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dd6f0cc91fc6b7a01da89c9d13f2c76b.jpg","text":"TemporaryFile(/tmp/multipartBody6944314795439133185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735916757,"filename":"image_13012025_03_36_02_223702_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fee3c277d6be113c418001fb534bfa39.jpg","text":"TemporaryFile(/tmp/multipartBody5922560880638623185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735916757,"filename":"image_13012025_03_36_02_223702_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9a993c0f4b0601136d3946fff542198e.jpg","text":"TemporaryFile(/tmp/multipartBody4964046534043604539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735916757,"filename":"image_13012025_03_37_02_727414_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ffcab44c7afc571952cfb7996cd621e7.jpg","text":"TemporaryFile(/tmp/multipartBody8431608887822372125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735916757,"filename":"image_13012025_03_36_02_223702_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/605f3669e9d5131151f4a278181432f8.jpg","text":"TemporaryFile(/tmp/multipartBody7700519597242464169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735916757,"filename":"image_13012025_03_36_02_223702_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f6ef15e1a70d02c5257b18242c8df0a3.jpg","text":"TemporaryFile(/tmp/multipartBody4012317340696787661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735916757,"filename":"image_13012025_03_35_02_422001_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328570722","file1":"1328570720","file0":"1328570718","file4":"1328570726","file5":"1328570728","file3":"1328570724"},"map_files_photo_id_array":[{"photo_id":"1328570728","filename":"file5"},{"photo_id":"1328570722","filename":"file2"},{"photo_id":"1328570726","filename":"file4"},{"photo_id":"1328570720","filename":"file1"},{"photo_id":"1328570718","filename":"file0"},{"photo_id":"1328570724","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328570720":["hashtag1","hashtag2"]},{"1328570726":["hashtag1","hashtag2"]},{"1328570728":["hashtag1","hashtag2"]},{"1328570722":["hashtag1","hashtag2"]},{"1328570724":["hashtag1","hashtag2"]},{"1328570718":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328570720, 1328570726, 1328570728, 1328570722, 1328570724, 1328570718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.834508419036865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:38:22.450948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/37/image_13012025_03_37_02_727414_0001.jpg', '/home/pi/Desktop/images/13012025/03/37/image_13012025_03_37_02_727414_0002.jpg', '/home/pi/Desktop/images/13012025/03/37/image_13012025_03_37_02_727414_0003.jpg', '/home/pi/Desktop/images/13012025/03/38/image_13012025_03_38_02_250199_0000.jpg', '/home/pi/Desktop/images/13012025/03/38/image_13012025_03_38_02_250199_0001.jpg', '/home/pi/Desktop/images/13012025/03/38/image_13012025_03_38_02_250199_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/37/image_13012025_03_37_02_727414_0001.jpg
/home/pi/Desktop/images/13012025/03/37/image_13012025_03_37_02_727414_0002.jpg
/home/pi/Desktop/images/13012025/03/37/image_13012025_03_37_02_727414_0003.jpg
/home/pi/Desktop/images/13012025/03/38/image_13012025_03_38_02_250199_0000.jpg
/home/pi/Desktop/images/13012025/03/38/image_13012025_03_38_02_250199_0001.jpg
/home/pi/Desktop/images/13012025/03/38/image_13012025_03_38_02_250199_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328570744","1328570742","1328570736","1328570739","1328570730","1328570733"],"photo_ids_order":["1328570730","1328570733","1328570736","1328570739","1328570742","1328570744"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/933b9df787e9440bfd039ad3c7f436b7.jpg","text":"TemporaryFile(/tmp/multipartBody285616614851963693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735977702,"filename":"image_13012025_03_38_02_250199_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/866b548e8d2419c49fdab593fb8a559e.jpg","text":"TemporaryFile(/tmp/multipartBody2700790727224644965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735977702,"filename":"image_13012025_03_38_02_250199_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/333d7d21066baab4a5682c25d601c65f.jpg","text":"TemporaryFile(/tmp/multipartBody6270815987472710837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735977702,"filename":"image_13012025_03_37_02_727414_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/574de25e1eae8016ff0dcde5925159fe.jpg","text":"TemporaryFile(/tmp/multipartBody2499548448950781086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735977702,"filename":"image_13012025_03_38_02_250199_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2c26f077bc1377362f6a2e1b8c115f68.jpg","text":"TemporaryFile(/tmp/multipartBody2790861370876722383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735977702,"filename":"image_13012025_03_37_02_727414_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0782123353fb160de58799d236f21266.jpg","text":"TemporaryFile(/tmp/multipartBody8232780558269417603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736735977702,"filename":"image_13012025_03_37_02_727414_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328570736","file1":"1328570733","file0":"1328570730","file4":"1328570742","file5":"1328570744","file3":"1328570739"},"map_files_photo_id_array":[{"photo_id":"1328570744","filename":"file5"},{"photo_id":"1328570736","filename":"file2"},{"photo_id":"1328570742","filename":"file4"},{"photo_id":"1328570733","filename":"file1"},{"photo_id":"1328570730","filename":"file0"},{"photo_id":"1328570739","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328570744":["hashtag1","hashtag2"]},{"1328570742":["hashtag1","hashtag2"]},{"1328570736":["hashtag1","hashtag2"]},{"1328570739":["hashtag1","hashtag2"]},{"1328570730":["hashtag1","hashtag2"]},{"1328570733":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328570744, 1328570742, 1328570736, 1328570739, 1328570730, 1328570733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.07896018028259 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:39:22.021236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/38/image_13012025_03_38_02_250199_0003.jpg', '/home/pi/Desktop/images/13012025/03/39/image_13012025_03_39_02_906880_0000.jpg', '/home/pi/Desktop/images/13012025/03/39/image_13012025_03_39_02_906880_0001.jpg', '/home/pi/Desktop/images/13012025/03/39/image_13012025_03_39_02_906880_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/38/image_13012025_03_38_02_250199_0003.jpg
/home/pi/Desktop/images/13012025/03/39/image_13012025_03_39_02_906880_0000.jpg
/home/pi/Desktop/images/13012025/03/39/image_13012025_03_39_02_906880_0001.jpg
/home/pi/Desktop/images/13012025/03/39/image_13012025_03_39_02_906880_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328570801","1328570773","1328570779","1328570775"],"photo_ids_order":["1328570773","1328570775","1328570779","1328570801"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5ad10bf683a3a1005e2ea4000f835f59.jpg","text":"TemporaryFile(/tmp/multipartBody3816662184435171238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736032322,"filename":"image_13012025_03_39_02_906880_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ee3e2528b5ca41d5f7859efe7d2e6595.jpg","text":"TemporaryFile(/tmp/multipartBody6833997902083883482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736032322,"filename":"image_13012025_03_38_02_250199_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/da3811a6e2c781f0c366802f7184cadb.jpg","text":"TemporaryFile(/tmp/multipartBody8732854895360414102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736032322,"filename":"image_13012025_03_39_02_906880_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d2665450c2a3b680d47bac10fab31267.jpg","text":"TemporaryFile(/tmp/multipartBody5807955756520125760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736032322,"filename":"image_13012025_03_39_02_906880_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328570779","file1":"1328570775","file0":"1328570773","file3":"1328570801"},"map_files_photo_id_array":[{"photo_id":"1328570779","filename":"file2"},{"photo_id":"1328570775","filename":"file1"},{"photo_id":"1328570773","filename":"file0"},{"photo_id":"1328570801","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328570801":["hashtag1","hashtag2"]},{"1328570773":["hashtag1","hashtag2"]},{"1328570779":["hashtag1","hashtag2"]},{"1328570775":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328570801, 1328570773, 1328570779, 1328570775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.176010847091675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:40:22.549075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/39/image_13012025_03_39_02_906880_0003.jpg', '/home/pi/Desktop/images/13012025/03/40/image_13012025_03_40_02_413239_0000.jpg', '/home/pi/Desktop/images/13012025/03/40/image_13012025_03_40_02_413239_0001.jpg', '/home/pi/Desktop/images/13012025/03/40/image_13012025_03_40_02_413239_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/39/image_13012025_03_39_02_906880_0003.jpg
/home/pi/Desktop/images/13012025/03/40/image_13012025_03_40_02_413239_0000.jpg
/home/pi/Desktop/images/13012025/03/40/image_13012025_03_40_02_413239_0001.jpg
/home/pi/Desktop/images/13012025/03/40/image_13012025_03_40_02_413239_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328570912","1328570918","1328570914","1328570916"],"photo_ids_order":["1328570912","1328570914","1328570916","1328570918"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/25664ed6a65b4aa42073daebefd4b031.jpg","text":"TemporaryFile(/tmp/multipartBody9186856874756456127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736092729,"filename":"image_13012025_03_39_02_906880_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1f1dd2f509eae482a7c0e0b223b10f88.jpg","text":"TemporaryFile(/tmp/multipartBody4515036789174374509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736092729,"filename":"image_13012025_03_40_02_413239_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/63dfb4687377a2dd613fb24da64ac920.jpg","text":"TemporaryFile(/tmp/multipartBody7128904712659278612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736092729,"filename":"image_13012025_03_40_02_413239_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c89631cf95c6869e35df8665f7dd19ff.jpg","text":"TemporaryFile(/tmp/multipartBody6344805863604440611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736092729,"filename":"image_13012025_03_40_02_413239_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328570916","file1":"1328570914","file0":"1328570912","file3":"1328570918"},"map_files_photo_id_array":[{"photo_id":"1328570916","filename":"file2"},{"photo_id":"1328570914","filename":"file1"},{"photo_id":"1328570912","filename":"file0"},{"photo_id":"1328570918","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328570912":["hashtag1","hashtag2"]},{"1328570918":["hashtag1","hashtag2"]},{"1328570914":["hashtag1","hashtag2"]},{"1328570916":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328570912, 1328570918, 1328570914, 1328570916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.34404420852661 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:41:22.010714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/40/image_13012025_03_40_02_413239_0003.jpg', '/home/pi/Desktop/images/13012025/03/41/image_13012025_03_41_02_876009_0000.jpg', '/home/pi/Desktop/images/13012025/03/41/image_13012025_03_41_02_876009_0001.jpg', '/home/pi/Desktop/images/13012025/03/41/image_13012025_03_41_02_876009_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/40/image_13012025_03_40_02_413239_0003.jpg
/home/pi/Desktop/images/13012025/03/41/image_13012025_03_41_02_876009_0000.jpg
/home/pi/Desktop/images/13012025/03/41/image_13012025_03_41_02_876009_0001.jpg
/home/pi/Desktop/images/13012025/03/41/image_13012025_03_41_02_876009_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328570924","1328570926","1328570928","1328570922"],"photo_ids_order":["1328570922","1328570924","1328570926","1328570928"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/429f93f30fe906fc49b075be354fbbeb.jpg","text":"TemporaryFile(/tmp/multipartBody5422210688570793548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736152165,"filename":"image_13012025_03_41_02_876009_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b5a1dced141f2c76cf530fac2b92809e.jpg","text":"TemporaryFile(/tmp/multipartBody2917530117709095317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736152165,"filename":"image_13012025_03_41_02_876009_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c8c998148e02c9be7aa75ee6bd15c57e.jpg","text":"TemporaryFile(/tmp/multipartBody631215373255776484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736152165,"filename":"image_13012025_03_41_02_876009_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/12cb86ebd2b969400249a50fbaa31cd1.jpg","text":"TemporaryFile(/tmp/multipartBody7979951667637729482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736152165,"filename":"image_13012025_03_40_02_413239_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328570926","file1":"1328570924","file0":"1328570922","file3":"1328570928"},"map_files_photo_id_array":[{"photo_id":"1328570926","filename":"file2"},{"photo_id":"1328570924","filename":"file1"},{"photo_id":"1328570922","filename":"file0"},{"photo_id":"1328570928","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328570924":["hashtag1","hashtag2"]},{"1328570926":["hashtag1","hashtag2"]},{"1328570928":["hashtag1","hashtag2"]},{"1328570922":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328570924, 1328570926, 1328570928, 1328570922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.83653521537781 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:42:22.635690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/41/image_13012025_03_41_02_876009_0003.jpg', '/home/pi/Desktop/images/13012025/03/42/image_13012025_03_42_02_472309_0000.jpg', '/home/pi/Desktop/images/13012025/03/42/image_13012025_03_42_02_472309_0001.jpg', '/home/pi/Desktop/images/13012025/03/42/image_13012025_03_42_02_472309_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/41/image_13012025_03_41_02_876009_0003.jpg
/home/pi/Desktop/images/13012025/03/42/image_13012025_03_42_02_472309_0000.jpg
/home/pi/Desktop/images/13012025/03/42/image_13012025_03_42_02_472309_0001.jpg
/home/pi/Desktop/images/13012025/03/42/image_13012025_03_42_02_472309_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328570951","1328570935","1328570965","1328570932"],"photo_ids_order":["1328570932","1328570935","1328570951","1328570965"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/caf6c06c466eb82fb46adfe5275d2080.jpg","text":"TemporaryFile(/tmp/multipartBody410699711925841629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736212909,"filename":"image_13012025_03_42_02_472309_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7e99aba278b09a283ea219cb628872c9.jpg","text":"TemporaryFile(/tmp/multipartBody201268924716248431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736212909,"filename":"image_13012025_03_42_02_472309_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0835905d53ecd53916ee8d956d3d2175.jpg","text":"TemporaryFile(/tmp/multipartBody2574631650395390682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736212909,"filename":"image_13012025_03_42_02_472309_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fea9320049778386cae6a8bb02540119.jpg","text":"TemporaryFile(/tmp/multipartBody132589730983307684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736212909,"filename":"image_13012025_03_41_02_876009_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328570951","file1":"1328570935","file0":"1328570932","file3":"1328570965"},"map_files_photo_id_array":[{"photo_id":"1328570951","filename":"file2"},{"photo_id":"1328570935","filename":"file1"},{"photo_id":"1328570932","filename":"file0"},{"photo_id":"1328570965","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328570951":["hashtag1","hashtag2"]},{"1328570935":["hashtag1","hashtag2"]},{"1328570965":["hashtag1","hashtag2"]},{"1328570932":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328570951, 1328570935, 1328570965, 1328570932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.404735803604126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:43:22.155359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/42/image_13012025_03_42_02_472309_0003.jpg', '/home/pi/Desktop/images/13012025/03/43/image_13012025_03_43_02_991812_0000.jpg', '/home/pi/Desktop/images/13012025/03/43/image_13012025_03_43_02_991812_0001.jpg', '/home/pi/Desktop/images/13012025/03/43/image_13012025_03_43_02_991812_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/42/image_13012025_03_42_02_472309_0003.jpg
/home/pi/Desktop/images/13012025/03/43/image_13012025_03_43_02_991812_0000.jpg
/home/pi/Desktop/images/13012025/03/43/image_13012025_03_43_02_991812_0001.jpg
/home/pi/Desktop/images/13012025/03/43/image_13012025_03_43_02_991812_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328570999","1328570980","1328571001","1328571003"],"photo_ids_order":["1328570980","1328570999","1328571001","1328571003"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/80ef62f1249272593f9c5a3394ae826a.jpg","text":"TemporaryFile(/tmp/multipartBody3323823481878212502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736272439,"filename":"image_13012025_03_43_02_991812_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/11c634b193eb9d601740003e829cbd77.jpg","text":"TemporaryFile(/tmp/multipartBody6865865146528033075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736272439,"filename":"image_13012025_03_42_02_472309_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a6690d22087829ca04f0dd5d13060e05.jpg","text":"TemporaryFile(/tmp/multipartBody7369344447529238233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736272439,"filename":"image_13012025_03_43_02_991812_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/65304deef3bb200bb4e3947d794ce379.jpg","text":"TemporaryFile(/tmp/multipartBody7849800219050935575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736272439,"filename":"image_13012025_03_43_02_991812_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328571001","file1":"1328570999","file0":"1328570980","file3":"1328571003"},"map_files_photo_id_array":[{"photo_id":"1328571001","filename":"file2"},{"photo_id":"1328570999","filename":"file1"},{"photo_id":"1328570980","filename":"file0"},{"photo_id":"1328571003","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328570999":["hashtag1","hashtag2"]},{"1328570980":["hashtag1","hashtag2"]},{"1328571001":["hashtag1","hashtag2"]},{"1328571003":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328570999, 1328570980, 1328571001, 1328571003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.610456228256226 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:44:03.106655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:44:22.678585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/43/image_13012025_03_43_02_991812_0003.jpg', '/home/pi/Desktop/images/13012025/03/44/image_13012025_03_44_02_588126_0000.jpg', '/home/pi/Desktop/images/13012025/03/44/image_13012025_03_44_02_588126_0001.jpg', '/home/pi/Desktop/images/13012025/03/44/image_13012025_03_44_02_588126_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/43/image_13012025_03_43_02_991812_0003.jpg
/home/pi/Desktop/images/13012025/03/44/image_13012025_03_44_02_588126_0000.jpg
/home/pi/Desktop/images/13012025/03/44/image_13012025_03_44_02_588126_0001.jpg
/home/pi/Desktop/images/13012025/03/44/image_13012025_03_44_02_588126_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328571053","1328571055","1328571051","1328571057"],"photo_ids_order":["1328571051","1328571053","1328571055","1328571057"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/12fe9d594ae4ee41bf1ec934ad9bc719.jpg","text":"TemporaryFile(/tmp/multipartBody4317998927926367009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736332866,"filename":"image_13012025_03_44_02_588126_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/07a13c7d7de3ef1a1260dbda6afdb109.jpg","text":"TemporaryFile(/tmp/multipartBody8984477965602620810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736332866,"filename":"image_13012025_03_44_02_588126_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3a03439d148e3ba03f34bba3be9a66d9.jpg","text":"TemporaryFile(/tmp/multipartBody5485339348929817090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736332866,"filename":"image_13012025_03_43_02_991812_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a1f2924e027121c564a53926d91eb336.jpg","text":"TemporaryFile(/tmp/multipartBody6066598321046018615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736332866,"filename":"image_13012025_03_44_02_588126_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328571055","file1":"1328571053","file0":"1328571051","file3":"1328571057"},"map_files_photo_id_array":[{"photo_id":"1328571055","filename":"file2"},{"photo_id":"1328571053","filename":"file1"},{"photo_id":"1328571051","filename":"file0"},{"photo_id":"1328571057","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328571053":["hashtag1","hashtag2"]},{"1328571055":["hashtag1","hashtag2"]},{"1328571051":["hashtag1","hashtag2"]},{"1328571057":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328571053, 1328571055, 1328571051, 1328571057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.08169388771057 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:45:22.152709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/44/image_13012025_03_44_02_588126_0003.jpg', '/home/pi/Desktop/images/13012025/03/45/image_13012025_03_45_03_083348_0000.jpg', '/home/pi/Desktop/images/13012025/03/45/image_13012025_03_45_03_083348_0001.jpg', '/home/pi/Desktop/images/13012025/03/45/image_13012025_03_45_03_083348_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/44/image_13012025_03_44_02_588126_0003.jpg
/home/pi/Desktop/images/13012025/03/45/image_13012025_03_45_03_083348_0000.jpg
/home/pi/Desktop/images/13012025/03/45/image_13012025_03_45_03_083348_0001.jpg
/home/pi/Desktop/images/13012025/03/45/image_13012025_03_45_03_083348_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.694496154785156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:46:03.135678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/44/image_13012025_03_44_02_588126_0003.jpg', '/home/pi/Desktop/images/13012025/03/45/image_13012025_03_45_03_083348_0000.jpg', '/home/pi/Desktop/images/13012025/03/45/image_13012025_03_45_03_083348_0001.jpg', '/home/pi/Desktop/images/13012025/03/45/image_13012025_03_45_03_083348_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/44/image_13012025_03_44_02_588126_0003.jpg
/home/pi/Desktop/images/13012025/03/45/image_13012025_03_45_03_083348_0000.jpg
/home/pi/Desktop/images/13012025/03/45/image_13012025_03_45_03_083348_0001.jpg
/home/pi/Desktop/images/13012025/03/45/image_13012025_03_45_03_083348_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328571367","1328571366","1328571365","1328571368"],"photo_ids_order":["1328571365","1328571366","1328571367","1328571368"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/15708d35b52a7e6f55197245591e81af.jpg","text":"TemporaryFile(/tmp/multipartBody1945406283917021322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736433279,"filename":"image_13012025_03_45_03_083348_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a865ac5e08a0e929e0dd0095670dd3e3.jpg","text":"TemporaryFile(/tmp/multipartBody6028422958448188200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736433279,"filename":"image_13012025_03_45_03_083348_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4a59648891ebc1c545d2ae5fa8bdb9f0.jpg","text":"TemporaryFile(/tmp/multipartBody8420721079801004928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736433279,"filename":"image_13012025_03_44_02_588126_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8cf86e8e9af80457349a6a0b6d26c94b.jpg","text":"TemporaryFile(/tmp/multipartBody2040732003141990675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736433279,"filename":"image_13012025_03_45_03_083348_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328571367","file1":"1328571366","file0":"1328571365","file3":"1328571368"},"map_files_photo_id_array":[{"photo_id":"1328571367","filename":"file2"},{"photo_id":"1328571366","filename":"file1"},{"photo_id":"1328571365","filename":"file0"},{"photo_id":"1328571368","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328571367":["hashtag1","hashtag2"]},{"1328571366":["hashtag1","hashtag2"]},{"1328571365":["hashtag1","hashtag2"]},{"1328571368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328571367, 1328571366, 1328571365, 1328571368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.31464982032776 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:47:02.821756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/45/image_13012025_03_45_03_083348_0003.jpg', '/home/pi/Desktop/images/13012025/03/46/image_13012025_03_46_02_616947_0000.jpg', '/home/pi/Desktop/images/13012025/03/46/image_13012025_03_46_02_616947_0001.jpg', '/home/pi/Desktop/images/13012025/03/46/image_13012025_03_46_02_616947_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/45/image_13012025_03_45_03_083348_0003.jpg
/home/pi/Desktop/images/13012025/03/46/image_13012025_03_46_02_616947_0000.jpg
/home/pi/Desktop/images/13012025/03/46/image_13012025_03_46_02_616947_0001.jpg
/home/pi/Desktop/images/13012025/03/46/image_13012025_03_46_02_616947_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.8805673122406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:47:22.310645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/45/image_13012025_03_45_03_083348_0003.jpg', '/home/pi/Desktop/images/13012025/03/46/image_13012025_03_46_02_616947_0000.jpg', '/home/pi/Desktop/images/13012025/03/46/image_13012025_03_46_02_616947_0001.jpg', '/home/pi/Desktop/images/13012025/03/46/image_13012025_03_46_02_616947_0002.jpg', '/home/pi/Desktop/images/13012025/03/46/image_13012025_03_46_02_616947_0003.jpg', '/home/pi/Desktop/images/13012025/03/47/image_13012025_03_47_03_150240_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/45/image_13012025_03_45_03_083348_0003.jpg
/home/pi/Desktop/images/13012025/03/46/image_13012025_03_46_02_616947_0000.jpg
/home/pi/Desktop/images/13012025/03/46/image_13012025_03_46_02_616947_0001.jpg
/home/pi/Desktop/images/13012025/03/46/image_13012025_03_46_02_616947_0002.jpg
/home/pi/Desktop/images/13012025/03/46/image_13012025_03_46_02_616947_0003.jpg
/home/pi/Desktop/images/13012025/03/47/image_13012025_03_47_03_150240_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328571385","1328571379","1328571387","1328571381","1328571383","1328571389"],"photo_ids_order":["1328571379","1328571381","1328571383","1328571385","1328571387","1328571389"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6fdeec6e2cec3c2197132d3a3e5e9948.jpg","text":"TemporaryFile(/tmp/multipartBody3915898561163770512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736517333,"filename":"image_13012025_03_46_02_616947_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6903b614014f57ca01d3873a35da4ddf.jpg","text":"TemporaryFile(/tmp/multipartBody8014119143808176034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736517333,"filename":"image_13012025_03_45_03_083348_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/73b8429146c5160f57268f0ecb21984e.jpg","text":"TemporaryFile(/tmp/multipartBody992492547379142181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736517333,"filename":"image_13012025_03_46_02_616947_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3b711bbd060feb59ea631fdab718eda4.jpg","text":"TemporaryFile(/tmp/multipartBody3065045178652688990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736517333,"filename":"image_13012025_03_46_02_616947_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f1a12b328419bb5bd1ca05c9b81d8236.jpg","text":"TemporaryFile(/tmp/multipartBody6476449836531632878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736517333,"filename":"image_13012025_03_46_02_616947_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a7d9b351394387bc6e9dfe28c1696fee.jpg","text":"TemporaryFile(/tmp/multipartBody7230971792003696735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736517333,"filename":"image_13012025_03_47_03_150240_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328571383","file1":"1328571381","file0":"1328571379","file4":"1328571387","file5":"1328571389","file3":"1328571385"},"map_files_photo_id_array":[{"photo_id":"1328571389","filename":"file5"},{"photo_id":"1328571383","filename":"file2"},{"photo_id":"1328571387","filename":"file4"},{"photo_id":"1328571381","filename":"file1"},{"photo_id":"1328571379","filename":"file0"},{"photo_id":"1328571385","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328571385":["hashtag1","hashtag2"]},{"1328571379":["hashtag1","hashtag2"]},{"1328571387":["hashtag1","hashtag2"]},{"1328571381":["hashtag1","hashtag2"]},{"1328571383":["hashtag1","hashtag2"]},{"1328571389":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328571385, 1328571379, 1328571387, 1328571381, 1328571383, 1328571389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.45367622375488 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:49:03.014380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/47/image_13012025_03_47_03_150240_0001.jpg', '/home/pi/Desktop/images/13012025/03/47/image_13012025_03_47_03_150240_0002.jpg', '/home/pi/Desktop/images/13012025/03/47/image_13012025_03_47_03_150240_0003.jpg', '/home/pi/Desktop/images/13012025/03/48/image_13012025_03_48_02_713700_0000.jpg', '/home/pi/Desktop/images/13012025/03/48/image_13012025_03_48_02_713700_0001.jpg', '/home/pi/Desktop/images/13012025/03/48/image_13012025_03_48_02_713700_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/47/image_13012025_03_47_03_150240_0001.jpg
/home/pi/Desktop/images/13012025/03/47/image_13012025_03_47_03_150240_0002.jpg
/home/pi/Desktop/images/13012025/03/47/image_13012025_03_47_03_150240_0003.jpg
/home/pi/Desktop/images/13012025/03/48/image_13012025_03_48_02_713700_0000.jpg
/home/pi/Desktop/images/13012025/03/48/image_13012025_03_48_02_713700_0001.jpg
/home/pi/Desktop/images/13012025/03/48/image_13012025_03_48_02_713700_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.601986169815063 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:49:22.500641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/47/image_13012025_03_47_03_150240_0001.jpg', '/home/pi/Desktop/images/13012025/03/47/image_13012025_03_47_03_150240_0002.jpg', '/home/pi/Desktop/images/13012025/03/47/image_13012025_03_47_03_150240_0003.jpg', '/home/pi/Desktop/images/13012025/03/48/image_13012025_03_48_02_713700_0000.jpg', '/home/pi/Desktop/images/13012025/03/48/image_13012025_03_48_02_713700_0001.jpg', '/home/pi/Desktop/images/13012025/03/48/image_13012025_03_48_02_713700_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/47/image_13012025_03_47_03_150240_0001.jpg
/home/pi/Desktop/images/13012025/03/47/image_13012025_03_47_03_150240_0002.jpg
/home/pi/Desktop/images/13012025/03/47/image_13012025_03_47_03_150240_0003.jpg
/home/pi/Desktop/images/13012025/03/48/image_13012025_03_48_02_713700_0000.jpg
/home/pi/Desktop/images/13012025/03/48/image_13012025_03_48_02_713700_0001.jpg
/home/pi/Desktop/images/13012025/03/48/image_13012025_03_48_02_713700_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328571481","1328571466","1328571520","1328571468","1328571456","1328571464"],"photo_ids_order":["1328571456","1328571464","1328571466","1328571468","1328571481","1328571520"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/008373be48d2d98b3dfe9eeabb9d86b4.jpg","text":"TemporaryFile(/tmp/multipartBody1438971341254133929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736637431,"filename":"image_13012025_03_48_02_713700_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4fe6aef6389b8a9d35e1d5f053ebf719.jpg","text":"TemporaryFile(/tmp/multipartBody2520761478859207829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736637431,"filename":"image_13012025_03_47_03_150240_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1310d394cea7ce9ecb815235bb2a2c1a.jpg","text":"TemporaryFile(/tmp/multipartBody4440388886545377585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736637431,"filename":"image_13012025_03_48_02_713700_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c6571100fe8db349938783b28eddbbd5.jpg","text":"TemporaryFile(/tmp/multipartBody9063980761004461853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736637431,"filename":"image_13012025_03_48_02_713700_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/918a23d6e636bdcb00630e3d3e96d0ae.jpg","text":"TemporaryFile(/tmp/multipartBody4128265284730994927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736637431,"filename":"image_13012025_03_47_03_150240_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4df1410b1b89a455382c646f5ca1fab3.jpg","text":"TemporaryFile(/tmp/multipartBody1081522174683644342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736637431,"filename":"image_13012025_03_47_03_150240_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328571466","file1":"1328571464","file0":"1328571456","file4":"1328571481","file5":"1328571520","file3":"1328571468"},"map_files_photo_id_array":[{"photo_id":"1328571520","filename":"file5"},{"photo_id":"1328571466","filename":"file2"},{"photo_id":"1328571481","filename":"file4"},{"photo_id":"1328571464","filename":"file1"},{"photo_id":"1328571456","filename":"file0"},{"photo_id":"1328571468","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328571481":["hashtag1","hashtag2"]},{"1328571466":["hashtag1","hashtag2"]},{"1328571520":["hashtag1","hashtag2"]},{"1328571468":["hashtag1","hashtag2"]},{"1328571456":["hashtag1","hashtag2"]},{"1328571464":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328571481, 1328571466, 1328571520, 1328571468, 1328571456, 1328571464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.61935496330261 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:50:22.119500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/48/image_13012025_03_48_02_713700_0003.jpg', '/home/pi/Desktop/images/13012025/03/49/image_13012025_03_49_02_416840_0000.jpg', '/home/pi/Desktop/images/13012025/03/49/image_13012025_03_49_02_416840_0001.jpg', '/home/pi/Desktop/images/13012025/03/49/image_13012025_03_49_02_416840_0002.jpg', '/home/pi/Desktop/images/13012025/03/49/image_13012025_03_49_02_416840_0003.jpg', '/home/pi/Desktop/images/13012025/03/50/image_13012025_03_50_02_885231_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/48/image_13012025_03_48_02_713700_0003.jpg
/home/pi/Desktop/images/13012025/03/49/image_13012025_03_49_02_416840_0000.jpg
/home/pi/Desktop/images/13012025/03/49/image_13012025_03_49_02_416840_0001.jpg
/home/pi/Desktop/images/13012025/03/49/image_13012025_03_49_02_416840_0002.jpg
/home/pi/Desktop/images/13012025/03/49/image_13012025_03_49_02_416840_0003.jpg
/home/pi/Desktop/images/13012025/03/50/image_13012025_03_50_02_885231_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328571548","1328571533","1328571527","1328571541","1328571538","1328571546"],"photo_ids_order":["1328571527","1328571533","1328571538","1328571541","1328571546","1328571548"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/05a891ad0d15804bb9532f35c44ecd96.jpg","text":"TemporaryFile(/tmp/multipartBody5747881448109754358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736697352,"filename":"image_13012025_03_50_02_885231_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9531f83a37f9402d7044b2b5a70d7afa.jpg","text":"TemporaryFile(/tmp/multipartBody6602370136418191734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736697352,"filename":"image_13012025_03_49_02_416840_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/71a4dbc3b8cfde9892054fc01f1a38cc.jpg","text":"TemporaryFile(/tmp/multipartBody3612110848135721638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736697352,"filename":"image_13012025_03_48_02_713700_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/850c854c49c5c803dbe73dcaad7b0678.jpg","text":"TemporaryFile(/tmp/multipartBody3942656319062958524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736697352,"filename":"image_13012025_03_49_02_416840_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a9b38cec24aadec4199a18751c2601eb.jpg","text":"TemporaryFile(/tmp/multipartBody5998008421151419789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736697352,"filename":"image_13012025_03_49_02_416840_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cac3ebb789487cd5d4e82bd49f9f62f9.jpg","text":"TemporaryFile(/tmp/multipartBody970133834095958805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736697352,"filename":"image_13012025_03_49_02_416840_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328571538","file1":"1328571533","file0":"1328571527","file4":"1328571546","file5":"1328571548","file3":"1328571541"},"map_files_photo_id_array":[{"photo_id":"1328571548","filename":"file5"},{"photo_id":"1328571538","filename":"file2"},{"photo_id":"1328571546","filename":"file4"},{"photo_id":"1328571533","filename":"file1"},{"photo_id":"1328571527","filename":"file0"},{"photo_id":"1328571541","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328571548":["hashtag1","hashtag2"]},{"1328571533":["hashtag1","hashtag2"]},{"1328571527":["hashtag1","hashtag2"]},{"1328571541":["hashtag1","hashtag2"]},{"1328571538":["hashtag1","hashtag2"]},{"1328571546":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328571548, 1328571533, 1328571527, 1328571541, 1328571538, 1328571546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.21203970909119 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:52:02.515225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/50/image_13012025_03_50_02_885231_0001.jpg', '/home/pi/Desktop/images/13012025/03/50/image_13012025_03_50_02_885231_0002.jpg', '/home/pi/Desktop/images/13012025/03/50/image_13012025_03_50_02_885231_0003.jpg', '/home/pi/Desktop/images/13012025/03/51/image_13012025_03_51_02_491690_0000.jpg', '/home/pi/Desktop/images/13012025/03/51/image_13012025_03_51_02_491690_0001.jpg', '/home/pi/Desktop/images/13012025/03/51/image_13012025_03_51_02_491690_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/50/image_13012025_03_50_02_885231_0001.jpg
/home/pi/Desktop/images/13012025/03/50/image_13012025_03_50_02_885231_0002.jpg
/home/pi/Desktop/images/13012025/03/50/image_13012025_03_50_02_885231_0003.jpg
/home/pi/Desktop/images/13012025/03/51/image_13012025_03_51_02_491690_0000.jpg
/home/pi/Desktop/images/13012025/03/51/image_13012025_03_51_02_491690_0001.jpg
/home/pi/Desktop/images/13012025/03/51/image_13012025_03_51_02_491690_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.65167760848999 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:52:22.044633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/50/image_13012025_03_50_02_885231_0001.jpg', '/home/pi/Desktop/images/13012025/03/50/image_13012025_03_50_02_885231_0002.jpg', '/home/pi/Desktop/images/13012025/03/50/image_13012025_03_50_02_885231_0003.jpg', '/home/pi/Desktop/images/13012025/03/51/image_13012025_03_51_02_491690_0000.jpg', '/home/pi/Desktop/images/13012025/03/51/image_13012025_03_51_02_491690_0001.jpg', '/home/pi/Desktop/images/13012025/03/51/image_13012025_03_51_02_491690_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/50/image_13012025_03_50_02_885231_0001.jpg
/home/pi/Desktop/images/13012025/03/50/image_13012025_03_50_02_885231_0002.jpg
/home/pi/Desktop/images/13012025/03/50/image_13012025_03_50_02_885231_0003.jpg
/home/pi/Desktop/images/13012025/03/51/image_13012025_03_51_02_491690_0000.jpg
/home/pi/Desktop/images/13012025/03/51/image_13012025_03_51_02_491690_0001.jpg
/home/pi/Desktop/images/13012025/03/51/image_13012025_03_51_02_491690_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328571589","1328571580","1328571583","1328571591","1328571585","1328571587"],"photo_ids_order":["1328571580","1328571583","1328571585","1328571587","1328571589","1328571591"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/30f601e4792d4c26d62a45400f9ea909.jpg","text":"TemporaryFile(/tmp/multipartBody4318673662030785446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736817069,"filename":"image_13012025_03_51_02_491690_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d4d56cb4ef948f8d36d7e5c98549e1c8.jpg","text":"TemporaryFile(/tmp/multipartBody5530067450960503788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736817069,"filename":"image_13012025_03_50_02_885231_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6684a56c8901b19d1d1948a22b7465a7.jpg","text":"TemporaryFile(/tmp/multipartBody3446288663077157970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736817069,"filename":"image_13012025_03_50_02_885231_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1bb4c73921793d0b2b5b811c3fbe51b5.jpg","text":"TemporaryFile(/tmp/multipartBody1725462559347779802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736817069,"filename":"image_13012025_03_51_02_491690_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2c715a02c2d066b0788735dfe485e0d4.jpg","text":"TemporaryFile(/tmp/multipartBody5032544578526550552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736817069,"filename":"image_13012025_03_50_02_885231_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/449c54c88976abb1cf85e17036658f2e.jpg","text":"TemporaryFile(/tmp/multipartBody4771336305365183018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736817069,"filename":"image_13012025_03_51_02_491690_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328571585","file1":"1328571583","file0":"1328571580","file4":"1328571589","file5":"1328571591","file3":"1328571587"},"map_files_photo_id_array":[{"photo_id":"1328571591","filename":"file5"},{"photo_id":"1328571585","filename":"file2"},{"photo_id":"1328571589","filename":"file4"},{"photo_id":"1328571583","filename":"file1"},{"photo_id":"1328571580","filename":"file0"},{"photo_id":"1328571587","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328571589":["hashtag1","hashtag2"]},{"1328571580":["hashtag1","hashtag2"]},{"1328571583":["hashtag1","hashtag2"]},{"1328571591":["hashtag1","hashtag2"]},{"1328571585":["hashtag1","hashtag2"]},{"1328571587":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328571589, 1328571580, 1328571583, 1328571591, 1328571585, 1328571587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.8364052772522 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:53:22.690169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/51/image_13012025_03_51_02_491690_0003.jpg', '/home/pi/Desktop/images/13012025/03/52/image_13012025_03_52_02_948265_0000.jpg', '/home/pi/Desktop/images/13012025/03/52/image_13012025_03_52_02_948265_0001.jpg', '/home/pi/Desktop/images/13012025/03/52/image_13012025_03_52_02_948265_0002.jpg', '/home/pi/Desktop/images/13012025/03/52/image_13012025_03_52_02_948265_0003.jpg', '/home/pi/Desktop/images/13012025/03/53/image_13012025_03_53_02_521788_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/51/image_13012025_03_51_02_491690_0003.jpg
/home/pi/Desktop/images/13012025/03/52/image_13012025_03_52_02_948265_0000.jpg
/home/pi/Desktop/images/13012025/03/52/image_13012025_03_52_02_948265_0001.jpg
/home/pi/Desktop/images/13012025/03/52/image_13012025_03_52_02_948265_0002.jpg
/home/pi/Desktop/images/13012025/03/52/image_13012025_03_52_02_948265_0003.jpg
/home/pi/Desktop/images/13012025/03/53/image_13012025_03_53_02_521788_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328571595","1328571597","1328571601","1328571603","1328571599","1328571593"],"photo_ids_order":["1328571593","1328571595","1328571597","1328571599","1328571601","1328571603"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ced740eeaad59684d30c53da0e9facb4.jpg","text":"TemporaryFile(/tmp/multipartBody5018876593579288944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736877672,"filename":"image_13012025_03_52_02_948265_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b2b8f4d95159d275ca227499517498da.jpg","text":"TemporaryFile(/tmp/multipartBody4412118076682247767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736877672,"filename":"image_13012025_03_52_02_948265_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eed973247be15c2861c05459fb99940b.jpg","text":"TemporaryFile(/tmp/multipartBody6319123293308167704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736877672,"filename":"image_13012025_03_52_02_948265_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c98a08aed445a6e21743934f15706525.jpg","text":"TemporaryFile(/tmp/multipartBody3666226919957751775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736877672,"filename":"image_13012025_03_53_02_521788_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b950afca43958f071a4605fbc25b4625.jpg","text":"TemporaryFile(/tmp/multipartBody3075291234738198813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736877672,"filename":"image_13012025_03_52_02_948265_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e86a8402b0f2017734247090c01bfcd9.jpg","text":"TemporaryFile(/tmp/multipartBody9071337460380264290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736877672,"filename":"image_13012025_03_51_02_491690_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328571597","file1":"1328571595","file0":"1328571593","file4":"1328571601","file5":"1328571603","file3":"1328571599"},"map_files_photo_id_array":[{"photo_id":"1328571603","filename":"file5"},{"photo_id":"1328571597","filename":"file2"},{"photo_id":"1328571601","filename":"file4"},{"photo_id":"1328571595","filename":"file1"},{"photo_id":"1328571593","filename":"file0"},{"photo_id":"1328571599","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328571595":["hashtag1","hashtag2"]},{"1328571597":["hashtag1","hashtag2"]},{"1328571601":["hashtag1","hashtag2"]},{"1328571603":["hashtag1","hashtag2"]},{"1328571599":["hashtag1","hashtag2"]},{"1328571593":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328571595, 1328571597, 1328571601, 1328571603, 1328571599, 1328571593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.9496796131134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:54:22.242300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/53/image_13012025_03_53_02_521788_0001.jpg', '/home/pi/Desktop/images/13012025/03/53/image_13012025_03_53_02_521788_0002.jpg', '/home/pi/Desktop/images/13012025/03/53/image_13012025_03_53_02_521788_0003.jpg', '/home/pi/Desktop/images/13012025/03/54/image_13012025_03_54_03_116684_0000.jpg', '/home/pi/Desktop/images/13012025/03/54/image_13012025_03_54_03_116684_0001.jpg', '/home/pi/Desktop/images/13012025/03/54/image_13012025_03_54_03_116684_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/53/image_13012025_03_53_02_521788_0001.jpg
/home/pi/Desktop/images/13012025/03/53/image_13012025_03_53_02_521788_0002.jpg
/home/pi/Desktop/images/13012025/03/53/image_13012025_03_53_02_521788_0003.jpg
/home/pi/Desktop/images/13012025/03/54/image_13012025_03_54_03_116684_0000.jpg
/home/pi/Desktop/images/13012025/03/54/image_13012025_03_54_03_116684_0001.jpg
/home/pi/Desktop/images/13012025/03/54/image_13012025_03_54_03_116684_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328571632","1328571626","1328571635","1328571629","1328571623","1328571612"],"photo_ids_order":["1328571612","1328571623","1328571626","1328571629","1328571632","1328571635"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/450ee5f01705fa28c8044661cf97fdea.jpg","text":"TemporaryFile(/tmp/multipartBody1287775170936328032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736937360,"filename":"image_13012025_03_54_03_116684_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/faa137ea1a607174002b5cd20769de92.jpg","text":"TemporaryFile(/tmp/multipartBody3813638176323334346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736937360,"filename":"image_13012025_03_53_02_521788_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b0dbb8443d3fd13cbb9c330fdd344897.jpg","text":"TemporaryFile(/tmp/multipartBody7929998987504002264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736937360,"filename":"image_13012025_03_54_03_116684_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d29627f6eecfb84283322286899a8f63.jpg","text":"TemporaryFile(/tmp/multipartBody1046909269750231355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736937360,"filename":"image_13012025_03_54_03_116684_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c1b5247c0a7b721ab8d3fef0e2f8739a.jpg","text":"TemporaryFile(/tmp/multipartBody541783078982666325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736937360,"filename":"image_13012025_03_53_02_521788_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/58ace5f312200a09d6477a678e654daa.jpg","text":"TemporaryFile(/tmp/multipartBody2528317040357094988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736937360,"filename":"image_13012025_03_53_02_521788_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328571626","file1":"1328571623","file0":"1328571612","file4":"1328571632","file5":"1328571635","file3":"1328571629"},"map_files_photo_id_array":[{"photo_id":"1328571635","filename":"file5"},{"photo_id":"1328571626","filename":"file2"},{"photo_id":"1328571632","filename":"file4"},{"photo_id":"1328571623","filename":"file1"},{"photo_id":"1328571612","filename":"file0"},{"photo_id":"1328571629","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328571632":["hashtag1","hashtag2"]},{"1328571626":["hashtag1","hashtag2"]},{"1328571635":["hashtag1","hashtag2"]},{"1328571629":["hashtag1","hashtag2"]},{"1328571623":["hashtag1","hashtag2"]},{"1328571612":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328571632, 1328571626, 1328571635, 1328571629, 1328571623, 1328571612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.048842668533325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:55:21.834627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/54/image_13012025_03_54_03_116684_0003.jpg', '/home/pi/Desktop/images/13012025/03/55/image_13012025_03_55_02_648933_0000.jpg', '/home/pi/Desktop/images/13012025/03/55/image_13012025_03_55_02_648933_0001.jpg', '/home/pi/Desktop/images/13012025/03/55/image_13012025_03_55_02_648933_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/54/image_13012025_03_54_03_116684_0003.jpg
/home/pi/Desktop/images/13012025/03/55/image_13012025_03_55_02_648933_0000.jpg
/home/pi/Desktop/images/13012025/03/55/image_13012025_03_55_02_648933_0001.jpg
/home/pi/Desktop/images/13012025/03/55/image_13012025_03_55_02_648933_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328571640","1328571642","1328571644","1328571638"],"photo_ids_order":["1328571638","1328571640","1328571642","1328571644"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/52c732c91bdb5234c248d8b73595a962.jpg","text":"TemporaryFile(/tmp/multipartBody2434248444958507590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736992117,"filename":"image_13012025_03_55_02_648933_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/485e10534b11e86f7b15ad14691d608f.jpg","text":"TemporaryFile(/tmp/multipartBody8201520337214800989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736992117,"filename":"image_13012025_03_55_02_648933_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/76a13b0a41b6baefc31d1d2a164e2c1f.jpg","text":"TemporaryFile(/tmp/multipartBody1245203696180263443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736992117,"filename":"image_13012025_03_55_02_648933_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/312a04bf734b4b5001524708f6b00260.jpg","text":"TemporaryFile(/tmp/multipartBody3736299353165495647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736736992117,"filename":"image_13012025_03_54_03_116684_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328571642","file1":"1328571640","file0":"1328571638","file3":"1328571644"},"map_files_photo_id_array":[{"photo_id":"1328571642","filename":"file2"},{"photo_id":"1328571640","filename":"file1"},{"photo_id":"1328571638","filename":"file0"},{"photo_id":"1328571644","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328571640":["hashtag1","hashtag2"]},{"1328571642":["hashtag1","hashtag2"]},{"1328571644":["hashtag1","hashtag2"]},{"1328571638":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328571640, 1328571642, 1328571644, 1328571638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.05103063583374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:56:02.751677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:56:22.280520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/55/image_13012025_03_55_02_648933_0003.jpg', '/home/pi/Desktop/images/13012025/03/56/image_13012025_03_56_02_224624_0000.jpg', '/home/pi/Desktop/images/13012025/03/56/image_13012025_03_56_02_224624_0001.jpg', '/home/pi/Desktop/images/13012025/03/56/image_13012025_03_56_02_224624_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/55/image_13012025_03_55_02_648933_0003.jpg
/home/pi/Desktop/images/13012025/03/56/image_13012025_03_56_02_224624_0000.jpg
/home/pi/Desktop/images/13012025/03/56/image_13012025_03_56_02_224624_0001.jpg
/home/pi/Desktop/images/13012025/03/56/image_13012025_03_56_02_224624_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328571654","1328571648","1328571657","1328571650"],"photo_ids_order":["1328571648","1328571650","1328571654","1328571657"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7bcbe95a37c092bd4b343f3867ce06b3.jpg","text":"TemporaryFile(/tmp/multipartBody4326273609084215410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737052588,"filename":"image_13012025_03_56_02_224624_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9017313f78746afd19ea71eac6615a42.jpg","text":"TemporaryFile(/tmp/multipartBody3874446567559574099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737052588,"filename":"image_13012025_03_55_02_648933_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5a14b2ca9bd8816842f41ff8626388f6.jpg","text":"TemporaryFile(/tmp/multipartBody4806204904554676199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737052588,"filename":"image_13012025_03_56_02_224624_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/39284b58cdf73890443d1480e02373d1.jpg","text":"TemporaryFile(/tmp/multipartBody1650490954584855015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737052588,"filename":"image_13012025_03_56_02_224624_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328571654","file1":"1328571650","file0":"1328571648","file3":"1328571657"},"map_files_photo_id_array":[{"photo_id":"1328571654","filename":"file2"},{"photo_id":"1328571650","filename":"file1"},{"photo_id":"1328571648","filename":"file0"},{"photo_id":"1328571657","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328571654":["hashtag1","hashtag2"]},{"1328571648":["hashtag1","hashtag2"]},{"1328571657":["hashtag1","hashtag2"]},{"1328571650":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328571654, 1328571648, 1328571657, 1328571650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.68166637420654 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 03:57:21.812824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/56/image_13012025_03_56_02_224624_0003.jpg', '/home/pi/Desktop/images/13012025/03/57/image_13012025_03_57_02_647436_0000.jpg', '/home/pi/Desktop/images/13012025/03/57/image_13012025_03_57_02_647436_0001.jpg', '/home/pi/Desktop/images/13012025/03/57/image_13012025_03_57_02_647436_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/56/image_13012025_03_56_02_224624_0003.jpg
/home/pi/Desktop/images/13012025/03/57/image_13012025_03_57_02_647436_0000.jpg
/home/pi/Desktop/images/13012025/03/57/image_13012025_03_57_02_647436_0001.jpg
/home/pi/Desktop/images/13012025/03/57/image_13012025_03_57_02_647436_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328571688","1328571673","1328571663","1328571686"],"photo_ids_order":["1328571663","1328571673","1328571686","1328571688"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cb533328ed64ea5c217e136f12055dbe.jpg","text":"TemporaryFile(/tmp/multipartBody8274019607491442062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737111967,"filename":"image_13012025_03_57_02_647436_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b07ac4184fab69335c6a552ce109ca0f.jpg","text":"TemporaryFile(/tmp/multipartBody6467634432350588694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737111967,"filename":"image_13012025_03_57_02_647436_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9d0ee1305a294dd513a63ace17bf58c5.jpg","text":"TemporaryFile(/tmp/multipartBody1624598611765692452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737111967,"filename":"image_13012025_03_56_02_224624_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/de4186400ea22fdd6bed4ec47af8e412.jpg","text":"TemporaryFile(/tmp/multipartBody3866632725615861803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737111967,"filename":"image_13012025_03_57_02_647436_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328571686","file1":"1328571673","file0":"1328571663","file3":"1328571688"},"map_files_photo_id_array":[{"photo_id":"1328571686","filename":"file2"},{"photo_id":"1328571673","filename":"file1"},{"photo_id":"1328571663","filename":"file0"},{"photo_id":"1328571688","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328571688":["hashtag1","hashtag2"]},{"1328571673":["hashtag1","hashtag2"]},{"1328571663":["hashtag1","hashtag2"]},{"1328571686":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328571688, 1328571673, 1328571663, 1328571686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.84840989112854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 03:59:03.057226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/57/image_13012025_03_57_02_647436_0003.jpg', '/home/pi/Desktop/images/13012025/03/58/image_13012025_03_58_02_193539_0000.jpg', '/home/pi/Desktop/images/13012025/03/58/image_13012025_03_58_02_193539_0001.jpg', '/home/pi/Desktop/images/13012025/03/58/image_13012025_03_58_02_193539_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/57/image_13012025_03_57_02_647436_0003.jpg
/home/pi/Desktop/images/13012025/03/58/image_13012025_03_58_02_193539_0000.jpg
/home/pi/Desktop/images/13012025/03/58/image_13012025_03_58_02_193539_0001.jpg
/home/pi/Desktop/images/13012025/03/58/image_13012025_03_58_02_193539_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328571800","1328571803","1328571794","1328571743"],"photo_ids_order":["1328571743","1328571794","1328571800","1328571803"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/28600533b77aad07ef3046c8afba8801.jpg","text":"TemporaryFile(/tmp/multipartBody1538265389885490466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737213486,"filename":"image_13012025_03_58_02_193539_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/53637f07713ce900b132157e4c48064e.jpg","text":"TemporaryFile(/tmp/multipartBody2890771164467602502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737213486,"filename":"image_13012025_03_58_02_193539_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e4425152fc8fe0a18bc9677673575524.jpg","text":"TemporaryFile(/tmp/multipartBody4622988285243955264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737213486,"filename":"image_13012025_03_58_02_193539_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/abb1b678ed5c9bc5425e9bb08a62e49f.jpg","text":"TemporaryFile(/tmp/multipartBody8998182424088664231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737213486,"filename":"image_13012025_03_57_02_647436_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328571800","file1":"1328571794","file0":"1328571743","file3":"1328571803"},"map_files_photo_id_array":[{"photo_id":"1328571800","filename":"file2"},{"photo_id":"1328571794","filename":"file1"},{"photo_id":"1328571743","filename":"file0"},{"photo_id":"1328571803","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328571800":["hashtag1","hashtag2"]},{"1328571803":["hashtag1","hashtag2"]},{"1328571794":["hashtag1","hashtag2"]},{"1328571743":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328571800, 1328571803, 1328571794, 1328571743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.41277027130127 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:00:02.625785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/58/image_13012025_03_58_02_193539_0003.jpg', '/home/pi/Desktop/images/13012025/03/59/image_13012025_03_59_02_723557_0000.jpg', '/home/pi/Desktop/images/13012025/03/59/image_13012025_03_59_02_723557_0001.jpg', '/home/pi/Desktop/images/13012025/03/59/image_13012025_03_59_02_723557_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/58/image_13012025_03_58_02_193539_0003.jpg
/home/pi/Desktop/images/13012025/03/59/image_13012025_03_59_02_723557_0000.jpg
/home/pi/Desktop/images/13012025/03/59/image_13012025_03_59_02_723557_0001.jpg
/home/pi/Desktop/images/13012025/03/59/image_13012025_03_59_02_723557_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328572515","1328572652","1328572646","1328572532"],"photo_ids_order":["1328572515","1328572532","1328572646","1328572652"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f061a8ce12e984663d59131ba5520882.jpg","text":"TemporaryFile(/tmp/multipartBody2042717587380907114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737273015,"filename":"image_13012025_03_58_02_193539_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2995efeb55cb49c8f64bcddf5119f1a3.jpg","text":"TemporaryFile(/tmp/multipartBody6941237600110205544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737273015,"filename":"image_13012025_03_59_02_723557_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/535b6d2df834419e58f828c40b004f77.jpg","text":"TemporaryFile(/tmp/multipartBody8133473814373163393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737273015,"filename":"image_13012025_03_59_02_723557_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f0ec3adabb712c7ab1a2095f7bd108a2.jpg","text":"TemporaryFile(/tmp/multipartBody2546597793409214480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737273015,"filename":"image_13012025_03_59_02_723557_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328572646","file1":"1328572532","file0":"1328572515","file3":"1328572652"},"map_files_photo_id_array":[{"photo_id":"1328572646","filename":"file2"},{"photo_id":"1328572532","filename":"file1"},{"photo_id":"1328572515","filename":"file0"},{"photo_id":"1328572652","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328572515":["hashtag1","hashtag2"]},{"1328572652":["hashtag1","hashtag2"]},{"1328572646":["hashtag1","hashtag2"]},{"1328572532":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328572515, 1328572652, 1328572646, 1328572532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.923511266708374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:01:03.264587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/03/59/image_13012025_03_59_02_723557_0003.jpg', '/home/pi/Desktop/images/13012025/04/00/image_13012025_04_00_02_903453_0000.jpg', '/home/pi/Desktop/images/13012025/04/00/image_13012025_04_00_02_903453_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/03/59/image_13012025_03_59_02_723557_0003.jpg
/home/pi/Desktop/images/13012025/04/00/image_13012025_04_00_02_903453_0000.jpg
/home/pi/Desktop/images/13012025/04/00/image_13012025_04_00_02_903453_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328572726","1328572722","1328572730"],"photo_ids_order":["1328572722","1328572726","1328572730"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f583a82db038812c48e6cf2e67361f28.jpg","text":"TemporaryFile(/tmp/multipartBody4818344497162452023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737331300,"filename":"image_13012025_04_00_02_903453_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5d34bd779276591e09e8c66835e6cfed.jpg","text":"TemporaryFile(/tmp/multipartBody4222591777283075977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737331300,"filename":"image_13012025_03_59_02_723557_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/90753d891d8461a5623d749a82860e85.jpg","text":"TemporaryFile(/tmp/multipartBody7801573640516498430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737331300,"filename":"image_13012025_04_00_02_903453_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328572730","file1":"1328572726","file0":"1328572722"},"map_files_photo_id_array":[{"photo_id":"1328572730","filename":"file2"},{"photo_id":"1328572726","filename":"file1"},{"photo_id":"1328572722","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328572726":["hashtag1","hashtag2"]},{"1328572722":["hashtag1","hashtag2"]},{"1328572730":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328572726, 1328572722, 1328572730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.22854518890381 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:02:02.848110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/00/image_13012025_04_00_02_903453_0002.jpg', '/home/pi/Desktop/images/13012025/04/01/image_13012025_04_01_02_554788_0000.jpg', '/home/pi/Desktop/images/13012025/04/01/image_13012025_04_01_02_554788_0001.jpg', '/home/pi/Desktop/images/13012025/04/01/image_13012025_04_01_02_554788_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/00/image_13012025_04_00_02_903453_0002.jpg
/home/pi/Desktop/images/13012025/04/01/image_13012025_04_01_02_554788_0000.jpg
/home/pi/Desktop/images/13012025/04/01/image_13012025_04_01_02_554788_0001.jpg
/home/pi/Desktop/images/13012025/04/01/image_13012025_04_01_02_554788_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.97106409072876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:02:22.373121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/00/image_13012025_04_00_02_903453_0002.jpg', '/home/pi/Desktop/images/13012025/04/01/image_13012025_04_01_02_554788_0000.jpg', '/home/pi/Desktop/images/13012025/04/01/image_13012025_04_01_02_554788_0001.jpg', '/home/pi/Desktop/images/13012025/04/01/image_13012025_04_01_02_554788_0002.jpg', '/home/pi/Desktop/images/13012025/04/01/image_13012025_04_01_02_554788_0003.jpg', '/home/pi/Desktop/images/13012025/04/02/image_13012025_04_02_03_099699_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/00/image_13012025_04_00_02_903453_0002.jpg
/home/pi/Desktop/images/13012025/04/01/image_13012025_04_01_02_554788_0000.jpg
/home/pi/Desktop/images/13012025/04/01/image_13012025_04_01_02_554788_0001.jpg
/home/pi/Desktop/images/13012025/04/01/image_13012025_04_01_02_554788_0002.jpg
/home/pi/Desktop/images/13012025/04/01/image_13012025_04_01_02_554788_0003.jpg
/home/pi/Desktop/images/13012025/04/02/image_13012025_04_02_03_099699_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328573263","1328573218","1328573265","1328573259","1328573261","1328573216"],"photo_ids_order":["1328573216","1328573218","1328573259","1328573261","1328573263","1328573265"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a8b03a1829b0d689182c68d2ad0a5d98.jpg","text":"TemporaryFile(/tmp/multipartBody524976714157242576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737417622,"filename":"image_13012025_04_01_02_554788_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fa82a360aa1a750c92bbf969047884fa.jpg","text":"TemporaryFile(/tmp/multipartBody2624969437645461868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737417622,"filename":"image_13012025_04_01_02_554788_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0bf75ee1c3122d761fb64c7bed4c4739.jpg","text":"TemporaryFile(/tmp/multipartBody2894631707073649748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737417622,"filename":"image_13012025_04_02_03_099699_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a7962488e0efe79caf2c1a023e70f5da.jpg","text":"TemporaryFile(/tmp/multipartBody1742206897331339370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737417622,"filename":"image_13012025_04_01_02_554788_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5fc3c2147ffa9c3928c977d0a2f68880.jpg","text":"TemporaryFile(/tmp/multipartBody4380945472116810415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737417622,"filename":"image_13012025_04_01_02_554788_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d1c0996b66abc97fd6861c0d16d885b9.jpg","text":"TemporaryFile(/tmp/multipartBody3950440996781600511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737417622,"filename":"image_13012025_04_00_02_903453_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328573259","file1":"1328573218","file0":"1328573216","file4":"1328573263","file5":"1328573265","file3":"1328573261"},"map_files_photo_id_array":[{"photo_id":"1328573265","filename":"file5"},{"photo_id":"1328573259","filename":"file2"},{"photo_id":"1328573263","filename":"file4"},{"photo_id":"1328573218","filename":"file1"},{"photo_id":"1328573216","filename":"file0"},{"photo_id":"1328573261","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328573263":["hashtag1","hashtag2"]},{"1328573218":["hashtag1","hashtag2"]},{"1328573265":["hashtag1","hashtag2"]},{"1328573259":["hashtag1","hashtag2"]},{"1328573261":["hashtag1","hashtag2"]},{"1328573216":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328573263, 1328573218, 1328573265, 1328573259, 1328573261, 1328573216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.99238181114197 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:03:21.770616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/02/image_13012025_04_02_03_099699_0001.jpg', '/home/pi/Desktop/images/13012025/04/02/image_13012025_04_02_03_099699_0002.jpg', '/home/pi/Desktop/images/13012025/04/02/image_13012025_04_02_03_099699_0003.jpg', '/home/pi/Desktop/images/13012025/04/03/image_13012025_04_03_02_664539_0000.jpg', '/home/pi/Desktop/images/13012025/04/03/image_13012025_04_03_02_664539_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/02/image_13012025_04_02_03_099699_0001.jpg
/home/pi/Desktop/images/13012025/04/02/image_13012025_04_02_03_099699_0002.jpg
/home/pi/Desktop/images/13012025/04/02/image_13012025_04_02_03_099699_0003.jpg
/home/pi/Desktop/images/13012025/04/03/image_13012025_04_03_02_664539_0000.jpg
/home/pi/Desktop/images/13012025/04/03/image_13012025_04_03_02_664539_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328573289","1328573280","1328573285","1328573287","1328573266"],"photo_ids_order":["1328573266","1328573280","1328573285","1328573287","1328573289"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/67979700cbaaa3acb9e51e4440faf253.jpg","text":"TemporaryFile(/tmp/multipartBody4607977152817872935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737474411,"filename":"image_13012025_04_03_02_664539_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8412c4c372f742ee9af344f9c0ed2ddc.jpg","text":"TemporaryFile(/tmp/multipartBody4532706127508434939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737474411,"filename":"image_13012025_04_02_03_099699_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/78e94e816419e822fde45bb428ac0681.jpg","text":"TemporaryFile(/tmp/multipartBody8562489521786605757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737474411,"filename":"image_13012025_04_02_03_099699_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9368c1dfa05ce949ad57bed2a39c3e1c.jpg","text":"TemporaryFile(/tmp/multipartBody5883607451701065668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737474411,"filename":"image_13012025_04_03_02_664539_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/33d69e0a8bdcbe8f92fa3cab647ed087.jpg","text":"TemporaryFile(/tmp/multipartBody802954766058203079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737474411,"filename":"image_13012025_04_02_03_099699_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328573285","file1":"1328573280","file0":"1328573266","file4":"1328573289","file3":"1328573287"},"map_files_photo_id_array":[{"photo_id":"1328573285","filename":"file2"},{"photo_id":"1328573289","filename":"file4"},{"photo_id":"1328573280","filename":"file1"},{"photo_id":"1328573266","filename":"file0"},{"photo_id":"1328573287","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328573289":["hashtag1","hashtag2"]},{"1328573280":["hashtag1","hashtag2"]},{"1328573285":["hashtag1","hashtag2"]},{"1328573287":["hashtag1","hashtag2"]},{"1328573266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328573289, 1328573280, 1328573285, 1328573287, 1328573266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.83109378814697 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:04:22.347256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/03/image_13012025_04_03_02_664539_0002.jpg', '/home/pi/Desktop/images/13012025/04/04/image_13012025_04_04_02_247500_0000.jpg', '/home/pi/Desktop/images/13012025/04/04/image_13012025_04_04_02_247500_0001.jpg', '/home/pi/Desktop/images/13012025/04/04/image_13012025_04_04_02_247500_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/03/image_13012025_04_03_02_664539_0002.jpg
/home/pi/Desktop/images/13012025/04/04/image_13012025_04_04_02_247500_0000.jpg
/home/pi/Desktop/images/13012025/04/04/image_13012025_04_04_02_247500_0001.jpg
/home/pi/Desktop/images/13012025/04/04/image_13012025_04_04_02_247500_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328573503","1328573688","1328573798","1328573392"],"photo_ids_order":["1328573392","1328573503","1328573688","1328573798"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2815d26190c445c7e8e347ad8e076bf1.jpg","text":"TemporaryFile(/tmp/multipartBody7980089945143146159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737532620,"filename":"image_13012025_04_04_02_247500_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3c3b3b05c84c39f137201e689422cea2.jpg","text":"TemporaryFile(/tmp/multipartBody2073742840518684465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737532620,"filename":"image_13012025_04_04_02_247500_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/98eca95f750ec351ea82ad28c8b70350.jpg","text":"TemporaryFile(/tmp/multipartBody5332219909275459662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737532620,"filename":"image_13012025_04_04_02_247500_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9965a2dec910c38d65667bb0c823cf45.jpg","text":"TemporaryFile(/tmp/multipartBody115472090251058836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737532620,"filename":"image_13012025_04_03_02_664539_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328573688","file1":"1328573503","file0":"1328573392","file3":"1328573798"},"map_files_photo_id_array":[{"photo_id":"1328573688","filename":"file2"},{"photo_id":"1328573503","filename":"file1"},{"photo_id":"1328573392","filename":"file0"},{"photo_id":"1328573798","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328573503":["hashtag1","hashtag2"]},{"1328573688":["hashtag1","hashtag2"]},{"1328573798":["hashtag1","hashtag2"]},{"1328573392":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328573503, 1328573688, 1328573798, 1328573392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.05516338348389 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:05:21.894118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/04/image_13012025_04_04_02_247500_0003.jpg', '/home/pi/Desktop/images/13012025/04/05/image_13012025_04_05_02_746831_0000.jpg', '/home/pi/Desktop/images/13012025/04/05/image_13012025_04_05_02_746831_0001.jpg', '/home/pi/Desktop/images/13012025/04/05/image_13012025_04_05_02_746831_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/04/image_13012025_04_04_02_247500_0003.jpg
/home/pi/Desktop/images/13012025/04/05/image_13012025_04_05_02_746831_0000.jpg
/home/pi/Desktop/images/13012025/04/05/image_13012025_04_05_02_746831_0001.jpg
/home/pi/Desktop/images/13012025/04/05/image_13012025_04_05_02_746831_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328574296","1328574303","1328574298","1328574301"],"photo_ids_order":["1328574296","1328574298","1328574301","1328574303"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/896ce9846de381535999f93ae951273d.jpg","text":"TemporaryFile(/tmp/multipartBody9160213227332855616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737592058,"filename":"image_13012025_04_04_02_247500_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5f3b52418bb654ee13952ec059f7f07a.jpg","text":"TemporaryFile(/tmp/multipartBody2882179990623178759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737592058,"filename":"image_13012025_04_05_02_746831_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1204d71f7cedee63a8a28f4d53a0a73e.jpg","text":"TemporaryFile(/tmp/multipartBody1923976901250840646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737592058,"filename":"image_13012025_04_05_02_746831_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4b3912a19cdf79144577d2cfefc78b41.jpg","text":"TemporaryFile(/tmp/multipartBody3851474832086345953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737592058,"filename":"image_13012025_04_05_02_746831_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328574301","file1":"1328574298","file0":"1328574296","file3":"1328574303"},"map_files_photo_id_array":[{"photo_id":"1328574301","filename":"file2"},{"photo_id":"1328574298","filename":"file1"},{"photo_id":"1328574296","filename":"file0"},{"photo_id":"1328574303","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328574296":["hashtag1","hashtag2"]},{"1328574303":["hashtag1","hashtag2"]},{"1328574298":["hashtag1","hashtag2"]},{"1328574301":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328574296, 1328574303, 1328574298, 1328574301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.93689703941345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:06:22.360378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/05/image_13012025_04_05_02_746831_0003.jpg', '/home/pi/Desktop/images/13012025/04/06/image_13012025_04_06_02_236959_0000.jpg', '/home/pi/Desktop/images/13012025/04/06/image_13012025_04_06_02_236959_0001.jpg', '/home/pi/Desktop/images/13012025/04/06/image_13012025_04_06_02_236959_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/05/image_13012025_04_05_02_746831_0003.jpg
/home/pi/Desktop/images/13012025/04/06/image_13012025_04_06_02_236959_0000.jpg
/home/pi/Desktop/images/13012025/04/06/image_13012025_04_06_02_236959_0001.jpg
/home/pi/Desktop/images/13012025/04/06/image_13012025_04_06_02_236959_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.83646845817566 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:07:02.496161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/05/image_13012025_04_05_02_746831_0003.jpg', '/home/pi/Desktop/images/13012025/04/06/image_13012025_04_06_02_236959_0000.jpg', '/home/pi/Desktop/images/13012025/04/06/image_13012025_04_06_02_236959_0001.jpg', '/home/pi/Desktop/images/13012025/04/06/image_13012025_04_06_02_236959_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/05/image_13012025_04_05_02_746831_0003.jpg
/home/pi/Desktop/images/13012025/04/06/image_13012025_04_06_02_236959_0000.jpg
/home/pi/Desktop/images/13012025/04/06/image_13012025_04_06_02_236959_0001.jpg
/home/pi/Desktop/images/13012025/04/06/image_13012025_04_06_02_236959_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328574858","1328574860","1328574859","1328574841"],"photo_ids_order":["1328574841","1328574858","1328574859","1328574860"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/20c5595b0af99e64fcff0f0f9b433a4c.jpg","text":"TemporaryFile(/tmp/multipartBody4138032272537473518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737692756,"filename":"image_13012025_04_06_02_236959_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b47326dabef05bfa7a293e0c547caddc.jpg","text":"TemporaryFile(/tmp/multipartBody4292675304283862037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737692756,"filename":"image_13012025_04_06_02_236959_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fe6491f0081deb4d1362478819541254.jpg","text":"TemporaryFile(/tmp/multipartBody2435361307828955406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737692756,"filename":"image_13012025_04_06_02_236959_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b8258a6f7ccb2c67b40c943b5bf142e1.jpg","text":"TemporaryFile(/tmp/multipartBody6349886612648840960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737692756,"filename":"image_13012025_04_05_02_746831_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328574859","file1":"1328574858","file0":"1328574841","file3":"1328574860"},"map_files_photo_id_array":[{"photo_id":"1328574859","filename":"file2"},{"photo_id":"1328574858","filename":"file1"},{"photo_id":"1328574841","filename":"file0"},{"photo_id":"1328574860","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328574858":["hashtag1","hashtag2"]},{"1328574860":["hashtag1","hashtag2"]},{"1328574859":["hashtag1","hashtag2"]},{"1328574841":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328574858, 1328574860, 1328574859, 1328574841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.523250579833984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:08:02.912324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/06/image_13012025_04_06_02_236959_0003.jpg', '/home/pi/Desktop/images/13012025/04/07/image_13012025_04_07_02_711633_0000.jpg', '/home/pi/Desktop/images/13012025/04/07/image_13012025_04_07_02_711633_0001.jpg', '/home/pi/Desktop/images/13012025/04/07/image_13012025_04_07_02_711633_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/06/image_13012025_04_06_02_236959_0003.jpg
/home/pi/Desktop/images/13012025/04/07/image_13012025_04_07_02_711633_0000.jpg
/home/pi/Desktop/images/13012025/04/07/image_13012025_04_07_02_711633_0001.jpg
/home/pi/Desktop/images/13012025/04/07/image_13012025_04_07_02_711633_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.96070408821106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:08:22.529053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/06/image_13012025_04_06_02_236959_0003.jpg', '/home/pi/Desktop/images/13012025/04/07/image_13012025_04_07_02_711633_0000.jpg', '/home/pi/Desktop/images/13012025/04/07/image_13012025_04_07_02_711633_0001.jpg', '/home/pi/Desktop/images/13012025/04/07/image_13012025_04_07_02_711633_0002.jpg', '/home/pi/Desktop/images/13012025/04/07/image_13012025_04_07_02_711633_0003.jpg', '/home/pi/Desktop/images/13012025/04/08/image_13012025_04_08_02_223230_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/06/image_13012025_04_06_02_236959_0003.jpg
/home/pi/Desktop/images/13012025/04/07/image_13012025_04_07_02_711633_0000.jpg
/home/pi/Desktop/images/13012025/04/07/image_13012025_04_07_02_711633_0001.jpg
/home/pi/Desktop/images/13012025/04/07/image_13012025_04_07_02_711633_0002.jpg
/home/pi/Desktop/images/13012025/04/07/image_13012025_04_07_02_711633_0003.jpg
/home/pi/Desktop/images/13012025/04/08/image_13012025_04_08_02_223230_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328574879","1328574873","1328574881","1328574875","1328574877","1328574871"],"photo_ids_order":["1328574871","1328574873","1328574875","1328574877","1328574879","1328574881"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8681e8398eda7d3490677985a3ac9f3d.jpg","text":"TemporaryFile(/tmp/multipartBody5558216291798223567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737777644,"filename":"image_13012025_04_07_02_711633_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7f672faceaa8fbd5913fd65d1a947143.jpg","text":"TemporaryFile(/tmp/multipartBody9047858039440405538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737777644,"filename":"image_13012025_04_07_02_711633_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7a245f8578f854d32c065d4b3329631c.jpg","text":"TemporaryFile(/tmp/multipartBody7379883809061246458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737777644,"filename":"image_13012025_04_08_02_223230_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3a55559f8685f8e8214e5bf5b11cc6cf.jpg","text":"TemporaryFile(/tmp/multipartBody2289607028528550256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737777644,"filename":"image_13012025_04_07_02_711633_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/648ff03fcf291cd1dcd791a339cba5fa.jpg","text":"TemporaryFile(/tmp/multipartBody8352923179294224310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737777644,"filename":"image_13012025_04_07_02_711633_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9d929af0e803fc9ac01c759b98dc2031.jpg","text":"TemporaryFile(/tmp/multipartBody7307340058244428633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737777644,"filename":"image_13012025_04_06_02_236959_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328574875","file1":"1328574873","file0":"1328574871","file4":"1328574879","file5":"1328574881","file3":"1328574877"},"map_files_photo_id_array":[{"photo_id":"1328574881","filename":"file5"},{"photo_id":"1328574875","filename":"file2"},{"photo_id":"1328574879","filename":"file4"},{"photo_id":"1328574873","filename":"file1"},{"photo_id":"1328574871","filename":"file0"},{"photo_id":"1328574877","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328574879":["hashtag1","hashtag2"]},{"1328574873":["hashtag1","hashtag2"]},{"1328574881":["hashtag1","hashtag2"]},{"1328574875":["hashtag1","hashtag2"]},{"1328574877":["hashtag1","hashtag2"]},{"1328574871":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328574879, 1328574873, 1328574881, 1328574875, 1328574877, 1328574871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.95437145233154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:09:22.076633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/08/image_13012025_04_08_02_223230_0001.jpg', '/home/pi/Desktop/images/13012025/04/08/image_13012025_04_08_02_223230_0002.jpg', '/home/pi/Desktop/images/13012025/04/08/image_13012025_04_08_02_223230_0003.jpg', '/home/pi/Desktop/images/13012025/04/09/image_13012025_04_09_02_945417_0000.jpg', '/home/pi/Desktop/images/13012025/04/09/image_13012025_04_09_02_945417_0001.jpg', '/home/pi/Desktop/images/13012025/04/09/image_13012025_04_09_02_945417_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/08/image_13012025_04_08_02_223230_0001.jpg
/home/pi/Desktop/images/13012025/04/08/image_13012025_04_08_02_223230_0002.jpg
/home/pi/Desktop/images/13012025/04/08/image_13012025_04_08_02_223230_0003.jpg
/home/pi/Desktop/images/13012025/04/09/image_13012025_04_09_02_945417_0000.jpg
/home/pi/Desktop/images/13012025/04/09/image_13012025_04_09_02_945417_0001.jpg
/home/pi/Desktop/images/13012025/04/09/image_13012025_04_09_02_945417_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328574897","1328574915","1328574895","1328574883","1328574889","1328574910"],"photo_ids_order":["1328574883","1328574889","1328574895","1328574897","1328574910","1328574915"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1c417e019e6ca764fd0debc8fc9b3cc3.jpg","text":"TemporaryFile(/tmp/multipartBody8709226239262595988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737837138,"filename":"image_13012025_04_09_02_945417_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a753cc16c06369124a6268a65232c6dc.jpg","text":"TemporaryFile(/tmp/multipartBody5129075958029064352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737837138,"filename":"image_13012025_04_09_02_945417_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c9364f54963a024e2839ef6c4499ef78.jpg","text":"TemporaryFile(/tmp/multipartBody4779861202326386023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737837138,"filename":"image_13012025_04_08_02_223230_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3fc28270134f245fcebb55123b61b330.jpg","text":"TemporaryFile(/tmp/multipartBody174601353014675424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737837138,"filename":"image_13012025_04_08_02_223230_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/025e6b0f0d97aaacefeb69e6c0f9cdcf.jpg","text":"TemporaryFile(/tmp/multipartBody2350846057018414470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737837138,"filename":"image_13012025_04_08_02_223230_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f59e598ebbff8d247025d627b28cbe24.jpg","text":"TemporaryFile(/tmp/multipartBody1428628993773665086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737837138,"filename":"image_13012025_04_09_02_945417_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328574895","file1":"1328574889","file0":"1328574883","file4":"1328574910","file5":"1328574915","file3":"1328574897"},"map_files_photo_id_array":[{"photo_id":"1328574915","filename":"file5"},{"photo_id":"1328574895","filename":"file2"},{"photo_id":"1328574910","filename":"file4"},{"photo_id":"1328574889","filename":"file1"},{"photo_id":"1328574883","filename":"file0"},{"photo_id":"1328574897","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328574897":["hashtag1","hashtag2"]},{"1328574915":["hashtag1","hashtag2"]},{"1328574895":["hashtag1","hashtag2"]},{"1328574883":["hashtag1","hashtag2"]},{"1328574889":["hashtag1","hashtag2"]},{"1328574910":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328574897, 1328574915, 1328574895, 1328574883, 1328574889, 1328574910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.16499900817871 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:10:22.619246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/09/image_13012025_04_09_02_945417_0003.jpg', '/home/pi/Desktop/images/13012025/04/10/image_13012025_04_10_02_467380_0000.jpg', '/home/pi/Desktop/images/13012025/04/10/image_13012025_04_10_02_467380_0001.jpg', '/home/pi/Desktop/images/13012025/04/10/image_13012025_04_10_02_467380_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/09/image_13012025_04_09_02_945417_0003.jpg
/home/pi/Desktop/images/13012025/04/10/image_13012025_04_10_02_467380_0000.jpg
/home/pi/Desktop/images/13012025/04/10/image_13012025_04_10_02_467380_0001.jpg
/home/pi/Desktop/images/13012025/04/10/image_13012025_04_10_02_467380_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328574963","1328574976","1328574979","1328574973"],"photo_ids_order":["1328574963","1328574973","1328574976","1328574979"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/682556f9466f03a8174e7dba9fd23e1d.jpg","text":"TemporaryFile(/tmp/multipartBody6049493840536522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737892944,"filename":"image_13012025_04_09_02_945417_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a109376921d4f3ad1cbafb28d37767c2.jpg","text":"TemporaryFile(/tmp/multipartBody5155953442814436555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737892944,"filename":"image_13012025_04_10_02_467380_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/30994c9f60f105463b80eb250c993aac.jpg","text":"TemporaryFile(/tmp/multipartBody4349428600450610143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737892944,"filename":"image_13012025_04_10_02_467380_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/625146d4f989b4138e20724ad08ebc96.jpg","text":"TemporaryFile(/tmp/multipartBody247856745117958145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737892944,"filename":"image_13012025_04_10_02_467380_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328574976","file1":"1328574973","file0":"1328574963","file3":"1328574979"},"map_files_photo_id_array":[{"photo_id":"1328574976","filename":"file2"},{"photo_id":"1328574973","filename":"file1"},{"photo_id":"1328574963","filename":"file0"},{"photo_id":"1328574979","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328574963":["hashtag1","hashtag2"]},{"1328574976":["hashtag1","hashtag2"]},{"1328574979":["hashtag1","hashtag2"]},{"1328574973":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328574963, 1328574976, 1328574979, 1328574973)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.131253480911255 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:11:22.098725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/10/image_13012025_04_10_02_467380_0003.jpg', '/home/pi/Desktop/images/13012025/04/11/image_13012025_04_11_02_989773_0000.jpg', '/home/pi/Desktop/images/13012025/04/11/image_13012025_04_11_02_989773_0001.jpg', '/home/pi/Desktop/images/13012025/04/11/image_13012025_04_11_02_989773_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/10/image_13012025_04_10_02_467380_0003.jpg
/home/pi/Desktop/images/13012025/04/11/image_13012025_04_11_02_989773_0000.jpg
/home/pi/Desktop/images/13012025/04/11/image_13012025_04_11_02_989773_0001.jpg
/home/pi/Desktop/images/13012025/04/11/image_13012025_04_11_02_989773_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328575064","1328575066","1328575068","1328575062"],"photo_ids_order":["1328575062","1328575064","1328575066","1328575068"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f60ea7606aa818487ea0cc7912874499.jpg","text":"TemporaryFile(/tmp/multipartBody3505545460239379411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737952382,"filename":"image_13012025_04_11_02_989773_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aef220c630ddb1d8aae04e7b8153b25d.jpg","text":"TemporaryFile(/tmp/multipartBody7870847407850246869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737952382,"filename":"image_13012025_04_11_02_989773_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/814e54a38732b4f5acbe7ec88d108fed.jpg","text":"TemporaryFile(/tmp/multipartBody1519082421150399817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737952382,"filename":"image_13012025_04_11_02_989773_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2120cf779d6603b3a640649c7982370c.jpg","text":"TemporaryFile(/tmp/multipartBody252208640657808450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736737952382,"filename":"image_13012025_04_10_02_467380_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328575066","file1":"1328575064","file0":"1328575062","file3":"1328575068"},"map_files_photo_id_array":[{"photo_id":"1328575066","filename":"file2"},{"photo_id":"1328575064","filename":"file1"},{"photo_id":"1328575062","filename":"file0"},{"photo_id":"1328575068","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328575064":["hashtag1","hashtag2"]},{"1328575066":["hashtag1","hashtag2"]},{"1328575068":["hashtag1","hashtag2"]},{"1328575062":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328575064, 1328575066, 1328575068, 1328575062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.008336305618286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:12:03.080535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:12:22.728968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/11/image_13012025_04_11_02_989773_0003.jpg', '/home/pi/Desktop/images/13012025/04/12/image_13012025_04_12_02_602226_0000.jpg', '/home/pi/Desktop/images/13012025/04/12/image_13012025_04_12_02_602226_0001.jpg', '/home/pi/Desktop/images/13012025/04/12/image_13012025_04_12_02_602226_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/11/image_13012025_04_11_02_989773_0003.jpg
/home/pi/Desktop/images/13012025/04/12/image_13012025_04_12_02_602226_0000.jpg
/home/pi/Desktop/images/13012025/04/12/image_13012025_04_12_02_602226_0001.jpg
/home/pi/Desktop/images/13012025/04/12/image_13012025_04_12_02_602226_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.868368148803711 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:13:02.880396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/11/image_13012025_04_11_02_989773_0003.jpg', '/home/pi/Desktop/images/13012025/04/12/image_13012025_04_12_02_602226_0000.jpg', '/home/pi/Desktop/images/13012025/04/12/image_13012025_04_12_02_602226_0001.jpg', '/home/pi/Desktop/images/13012025/04/12/image_13012025_04_12_02_602226_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/11/image_13012025_04_11_02_989773_0003.jpg
/home/pi/Desktop/images/13012025/04/12/image_13012025_04_12_02_602226_0000.jpg
/home/pi/Desktop/images/13012025/04/12/image_13012025_04_12_02_602226_0001.jpg
/home/pi/Desktop/images/13012025/04/12/image_13012025_04_12_02_602226_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328575101","1328575100","1328575099","1328575098"],"photo_ids_order":["1328575098","1328575099","1328575100","1328575101"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e8c5cb5ade039c570fc1b2805a6ed961.jpg","text":"TemporaryFile(/tmp/multipartBody742897329639565896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738053246,"filename":"image_13012025_04_12_02_602226_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0769b92ca50ec6a735ddda852f53cf69.jpg","text":"TemporaryFile(/tmp/multipartBody3893572881250523304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738053246,"filename":"image_13012025_04_12_02_602226_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1a14e661089644977d464cb72117e79f.jpg","text":"TemporaryFile(/tmp/multipartBody7467386535166059757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738053246,"filename":"image_13012025_04_12_02_602226_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/958a52118382a16a417a54d79f955c2d.jpg","text":"TemporaryFile(/tmp/multipartBody3242776949517451339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738053246,"filename":"image_13012025_04_11_02_989773_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328575100","file1":"1328575099","file0":"1328575098","file3":"1328575101"},"map_files_photo_id_array":[{"photo_id":"1328575100","filename":"file2"},{"photo_id":"1328575099","filename":"file1"},{"photo_id":"1328575098","filename":"file0"},{"photo_id":"1328575101","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328575101":["hashtag1","hashtag2"]},{"1328575100":["hashtag1","hashtag2"]},{"1328575099":["hashtag1","hashtag2"]},{"1328575098":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328575101, 1328575100, 1328575099, 1328575098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.37172770500183 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:14:02.191761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/12/image_13012025_04_12_02_602226_0003.jpg', '/home/pi/Desktop/images/13012025/04/13/image_13012025_04_13_03_114023_0000.jpg', '/home/pi/Desktop/images/13012025/04/13/image_13012025_04_13_03_114023_0001.jpg', '/home/pi/Desktop/images/13012025/04/13/image_13012025_04_13_03_114023_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/12/image_13012025_04_12_02_602226_0003.jpg
/home/pi/Desktop/images/13012025/04/13/image_13012025_04_13_03_114023_0000.jpg
/home/pi/Desktop/images/13012025/04/13/image_13012025_04_13_03_114023_0001.jpg
/home/pi/Desktop/images/13012025/04/13/image_13012025_04_13_03_114023_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328575119","1328575118","1328575112","1328575114"],"photo_ids_order":["1328575112","1328575114","1328575118","1328575119"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/637e7eba5058c15ae39116c11ead7105.jpg","text":"TemporaryFile(/tmp/multipartBody1647538165538848683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738112699,"filename":"image_13012025_04_13_03_114023_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6ae88a56fa9778e632cd9fcd4b12aced.jpg","text":"TemporaryFile(/tmp/multipartBody9119513852084020830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738112699,"filename":"image_13012025_04_13_03_114023_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2132c3f0be87c7fb3a981efbcde66fa1.jpg","text":"TemporaryFile(/tmp/multipartBody3937402074092755141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738112699,"filename":"image_13012025_04_12_02_602226_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/550f4df2672da8ddd4a25724c2c4add9.jpg","text":"TemporaryFile(/tmp/multipartBody4819650124313363325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738112699,"filename":"image_13012025_04_13_03_114023_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328575118","file1":"1328575114","file0":"1328575112","file3":"1328575119"},"map_files_photo_id_array":[{"photo_id":"1328575118","filename":"file2"},{"photo_id":"1328575114","filename":"file1"},{"photo_id":"1328575112","filename":"file0"},{"photo_id":"1328575119","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328575119":["hashtag1","hashtag2"]},{"1328575118":["hashtag1","hashtag2"]},{"1328575112":["hashtag1","hashtag2"]},{"1328575114":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328575119, 1328575118, 1328575112, 1328575114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.12881541252136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:15:02.813468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/13/image_13012025_04_13_03_114023_0003.jpg', '/home/pi/Desktop/images/13012025/04/14/image_13012025_04_14_02_621108_0000.jpg', '/home/pi/Desktop/images/13012025/04/14/image_13012025_04_14_02_621108_0001.jpg', '/home/pi/Desktop/images/13012025/04/14/image_13012025_04_14_02_621108_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/13/image_13012025_04_13_03_114023_0003.jpg
/home/pi/Desktop/images/13012025/04/14/image_13012025_04_14_02_621108_0000.jpg
/home/pi/Desktop/images/13012025/04/14/image_13012025_04_14_02_621108_0001.jpg
/home/pi/Desktop/images/13012025/04/14/image_13012025_04_14_02_621108_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328575236","1328575181","1328575231","1328575234"],"photo_ids_order":["1328575181","1328575231","1328575234","1328575236"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3d2b61854d9c9a21e02de0f12ae61a6e.jpg","text":"TemporaryFile(/tmp/multipartBody4321655419998713468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738173116,"filename":"image_13012025_04_14_02_621108_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3efd95d009c06536f878c88a4740a9ce.jpg","text":"TemporaryFile(/tmp/multipartBody7354259722020012051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738173116,"filename":"image_13012025_04_13_03_114023_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/20bd07422ff5253962e125e327ac876d.jpg","text":"TemporaryFile(/tmp/multipartBody8403422249139391848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738173116,"filename":"image_13012025_04_14_02_621108_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/63ea97569e2f56f016cf11748550f053.jpg","text":"TemporaryFile(/tmp/multipartBody4775137893847901803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738173116,"filename":"image_13012025_04_14_02_621108_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328575234","file1":"1328575231","file0":"1328575181","file3":"1328575236"},"map_files_photo_id_array":[{"photo_id":"1328575234","filename":"file2"},{"photo_id":"1328575231","filename":"file1"},{"photo_id":"1328575181","filename":"file0"},{"photo_id":"1328575236","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328575236":["hashtag1","hashtag2"]},{"1328575181":["hashtag1","hashtag2"]},{"1328575231":["hashtag1","hashtag2"]},{"1328575234":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328575236, 1328575181, 1328575231, 1328575234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.826722860336304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:16:02.382268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/14/image_13012025_04_14_02_621108_0003.jpg', '/home/pi/Desktop/images/13012025/04/15/image_13012025_04_15_02_135252_0000.jpg', '/home/pi/Desktop/images/13012025/04/15/image_13012025_04_15_02_135252_0001.jpg', '/home/pi/Desktop/images/13012025/04/15/image_13012025_04_15_02_135252_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/14/image_13012025_04_14_02_621108_0003.jpg
/home/pi/Desktop/images/13012025/04/15/image_13012025_04_15_02_135252_0000.jpg
/home/pi/Desktop/images/13012025/04/15/image_13012025_04_15_02_135252_0001.jpg
/home/pi/Desktop/images/13012025/04/15/image_13012025_04_15_02_135252_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328575263","1328575262","1328575261","1328575264"],"photo_ids_order":["1328575261","1328575262","1328575263","1328575264"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3a6d2b075eae7351df1b2b4916e1ec11.jpg","text":"TemporaryFile(/tmp/multipartBody998794635894188034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738232494,"filename":"image_13012025_04_15_02_135252_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/afec070134e63022569707837c4864e1.jpg","text":"TemporaryFile(/tmp/multipartBody7437052249772572321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738232494,"filename":"image_13012025_04_15_02_135252_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5686f6c5f4c7f9d16cb0f6b7523ad345.jpg","text":"TemporaryFile(/tmp/multipartBody1598625386577164552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738232494,"filename":"image_13012025_04_14_02_621108_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/69877b18576684b3d5c66f65222879cd.jpg","text":"TemporaryFile(/tmp/multipartBody7256057125915610998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738232494,"filename":"image_13012025_04_15_02_135252_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328575263","file1":"1328575262","file0":"1328575261","file3":"1328575264"},"map_files_photo_id_array":[{"photo_id":"1328575263","filename":"file2"},{"photo_id":"1328575262","filename":"file1"},{"photo_id":"1328575261","filename":"file0"},{"photo_id":"1328575264","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328575263":["hashtag1","hashtag2"]},{"1328575262":["hashtag1","hashtag2"]},{"1328575261":["hashtag1","hashtag2"]},{"1328575264":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328575263, 1328575262, 1328575261, 1328575264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.38681387901306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:17:03.158110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/15/image_13012025_04_15_02_135252_0003.jpg', '/home/pi/Desktop/images/13012025/04/16/image_13012025_04_16_02_726248_0000.jpg', '/home/pi/Desktop/images/13012025/04/16/image_13012025_04_16_02_726248_0001.jpg', '/home/pi/Desktop/images/13012025/04/16/image_13012025_04_16_02_726248_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/15/image_13012025_04_15_02_135252_0003.jpg
/home/pi/Desktop/images/13012025/04/16/image_13012025_04_16_02_726248_0000.jpg
/home/pi/Desktop/images/13012025/04/16/image_13012025_04_16_02_726248_0001.jpg
/home/pi/Desktop/images/13012025/04/16/image_13012025_04_16_02_726248_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.877063751220703 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:17:22.517222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/15/image_13012025_04_15_02_135252_0003.jpg', '/home/pi/Desktop/images/13012025/04/16/image_13012025_04_16_02_726248_0000.jpg', '/home/pi/Desktop/images/13012025/04/16/image_13012025_04_16_02_726248_0001.jpg', '/home/pi/Desktop/images/13012025/04/16/image_13012025_04_16_02_726248_0002.jpg', '/home/pi/Desktop/images/13012025/04/16/image_13012025_04_16_02_726248_0003.jpg', '/home/pi/Desktop/images/13012025/04/17/image_13012025_04_17_02_397041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/15/image_13012025_04_15_02_135252_0003.jpg
/home/pi/Desktop/images/13012025/04/16/image_13012025_04_16_02_726248_0000.jpg
/home/pi/Desktop/images/13012025/04/16/image_13012025_04_16_02_726248_0001.jpg
/home/pi/Desktop/images/13012025/04/16/image_13012025_04_16_02_726248_0002.jpg
/home/pi/Desktop/images/13012025/04/16/image_13012025_04_16_02_726248_0003.jpg
/home/pi/Desktop/images/13012025/04/17/image_13012025_04_17_02_397041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328575283","1328575277","1328575285","1328575279","1328575281","1328575275"],"photo_ids_order":["1328575275","1328575277","1328575279","1328575281","1328575283","1328575285"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0d125713c36f55d9abec046b14ef0f6f.jpg","text":"TemporaryFile(/tmp/multipartBody8188231777437177105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738317538,"filename":"image_13012025_04_16_02_726248_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bf859991922988341e5c31add79d1faa.jpg","text":"TemporaryFile(/tmp/multipartBody4618148015216058422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738317538,"filename":"image_13012025_04_16_02_726248_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3a23c9f489c0f06bec388938318295f7.jpg","text":"TemporaryFile(/tmp/multipartBody3326927938059640312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738317538,"filename":"image_13012025_04_17_02_397041_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0bfeee059604e826fd8d81bf3d075a78.jpg","text":"TemporaryFile(/tmp/multipartBody2854194268962158920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738317538,"filename":"image_13012025_04_16_02_726248_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9936104ba721fea45ba3ed29f09cac89.jpg","text":"TemporaryFile(/tmp/multipartBody1205408905089506017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738317538,"filename":"image_13012025_04_16_02_726248_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4bd00468c66a8a52470544a39087a66c.jpg","text":"TemporaryFile(/tmp/multipartBody557097869884808560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738317538,"filename":"image_13012025_04_15_02_135252_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328575279","file1":"1328575277","file0":"1328575275","file4":"1328575283","file5":"1328575285","file3":"1328575281"},"map_files_photo_id_array":[{"photo_id":"1328575285","filename":"file5"},{"photo_id":"1328575279","filename":"file2"},{"photo_id":"1328575283","filename":"file4"},{"photo_id":"1328575277","filename":"file1"},{"photo_id":"1328575275","filename":"file0"},{"photo_id":"1328575281","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328575283":["hashtag1","hashtag2"]},{"1328575277":["hashtag1","hashtag2"]},{"1328575285":["hashtag1","hashtag2"]},{"1328575279":["hashtag1","hashtag2"]},{"1328575281":["hashtag1","hashtag2"]},{"1328575275":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328575283, 1328575277, 1328575285, 1328575279, 1328575281, 1328575275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.99148201942444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:18:22.231283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/17/image_13012025_04_17_02_397041_0001.jpg', '/home/pi/Desktop/images/13012025/04/17/image_13012025_04_17_02_397041_0002.jpg', '/home/pi/Desktop/images/13012025/04/17/image_13012025_04_17_02_397041_0003.jpg', '/home/pi/Desktop/images/13012025/04/18/image_13012025_04_18_02_925874_0000.jpg', '/home/pi/Desktop/images/13012025/04/18/image_13012025_04_18_02_925874_0001.jpg', '/home/pi/Desktop/images/13012025/04/18/image_13012025_04_18_02_925874_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/17/image_13012025_04_17_02_397041_0001.jpg
/home/pi/Desktop/images/13012025/04/17/image_13012025_04_17_02_397041_0002.jpg
/home/pi/Desktop/images/13012025/04/17/image_13012025_04_17_02_397041_0003.jpg
/home/pi/Desktop/images/13012025/04/18/image_13012025_04_18_02_925874_0000.jpg
/home/pi/Desktop/images/13012025/04/18/image_13012025_04_18_02_925874_0001.jpg
/home/pi/Desktop/images/13012025/04/18/image_13012025_04_18_02_925874_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328576007","1328575938","1328575800","1328575813","1328575785","1328575935"],"photo_ids_order":["1328575785","1328575800","1328575813","1328575935","1328575938","1328576007"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/63d38e28b4b2d8e9690bb795f8841b2b.jpg","text":"TemporaryFile(/tmp/multipartBody4228972527881016168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738377180,"filename":"image_13012025_04_18_02_925874_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4e9d1f2e9486b621f295928f3720492f.jpg","text":"TemporaryFile(/tmp/multipartBody3866127754104395585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738377180,"filename":"image_13012025_04_18_02_925874_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/da61855f6ba78d18cfa8a2ed864fa940.jpg","text":"TemporaryFile(/tmp/multipartBody8847792550344550064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738377180,"filename":"image_13012025_04_17_02_397041_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/58c1677ecf27978196828c6a374e7c64.jpg","text":"TemporaryFile(/tmp/multipartBody3673174264069664721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738377180,"filename":"image_13012025_04_17_02_397041_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cbd597a0e578e1e56600aad166c00389.jpg","text":"TemporaryFile(/tmp/multipartBody9006452181767887636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738377180,"filename":"image_13012025_04_17_02_397041_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/74939ebf29e117a0298c09120982a854.jpg","text":"TemporaryFile(/tmp/multipartBody4630333460735035307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738377180,"filename":"image_13012025_04_18_02_925874_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328575813","file1":"1328575800","file0":"1328575785","file4":"1328575938","file5":"1328576007","file3":"1328575935"},"map_files_photo_id_array":[{"photo_id":"1328576007","filename":"file5"},{"photo_id":"1328575813","filename":"file2"},{"photo_id":"1328575938","filename":"file4"},{"photo_id":"1328575800","filename":"file1"},{"photo_id":"1328575785","filename":"file0"},{"photo_id":"1328575935","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328576007":["hashtag1","hashtag2"]},{"1328575938":["hashtag1","hashtag2"]},{"1328575800":["hashtag1","hashtag2"]},{"1328575813":["hashtag1","hashtag2"]},{"1328575785":["hashtag1","hashtag2"]},{"1328575935":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328576007, 1328575938, 1328575800, 1328575813, 1328575785, 1328575935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.51821184158325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:19:22.667989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/18/image_13012025_04_18_02_925874_0003.jpg', '/home/pi/Desktop/images/13012025/04/19/image_13012025_04_19_02_610372_0000.jpg', '/home/pi/Desktop/images/13012025/04/19/image_13012025_04_19_02_610372_0001.jpg', '/home/pi/Desktop/images/13012025/04/19/image_13012025_04_19_02_610372_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/18/image_13012025_04_18_02_925874_0003.jpg
/home/pi/Desktop/images/13012025/04/19/image_13012025_04_19_02_610372_0000.jpg
/home/pi/Desktop/images/13012025/04/19/image_13012025_04_19_02_610372_0001.jpg
/home/pi/Desktop/images/13012025/04/19/image_13012025_04_19_02_610372_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328576083","1328576151","1328576157","1328576010"],"photo_ids_order":["1328576010","1328576083","1328576151","1328576157"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9b62a01f3dfdf6e459a8b8d15a2c94d2.jpg","text":"TemporaryFile(/tmp/multipartBody6922652495082094186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738432950,"filename":"image_13012025_04_19_02_610372_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a4d0da9e7f4b0e931eb3de8a8fd3e045.jpg","text":"TemporaryFile(/tmp/multipartBody8341399231416044313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738432950,"filename":"image_13012025_04_19_02_610372_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/33b717a8d9090049db7d68be8779c5b0.jpg","text":"TemporaryFile(/tmp/multipartBody6089999370685844920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738432950,"filename":"image_13012025_04_19_02_610372_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f83caa804da680dce62f2aeec925cdde.jpg","text":"TemporaryFile(/tmp/multipartBody6131526962586928819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738432950,"filename":"image_13012025_04_18_02_925874_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328576151","file1":"1328576083","file0":"1328576010","file3":"1328576157"},"map_files_photo_id_array":[{"photo_id":"1328576151","filename":"file2"},{"photo_id":"1328576083","filename":"file1"},{"photo_id":"1328576010","filename":"file0"},{"photo_id":"1328576157","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328576083":["hashtag1","hashtag2"]},{"1328576151":["hashtag1","hashtag2"]},{"1328576157":["hashtag1","hashtag2"]},{"1328576010":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328576083, 1328576151, 1328576157, 1328576010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.254817485809326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:20:02.698395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:20:22.208925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/19/image_13012025_04_19_02_610372_0003.jpg', '/home/pi/Desktop/images/13012025/04/20/image_13012025_04_20_03_179414_0000.jpg', '/home/pi/Desktop/images/13012025/04/20/image_13012025_04_20_03_179414_0001.jpg', '/home/pi/Desktop/images/13012025/04/20/image_13012025_04_20_03_179414_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/19/image_13012025_04_19_02_610372_0003.jpg
/home/pi/Desktop/images/13012025/04/20/image_13012025_04_20_03_179414_0000.jpg
/home/pi/Desktop/images/13012025/04/20/image_13012025_04_20_03_179414_0001.jpg
/home/pi/Desktop/images/13012025/04/20/image_13012025_04_20_03_179414_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328576297","1328576342","1328576293","1328576295"],"photo_ids_order":["1328576293","1328576295","1328576297","1328576342"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d655d4c5813fe989d8f9046612828290.jpg","text":"TemporaryFile(/tmp/multipartBody8757848430215461475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738492383,"filename":"image_13012025_04_20_03_179414_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bc1d4ac31cc341ed9473174fc22ada65.jpg","text":"TemporaryFile(/tmp/multipartBody7865395825409363174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738492383,"filename":"image_13012025_04_20_03_179414_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1019909abfd18eb984f9a68367e4f5e6.jpg","text":"TemporaryFile(/tmp/multipartBody2632405390347537686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738492383,"filename":"image_13012025_04_19_02_610372_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f9ea363136d3367ed9ec2f280c800ae1.jpg","text":"TemporaryFile(/tmp/multipartBody8269794338161244007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738492383,"filename":"image_13012025_04_20_03_179414_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328576297","file1":"1328576295","file0":"1328576293","file3":"1328576342"},"map_files_photo_id_array":[{"photo_id":"1328576297","filename":"file2"},{"photo_id":"1328576295","filename":"file1"},{"photo_id":"1328576293","filename":"file0"},{"photo_id":"1328576342","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328576297":["hashtag1","hashtag2"]},{"1328576342":["hashtag1","hashtag2"]},{"1328576293":["hashtag1","hashtag2"]},{"1328576295":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328576297, 1328576342, 1328576293, 1328576295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.96898555755615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:21:22.784372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/20/image_13012025_04_20_03_179414_0003.jpg', '/home/pi/Desktop/images/13012025/04/21/image_13012025_04_21_02_606093_0000.jpg', '/home/pi/Desktop/images/13012025/04/21/image_13012025_04_21_02_606093_0001.jpg', '/home/pi/Desktop/images/13012025/04/21/image_13012025_04_21_02_606093_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/20/image_13012025_04_20_03_179414_0003.jpg
/home/pi/Desktop/images/13012025/04/21/image_13012025_04_21_02_606093_0000.jpg
/home/pi/Desktop/images/13012025/04/21/image_13012025_04_21_02_606093_0001.jpg
/home/pi/Desktop/images/13012025/04/21/image_13012025_04_21_02_606093_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328576372","1328576360","1328576348","1328576346"],"photo_ids_order":["1328576346","1328576348","1328576360","1328576372"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9c0457cc29256a61fed0163bc7650605.jpg","text":"TemporaryFile(/tmp/multipartBody1466415295916585077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738553032,"filename":"image_13012025_04_21_02_606093_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/277b846e594f682153919e670f08dde7.jpg","text":"TemporaryFile(/tmp/multipartBody2914052593563899802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738553032,"filename":"image_13012025_04_21_02_606093_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/127fc892073f5cf507b114c163bc65a7.jpg","text":"TemporaryFile(/tmp/multipartBody6722624702415736432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738553032,"filename":"image_13012025_04_21_02_606093_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/75fe09213b0ed888f433433a23d0db3d.jpg","text":"TemporaryFile(/tmp/multipartBody353830032658328384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738553032,"filename":"image_13012025_04_20_03_179414_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328576360","file1":"1328576348","file0":"1328576346","file3":"1328576372"},"map_files_photo_id_array":[{"photo_id":"1328576360","filename":"file2"},{"photo_id":"1328576348","filename":"file1"},{"photo_id":"1328576346","filename":"file0"},{"photo_id":"1328576372","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328576372":["hashtag1","hashtag2"]},{"1328576360":["hashtag1","hashtag2"]},{"1328576348":["hashtag1","hashtag2"]},{"1328576346":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328576372, 1328576360, 1328576348, 1328576346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.29258894920349 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:22:22.325142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/21/image_13012025_04_21_02_606093_0003.jpg', '/home/pi/Desktop/images/13012025/04/22/image_13012025_04_22_03_196909_0000.jpg', '/home/pi/Desktop/images/13012025/04/22/image_13012025_04_22_03_196909_0001.jpg', '/home/pi/Desktop/images/13012025/04/22/image_13012025_04_22_03_196909_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/21/image_13012025_04_21_02_606093_0003.jpg
/home/pi/Desktop/images/13012025/04/22/image_13012025_04_22_03_196909_0000.jpg
/home/pi/Desktop/images/13012025/04/22/image_13012025_04_22_03_196909_0001.jpg
/home/pi/Desktop/images/13012025/04/22/image_13012025_04_22_03_196909_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328576381","1328576378","1328576376","1328576384"],"photo_ids_order":["1328576376","1328576378","1328576381","1328576384"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8ed3353c53db9079d25e17385efcadb1.jpg","text":"TemporaryFile(/tmp/multipartBody5772586180878801876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738612689,"filename":"image_13012025_04_22_03_196909_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1957df04086014b05eef9550bb9f7efe.jpg","text":"TemporaryFile(/tmp/multipartBody9032544844615719623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738612689,"filename":"image_13012025_04_22_03_196909_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2f209290bc608c59fb641efb426f93cf.jpg","text":"TemporaryFile(/tmp/multipartBody1476841460585560581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738612689,"filename":"image_13012025_04_21_02_606093_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7d62848770199f965b4cc4466daa4384.jpg","text":"TemporaryFile(/tmp/multipartBody1254545136813029844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738612689,"filename":"image_13012025_04_22_03_196909_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328576381","file1":"1328576378","file0":"1328576376","file3":"1328576384"},"map_files_photo_id_array":[{"photo_id":"1328576381","filename":"file2"},{"photo_id":"1328576378","filename":"file1"},{"photo_id":"1328576376","filename":"file0"},{"photo_id":"1328576384","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328576381":["hashtag1","hashtag2"]},{"1328576378":["hashtag1","hashtag2"]},{"1328576376":["hashtag1","hashtag2"]},{"1328576384":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328576381, 1328576378, 1328576376, 1328576384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.46010065078735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:23:21.866358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/22/image_13012025_04_22_03_196909_0003.jpg', '/home/pi/Desktop/images/13012025/04/23/image_13012025_04_23_02_728656_0000.jpg', '/home/pi/Desktop/images/13012025/04/23/image_13012025_04_23_02_728656_0001.jpg', '/home/pi/Desktop/images/13012025/04/23/image_13012025_04_23_02_728656_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/22/image_13012025_04_22_03_196909_0003.jpg
/home/pi/Desktop/images/13012025/04/23/image_13012025_04_23_02_728656_0000.jpg
/home/pi/Desktop/images/13012025/04/23/image_13012025_04_23_02_728656_0001.jpg
/home/pi/Desktop/images/13012025/04/23/image_13012025_04_23_02_728656_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328576393","1328576395","1328576391","1328576397"],"photo_ids_order":["1328576391","1328576393","1328576395","1328576397"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/15bf4511486f19b416d60fcc54203593.jpg","text":"TemporaryFile(/tmp/multipartBody3162342233324344136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738671880,"filename":"image_13012025_04_23_02_728656_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a02dfaa42af3d7c8540809a9819d7406.jpg","text":"TemporaryFile(/tmp/multipartBody2997723825870989737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738671880,"filename":"image_13012025_04_23_02_728656_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e7e95aedf2bdd515e7a5fc53400f90b2.jpg","text":"TemporaryFile(/tmp/multipartBody5926735050650310787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738671880,"filename":"image_13012025_04_22_03_196909_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a3a3a5aa8051269ba39a94a4c2adfb64.jpg","text":"TemporaryFile(/tmp/multipartBody6034483092323483724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738671880,"filename":"image_13012025_04_23_02_728656_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328576395","file1":"1328576393","file0":"1328576391","file3":"1328576397"},"map_files_photo_id_array":[{"photo_id":"1328576395","filename":"file2"},{"photo_id":"1328576393","filename":"file1"},{"photo_id":"1328576391","filename":"file0"},{"photo_id":"1328576397","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328576393":["hashtag1","hashtag2"]},{"1328576395":["hashtag1","hashtag2"]},{"1328576391":["hashtag1","hashtag2"]},{"1328576397":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328576393, 1328576395, 1328576391, 1328576397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.11545729637146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:24:22.459981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/23/image_13012025_04_23_02_728656_0003.jpg', '/home/pi/Desktop/images/13012025/04/24/image_13012025_04_24_02_311587_0000.jpg', '/home/pi/Desktop/images/13012025/04/24/image_13012025_04_24_02_311587_0001.jpg', '/home/pi/Desktop/images/13012025/04/24/image_13012025_04_24_02_311587_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/23/image_13012025_04_23_02_728656_0003.jpg
/home/pi/Desktop/images/13012025/04/24/image_13012025_04_24_02_311587_0000.jpg
/home/pi/Desktop/images/13012025/04/24/image_13012025_04_24_02_311587_0001.jpg
/home/pi/Desktop/images/13012025/04/24/image_13012025_04_24_02_311587_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.6182861328125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:25:02.503223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/23/image_13012025_04_23_02_728656_0003.jpg', '/home/pi/Desktop/images/13012025/04/24/image_13012025_04_24_02_311587_0000.jpg', '/home/pi/Desktop/images/13012025/04/24/image_13012025_04_24_02_311587_0001.jpg', '/home/pi/Desktop/images/13012025/04/24/image_13012025_04_24_02_311587_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/23/image_13012025_04_23_02_728656_0003.jpg
/home/pi/Desktop/images/13012025/04/24/image_13012025_04_24_02_311587_0000.jpg
/home/pi/Desktop/images/13012025/04/24/image_13012025_04_24_02_311587_0001.jpg
/home/pi/Desktop/images/13012025/04/24/image_13012025_04_24_02_311587_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328576502","1328576501","1328576500","1328576503"],"photo_ids_order":["1328576500","1328576501","1328576502","1328576503"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/019916ad2e9c353995e6b0031860bf7b.jpg","text":"TemporaryFile(/tmp/multipartBody8064826974729067778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738772558,"filename":"image_13012025_04_24_02_311587_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6d935d862c2d9712dcc3215948df2629.jpg","text":"TemporaryFile(/tmp/multipartBody3265926472615751306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738772558,"filename":"image_13012025_04_24_02_311587_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bffd26b719a1152440efba3ac2675f46.jpg","text":"TemporaryFile(/tmp/multipartBody3455399591366249229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738772558,"filename":"image_13012025_04_23_02_728656_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ed9e8eec749095ebf6beaf2b2eba39a1.jpg","text":"TemporaryFile(/tmp/multipartBody7765121242690965138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738772558,"filename":"image_13012025_04_24_02_311587_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328576502","file1":"1328576501","file0":"1328576500","file3":"1328576503"},"map_files_photo_id_array":[{"photo_id":"1328576502","filename":"file2"},{"photo_id":"1328576501","filename":"file1"},{"photo_id":"1328576500","filename":"file0"},{"photo_id":"1328576503","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328576502":["hashtag1","hashtag2"]},{"1328576501":["hashtag1","hashtag2"]},{"1328576500":["hashtag1","hashtag2"]},{"1328576503":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328576502, 1328576501, 1328576500, 1328576503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.04182410240173 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:26:02.981969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/24/image_13012025_04_24_02_311587_0003.jpg', '/home/pi/Desktop/images/13012025/04/25/image_13012025_04_25_02_813795_0000.jpg', '/home/pi/Desktop/images/13012025/04/25/image_13012025_04_25_02_813795_0001.jpg', '/home/pi/Desktop/images/13012025/04/25/image_13012025_04_25_02_813795_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/24/image_13012025_04_24_02_311587_0003.jpg
/home/pi/Desktop/images/13012025/04/25/image_13012025_04_25_02_813795_0000.jpg
/home/pi/Desktop/images/13012025/04/25/image_13012025_04_25_02_813795_0001.jpg
/home/pi/Desktop/images/13012025/04/25/image_13012025_04_25_02_813795_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.78047251701355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:26:22.567564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/24/image_13012025_04_24_02_311587_0003.jpg', '/home/pi/Desktop/images/13012025/04/25/image_13012025_04_25_02_813795_0000.jpg', '/home/pi/Desktop/images/13012025/04/25/image_13012025_04_25_02_813795_0001.jpg', '/home/pi/Desktop/images/13012025/04/25/image_13012025_04_25_02_813795_0002.jpg', '/home/pi/Desktop/images/13012025/04/25/image_13012025_04_25_02_813795_0003.jpg', '/home/pi/Desktop/images/13012025/04/26/image_13012025_04_26_02_320537_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/24/image_13012025_04_24_02_311587_0003.jpg
/home/pi/Desktop/images/13012025/04/25/image_13012025_04_25_02_813795_0000.jpg
/home/pi/Desktop/images/13012025/04/25/image_13012025_04_25_02_813795_0001.jpg
/home/pi/Desktop/images/13012025/04/25/image_13012025_04_25_02_813795_0002.jpg
/home/pi/Desktop/images/13012025/04/25/image_13012025_04_25_02_813795_0003.jpg
/home/pi/Desktop/images/13012025/04/26/image_13012025_04_26_02_320537_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328576522","1328576516","1328576524","1328576518","1328576520","1328576514"],"photo_ids_order":["1328576514","1328576516","1328576518","1328576520","1328576522","1328576524"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5440de04455ab6d67a225120ff907f00.jpg","text":"TemporaryFile(/tmp/multipartBody3897653724524796923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738857488,"filename":"image_13012025_04_25_02_813795_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/676299d3565a527149da36b683ce8e08.jpg","text":"TemporaryFile(/tmp/multipartBody7849640855598462063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738857488,"filename":"image_13012025_04_25_02_813795_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5311ff1995fc408aa14d784b9da389ab.jpg","text":"TemporaryFile(/tmp/multipartBody2897938771898216900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738857488,"filename":"image_13012025_04_26_02_320537_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e87c98e5f04361170f74a991170ed43a.jpg","text":"TemporaryFile(/tmp/multipartBody808508787924946356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738857488,"filename":"image_13012025_04_25_02_813795_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4257f5f01bb660f10bcf5fa16e6f7296.jpg","text":"TemporaryFile(/tmp/multipartBody1242482342999865726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738857488,"filename":"image_13012025_04_25_02_813795_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2605565a1ef9f71ffc31ffe45359d776.jpg","text":"TemporaryFile(/tmp/multipartBody178554879661691434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738857488,"filename":"image_13012025_04_24_02_311587_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328576518","file1":"1328576516","file0":"1328576514","file4":"1328576522","file5":"1328576524","file3":"1328576520"},"map_files_photo_id_array":[{"photo_id":"1328576524","filename":"file5"},{"photo_id":"1328576518","filename":"file2"},{"photo_id":"1328576522","filename":"file4"},{"photo_id":"1328576516","filename":"file1"},{"photo_id":"1328576514","filename":"file0"},{"photo_id":"1328576520","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328576522":["hashtag1","hashtag2"]},{"1328576516":["hashtag1","hashtag2"]},{"1328576524":["hashtag1","hashtag2"]},{"1328576518":["hashtag1","hashtag2"]},{"1328576520":["hashtag1","hashtag2"]},{"1328576514":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328576522, 1328576516, 1328576524, 1328576518, 1328576520, 1328576514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.3659987449646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:27:22.046352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/26/image_13012025_04_26_02_320537_0001.jpg', '/home/pi/Desktop/images/13012025/04/26/image_13012025_04_26_02_320537_0002.jpg', '/home/pi/Desktop/images/13012025/04/26/image_13012025_04_26_02_320537_0003.jpg', '/home/pi/Desktop/images/13012025/04/27/image_13012025_04_27_02_903774_0000.jpg', '/home/pi/Desktop/images/13012025/04/27/image_13012025_04_27_02_903774_0001.jpg', '/home/pi/Desktop/images/13012025/04/27/image_13012025_04_27_02_903774_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/26/image_13012025_04_26_02_320537_0001.jpg
/home/pi/Desktop/images/13012025/04/26/image_13012025_04_26_02_320537_0002.jpg
/home/pi/Desktop/images/13012025/04/26/image_13012025_04_26_02_320537_0003.jpg
/home/pi/Desktop/images/13012025/04/27/image_13012025_04_27_02_903774_0000.jpg
/home/pi/Desktop/images/13012025/04/27/image_13012025_04_27_02_903774_0001.jpg
/home/pi/Desktop/images/13012025/04/27/image_13012025_04_27_02_903774_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328576561","1328576563","1328576557","1328576571","1328576541","1328576559"],"photo_ids_order":["1328576541","1328576557","1328576559","1328576561","1328576563","1328576571"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ab0f686d1af0c5e5754fd36715497f85.jpg","text":"TemporaryFile(/tmp/multipartBody3909429965838734192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738917072,"filename":"image_13012025_04_27_02_903774_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/49c7728f3bcaae805703928f2a1e8f7c.jpg","text":"TemporaryFile(/tmp/multipartBody4514201112317540048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738917072,"filename":"image_13012025_04_27_02_903774_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8d25f2797483d7ecfa1dbe5bc187ee05.jpg","text":"TemporaryFile(/tmp/multipartBody7532609554468243743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738917072,"filename":"image_13012025_04_26_02_320537_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/38723a09e3347dd4afe119e6185941cc.jpg","text":"TemporaryFile(/tmp/multipartBody3054850554839064456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738917072,"filename":"image_13012025_04_27_02_903774_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1e7a56debef9fa27832d5d2cd5685a16.jpg","text":"TemporaryFile(/tmp/multipartBody7936934823500301607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738917072,"filename":"image_13012025_04_26_02_320537_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0927a8ea3aa099e3cc9e277a02001c13.jpg","text":"TemporaryFile(/tmp/multipartBody5037204765733774358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738917072,"filename":"image_13012025_04_26_02_320537_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328576559","file1":"1328576557","file0":"1328576541","file4":"1328576563","file5":"1328576571","file3":"1328576561"},"map_files_photo_id_array":[{"photo_id":"1328576571","filename":"file5"},{"photo_id":"1328576559","filename":"file2"},{"photo_id":"1328576563","filename":"file4"},{"photo_id":"1328576557","filename":"file1"},{"photo_id":"1328576541","filename":"file0"},{"photo_id":"1328576561","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328576561":["hashtag1","hashtag2"]},{"1328576563":["hashtag1","hashtag2"]},{"1328576557":["hashtag1","hashtag2"]},{"1328576571":["hashtag1","hashtag2"]},{"1328576541":["hashtag1","hashtag2"]},{"1328576559":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328576561, 1328576563, 1328576557, 1328576571, 1328576541, 1328576559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.045044898986816 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:28:22.577212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/27/image_13012025_04_27_02_903774_0003.jpg', '/home/pi/Desktop/images/13012025/04/28/image_13012025_04_28_02_442286_0001.jpg', '/home/pi/Desktop/images/13012025/04/28/image_13012025_04_28_02_442286_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/27/image_13012025_04_27_02_903774_0003.jpg
/home/pi/Desktop/images/13012025/04/28/image_13012025_04_28_02_442286_0001.jpg
/home/pi/Desktop/images/13012025/04/28/image_13012025_04_28_02_442286_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328576612","1328576647","1328576649"],"photo_ids_order":["1328576612","1328576647","1328576649"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/148b2b962a3fd36e3c9b2212f32c388c.jpg","text":"TemporaryFile(/tmp/multipartBody7336481019933988789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738970337,"filename":"image_13012025_04_27_02_903774_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0c5111e073237dca3d5369e19239accb.jpg","text":"TemporaryFile(/tmp/multipartBody2137052856827937217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738970337,"filename":"image_13012025_04_28_02_442286_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6d02c6e4fbb45d3d320f60c277d82b09.jpg","text":"TemporaryFile(/tmp/multipartBody5441834842041321565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736738970337,"filename":"image_13012025_04_28_02_442286_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328576649","file1":"1328576647","file0":"1328576612"},"map_files_photo_id_array":[{"photo_id":"1328576649","filename":"file2"},{"photo_id":"1328576647","filename":"file1"},{"photo_id":"1328576612","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328576612":["hashtag1","hashtag2"]},{"1328576647":["hashtag1","hashtag2"]},{"1328576649":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328576612, 1328576647, 1328576649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.05395221710205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:29:02.752596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:29:22.043023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/28/image_13012025_04_28_02_442286_0003.jpg', '/home/pi/Desktop/images/13012025/04/29/image_13012025_04_29_02_928341_0001.jpg', '/home/pi/Desktop/images/13012025/04/29/image_13012025_04_29_02_928341_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/28/image_13012025_04_28_02_442286_0003.jpg
/home/pi/Desktop/images/13012025/04/29/image_13012025_04_29_02_928341_0001.jpg
/home/pi/Desktop/images/13012025/04/29/image_13012025_04_29_02_928341_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328576729","1328576725","1328576727"],"photo_ids_order":["1328576725","1328576727","1328576729"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d9be79e35b4434e9cd4c2b57dcc7eef1.jpg","text":"TemporaryFile(/tmp/multipartBody6166930880374709715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739029646,"filename":"image_13012025_04_29_02_928341_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b018f20bd41b6ee7762365e19e635fe4.jpg","text":"TemporaryFile(/tmp/multipartBody5615457872606929330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739029646,"filename":"image_13012025_04_28_02_442286_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/db04c2b13d0670f1aac1eaef95259651.jpg","text":"TemporaryFile(/tmp/multipartBody7291621623935346481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739029646,"filename":"image_13012025_04_29_02_928341_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328576729","file1":"1328576727","file0":"1328576725"},"map_files_photo_id_array":[{"photo_id":"1328576729","filename":"file2"},{"photo_id":"1328576727","filename":"file1"},{"photo_id":"1328576725","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328576729":["hashtag1","hashtag2"]},{"1328576725":["hashtag1","hashtag2"]},{"1328576727":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328576729, 1328576725, 1328576727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.690524578094482 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:30:02.147246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:30:21.727045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/29/image_13012025_04_29_02_928341_0003.jpg', '/home/pi/Desktop/images/13012025/04/30/image_13012025_04_30_02_494952_0000.jpg', '/home/pi/Desktop/images/13012025/04/30/image_13012025_04_30_02_494952_0001.jpg', '/home/pi/Desktop/images/13012025/04/30/image_13012025_04_30_02_494952_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/29/image_13012025_04_29_02_928341_0003.jpg
/home/pi/Desktop/images/13012025/04/30/image_13012025_04_30_02_494952_0000.jpg
/home/pi/Desktop/images/13012025/04/30/image_13012025_04_30_02_494952_0001.jpg
/home/pi/Desktop/images/13012025/04/30/image_13012025_04_30_02_494952_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328576876","1328576946","1328576931","1328576904"],"photo_ids_order":["1328576876","1328576904","1328576931","1328576946"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ee3410787e3e0dee883c9e9d79afc868.jpg","text":"TemporaryFile(/tmp/multipartBody2470118089257106136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739091475,"filename":"image_13012025_04_29_02_928341_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/874f61d25530a404768f150dc0297e9a.jpg","text":"TemporaryFile(/tmp/multipartBody4284908248890122134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739091475,"filename":"image_13012025_04_30_02_494952_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d55cc98daa231d22ccdeb1e2f859b5e9.jpg","text":"TemporaryFile(/tmp/multipartBody2421871821252853732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739091475,"filename":"image_13012025_04_30_02_494952_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/091e2b2006ba28b69cf3dd976d3bb0fa.jpg","text":"TemporaryFile(/tmp/multipartBody553580944495114358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739091475,"filename":"image_13012025_04_30_02_494952_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328576931","file1":"1328576904","file0":"1328576876","file3":"1328576946"},"map_files_photo_id_array":[{"photo_id":"1328576931","filename":"file2"},{"photo_id":"1328576904","filename":"file1"},{"photo_id":"1328576876","filename":"file0"},{"photo_id":"1328576946","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328576876":["hashtag1","hashtag2"]},{"1328576946":["hashtag1","hashtag2"]},{"1328576931":["hashtag1","hashtag2"]},{"1328576904":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328576876, 1328576946, 1328576931, 1328576904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.689417123794556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:31:22.282995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/30/image_13012025_04_30_02_494952_0003.jpg', '/home/pi/Desktop/images/13012025/04/31/image_13012025_04_31_02_154981_0000.jpg', '/home/pi/Desktop/images/13012025/04/31/image_13012025_04_31_02_154981_0001.jpg', '/home/pi/Desktop/images/13012025/04/31/image_13012025_04_31_02_154981_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/30/image_13012025_04_30_02_494952_0003.jpg
/home/pi/Desktop/images/13012025/04/31/image_13012025_04_31_02_154981_0000.jpg
/home/pi/Desktop/images/13012025/04/31/image_13012025_04_31_02_154981_0001.jpg
/home/pi/Desktop/images/13012025/04/31/image_13012025_04_31_02_154981_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328576963","1328576957","1328576959","1328576961"],"photo_ids_order":["1328576957","1328576959","1328576961","1328576963"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/99c9bc0f45f23bfe7d652facf5e40166.jpg","text":"TemporaryFile(/tmp/multipartBody7772157199804381016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739152151,"filename":"image_13012025_04_31_02_154981_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ee51ec0774c809ee84ee5eebad2a57dc.jpg","text":"TemporaryFile(/tmp/multipartBody6069924165504872977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739152151,"filename":"image_13012025_04_30_02_494952_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d258bb03b86e1249d580727dcae3d116.jpg","text":"TemporaryFile(/tmp/multipartBody2845266407722349023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739152151,"filename":"image_13012025_04_31_02_154981_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4a386547c8a1de7dd0efdcba579bf7a3.jpg","text":"TemporaryFile(/tmp/multipartBody5907317306750070936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739152151,"filename":"image_13012025_04_31_02_154981_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328576961","file1":"1328576959","file0":"1328576957","file3":"1328576963"},"map_files_photo_id_array":[{"photo_id":"1328576961","filename":"file2"},{"photo_id":"1328576959","filename":"file1"},{"photo_id":"1328576957","filename":"file0"},{"photo_id":"1328576963","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328576963":["hashtag1","hashtag2"]},{"1328576957":["hashtag1","hashtag2"]},{"1328576959":["hashtag1","hashtag2"]},{"1328576961":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328576963, 1328576957, 1328576959, 1328576961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.31007719039917 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:32:21.888017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/31/image_13012025_04_31_02_154981_0003.jpg', '/home/pi/Desktop/images/13012025/04/32/image_13012025_04_32_02_712457_0000.jpg', '/home/pi/Desktop/images/13012025/04/32/image_13012025_04_32_02_712457_0001.jpg', '/home/pi/Desktop/images/13012025/04/32/image_13012025_04_32_02_712457_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/31/image_13012025_04_31_02_154981_0003.jpg
/home/pi/Desktop/images/13012025/04/32/image_13012025_04_32_02_712457_0000.jpg
/home/pi/Desktop/images/13012025/04/32/image_13012025_04_32_02_712457_0001.jpg
/home/pi/Desktop/images/13012025/04/32/image_13012025_04_32_02_712457_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328576975","1328576969","1328576967","1328576972"],"photo_ids_order":["1328576967","1328576969","1328576972","1328576975"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8f6469926a02987057e0e0a374f9dd1d.jpg","text":"TemporaryFile(/tmp/multipartBody6107639858571110291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739211830,"filename":"image_13012025_04_32_02_712457_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/97d60caa7040c553b9520cce4c110cf2.jpg","text":"TemporaryFile(/tmp/multipartBody387723916069298688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739211830,"filename":"image_13012025_04_32_02_712457_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9b937ce0f090438c2d73d1029f6fbcd1.jpg","text":"TemporaryFile(/tmp/multipartBody2618668754436361940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739211830,"filename":"image_13012025_04_31_02_154981_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a277a340cdaa9f246069344c0af4f647.jpg","text":"TemporaryFile(/tmp/multipartBody2145667665811731642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739211830,"filename":"image_13012025_04_32_02_712457_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328576972","file1":"1328576969","file0":"1328576967","file3":"1328576975"},"map_files_photo_id_array":[{"photo_id":"1328576972","filename":"file2"},{"photo_id":"1328576969","filename":"file1"},{"photo_id":"1328576967","filename":"file0"},{"photo_id":"1328576975","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328576975":["hashtag1","hashtag2"]},{"1328576969":["hashtag1","hashtag2"]},{"1328576967":["hashtag1","hashtag2"]},{"1328576972":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328576975, 1328576969, 1328576967, 1328576972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.970362424850464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:33:22.371645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/32/image_13012025_04_32_02_712457_0003.jpg', '/home/pi/Desktop/images/13012025/04/33/image_13012025_04_33_02_259200_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/32/image_13012025_04_32_02_712457_0003.jpg
/home/pi/Desktop/images/13012025/04/33/image_13012025_04_33_02_259200_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328576983","1328576982"],"photo_ids_order":["1328576982","1328576983"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/92e21dd336f35959c154e2ed6507a4d0.jpg","text":"TemporaryFile(/tmp/multipartBody1150533094976043251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739267634,"filename":"image_13012025_04_33_02_259200_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3bc73c6a08c3a8d1fd99fa91565bf695.jpg","text":"TemporaryFile(/tmp/multipartBody8583222615029511814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739267634,"filename":"image_13012025_04_32_02_712457_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328576983","file0":"1328576982"},"map_files_photo_id_array":[{"photo_id":"1328576983","filename":"file1"},{"photo_id":"1328576982","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328576983":["hashtag1","hashtag2"]},{"1328576982":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328576983, 1328576982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.17812204360962 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:34:02.346795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:34:21.897565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/33/image_13012025_04_33_02_259200_0003.jpg', '/home/pi/Desktop/images/13012025/04/34/image_13012025_04_34_02_757046_0000.jpg', '/home/pi/Desktop/images/13012025/04/34/image_13012025_04_34_02_757046_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/33/image_13012025_04_33_02_259200_0003.jpg
/home/pi/Desktop/images/13012025/04/34/image_13012025_04_34_02_757046_0000.jpg
/home/pi/Desktop/images/13012025/04/34/image_13012025_04_34_02_757046_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.036647081375122 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:35:03.017600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/33/image_13012025_04_33_02_259200_0003.jpg', '/home/pi/Desktop/images/13012025/04/34/image_13012025_04_34_02_757046_0000.jpg', '/home/pi/Desktop/images/13012025/04/34/image_13012025_04_34_02_757046_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/33/image_13012025_04_33_02_259200_0003.jpg
/home/pi/Desktop/images/13012025/04/34/image_13012025_04_34_02_757046_0000.jpg
/home/pi/Desktop/images/13012025/04/34/image_13012025_04_34_02_757046_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328577148","1328577147","1328577149"],"photo_ids_order":["1328577147","1328577148","1328577149"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ec7ed716a8195a8677173399bc86c905.jpg","text":"TemporaryFile(/tmp/multipartBody5901427162772939476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739370492,"filename":"image_13012025_04_34_02_757046_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9af2d2a575242cb8670700e27f59c7d8.jpg","text":"TemporaryFile(/tmp/multipartBody8423986687877314083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739370492,"filename":"image_13012025_04_33_02_259200_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5ccea4df638d956f467e9d23e8028ca7.jpg","text":"TemporaryFile(/tmp/multipartBody5965601676407553143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739370492,"filename":"image_13012025_04_34_02_757046_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328577149","file1":"1328577148","file0":"1328577147"},"map_files_photo_id_array":[{"photo_id":"1328577149","filename":"file2"},{"photo_id":"1328577148","filename":"file1"},{"photo_id":"1328577147","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328577148":["hashtag1","hashtag2"]},{"1328577147":["hashtag1","hashtag2"]},{"1328577149":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328577148, 1328577147, 1328577149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.449082851409912 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:36:02.489286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/34/image_13012025_04_34_02_757046_0002.jpg', '/home/pi/Desktop/images/13012025/04/35/image_13012025_04_35_02_248912_0000.jpg', '/home/pi/Desktop/images/13012025/04/35/image_13012025_04_35_02_248912_0001.jpg', '/home/pi/Desktop/images/13012025/04/35/image_13012025_04_35_02_248912_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/34/image_13012025_04_34_02_757046_0002.jpg
/home/pi/Desktop/images/13012025/04/35/image_13012025_04_35_02_248912_0000.jpg
/home/pi/Desktop/images/13012025/04/35/image_13012025_04_35_02_248912_0001.jpg
/home/pi/Desktop/images/13012025/04/35/image_13012025_04_35_02_248912_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328577160","1328577162","1328577159","1328577167"],"photo_ids_order":["1328577159","1328577160","1328577162","1328577167"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cad896db5c851b891312fd2db58426bc.jpg","text":"TemporaryFile(/tmp/multipartBody9032605915134232110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739432240,"filename":"image_13012025_04_35_02_248912_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cf97232334479ac3a1f39077b18879ea.jpg","text":"TemporaryFile(/tmp/multipartBody3012415952297182266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739432240,"filename":"image_13012025_04_35_02_248912_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aa82a9f7b3b3f42a477eba2bb8ff31ce.jpg","text":"TemporaryFile(/tmp/multipartBody3580141749636662357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739432240,"filename":"image_13012025_04_34_02_757046_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/70c7b44698ce687e0b483041653bc343.jpg","text":"TemporaryFile(/tmp/multipartBody7812476509509243031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739432240,"filename":"image_13012025_04_35_02_248912_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328577162","file1":"1328577160","file0":"1328577159","file3":"1328577167"},"map_files_photo_id_array":[{"photo_id":"1328577162","filename":"file2"},{"photo_id":"1328577160","filename":"file1"},{"photo_id":"1328577159","filename":"file0"},{"photo_id":"1328577167","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328577160":["hashtag1","hashtag2"]},{"1328577162":["hashtag1","hashtag2"]},{"1328577159":["hashtag1","hashtag2"]},{"1328577167":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328577160, 1328577162, 1328577159, 1328577167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.65958642959595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:37:03.402278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/35/image_13012025_04_35_02_248912_0003.jpg', '/home/pi/Desktop/images/13012025/04/36/image_13012025_04_36_02_800186_0000.jpg', '/home/pi/Desktop/images/13012025/04/36/image_13012025_04_36_02_800186_0001.jpg', '/home/pi/Desktop/images/13012025/04/36/image_13012025_04_36_02_800186_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/35/image_13012025_04_35_02_248912_0003.jpg
/home/pi/Desktop/images/13012025/04/36/image_13012025_04_36_02_800186_0000.jpg
/home/pi/Desktop/images/13012025/04/36/image_13012025_04_36_02_800186_0001.jpg
/home/pi/Desktop/images/13012025/04/36/image_13012025_04_36_02_800186_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.454508543014526 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:37:22.590976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/35/image_13012025_04_35_02_248912_0003.jpg', '/home/pi/Desktop/images/13012025/04/36/image_13012025_04_36_02_800186_0000.jpg', '/home/pi/Desktop/images/13012025/04/36/image_13012025_04_36_02_800186_0001.jpg', '/home/pi/Desktop/images/13012025/04/36/image_13012025_04_36_02_800186_0002.jpg', '/home/pi/Desktop/images/13012025/04/36/image_13012025_04_36_02_800186_0003.jpg', '/home/pi/Desktop/images/13012025/04/37/image_13012025_04_37_02_500583_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/35/image_13012025_04_35_02_248912_0003.jpg
/home/pi/Desktop/images/13012025/04/36/image_13012025_04_36_02_800186_0000.jpg
/home/pi/Desktop/images/13012025/04/36/image_13012025_04_36_02_800186_0001.jpg
/home/pi/Desktop/images/13012025/04/36/image_13012025_04_36_02_800186_0002.jpg
/home/pi/Desktop/images/13012025/04/36/image_13012025_04_36_02_800186_0003.jpg
/home/pi/Desktop/images/13012025/04/37/image_13012025_04_37_02_500583_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328577245","1328577247","1328577255","1328577249","1328577251","1328577254"],"photo_ids_order":["1328577245","1328577247","1328577249","1328577251","1328577254","1328577255"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e31f565f58314835a68f031461fd3332.jpg","text":"TemporaryFile(/tmp/multipartBody6617531933425911493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739516940,"filename":"image_13012025_04_35_02_248912_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/04e054dbf7425cbd1d57507d01085d7d.jpg","text":"TemporaryFile(/tmp/multipartBody331686607844608220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739516940,"filename":"image_13012025_04_36_02_800186_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c6f8bdf14f648555523c8797b21a60fa.jpg","text":"TemporaryFile(/tmp/multipartBody4427852171844563200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739516940,"filename":"image_13012025_04_37_02_500583_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9d7c23c2dfe11d8dd15c4aa6a7209cb4.jpg","text":"TemporaryFile(/tmp/multipartBody7730360464308307631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739516940,"filename":"image_13012025_04_36_02_800186_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/53fcd77a07f25303e5d429f9181632b8.jpg","text":"TemporaryFile(/tmp/multipartBody5371927603791917920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739516940,"filename":"image_13012025_04_36_02_800186_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/004e2e7401b0d888e26238018c02126f.jpg","text":"TemporaryFile(/tmp/multipartBody3387273119239641397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739516940,"filename":"image_13012025_04_36_02_800186_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328577249","file1":"1328577247","file0":"1328577245","file4":"1328577254","file5":"1328577255","file3":"1328577251"},"map_files_photo_id_array":[{"photo_id":"1328577255","filename":"file5"},{"photo_id":"1328577249","filename":"file2"},{"photo_id":"1328577254","filename":"file4"},{"photo_id":"1328577247","filename":"file1"},{"photo_id":"1328577245","filename":"file0"},{"photo_id":"1328577251","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328577245":["hashtag1","hashtag2"]},{"1328577247":["hashtag1","hashtag2"]},{"1328577255":["hashtag1","hashtag2"]},{"1328577249":["hashtag1","hashtag2"]},{"1328577251":["hashtag1","hashtag2"]},{"1328577254":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328577245, 1328577247, 1328577255, 1328577249, 1328577251, 1328577254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.98262858390808 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:39:02.500448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/37/image_13012025_04_37_02_500583_0001.jpg', '/home/pi/Desktop/images/13012025/04/37/image_13012025_04_37_02_500583_0002.jpg', '/home/pi/Desktop/images/13012025/04/38/image_13012025_04_38_03_014162_0000.jpg', '/home/pi/Desktop/images/13012025/04/38/image_13012025_04_38_03_014162_0001.jpg', '/home/pi/Desktop/images/13012025/04/38/image_13012025_04_38_03_014162_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/37/image_13012025_04_37_02_500583_0001.jpg
/home/pi/Desktop/images/13012025/04/37/image_13012025_04_37_02_500583_0002.jpg
/home/pi/Desktop/images/13012025/04/38/image_13012025_04_38_03_014162_0000.jpg
/home/pi/Desktop/images/13012025/04/38/image_13012025_04_38_03_014162_0001.jpg
/home/pi/Desktop/images/13012025/04/38/image_13012025_04_38_03_014162_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.71225094795227 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:39:21.749745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/37/image_13012025_04_37_02_500583_0001.jpg', '/home/pi/Desktop/images/13012025/04/37/image_13012025_04_37_02_500583_0002.jpg', '/home/pi/Desktop/images/13012025/04/38/image_13012025_04_38_03_014162_0000.jpg', '/home/pi/Desktop/images/13012025/04/38/image_13012025_04_38_03_014162_0001.jpg', '/home/pi/Desktop/images/13012025/04/38/image_13012025_04_38_03_014162_0002.jpg', '/home/pi/Desktop/images/13012025/04/38/image_13012025_04_38_03_014162_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/37/image_13012025_04_37_02_500583_0001.jpg
/home/pi/Desktop/images/13012025/04/37/image_13012025_04_37_02_500583_0002.jpg
/home/pi/Desktop/images/13012025/04/38/image_13012025_04_38_03_014162_0000.jpg
/home/pi/Desktop/images/13012025/04/38/image_13012025_04_38_03_014162_0001.jpg
/home/pi/Desktop/images/13012025/04/38/image_13012025_04_38_03_014162_0002.jpg
/home/pi/Desktop/images/13012025/04/38/image_13012025_04_38_03_014162_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328577317","1328577305","1328577308","1328577381","1328577330","1328577383"],"photo_ids_order":["1328577305","1328577308","1328577317","1328577330","1328577381","1328577383"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eb349aa9d8be90deed76692881ec6c61.jpg","text":"TemporaryFile(/tmp/multipartBody2553576793618547768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739636062,"filename":"image_13012025_04_38_03_014162_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/27ede8e7aef7f469b49fd9a7b725f806.jpg","text":"TemporaryFile(/tmp/multipartBody8894746957178917978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739636062,"filename":"image_13012025_04_37_02_500583_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/df720a47813e05b28cb02fef4f2d101e.jpg","text":"TemporaryFile(/tmp/multipartBody6420622581324512137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739636062,"filename":"image_13012025_04_37_02_500583_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0f6cb5029da49f9c7ad67bc1b8392df8.jpg","text":"TemporaryFile(/tmp/multipartBody9143894572952143762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739636062,"filename":"image_13012025_04_38_03_014162_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/faec6c3b0da1289d603161a561f3ecd4.jpg","text":"TemporaryFile(/tmp/multipartBody8217904353855946047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739636062,"filename":"image_13012025_04_38_03_014162_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3910ebb5fbf9f69e65212ec8923051ef.jpg","text":"TemporaryFile(/tmp/multipartBody8113012428556191921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739636062,"filename":"image_13012025_04_38_03_014162_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328577317","file1":"1328577308","file0":"1328577305","file4":"1328577381","file5":"1328577383","file3":"1328577330"},"map_files_photo_id_array":[{"photo_id":"1328577383","filename":"file5"},{"photo_id":"1328577317","filename":"file2"},{"photo_id":"1328577381","filename":"file4"},{"photo_id":"1328577308","filename":"file1"},{"photo_id":"1328577305","filename":"file0"},{"photo_id":"1328577330","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328577317":["hashtag1","hashtag2"]},{"1328577305":["hashtag1","hashtag2"]},{"1328577308":["hashtag1","hashtag2"]},{"1328577381":["hashtag1","hashtag2"]},{"1328577330":["hashtag1","hashtag2"]},{"1328577383":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328577317, 1328577305, 1328577308, 1328577381, 1328577330, 1328577383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.208298206329346 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:40:22.357679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/39/image_13012025_04_39_02_644538_0000.jpg', '/home/pi/Desktop/images/13012025/04/39/image_13012025_04_39_02_644538_0002.jpg', '/home/pi/Desktop/images/13012025/04/39/image_13012025_04_39_02_644538_0003.jpg', '/home/pi/Desktop/images/13012025/04/40/image_13012025_04_40_02_208076_0000.jpg', '/home/pi/Desktop/images/13012025/04/40/image_13012025_04_40_02_208076_0001.jpg', '/home/pi/Desktop/images/13012025/04/40/image_13012025_04_40_02_208076_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/39/image_13012025_04_39_02_644538_0000.jpg
/home/pi/Desktop/images/13012025/04/39/image_13012025_04_39_02_644538_0002.jpg
/home/pi/Desktop/images/13012025/04/39/image_13012025_04_39_02_644538_0003.jpg
/home/pi/Desktop/images/13012025/04/40/image_13012025_04_40_02_208076_0000.jpg
/home/pi/Desktop/images/13012025/04/40/image_13012025_04_40_02_208076_0001.jpg
/home/pi/Desktop/images/13012025/04/40/image_13012025_04_40_02_208076_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328577397","1328577399","1328577384","1328577389","1328577392","1328577386"],"photo_ids_order":["1328577384","1328577386","1328577389","1328577392","1328577397","1328577399"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7d311ea055521c0a6f6c1f24000762d0.jpg","text":"TemporaryFile(/tmp/multipartBody6533662885362540448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739696549,"filename":"image_13012025_04_40_02_208076_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0648e6e36373f582e2036e7ec2362808.jpg","text":"TemporaryFile(/tmp/multipartBody1235720388833889434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739696549,"filename":"image_13012025_04_40_02_208076_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dd785c505157d088822611b22419c9fd.jpg","text":"TemporaryFile(/tmp/multipartBody759767715525454261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739696549,"filename":"image_13012025_04_39_02_644538_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/664f0d86cbbbf7c04784dc58613b3830.jpg","text":"TemporaryFile(/tmp/multipartBody5858809684920141326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739696549,"filename":"image_13012025_04_39_02_644538_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d4947aff923b3394a304036ba4f200a3.jpg","text":"TemporaryFile(/tmp/multipartBody4063774045410816953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739696549,"filename":"image_13012025_04_40_02_208076_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/84c26361b335d486e628d93646ccf9c2.jpg","text":"TemporaryFile(/tmp/multipartBody4709569766430688231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739696549,"filename":"image_13012025_04_39_02_644538_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328577389","file1":"1328577386","file0":"1328577384","file4":"1328577397","file5":"1328577399","file3":"1328577392"},"map_files_photo_id_array":[{"photo_id":"1328577399","filename":"file5"},{"photo_id":"1328577389","filename":"file2"},{"photo_id":"1328577397","filename":"file4"},{"photo_id":"1328577386","filename":"file1"},{"photo_id":"1328577384","filename":"file0"},{"photo_id":"1328577392","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328577397":["hashtag1","hashtag2"]},{"1328577399":["hashtag1","hashtag2"]},{"1328577384":["hashtag1","hashtag2"]},{"1328577389":["hashtag1","hashtag2"]},{"1328577392":["hashtag1","hashtag2"]},{"1328577386":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328577397, 1328577399, 1328577384, 1328577389, 1328577392, 1328577386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.970996379852295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:41:21.760855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/40/image_13012025_04_40_02_208076_0003.jpg', '/home/pi/Desktop/images/13012025/04/41/image_13012025_04_41_02_676204_0000.jpg', '/home/pi/Desktop/images/13012025/04/41/image_13012025_04_41_02_676204_0001.jpg', '/home/pi/Desktop/images/13012025/04/41/image_13012025_04_41_02_676204_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/40/image_13012025_04_40_02_208076_0003.jpg
/home/pi/Desktop/images/13012025/04/41/image_13012025_04_41_02_676204_0000.jpg
/home/pi/Desktop/images/13012025/04/41/image_13012025_04_41_02_676204_0001.jpg
/home/pi/Desktop/images/13012025/04/41/image_13012025_04_41_02_676204_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328577439","1328577433","1328577429","1328577431"],"photo_ids_order":["1328577429","1328577431","1328577433","1328577439"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0c279fb940cff5c25da18635053b6007.jpg","text":"TemporaryFile(/tmp/multipartBody239236741707020282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739751460,"filename":"image_13012025_04_41_02_676204_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/abf6372f878a5ae76afa89ca5ac58262.jpg","text":"TemporaryFile(/tmp/multipartBody7644690347693557147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739751460,"filename":"image_13012025_04_41_02_676204_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/17aaddfae101041af7e5518976052d27.jpg","text":"TemporaryFile(/tmp/multipartBody1845624712971669055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739751460,"filename":"image_13012025_04_40_02_208076_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/64f56f3f472e97935fc2aae8aee2ce42.jpg","text":"TemporaryFile(/tmp/multipartBody7649445172835067949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739751460,"filename":"image_13012025_04_41_02_676204_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328577433","file1":"1328577431","file0":"1328577429","file3":"1328577439"},"map_files_photo_id_array":[{"photo_id":"1328577433","filename":"file2"},{"photo_id":"1328577431","filename":"file1"},{"photo_id":"1328577429","filename":"file0"},{"photo_id":"1328577439","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328577439":["hashtag1","hashtag2"]},{"1328577433":["hashtag1","hashtag2"]},{"1328577429":["hashtag1","hashtag2"]},{"1328577431":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328577439, 1328577433, 1328577429, 1328577431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.0327889919281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:42:02.714773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:42:22.254844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/41/image_13012025_04_41_02_676204_0003.jpg', '/home/pi/Desktop/images/13012025/04/42/image_13012025_04_42_02_157913_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/41/image_13012025_04_41_02_676204_0003.jpg
/home/pi/Desktop/images/13012025/04/42/image_13012025_04_42_02_157913_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 4.764887571334839 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:43:02.448029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/41/image_13012025_04_41_02_676204_0003.jpg', '/home/pi/Desktop/images/13012025/04/42/image_13012025_04_42_02_157913_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/41/image_13012025_04_41_02_676204_0003.jpg
/home/pi/Desktop/images/13012025/04/42/image_13012025_04_42_02_157913_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328577468","1328577467"],"photo_ids_order":["1328577467","1328577468"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/47ea39de6abbb2f94feb8f54790362d5.jpg","text":"TemporaryFile(/tmp/multipartBody431502323649080331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739847637,"filename":"image_13012025_04_42_02_157913_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dc92c21aefa7a3e4d6ca21d57693a9fb.jpg","text":"TemporaryFile(/tmp/multipartBody6586427781207978920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739847637,"filename":"image_13012025_04_41_02_676204_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328577468","file0":"1328577467"},"map_files_photo_id_array":[{"photo_id":"1328577468","filename":"file1"},{"photo_id":"1328577467","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328577468":["hashtag1","hashtag2"]},{"1328577467":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328577468, 1328577467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.81447672843933 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:44:02.883555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/42/image_13012025_04_42_02_157913_0001.jpg', '/home/pi/Desktop/images/13012025/04/43/image_13012025_04_43_02_629754_0000.jpg', '/home/pi/Desktop/images/13012025/04/43/image_13012025_04_43_02_629754_0001.jpg', '/home/pi/Desktop/images/13012025/04/43/image_13012025_04_43_02_629754_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/42/image_13012025_04_42_02_157913_0001.jpg
/home/pi/Desktop/images/13012025/04/43/image_13012025_04_43_02_629754_0000.jpg
/home/pi/Desktop/images/13012025/04/43/image_13012025_04_43_02_629754_0001.jpg
/home/pi/Desktop/images/13012025/04/43/image_13012025_04_43_02_629754_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.313150405883789 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:44:22.355669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/42/image_13012025_04_42_02_157913_0001.jpg', '/home/pi/Desktop/images/13012025/04/43/image_13012025_04_43_02_629754_0000.jpg', '/home/pi/Desktop/images/13012025/04/43/image_13012025_04_43_02_629754_0001.jpg', '/home/pi/Desktop/images/13012025/04/43/image_13012025_04_43_02_629754_0002.jpg', '/home/pi/Desktop/images/13012025/04/43/image_13012025_04_43_02_629754_0003.jpg', '/home/pi/Desktop/images/13012025/04/44/image_13012025_04_44_02_127914_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/42/image_13012025_04_42_02_157913_0001.jpg
/home/pi/Desktop/images/13012025/04/43/image_13012025_04_43_02_629754_0000.jpg
/home/pi/Desktop/images/13012025/04/43/image_13012025_04_43_02_629754_0001.jpg
/home/pi/Desktop/images/13012025/04/43/image_13012025_04_43_02_629754_0002.jpg
/home/pi/Desktop/images/13012025/04/43/image_13012025_04_43_02_629754_0003.jpg
/home/pi/Desktop/images/13012025/04/44/image_13012025_04_44_02_127914_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328577634","1328577631","1328577537","1328577618","1328577641","1328577557"],"photo_ids_order":["1328577537","1328577557","1328577618","1328577631","1328577634","1328577641"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/452978b9ab051240be7fb0400bb8d920.jpg","text":"TemporaryFile(/tmp/multipartBody5412731551137746391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739936584,"filename":"image_13012025_04_43_02_629754_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/70374101ce32eab9880ffda229124a7a.jpg","text":"TemporaryFile(/tmp/multipartBody9083398264985722318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739936584,"filename":"image_13012025_04_43_02_629754_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/57439b4198b08a0e71692045147499bf.jpg","text":"TemporaryFile(/tmp/multipartBody2083420718750501767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739936584,"filename":"image_13012025_04_42_02_157913_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c90b102f3f7d5e570145619d69e7f7ec.jpg","text":"TemporaryFile(/tmp/multipartBody149253878176454202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739936584,"filename":"image_13012025_04_43_02_629754_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/22864c0bff82aff87f317c3e3643ffb2.jpg","text":"TemporaryFile(/tmp/multipartBody5135676357283296312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739936584,"filename":"image_13012025_04_44_02_127914_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d7b2116a82374ceedd2c9b018b5c6ca8.jpg","text":"TemporaryFile(/tmp/multipartBody4044322051047840840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739936584,"filename":"image_13012025_04_43_02_629754_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328577618","file1":"1328577557","file0":"1328577537","file4":"1328577634","file5":"1328577641","file3":"1328577631"},"map_files_photo_id_array":[{"photo_id":"1328577641","filename":"file5"},{"photo_id":"1328577618","filename":"file2"},{"photo_id":"1328577634","filename":"file4"},{"photo_id":"1328577557","filename":"file1"},{"photo_id":"1328577537","filename":"file0"},{"photo_id":"1328577631","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328577634":["hashtag1","hashtag2"]},{"1328577631":["hashtag1","hashtag2"]},{"1328577537":["hashtag1","hashtag2"]},{"1328577618":["hashtag1","hashtag2"]},{"1328577641":["hashtag1","hashtag2"]},{"1328577557":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328577634, 1328577631, 1328577537, 1328577618, 1328577641, 1328577557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.86556577682495 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:45:21.913709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/44/image_13012025_04_44_02_127914_0001.jpg', '/home/pi/Desktop/images/13012025/04/44/image_13012025_04_44_02_127914_0002.jpg', '/home/pi/Desktop/images/13012025/04/45/image_13012025_04_45_02_739267_0000.jpg', '/home/pi/Desktop/images/13012025/04/45/image_13012025_04_45_02_739267_0001.jpg', '/home/pi/Desktop/images/13012025/04/45/image_13012025_04_45_02_739267_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/44/image_13012025_04_44_02_127914_0001.jpg
/home/pi/Desktop/images/13012025/04/44/image_13012025_04_44_02_127914_0002.jpg
/home/pi/Desktop/images/13012025/04/45/image_13012025_04_45_02_739267_0000.jpg
/home/pi/Desktop/images/13012025/04/45/image_13012025_04_45_02_739267_0001.jpg
/home/pi/Desktop/images/13012025/04/45/image_13012025_04_45_02_739267_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328577682","1328577676","1328577700","1328577702","1328577698"],"photo_ids_order":["1328577676","1328577682","1328577698","1328577700","1328577702"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ad39eff577ce10733706cb2b8bf731a6.jpg","text":"TemporaryFile(/tmp/multipartBody3002231342656319696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739993838,"filename":"image_13012025_04_44_02_127914_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c9ce7d4eb5e5e6cfa912a86bf8d5718c.jpg","text":"TemporaryFile(/tmp/multipartBody6454440751067834173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739993838,"filename":"image_13012025_04_44_02_127914_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8c00c6d1c5a19231104794a5f7195212.jpg","text":"TemporaryFile(/tmp/multipartBody4132012179469712034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739993838,"filename":"image_13012025_04_45_02_739267_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/29f5b37e4aed83dab77528ec7bdf59aa.jpg","text":"TemporaryFile(/tmp/multipartBody4891374392114583050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739993838,"filename":"image_13012025_04_45_02_739267_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/34c5d69eeaae30ce3fe10cee3c6bbd4a.jpg","text":"TemporaryFile(/tmp/multipartBody9048587217084048275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736739993838,"filename":"image_13012025_04_45_02_739267_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328577698","file1":"1328577682","file0":"1328577676","file4":"1328577702","file3":"1328577700"},"map_files_photo_id_array":[{"photo_id":"1328577698","filename":"file2"},{"photo_id":"1328577702","filename":"file4"},{"photo_id":"1328577682","filename":"file1"},{"photo_id":"1328577676","filename":"file0"},{"photo_id":"1328577700","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328577682":["hashtag1","hashtag2"]},{"1328577676":["hashtag1","hashtag2"]},{"1328577700":["hashtag1","hashtag2"]},{"1328577702":["hashtag1","hashtag2"]},{"1328577698":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328577682, 1328577676, 1328577700, 1328577702, 1328577698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.56722688674927 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:46:22.476227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/45/image_13012025_04_45_02_739267_0003.jpg', '/home/pi/Desktop/images/13012025/04/46/image_13012025_04_46_02_281431_0000.jpg', '/home/pi/Desktop/images/13012025/04/46/image_13012025_04_46_02_281431_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/45/image_13012025_04_45_02_739267_0003.jpg
/home/pi/Desktop/images/13012025/04/46/image_13012025_04_46_02_281431_0000.jpg
/home/pi/Desktop/images/13012025/04/46/image_13012025_04_46_02_281431_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328577706","1328577708","1328577705"],"photo_ids_order":["1328577705","1328577706","1328577708"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/082f7d0f0f48ac97fcba5bfb51e98016.jpg","text":"TemporaryFile(/tmp/multipartBody3220904909851030730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740049920,"filename":"image_13012025_04_46_02_281431_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e8dd8e3a786a36e953c277f6d137b34a.jpg","text":"TemporaryFile(/tmp/multipartBody6442799622629202078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740049920,"filename":"image_13012025_04_46_02_281431_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/134b023a5848d36eb3402d40fa3b9a64.jpg","text":"TemporaryFile(/tmp/multipartBody7309724583918275323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740049920,"filename":"image_13012025_04_45_02_739267_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328577708","file1":"1328577706","file0":"1328577705"},"map_files_photo_id_array":[{"photo_id":"1328577708","filename":"file2"},{"photo_id":"1328577706","filename":"file1"},{"photo_id":"1328577705","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328577706":["hashtag1","hashtag2"]},{"1328577708":["hashtag1","hashtag2"]},{"1328577705":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328577706, 1328577708, 1328577705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.84011173248291 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:47:02.422079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:47:21.833902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/46/image_13012025_04_46_02_281431_0003.jpg', '/home/pi/Desktop/images/13012025/04/47/image_13012025_04_47_02_768492_0000.jpg', '/home/pi/Desktop/images/13012025/04/47/image_13012025_04_47_02_768492_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/46/image_13012025_04_46_02_281431_0003.jpg
/home/pi/Desktop/images/13012025/04/47/image_13012025_04_47_02_768492_0000.jpg
/home/pi/Desktop/images/13012025/04/47/image_13012025_04_47_02_768492_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328577719","1328577721","1328577723"],"photo_ids_order":["1328577719","1328577721","1328577723"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/172daab63705ba0151d3ced72882d9c9.jpg","text":"TemporaryFile(/tmp/multipartBody1483198915300038291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740109293,"filename":"image_13012025_04_46_02_281431_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fc5144d5df31f8c78f2c5caa28c118ef.jpg","text":"TemporaryFile(/tmp/multipartBody7547154144831306899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740109293,"filename":"image_13012025_04_47_02_768492_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ebc7afa10c5ab667974d607aa615db67.jpg","text":"TemporaryFile(/tmp/multipartBody5968289155647666302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740109293,"filename":"image_13012025_04_47_02_768492_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328577723","file1":"1328577721","file0":"1328577719"},"map_files_photo_id_array":[{"photo_id":"1328577723","filename":"file2"},{"photo_id":"1328577721","filename":"file1"},{"photo_id":"1328577719","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328577719":["hashtag1","hashtag2"]},{"1328577721":["hashtag1","hashtag2"]},{"1328577723":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328577719, 1328577721, 1328577723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.97259283065796 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:48:02.937673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:48:22.426873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/47/image_13012025_04_47_02_768492_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/47/image_13012025_04_47_02_768492_0003.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328578347"],"photo_id":"1328578347","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7a65ebb46e98c1837e7ff6a60d86575e.jpg","text":"TemporaryFile(/tmp/multipartBody7556994958190362768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740165368,"filename":"image_13012025_04_47_02_768492_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1328578347"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1328578347"}],"hashtags":[],"portfolio_id":"19538744","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.11764407157898 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:49:02.301219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:49:21.903347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/48/image_13012025_04_48_02_241602_0002.jpg', '/home/pi/Desktop/images/13012025/04/49/image_13012025_04_49_02_799425_0001.jpg', '/home/pi/Desktop/images/13012025/04/49/image_13012025_04_49_02_799425_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/48/image_13012025_04_48_02_241602_0002.jpg
/home/pi/Desktop/images/13012025/04/49/image_13012025_04_49_02_799425_0001.jpg
/home/pi/Desktop/images/13012025/04/49/image_13012025_04_49_02_799425_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328578813","1328578797","1328578801"],"photo_ids_order":["1328578797","1328578801","1328578813"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/be33925cb375202de2b578f4c6e62595.jpg","text":"TemporaryFile(/tmp/multipartBody2189038899976554215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740229319,"filename":"image_13012025_04_49_02_799425_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1c528b6fb7c261af322363f99f480b9a.jpg","text":"TemporaryFile(/tmp/multipartBody8544668487398644491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740229319,"filename":"image_13012025_04_48_02_241602_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6a711f2ed8d1c2b5d96f0b6edb80f68b.jpg","text":"TemporaryFile(/tmp/multipartBody4616651390734119231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740229319,"filename":"image_13012025_04_49_02_799425_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328578813","file1":"1328578801","file0":"1328578797"},"map_files_photo_id_array":[{"photo_id":"1328578813","filename":"file2"},{"photo_id":"1328578801","filename":"file1"},{"photo_id":"1328578797","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328578813":["hashtag1","hashtag2"]},{"1328578797":["hashtag1","hashtag2"]},{"1328578801":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328578813, 1328578797, 1328578801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.931604623794556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:50:02.984318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:50:22.503112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/49/image_13012025_04_49_02_799425_0003.jpg', '/home/pi/Desktop/images/13012025/04/50/image_13012025_04_50_02_266273_0000.jpg', '/home/pi/Desktop/images/13012025/04/50/image_13012025_04_50_02_266273_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/49/image_13012025_04_49_02_799425_0003.jpg
/home/pi/Desktop/images/13012025/04/50/image_13012025_04_50_02_266273_0000.jpg
/home/pi/Desktop/images/13012025/04/50/image_13012025_04_50_02_266273_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328578893","1328578891","1328578894"],"photo_ids_order":["1328578891","1328578893","1328578894"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/74ed079c04d099fcf3cf454f68cee67c.jpg","text":"TemporaryFile(/tmp/multipartBody1206104859332177359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740289921,"filename":"image_13012025_04_50_02_266273_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/86e164c43ba11f612efd4204aa1e918a.jpg","text":"TemporaryFile(/tmp/multipartBody7171724071672509673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740289921,"filename":"image_13012025_04_49_02_799425_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9f4f015a4028eca7a691d54ea47a6c4d.jpg","text":"TemporaryFile(/tmp/multipartBody3597127849499551436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740289921,"filename":"image_13012025_04_50_02_266273_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328578894","file1":"1328578893","file0":"1328578891"},"map_files_photo_id_array":[{"photo_id":"1328578894","filename":"file2"},{"photo_id":"1328578893","filename":"file1"},{"photo_id":"1328578891","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328578893":["hashtag1","hashtag2"]},{"1328578891":["hashtag1","hashtag2"]},{"1328578894":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328578893, 1328578891, 1328578894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.198243618011475 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:51:02.664016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:51:21.957470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/50/image_13012025_04_50_02_266273_0002.jpg', '/home/pi/Desktop/images/13012025/04/51/image_13012025_04_51_02_888882_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/50/image_13012025_04_50_02_266273_0002.jpg
/home/pi/Desktop/images/13012025/04/51/image_13012025_04_51_02_888882_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328578906","1328578905"],"photo_ids_order":["1328578905","1328578906"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a0527423bc70b873892a4f0c351cffb0.jpg","text":"TemporaryFile(/tmp/multipartBody1640090667242351334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740347148,"filename":"image_13012025_04_51_02_888882_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2f18c514d26800c777b28d8238022aaa.jpg","text":"TemporaryFile(/tmp/multipartBody4581089166267924986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740347148,"filename":"image_13012025_04_50_02_266273_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328578906","file0":"1328578905"},"map_files_photo_id_array":[{"photo_id":"1328578906","filename":"file1"},{"photo_id":"1328578905","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328578906":["hashtag1","hashtag2"]},{"1328578905":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328578906, 1328578905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.827687740325928 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:52:03.122717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:52:22.701379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/51/image_13012025_04_51_02_888882_0001.jpg', '/home/pi/Desktop/images/13012025/04/52/image_13012025_04_52_02_436512_0000.jpg', '/home/pi/Desktop/images/13012025/04/52/image_13012025_04_52_02_436512_0001.jpg', '/home/pi/Desktop/images/13012025/04/52/image_13012025_04_52_02_436512_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/51/image_13012025_04_51_02_888882_0001.jpg
/home/pi/Desktop/images/13012025/04/52/image_13012025_04_52_02_436512_0000.jpg
/home/pi/Desktop/images/13012025/04/52/image_13012025_04_52_02_436512_0001.jpg
/home/pi/Desktop/images/13012025/04/52/image_13012025_04_52_02_436512_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.288638591766357 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:53:02.860941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/51/image_13012025_04_51_02_888882_0001.jpg', '/home/pi/Desktop/images/13012025/04/52/image_13012025_04_52_02_436512_0000.jpg', '/home/pi/Desktop/images/13012025/04/52/image_13012025_04_52_02_436512_0001.jpg', '/home/pi/Desktop/images/13012025/04/52/image_13012025_04_52_02_436512_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/51/image_13012025_04_51_02_888882_0001.jpg
/home/pi/Desktop/images/13012025/04/52/image_13012025_04_52_02_436512_0000.jpg
/home/pi/Desktop/images/13012025/04/52/image_13012025_04_52_02_436512_0001.jpg
/home/pi/Desktop/images/13012025/04/52/image_13012025_04_52_02_436512_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328578942","1328578939","1328578941","1328578940"],"photo_ids_order":["1328578939","1328578940","1328578941","1328578942"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e35f8efab1c66ded6283b5543fd6ab5a.jpg","text":"TemporaryFile(/tmp/multipartBody3959849639293818355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740452597,"filename":"image_13012025_04_52_02_436512_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a372112a14782586f253ae51cbe1b3be.jpg","text":"TemporaryFile(/tmp/multipartBody7126820903356060287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740452597,"filename":"image_13012025_04_51_02_888882_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f49f7a31a70dc01f48433766a8854261.jpg","text":"TemporaryFile(/tmp/multipartBody1626849653610525725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740452597,"filename":"image_13012025_04_52_02_436512_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/57a948522a71eac1cfc469c0d740eec1.jpg","text":"TemporaryFile(/tmp/multipartBody3832889750234597168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740452597,"filename":"image_13012025_04_52_02_436512_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328578941","file1":"1328578940","file0":"1328578939","file3":"1328578942"},"map_files_photo_id_array":[{"photo_id":"1328578941","filename":"file2"},{"photo_id":"1328578940","filename":"file1"},{"photo_id":"1328578939","filename":"file0"},{"photo_id":"1328578942","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328578942":["hashtag1","hashtag2"]},{"1328578939":["hashtag1","hashtag2"]},{"1328578941":["hashtag1","hashtag2"]},{"1328578940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328578942, 1328578939, 1328578941, 1328578940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.67831826210022 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:54:03.198110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/52/image_13012025_04_52_02_436512_0003.jpg', '/home/pi/Desktop/images/13012025/04/53/image_13012025_04_53_03_099391_0000.jpg', '/home/pi/Desktop/images/13012025/04/53/image_13012025_04_53_03_099391_0001.jpg', '/home/pi/Desktop/images/13012025/04/53/image_13012025_04_53_03_099391_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/52/image_13012025_04_52_02_436512_0003.jpg
/home/pi/Desktop/images/13012025/04/53/image_13012025_04_53_03_099391_0000.jpg
/home/pi/Desktop/images/13012025/04/53/image_13012025_04_53_03_099391_0001.jpg
/home/pi/Desktop/images/13012025/04/53/image_13012025_04_53_03_099391_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.29227066040039 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:54:22.704572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/52/image_13012025_04_52_02_436512_0003.jpg', '/home/pi/Desktop/images/13012025/04/53/image_13012025_04_53_03_099391_0000.jpg', '/home/pi/Desktop/images/13012025/04/53/image_13012025_04_53_03_099391_0001.jpg', '/home/pi/Desktop/images/13012025/04/53/image_13012025_04_53_03_099391_0002.jpg', '/home/pi/Desktop/images/13012025/04/53/image_13012025_04_53_03_099391_0003.jpg', '/home/pi/Desktop/images/13012025/04/54/image_13012025_04_54_02_565739_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/52/image_13012025_04_52_02_436512_0003.jpg
/home/pi/Desktop/images/13012025/04/53/image_13012025_04_53_03_099391_0000.jpg
/home/pi/Desktop/images/13012025/04/53/image_13012025_04_53_03_099391_0001.jpg
/home/pi/Desktop/images/13012025/04/53/image_13012025_04_53_03_099391_0002.jpg
/home/pi/Desktop/images/13012025/04/53/image_13012025_04_53_03_099391_0003.jpg
/home/pi/Desktop/images/13012025/04/54/image_13012025_04_54_02_565739_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328578978","1328578980","1328578974","1328578953","1328578962","1328578976"],"photo_ids_order":["1328578953","1328578962","1328578974","1328578976","1328578978","1328578980"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f5cc2268f4a7e7fb78a4e9a90df1c042.jpg","text":"TemporaryFile(/tmp/multipartBody3918382922840321067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740537007,"filename":"image_13012025_04_53_03_099391_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/264a6ac2931ed61ef8781c48c5b5a9d3.jpg","text":"TemporaryFile(/tmp/multipartBody5906875937557135831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740537007,"filename":"image_13012025_04_54_02_565739_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/047f6ba3b091f0e1da7ae21004fb4b42.jpg","text":"TemporaryFile(/tmp/multipartBody7742933200075941612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740537007,"filename":"image_13012025_04_53_03_099391_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/92bee003ded42fcbff63d0d3f9c7affa.jpg","text":"TemporaryFile(/tmp/multipartBody8957789708439401620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740537007,"filename":"image_13012025_04_52_02_436512_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/753f3048f31dfe4e9c6d45ee51f240e0.jpg","text":"TemporaryFile(/tmp/multipartBody5792601915498476075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740537007,"filename":"image_13012025_04_53_03_099391_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/96889d215a3088a2a6901b657c3df063.jpg","text":"TemporaryFile(/tmp/multipartBody4154058977424593787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740537007,"filename":"image_13012025_04_53_03_099391_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328578974","file1":"1328578962","file0":"1328578953","file4":"1328578978","file5":"1328578980","file3":"1328578976"},"map_files_photo_id_array":[{"photo_id":"1328578980","filename":"file5"},{"photo_id":"1328578974","filename":"file2"},{"photo_id":"1328578978","filename":"file4"},{"photo_id":"1328578962","filename":"file1"},{"photo_id":"1328578953","filename":"file0"},{"photo_id":"1328578976","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328578978":["hashtag1","hashtag2"]},{"1328578980":["hashtag1","hashtag2"]},{"1328578974":["hashtag1","hashtag2"]},{"1328578953":["hashtag1","hashtag2"]},{"1328578962":["hashtag1","hashtag2"]},{"1328578976":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328578978, 1328578980, 1328578974, 1328578953, 1328578962, 1328578976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.2400643825531 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:55:22.272592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/54/image_13012025_04_54_02_565739_0001.jpg', '/home/pi/Desktop/images/13012025/04/54/image_13012025_04_54_02_565739_0003.jpg', '/home/pi/Desktop/images/13012025/04/55/image_13012025_04_55_03_120314_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/54/image_13012025_04_54_02_565739_0001.jpg
/home/pi/Desktop/images/13012025/04/54/image_13012025_04_54_02_565739_0003.jpg
/home/pi/Desktop/images/13012025/04/55/image_13012025_04_55_03_120314_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328579060","1328579177","1328579015"],"photo_ids_order":["1328579015","1328579060","1328579177"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/51977a61bb1bf4581e3afb29b2710f07.jpg","text":"TemporaryFile(/tmp/multipartBody8702568592636756326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740589821,"filename":"image_13012025_04_54_02_565739_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/80f8a9622d5be751d3fdc07e964540d3.jpg","text":"TemporaryFile(/tmp/multipartBody7674147456373179167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740589821,"filename":"image_13012025_04_55_03_120314_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4bbe4b57f860c7742e36dcc4e7a3cff5.jpg","text":"TemporaryFile(/tmp/multipartBody1256781305443386278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740589821,"filename":"image_13012025_04_54_02_565739_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328579177","file1":"1328579060","file0":"1328579015"},"map_files_photo_id_array":[{"photo_id":"1328579177","filename":"file2"},{"photo_id":"1328579060","filename":"file1"},{"photo_id":"1328579015","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328579060":["hashtag1","hashtag2"]},{"1328579177":["hashtag1","hashtag2"]},{"1328579015":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328579060, 1328579177, 1328579015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.69211959838867 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:56:03.191206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 04:56:22.682993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/55/image_13012025_04_55_03_120314_0001.jpg', '/home/pi/Desktop/images/13012025/04/56/image_13012025_04_56_02_619281_0000.jpg', '/home/pi/Desktop/images/13012025/04/56/image_13012025_04_56_02_619281_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/55/image_13012025_04_55_03_120314_0001.jpg
/home/pi/Desktop/images/13012025/04/56/image_13012025_04_56_02_619281_0000.jpg
/home/pi/Desktop/images/13012025/04/56/image_13012025_04_56_02_619281_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.067763805389404 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:57:02.860801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/55/image_13012025_04_55_03_120314_0001.jpg', '/home/pi/Desktop/images/13012025/04/56/image_13012025_04_56_02_619281_0000.jpg', '/home/pi/Desktop/images/13012025/04/56/image_13012025_04_56_02_619281_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/55/image_13012025_04_55_03_120314_0001.jpg
/home/pi/Desktop/images/13012025/04/56/image_13012025_04_56_02_619281_0000.jpg
/home/pi/Desktop/images/13012025/04/56/image_13012025_04_56_02_619281_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328580028","1328580132","1328580182"],"photo_ids_order":["1328580028","1328580132","1328580182"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6355adc2ffd5ae3c129b60424b4595b8.jpg","text":"TemporaryFile(/tmp/multipartBody4223800838469957111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740690350,"filename":"image_13012025_04_55_03_120314_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/752e149eb7829c25af9641056b0f72ca.jpg","text":"TemporaryFile(/tmp/multipartBody3435579781368864867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740690350,"filename":"image_13012025_04_56_02_619281_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d6be7e96fd084cc19ca4283f50cf9352.jpg","text":"TemporaryFile(/tmp/multipartBody3730448591396424311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740690350,"filename":"image_13012025_04_56_02_619281_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328580182","file1":"1328580132","file0":"1328580028"},"map_files_photo_id_array":[{"photo_id":"1328580182","filename":"file2"},{"photo_id":"1328580132","filename":"file1"},{"photo_id":"1328580028","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328580028":["hashtag1","hashtag2"]},{"1328580132":["hashtag1","hashtag2"]},{"1328580182":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328580028, 1328580132, 1328580182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.644670486450195 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 04:59:02.577544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/56/image_13012025_04_56_02_619281_0002.jpg', '/home/pi/Desktop/images/13012025/04/57/image_13012025_04_57_03_133873_0002.jpg', '/home/pi/Desktop/images/13012025/04/57/image_13012025_04_57_03_133873_0003.jpg', '/home/pi/Desktop/images/13012025/04/58/image_13012025_04_58_02_702977_0000.jpg', '/home/pi/Desktop/images/13012025/04/58/image_13012025_04_58_02_702977_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/56/image_13012025_04_56_02_619281_0002.jpg
/home/pi/Desktop/images/13012025/04/57/image_13012025_04_57_03_133873_0002.jpg
/home/pi/Desktop/images/13012025/04/57/image_13012025_04_57_03_133873_0003.jpg
/home/pi/Desktop/images/13012025/04/58/image_13012025_04_58_02_702977_0000.jpg
/home/pi/Desktop/images/13012025/04/58/image_13012025_04_58_02_702977_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328580924","1328580948","1328581025","1328580950","1328580944"],"photo_ids_order":["1328580924","1328580944","1328580948","1328580950","1328581025"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/49c591ca327f3fb487d240fedbaf0822.jpg","text":"TemporaryFile(/tmp/multipartBody6647895141137603604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740814558,"filename":"image_13012025_04_56_02_619281_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/83aaac5f6852ffb6d7455d7afbafa1ae.jpg","text":"TemporaryFile(/tmp/multipartBody7017819398029417342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740814558,"filename":"image_13012025_04_57_03_133873_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2e35b984baff5800d92c35d99d89d1d0.jpg","text":"TemporaryFile(/tmp/multipartBody8793176602219740728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740814558,"filename":"image_13012025_04_58_02_702977_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/829cfa8e4cbedcd7f47c3935846eec52.jpg","text":"TemporaryFile(/tmp/multipartBody3711570181826121998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740814558,"filename":"image_13012025_04_58_02_702977_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4d1e65b542a3754531d541c6174312d9.jpg","text":"TemporaryFile(/tmp/multipartBody7048375643403195976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740814558,"filename":"image_13012025_04_57_03_133873_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328580948","file1":"1328580944","file0":"1328580924","file4":"1328581025","file3":"1328580950"},"map_files_photo_id_array":[{"photo_id":"1328580948","filename":"file2"},{"photo_id":"1328581025","filename":"file4"},{"photo_id":"1328580944","filename":"file1"},{"photo_id":"1328580924","filename":"file0"},{"photo_id":"1328580950","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328580924":["hashtag1","hashtag2"]},{"1328580948":["hashtag1","hashtag2"]},{"1328581025":["hashtag1","hashtag2"]},{"1328580950":["hashtag1","hashtag2"]},{"1328580944":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328580924, 1328580948, 1328581025, 1328580950, 1328580944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.42670226097107 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 05:00:03.020792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/58/image_13012025_04_58_02_702977_0003.jpg', '/home/pi/Desktop/images/13012025/04/59/image_13012025_04_59_02_217797_0001.jpg', '/home/pi/Desktop/images/13012025/04/59/image_13012025_04_59_02_217797_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/58/image_13012025_04_58_02_702977_0003.jpg
/home/pi/Desktop/images/13012025/04/59/image_13012025_04_59_02_217797_0001.jpg
/home/pi/Desktop/images/13012025/04/59/image_13012025_04_59_02_217797_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328581659","1328581657","1328581654"],"photo_ids_order":["1328581654","1328581657","1328581659"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/77a4dd197267cd6eefeba8314b886623.jpg","text":"TemporaryFile(/tmp/multipartBody1019882298258562834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740870486,"filename":"image_13012025_04_59_02_217797_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e061e2b0ff8cf3b26e8c56e9f19d1a55.jpg","text":"TemporaryFile(/tmp/multipartBody7014033610746384779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740870486,"filename":"image_13012025_04_59_02_217797_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ce25f1b6844872ded38a700819654065.jpg","text":"TemporaryFile(/tmp/multipartBody4921755493120208013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740870486,"filename":"image_13012025_04_58_02_702977_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328581659","file1":"1328581657","file0":"1328581654"},"map_files_photo_id_array":[{"photo_id":"1328581659","filename":"file2"},{"photo_id":"1328581657","filename":"file1"},{"photo_id":"1328581654","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328581659":["hashtag1","hashtag2"]},{"1328581657":["hashtag1","hashtag2"]},{"1328581654":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328581659, 1328581657, 1328581654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.163907289505005 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 05:01:02.675766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/04/59/image_13012025_04_59_02_217797_0003.jpg', '/home/pi/Desktop/images/13012025/05/00/image_13012025_05_00_02_430527_0000.jpg', '/home/pi/Desktop/images/13012025/05/00/image_13012025_05_00_02_430527_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/04/59/image_13012025_04_59_02_217797_0003.jpg
/home/pi/Desktop/images/13012025/05/00/image_13012025_05_00_02_430527_0000.jpg
/home/pi/Desktop/images/13012025/05/00/image_13012025_05_00_02_430527_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328581998","1328582001","1328581964"],"photo_ids_order":["1328581964","1328581998","1328582001"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/10693e2d29e1856a6b290800d1b99c46.jpg","text":"TemporaryFile(/tmp/multipartBody7869555917518800311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740930187,"filename":"image_13012025_05_00_02_430527_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/578e22a96783ed82908916a3a30c5b98.jpg","text":"TemporaryFile(/tmp/multipartBody2854055104618172163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740930187,"filename":"image_13012025_05_00_02_430527_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5f40ba5053b6c69155604c316d957cc2.jpg","text":"TemporaryFile(/tmp/multipartBody7083941408455387024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740930187,"filename":"image_13012025_04_59_02_217797_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328582001","file1":"1328581998","file0":"1328581964"},"map_files_photo_id_array":[{"photo_id":"1328582001","filename":"file2"},{"photo_id":"1328581998","filename":"file1"},{"photo_id":"1328581964","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328581998":["hashtag1","hashtag2"]},{"1328582001":["hashtag1","hashtag2"]},{"1328581964":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328581998, 1328582001, 1328581964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.858288288116455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 05:02:03.122319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/00/image_13012025_05_00_02_430527_0003.jpg', '/home/pi/Desktop/images/13012025/05/01/image_13012025_05_01_02_875296_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/00/image_13012025_05_00_02_430527_0003.jpg
/home/pi/Desktop/images/13012025/05/01/image_13012025_05_01_02_875296_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328582090","1328582057"],"photo_ids_order":["1328582057","1328582090"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d7e62b114f37479908663ceeff1d41eb.jpg","text":"TemporaryFile(/tmp/multipartBody4730854485805682175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740988351,"filename":"image_13012025_05_01_02_875296_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2bae2db81b337fad2db368f73c150e75.jpg","text":"TemporaryFile(/tmp/multipartBody6762872715994080969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736740988351,"filename":"image_13012025_05_00_02_430527_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328582090","file0":"1328582057"},"map_files_photo_id_array":[{"photo_id":"1328582090","filename":"file1"},{"photo_id":"1328582057","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328582090":["hashtag1","hashtag2"]},{"1328582057":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328582090, 1328582057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 26.380492210388184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 05:03:02.798493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/01/image_13012025_05_01_02_875296_0003.jpg', '/home/pi/Desktop/images/13012025/05/02/image_13012025_05_02_02_361764_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/01/image_13012025_05_01_02_875296_0003.jpg
/home/pi/Desktop/images/13012025/05/02/image_13012025_05_02_02_361764_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 4.863922834396362 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:03:22.232592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/01/image_13012025_05_01_02_875296_0003.jpg', '/home/pi/Desktop/images/13012025/05/02/image_13012025_05_02_02_361764_0001.jpg', '/home/pi/Desktop/images/13012025/05/02/image_13012025_05_02_02_361764_0003.jpg', '/home/pi/Desktop/images/13012025/05/03/image_13012025_05_03_03_082820_0000.jpg', '/home/pi/Desktop/images/13012025/05/03/image_13012025_05_03_03_082820_0001.jpg', '/home/pi/Desktop/images/13012025/05/03/image_13012025_05_03_03_082820_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/01/image_13012025_05_01_02_875296_0003.jpg
/home/pi/Desktop/images/13012025/05/02/image_13012025_05_02_02_361764_0001.jpg
/home/pi/Desktop/images/13012025/05/02/image_13012025_05_02_02_361764_0003.jpg
/home/pi/Desktop/images/13012025/05/03/image_13012025_05_03_03_082820_0000.jpg
/home/pi/Desktop/images/13012025/05/03/image_13012025_05_03_03_082820_0001.jpg
/home/pi/Desktop/images/13012025/05/03/image_13012025_05_03_03_082820_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328582865","1328582859","1328582847","1328582861","1328582863","1328582836"],"photo_ids_order":["1328582836","1328582847","1328582859","1328582861","1328582863","1328582865"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8ebdc89fe7a79c9ca4cbb30389a379c0.jpg","text":"TemporaryFile(/tmp/multipartBody1483049628754474303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741076794,"filename":"image_13012025_05_03_03_082820_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eb64ae187df491b6ca69b4453d2e39a5.jpg","text":"TemporaryFile(/tmp/multipartBody8268251750135435210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741076794,"filename":"image_13012025_05_02_02_361764_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d8e8d3ebbdbf5e8ed6e97b3e31026695.jpg","text":"TemporaryFile(/tmp/multipartBody1143862370058484196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741076794,"filename":"image_13012025_05_02_02_361764_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/397cfd32a583ddf7d0c8ce3985a2d7cd.jpg","text":"TemporaryFile(/tmp/multipartBody3515834949784211097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741076794,"filename":"image_13012025_05_03_03_082820_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/265e872cf0ecb68aa900a658dbd9838a.jpg","text":"TemporaryFile(/tmp/multipartBody6349198699630438364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741076794,"filename":"image_13012025_05_03_03_082820_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/662902afbdf4d7c6f19bf71d965180c0.jpg","text":"TemporaryFile(/tmp/multipartBody3664807053907951008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741076794,"filename":"image_13012025_05_01_02_875296_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328582859","file1":"1328582847","file0":"1328582836","file4":"1328582863","file5":"1328582865","file3":"1328582861"},"map_files_photo_id_array":[{"photo_id":"1328582865","filename":"file5"},{"photo_id":"1328582859","filename":"file2"},{"photo_id":"1328582863","filename":"file4"},{"photo_id":"1328582847","filename":"file1"},{"photo_id":"1328582836","filename":"file0"},{"photo_id":"1328582861","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328582865":["hashtag1","hashtag2"]},{"1328582859":["hashtag1","hashtag2"]},{"1328582847":["hashtag1","hashtag2"]},{"1328582861":["hashtag1","hashtag2"]},{"1328582863":["hashtag1","hashtag2"]},{"1328582836":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328582865, 1328582859, 1328582847, 1328582861, 1328582863, 1328582836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.5614755153656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:04:22.220549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/03/image_13012025_05_03_03_082820_0003.jpg', '/home/pi/Desktop/images/13012025/05/04/image_13012025_05_04_02_552934_0000.jpg', '/home/pi/Desktop/images/13012025/05/04/image_13012025_05_04_02_552934_0001.jpg', '/home/pi/Desktop/images/13012025/05/04/image_13012025_05_04_02_552934_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/03/image_13012025_05_03_03_082820_0003.jpg
/home/pi/Desktop/images/13012025/05/04/image_13012025_05_04_02_552934_0000.jpg
/home/pi/Desktop/images/13012025/05/04/image_13012025_05_04_02_552934_0001.jpg
/home/pi/Desktop/images/13012025/05/04/image_13012025_05_04_02_552934_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328582970","1328582894","1328582896","1328582898"],"photo_ids_order":["1328582894","1328582896","1328582898","1328582970"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9a17919c9d0539fcb2b6dd43af088723.jpg","text":"TemporaryFile(/tmp/multipartBody5509235551876001731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741132326,"filename":"image_13012025_05_04_02_552934_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bd12321c2c221561170dc6a00af20680.jpg","text":"TemporaryFile(/tmp/multipartBody7877309418975668905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741132326,"filename":"image_13012025_05_03_03_082820_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a9dee774b0bd641a96cf329218641bc2.jpg","text":"TemporaryFile(/tmp/multipartBody862357440380372405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741132326,"filename":"image_13012025_05_04_02_552934_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/43a4b148300cb4cf099451df89b529b7.jpg","text":"TemporaryFile(/tmp/multipartBody6465509097939224201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741132326,"filename":"image_13012025_05_04_02_552934_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328582898","file1":"1328582896","file0":"1328582894","file3":"1328582970"},"map_files_photo_id_array":[{"photo_id":"1328582898","filename":"file2"},{"photo_id":"1328582896","filename":"file1"},{"photo_id":"1328582894","filename":"file0"},{"photo_id":"1328582970","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328582970":["hashtag1","hashtag2"]},{"1328582894":["hashtag1","hashtag2"]},{"1328582896":["hashtag1","hashtag2"]},{"1328582898":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328582970, 1328582894, 1328582896, 1328582898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.30771255493164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:05:22.675542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/04/image_13012025_05_04_02_552934_0003.jpg', '/home/pi/Desktop/images/13012025/05/05/image_13012025_05_05_02_572739_0000.jpg', '/home/pi/Desktop/images/13012025/05/05/image_13012025_05_05_02_572739_0001.jpg', '/home/pi/Desktop/images/13012025/05/05/image_13012025_05_05_02_572739_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/04/image_13012025_05_04_02_552934_0003.jpg
/home/pi/Desktop/images/13012025/05/05/image_13012025_05_05_02_572739_0000.jpg
/home/pi/Desktop/images/13012025/05/05/image_13012025_05_05_02_572739_0001.jpg
/home/pi/Desktop/images/13012025/05/05/image_13012025_05_05_02_572739_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.75958776473999 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 05:06:02.690431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/04/image_13012025_05_04_02_552934_0003.jpg', '/home/pi/Desktop/images/13012025/05/05/image_13012025_05_05_02_572739_0000.jpg', '/home/pi/Desktop/images/13012025/05/05/image_13012025_05_05_02_572739_0001.jpg', '/home/pi/Desktop/images/13012025/05/05/image_13012025_05_05_02_572739_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/04/image_13012025_05_04_02_552934_0003.jpg
/home/pi/Desktop/images/13012025/05/05/image_13012025_05_05_02_572739_0000.jpg
/home/pi/Desktop/images/13012025/05/05/image_13012025_05_05_02_572739_0001.jpg
/home/pi/Desktop/images/13012025/05/05/image_13012025_05_05_02_572739_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328582985","1328582984","1328582983","1328582982"],"photo_ids_order":["1328582982","1328582983","1328582984","1328582985"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/55f99d8403f2eb815442ac7cfcaad7e4.jpg","text":"TemporaryFile(/tmp/multipartBody6231824411960049118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741232848,"filename":"image_13012025_05_05_02_572739_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8fb46578bfc6d7c3a91ba42289147838.jpg","text":"TemporaryFile(/tmp/multipartBody276405051828123667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741232848,"filename":"image_13012025_05_05_02_572739_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a374412f975e3c9a78d989a14ebcff97.jpg","text":"TemporaryFile(/tmp/multipartBody9125683248422780372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741232848,"filename":"image_13012025_05_05_02_572739_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a72ca71cdd095b93b3d53229b1e9c945.jpg","text":"TemporaryFile(/tmp/multipartBody1043781893000524308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741232848,"filename":"image_13012025_05_04_02_552934_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328582984","file1":"1328582983","file0":"1328582982","file3":"1328582985"},"map_files_photo_id_array":[{"photo_id":"1328582984","filename":"file2"},{"photo_id":"1328582983","filename":"file1"},{"photo_id":"1328582982","filename":"file0"},{"photo_id":"1328582985","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328582985":["hashtag1","hashtag2"]},{"1328582984":["hashtag1","hashtag2"]},{"1328582983":["hashtag1","hashtag2"]},{"1328582982":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328582985, 1328582984, 1328582983, 1328582982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.058475494384766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 05:07:03.390167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/05/image_13012025_05_05_02_572739_0003.jpg', '/home/pi/Desktop/images/13012025/05/06/image_13012025_05_06_03_066982_0000.jpg', '/home/pi/Desktop/images/13012025/05/06/image_13012025_05_06_03_066982_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/05/image_13012025_05_05_02_572739_0003.jpg
/home/pi/Desktop/images/13012025/05/06/image_13012025_05_06_03_066982_0000.jpg
/home/pi/Desktop/images/13012025/05/06/image_13012025_05_06_03_066982_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.486481189727783 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:07:22.678061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/05/image_13012025_05_05_02_572739_0003.jpg', '/home/pi/Desktop/images/13012025/05/06/image_13012025_05_06_03_066982_0000.jpg', '/home/pi/Desktop/images/13012025/05/06/image_13012025_05_06_03_066982_0002.jpg', '/home/pi/Desktop/images/13012025/05/06/image_13012025_05_06_03_066982_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/05/image_13012025_05_05_02_572739_0003.jpg
/home/pi/Desktop/images/13012025/05/06/image_13012025_05_06_03_066982_0000.jpg
/home/pi/Desktop/images/13012025/05/06/image_13012025_05_06_03_066982_0002.jpg
/home/pi/Desktop/images/13012025/05/06/image_13012025_05_06_03_066982_0003.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328583021","1328583015","1328583017","1328583019"],"photo_ids_order":["1328583015","1328583017","1328583019","1328583021"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5bc6e6c3ab88ea0df5ec1d2db09372df.jpg","text":"TemporaryFile(/tmp/multipartBody5665925854735279048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741312858,"filename":"image_13012025_05_06_03_066982_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a8c0410bdb634a2a079adc32b467fc3d.jpg","text":"TemporaryFile(/tmp/multipartBody6991956214637467964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741312858,"filename":"image_13012025_05_05_02_572739_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a95ec69cc06b5c8f617aadbd29332ede.jpg","text":"TemporaryFile(/tmp/multipartBody8136491065793158640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741312858,"filename":"image_13012025_05_06_03_066982_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3922ab3d3abf3777d02b86bf78fbc4b6.jpg","text":"TemporaryFile(/tmp/multipartBody1379817746991994949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741312858,"filename":"image_13012025_05_06_03_066982_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328583019","file1":"1328583017","file0":"1328583015","file3":"1328583021"},"map_files_photo_id_array":[{"photo_id":"1328583019","filename":"file2"},{"photo_id":"1328583017","filename":"file1"},{"photo_id":"1328583015","filename":"file0"},{"photo_id":"1328583021","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328583021":["hashtag1","hashtag2"]},{"1328583015":["hashtag1","hashtag2"]},{"1328583017":["hashtag1","hashtag2"]},{"1328583019":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328583021, 1328583015, 1328583017, 1328583019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.13660478591919 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:08:22.448190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/07/image_13012025_05_07_02_588175_0001.jpg', '/home/pi/Desktop/images/13012025/05/08/image_13012025_05_08_03_081853_0000.jpg', '/home/pi/Desktop/images/13012025/05/08/image_13012025_05_08_03_081853_0001.jpg', '/home/pi/Desktop/images/13012025/05/08/image_13012025_05_08_03_081853_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/07/image_13012025_05_07_02_588175_0001.jpg
/home/pi/Desktop/images/13012025/05/08/image_13012025_05_08_03_081853_0000.jpg
/home/pi/Desktop/images/13012025/05/08/image_13012025_05_08_03_081853_0001.jpg
/home/pi/Desktop/images/13012025/05/08/image_13012025_05_08_03_081853_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328583033","1328583027","1328583025","1328583030"],"photo_ids_order":["1328583025","1328583027","1328583030","1328583033"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aaa36cdad38925e8e1acb7a645d8de9e.jpg","text":"TemporaryFile(/tmp/multipartBody4182929894518694187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741372633,"filename":"image_13012025_05_08_03_081853_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e03dbdf8dc2f739efd44b12918fd3538.jpg","text":"TemporaryFile(/tmp/multipartBody1750517989940861688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741372633,"filename":"image_13012025_05_08_03_081853_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e3e784b7fd1a2395110b08a50367701f.jpg","text":"TemporaryFile(/tmp/multipartBody6245527600300896011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741372633,"filename":"image_13012025_05_07_02_588175_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f81b082dcbb0357aa3b9b82e69e89130.jpg","text":"TemporaryFile(/tmp/multipartBody8782224483828836744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741372633,"filename":"image_13012025_05_08_03_081853_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328583030","file1":"1328583027","file0":"1328583025","file3":"1328583033"},"map_files_photo_id_array":[{"photo_id":"1328583030","filename":"file2"},{"photo_id":"1328583027","filename":"file1"},{"photo_id":"1328583025","filename":"file0"},{"photo_id":"1328583033","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328583033":["hashtag1","hashtag2"]},{"1328583027":["hashtag1","hashtag2"]},{"1328583025":["hashtag1","hashtag2"]},{"1328583030":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328583033, 1328583027, 1328583025, 1328583030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.557044506073 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:09:21.934496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/08/image_13012025_05_08_03_081853_0003.jpg', '/home/pi/Desktop/images/13012025/05/09/image_13012025_05_09_02_818630_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/08/image_13012025_05_08_03_081853_0003.jpg
/home/pi/Desktop/images/13012025/05/09/image_13012025_05_09_02_818630_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328583050","1328583051"],"photo_ids_order":["1328583050","1328583051"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4adaa86ffb1b84abcff058962ca266d5.jpg","text":"TemporaryFile(/tmp/multipartBody706991252350263510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741427343,"filename":"image_13012025_05_08_03_081853_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b4f5a3d1a72b093936b7d0a1c309b5d9.jpg","text":"TemporaryFile(/tmp/multipartBody4516091092807391438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741427343,"filename":"image_13012025_05_09_02_818630_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328583051","file0":"1328583050"},"map_files_photo_id_array":[{"photo_id":"1328583051","filename":"file1"},{"photo_id":"1328583050","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328583050":["hashtag1","hashtag2"]},{"1328583051":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328583050, 1328583051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.10809826850891 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 05:10:03.032267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:10:22.567191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/09/image_13012025_05_09_02_818630_0003.jpg', '/home/pi/Desktop/images/13012025/05/10/image_13012025_05_10_02_357381_0000.jpg', '/home/pi/Desktop/images/13012025/05/10/image_13012025_05_10_02_357381_0001.jpg', '/home/pi/Desktop/images/13012025/05/10/image_13012025_05_10_02_357381_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/09/image_13012025_05_09_02_818630_0003.jpg
/home/pi/Desktop/images/13012025/05/10/image_13012025_05_10_02_357381_0000.jpg
/home/pi/Desktop/images/13012025/05/10/image_13012025_05_10_02_357381_0001.jpg
/home/pi/Desktop/images/13012025/05/10/image_13012025_05_10_02_357381_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.782176494598389 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 05:11:02.703546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/09/image_13012025_05_09_02_818630_0003.jpg', '/home/pi/Desktop/images/13012025/05/10/image_13012025_05_10_02_357381_0000.jpg', '/home/pi/Desktop/images/13012025/05/10/image_13012025_05_10_02_357381_0001.jpg', '/home/pi/Desktop/images/13012025/05/10/image_13012025_05_10_02_357381_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/09/image_13012025_05_09_02_818630_0003.jpg
/home/pi/Desktop/images/13012025/05/10/image_13012025_05_10_02_357381_0000.jpg
/home/pi/Desktop/images/13012025/05/10/image_13012025_05_10_02_357381_0001.jpg
/home/pi/Desktop/images/13012025/05/10/image_13012025_05_10_02_357381_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328583662","1328583659","1328583661","1328583660"],"photo_ids_order":["1328583659","1328583660","1328583661","1328583662"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8334a0d1b240ff78f9bb03bc2267b482.jpg","text":"TemporaryFile(/tmp/multipartBody2467818886825194570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741532902,"filename":"image_13012025_05_10_02_357381_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9f6c4869762d11f0e66adb2ca9298433.jpg","text":"TemporaryFile(/tmp/multipartBody4700384689925846658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741532902,"filename":"image_13012025_05_09_02_818630_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9866811a818c7630e6486ff34c6140fc.jpg","text":"TemporaryFile(/tmp/multipartBody8051803911184488046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741532902,"filename":"image_13012025_05_10_02_357381_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/50112f249a7419b65e28acb352ee1e30.jpg","text":"TemporaryFile(/tmp/multipartBody3588006210393132545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741532902,"filename":"image_13012025_05_10_02_357381_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328583661","file1":"1328583660","file0":"1328583659","file3":"1328583662"},"map_files_photo_id_array":[{"photo_id":"1328583661","filename":"file2"},{"photo_id":"1328583660","filename":"file1"},{"photo_id":"1328583659","filename":"file0"},{"photo_id":"1328583662","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328583662":["hashtag1","hashtag2"]},{"1328583659":["hashtag1","hashtag2"]},{"1328583661":["hashtag1","hashtag2"]},{"1328583660":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328583662, 1328583659, 1328583661, 1328583660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.155380725860596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 05:12:03.171188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/10/image_13012025_05_10_02_357381_0003.jpg', '/home/pi/Desktop/images/13012025/05/11/image_13012025_05_11_02_958558_0000.jpg', '/home/pi/Desktop/images/13012025/05/11/image_13012025_05_11_02_958558_0001.jpg', '/home/pi/Desktop/images/13012025/05/11/image_13012025_05_11_02_958558_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/10/image_13012025_05_10_02_357381_0003.jpg
/home/pi/Desktop/images/13012025/05/11/image_13012025_05_11_02_958558_0000.jpg
/home/pi/Desktop/images/13012025/05/11/image_13012025_05_11_02_958558_0001.jpg
/home/pi/Desktop/images/13012025/05/11/image_13012025_05_11_02_958558_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328583671","1328583670","1328583672","1328583669"],"photo_ids_order":["1328583669","1328583670","1328583671","1328583672"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/45f98853d2e80eb73e59fc4f536de160.jpg","text":"TemporaryFile(/tmp/multipartBody709360243217068092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741593506,"filename":"image_13012025_05_11_02_958558_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f9cf9f10df963c167a2603714cad07a3.jpg","text":"TemporaryFile(/tmp/multipartBody1911725967624261525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741593506,"filename":"image_13012025_05_11_02_958558_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b37a1eb84d7e62f24420bd6813d40531.jpg","text":"TemporaryFile(/tmp/multipartBody4974716121578716281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741593506,"filename":"image_13012025_05_11_02_958558_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b5b74bc98555360c8c81bb3a06a14e5c.jpg","text":"TemporaryFile(/tmp/multipartBody6011448975253560605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741593506,"filename":"image_13012025_05_10_02_357381_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328583671","file1":"1328583670","file0":"1328583669","file3":"1328583672"},"map_files_photo_id_array":[{"photo_id":"1328583671","filename":"file2"},{"photo_id":"1328583670","filename":"file1"},{"photo_id":"1328583669","filename":"file0"},{"photo_id":"1328583672","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328583671":["hashtag1","hashtag2"]},{"1328583670":["hashtag1","hashtag2"]},{"1328583672":["hashtag1","hashtag2"]},{"1328583669":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328583671, 1328583670, 1328583672, 1328583669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.0626585483551 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 05:13:02.727511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/11/image_13012025_05_11_02_958558_0003.jpg', '/home/pi/Desktop/images/13012025/05/12/image_13012025_05_12_02_450708_0000.jpg', '/home/pi/Desktop/images/13012025/05/12/image_13012025_05_12_02_450708_0001.jpg', '/home/pi/Desktop/images/13012025/05/12/image_13012025_05_12_02_450708_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/11/image_13012025_05_11_02_958558_0003.jpg
/home/pi/Desktop/images/13012025/05/12/image_13012025_05_12_02_450708_0000.jpg
/home/pi/Desktop/images/13012025/05/12/image_13012025_05_12_02_450708_0001.jpg
/home/pi/Desktop/images/13012025/05/12/image_13012025_05_12_02_450708_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328583702","1328583701","1328583700","1328583703"],"photo_ids_order":["1328583700","1328583701","1328583702","1328583703"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e3d451ada7f301538146f2550b931f9f.jpg","text":"TemporaryFile(/tmp/multipartBody2711626853030006960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741653038,"filename":"image_13012025_05_12_02_450708_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/235da23923cb0a3f0eaa7e0816de18e7.jpg","text":"TemporaryFile(/tmp/multipartBody4725322397199591798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741653038,"filename":"image_13012025_05_12_02_450708_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a51caf03bf4df7de928d75df2f1c63c3.jpg","text":"TemporaryFile(/tmp/multipartBody8556761373120084792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741653038,"filename":"image_13012025_05_11_02_958558_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/46a11a665da21e3da147813797de2b2f.jpg","text":"TemporaryFile(/tmp/multipartBody3394485435357081731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741653038,"filename":"image_13012025_05_12_02_450708_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328583702","file1":"1328583701","file0":"1328583700","file3":"1328583703"},"map_files_photo_id_array":[{"photo_id":"1328583702","filename":"file2"},{"photo_id":"1328583701","filename":"file1"},{"photo_id":"1328583700","filename":"file0"},{"photo_id":"1328583703","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328583702":["hashtag1","hashtag2"]},{"1328583701":["hashtag1","hashtag2"]},{"1328583700":["hashtag1","hashtag2"]},{"1328583703":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328583702, 1328583701, 1328583700, 1328583703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.44361400604248 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 05:14:02.452286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/12/image_13012025_05_12_02_450708_0003.jpg', '/home/pi/Desktop/images/13012025/05/13/image_13012025_05_13_03_100386_0000.jpg', '/home/pi/Desktop/images/13012025/05/13/image_13012025_05_13_03_100386_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/12/image_13012025_05_12_02_450708_0003.jpg
/home/pi/Desktop/images/13012025/05/13/image_13012025_05_13_03_100386_0000.jpg
/home/pi/Desktop/images/13012025/05/13/image_13012025_05_13_03_100386_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328583741","1328583745","1328583748"],"photo_ids_order":["1328583741","1328583745","1328583748"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2b65c3920fd3120866cbb5370362d5cb.jpg","text":"TemporaryFile(/tmp/multipartBody5855370098036576743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741710343,"filename":"image_13012025_05_12_02_450708_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a6bde010358eb3f9efc9bddc001cb13f.jpg","text":"TemporaryFile(/tmp/multipartBody1440250432571837437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741710343,"filename":"image_13012025_05_13_03_100386_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/31ddb9a09abe63f7413f9e104d03c94f.jpg","text":"TemporaryFile(/tmp/multipartBody2808489603530208900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741710343,"filename":"image_13012025_05_13_03_100386_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328583748","file1":"1328583745","file0":"1328583741"},"map_files_photo_id_array":[{"photo_id":"1328583748","filename":"file2"},{"photo_id":"1328583745","filename":"file1"},{"photo_id":"1328583741","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328583741":["hashtag1","hashtag2"]},{"1328583745":["hashtag1","hashtag2"]},{"1328583748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328583741, 1328583745, 1328583748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.764347314834595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 05:15:03.057734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/13/image_13012025_05_13_03_100386_0003.jpg', '/home/pi/Desktop/images/13012025/05/14/image_13012025_05_14_02_616813_0000.jpg', '/home/pi/Desktop/images/13012025/05/14/image_13012025_05_14_02_616813_0001.jpg', '/home/pi/Desktop/images/13012025/05/14/image_13012025_05_14_02_616813_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/13/image_13012025_05_13_03_100386_0003.jpg
/home/pi/Desktop/images/13012025/05/14/image_13012025_05_14_02_616813_0000.jpg
/home/pi/Desktop/images/13012025/05/14/image_13012025_05_14_02_616813_0001.jpg
/home/pi/Desktop/images/13012025/05/14/image_13012025_05_14_02_616813_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328583813","1328583812","1328583814","1328583811"],"photo_ids_order":["1328583811","1328583812","1328583813","1328583814"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2a8b055b3e3e26b42a040fadade12458.jpg","text":"TemporaryFile(/tmp/multipartBody6553156994278513344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741773400,"filename":"image_13012025_05_14_02_616813_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/52244f4e61944bee9db2ea633ead89bf.jpg","text":"TemporaryFile(/tmp/multipartBody7060422856545775406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741773400,"filename":"image_13012025_05_14_02_616813_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7a6f9f35dc414f32cbd1122a2d752db4.jpg","text":"TemporaryFile(/tmp/multipartBody8778191985115709260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741773400,"filename":"image_13012025_05_14_02_616813_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ad15bd47d32bf745be5f3d28cd50372d.jpg","text":"TemporaryFile(/tmp/multipartBody4708394701111770486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741773400,"filename":"image_13012025_05_13_03_100386_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328583813","file1":"1328583812","file0":"1328583811","file3":"1328583814"},"map_files_photo_id_array":[{"photo_id":"1328583813","filename":"file2"},{"photo_id":"1328583812","filename":"file1"},{"photo_id":"1328583811","filename":"file0"},{"photo_id":"1328583814","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328583813":["hashtag1","hashtag2"]},{"1328583812":["hashtag1","hashtag2"]},{"1328583814":["hashtag1","hashtag2"]},{"1328583811":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328583813, 1328583812, 1328583814, 1328583811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.321248292922974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 05:16:02.643588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/14/image_13012025_05_14_02_616813_0003.jpg', '/home/pi/Desktop/images/13012025/05/15/image_13012025_05_15_02_372768_0000.jpg', '/home/pi/Desktop/images/13012025/05/15/image_13012025_05_15_02_372768_0001.jpg', '/home/pi/Desktop/images/13012025/05/15/image_13012025_05_15_02_372768_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/14/image_13012025_05_14_02_616813_0003.jpg
/home/pi/Desktop/images/13012025/05/15/image_13012025_05_15_02_372768_0000.jpg
/home/pi/Desktop/images/13012025/05/15/image_13012025_05_15_02_372768_0001.jpg
/home/pi/Desktop/images/13012025/05/15/image_13012025_05_15_02_372768_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.824274778366089 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:16:22.116012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/14/image_13012025_05_14_02_616813_0003.jpg', '/home/pi/Desktop/images/13012025/05/15/image_13012025_05_15_02_372768_0000.jpg', '/home/pi/Desktop/images/13012025/05/15/image_13012025_05_15_02_372768_0001.jpg', '/home/pi/Desktop/images/13012025/05/15/image_13012025_05_15_02_372768_0002.jpg', '/home/pi/Desktop/images/13012025/05/15/image_13012025_05_15_02_372768_0003.jpg', '/home/pi/Desktop/images/13012025/05/16/image_13012025_05_16_02_844763_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/14/image_13012025_05_14_02_616813_0003.jpg
/home/pi/Desktop/images/13012025/05/15/image_13012025_05_15_02_372768_0000.jpg
/home/pi/Desktop/images/13012025/05/15/image_13012025_05_15_02_372768_0001.jpg
/home/pi/Desktop/images/13012025/05/15/image_13012025_05_15_02_372768_0002.jpg
/home/pi/Desktop/images/13012025/05/15/image_13012025_05_15_02_372768_0003.jpg
/home/pi/Desktop/images/13012025/05/16/image_13012025_05_16_02_844763_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328583860","1328583854","1328583862","1328583856","1328583864","1328583858"],"photo_ids_order":["1328583854","1328583856","1328583858","1328583860","1328583862","1328583864"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d467fd7b18070512b6d9097be21fc622.jpg","text":"TemporaryFile(/tmp/multipartBody3482525821996802602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741857074,"filename":"image_13012025_05_15_02_372768_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b5e0bb09b476a83eb262b0ac2d4092dd.jpg","text":"TemporaryFile(/tmp/multipartBody8320519073672398609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741857074,"filename":"image_13012025_05_14_02_616813_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/98acdab40ff8ca6fddeffe558fcbd48b.jpg","text":"TemporaryFile(/tmp/multipartBody1525643098662256307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741857074,"filename":"image_13012025_05_15_02_372768_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f612d280a7d912e4e890e37b64dddce4.jpg","text":"TemporaryFile(/tmp/multipartBody26758481205717093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741857074,"filename":"image_13012025_05_15_02_372768_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6cf24268eaa522179f3e2b3d66dd4e86.jpg","text":"TemporaryFile(/tmp/multipartBody8187474582578776421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741857074,"filename":"image_13012025_05_16_02_844763_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5fb2cfca0baf1567ef09f9232daf677b.jpg","text":"TemporaryFile(/tmp/multipartBody1929391817080426504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741857074,"filename":"image_13012025_05_15_02_372768_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328583858","file1":"1328583856","file0":"1328583854","file4":"1328583862","file5":"1328583864","file3":"1328583860"},"map_files_photo_id_array":[{"photo_id":"1328583864","filename":"file5"},{"photo_id":"1328583858","filename":"file2"},{"photo_id":"1328583862","filename":"file4"},{"photo_id":"1328583856","filename":"file1"},{"photo_id":"1328583854","filename":"file0"},{"photo_id":"1328583860","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328583860":["hashtag1","hashtag2"]},{"1328583854":["hashtag1","hashtag2"]},{"1328583862":["hashtag1","hashtag2"]},{"1328583856":["hashtag1","hashtag2"]},{"1328583864":["hashtag1","hashtag2"]},{"1328583858":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328583860, 1328583854, 1328583862, 1328583856, 1328583864, 1328583858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.861716508865356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 05:18:02.588622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/16/image_13012025_05_16_02_844763_0001.jpg', '/home/pi/Desktop/images/13012025/05/16/image_13012025_05_16_02_844763_0002.jpg', '/home/pi/Desktop/images/13012025/05/16/image_13012025_05_16_02_844763_0003.jpg', '/home/pi/Desktop/images/13012025/05/17/image_13012025_05_17_02_475900_0000.jpg', '/home/pi/Desktop/images/13012025/05/17/image_13012025_05_17_02_475900_0001.jpg', '/home/pi/Desktop/images/13012025/05/17/image_13012025_05_17_02_475900_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/16/image_13012025_05_16_02_844763_0001.jpg
/home/pi/Desktop/images/13012025/05/16/image_13012025_05_16_02_844763_0002.jpg
/home/pi/Desktop/images/13012025/05/16/image_13012025_05_16_02_844763_0003.jpg
/home/pi/Desktop/images/13012025/05/17/image_13012025_05_17_02_475900_0000.jpg
/home/pi/Desktop/images/13012025/05/17/image_13012025_05_17_02_475900_0001.jpg
/home/pi/Desktop/images/13012025/05/17/image_13012025_05_17_02_475900_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328583900","1328583887","1328583872","1328583877","1328583871","1328583873"],"photo_ids_order":["1328583871","1328583872","1328583873","1328583877","1328583887","1328583900"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/77e9d540e268b9e15a555ff81cbfb593.jpg","text":"TemporaryFile(/tmp/multipartBody9202432815829449269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741957807,"filename":"image_13012025_05_17_02_475900_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/048d5ae75e892bc4c4af33218f7cdd45.jpg","text":"TemporaryFile(/tmp/multipartBody2450435514511892275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741957807,"filename":"image_13012025_05_17_02_475900_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0f9157cec40bd28191f5233970020056.jpg","text":"TemporaryFile(/tmp/multipartBody4501355355165251851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741957807,"filename":"image_13012025_05_16_02_844763_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f4ea3bd0564c486d2ed26954e5a110c9.jpg","text":"TemporaryFile(/tmp/multipartBody8766009878962713645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741957807,"filename":"image_13012025_05_17_02_475900_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/958cb9dd6e7220c77d3fd1ad38def279.jpg","text":"TemporaryFile(/tmp/multipartBody7317161042939250887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741957807,"filename":"image_13012025_05_16_02_844763_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/10ca8d7f4948edb4790e46b1247b17df.jpg","text":"TemporaryFile(/tmp/multipartBody344470328151859099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736741957807,"filename":"image_13012025_05_16_02_844763_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328583873","file1":"1328583872","file0":"1328583871","file4":"1328583887","file5":"1328583900","file3":"1328583877"},"map_files_photo_id_array":[{"photo_id":"1328583900","filename":"file5"},{"photo_id":"1328583873","filename":"file2"},{"photo_id":"1328583887","filename":"file4"},{"photo_id":"1328583872","filename":"file1"},{"photo_id":"1328583871","filename":"file0"},{"photo_id":"1328583877","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328583900":["hashtag1","hashtag2"]},{"1328583887":["hashtag1","hashtag2"]},{"1328583872":["hashtag1","hashtag2"]},{"1328583877":["hashtag1","hashtag2"]},{"1328583871":["hashtag1","hashtag2"]},{"1328583873":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328583900, 1328583887, 1328583872, 1328583877, 1328583871, 1328583873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.68860983848572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:19:22.645867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/17/image_13012025_05_17_02_475900_0003.jpg', '/home/pi/Desktop/images/13012025/05/18/image_13012025_05_18_03_039071_0000.jpg', '/home/pi/Desktop/images/13012025/05/18/image_13012025_05_18_03_039071_0001.jpg', '/home/pi/Desktop/images/13012025/05/18/image_13012025_05_18_03_039071_0002.jpg', '/home/pi/Desktop/images/13012025/05/18/image_13012025_05_18_03_039071_0003.jpg', '/home/pi/Desktop/images/13012025/05/19/image_13012025_05_19_02_538611_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/17/image_13012025_05_17_02_475900_0003.jpg
/home/pi/Desktop/images/13012025/05/18/image_13012025_05_18_03_039071_0000.jpg
/home/pi/Desktop/images/13012025/05/18/image_13012025_05_18_03_039071_0001.jpg
/home/pi/Desktop/images/13012025/05/18/image_13012025_05_18_03_039071_0002.jpg
/home/pi/Desktop/images/13012025/05/18/image_13012025_05_18_03_039071_0003.jpg
/home/pi/Desktop/images/13012025/05/19/image_13012025_05_19_02_538611_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328583953","1328583947","1328583941","1328584006","1328583955","1328583957"],"photo_ids_order":["1328583941","1328583947","1328583953","1328583955","1328583957","1328584006"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0b40d7eb2cfb8fe8f60c874e2d6e1e2d.jpg","text":"TemporaryFile(/tmp/multipartBody4955155194140746463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742037720,"filename":"image_13012025_05_18_03_039071_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a1b5f03c08cfcfb3c4faee87dc72b05c.jpg","text":"TemporaryFile(/tmp/multipartBody7848403131464215738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742037720,"filename":"image_13012025_05_18_03_039071_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/18445df317e9ca0c4e326f8652a841a4.jpg","text":"TemporaryFile(/tmp/multipartBody6518456846015150943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742037720,"filename":"image_13012025_05_17_02_475900_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/86cc110430fc5c913e42045e950846b5.jpg","text":"TemporaryFile(/tmp/multipartBody5775537868047993077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742037720,"filename":"image_13012025_05_19_02_538611_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f8e9b7bc3080460759cac8dbf3460b6c.jpg","text":"TemporaryFile(/tmp/multipartBody5740684879166093424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742037720,"filename":"image_13012025_05_18_03_039071_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/49040ae1b4633248f3f86fface0993f2.jpg","text":"TemporaryFile(/tmp/multipartBody114331351077147488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742037720,"filename":"image_13012025_05_18_03_039071_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328583953","file1":"1328583947","file0":"1328583941","file4":"1328583957","file5":"1328584006","file3":"1328583955"},"map_files_photo_id_array":[{"photo_id":"1328584006","filename":"file5"},{"photo_id":"1328583953","filename":"file2"},{"photo_id":"1328583957","filename":"file4"},{"photo_id":"1328583947","filename":"file1"},{"photo_id":"1328583941","filename":"file0"},{"photo_id":"1328583955","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328583953":["hashtag1","hashtag2"]},{"1328583947":["hashtag1","hashtag2"]},{"1328583941":["hashtag1","hashtag2"]},{"1328584006":["hashtag1","hashtag2"]},{"1328583955":["hashtag1","hashtag2"]},{"1328583957":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328583953, 1328583947, 1328583941, 1328584006, 1328583955, 1328583957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.75228500366211 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:20:22.227962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/19/image_13012025_05_19_02_538611_0001.jpg', '/home/pi/Desktop/images/13012025/05/19/image_13012025_05_19_02_538611_0002.jpg', '/home/pi/Desktop/images/13012025/05/19/image_13012025_05_19_02_538611_0003.jpg', '/home/pi/Desktop/images/13012025/05/20/image_13012025_05_20_03_094072_0000.jpg', '/home/pi/Desktop/images/13012025/05/20/image_13012025_05_20_03_094072_0001.jpg', '/home/pi/Desktop/images/13012025/05/20/image_13012025_05_20_03_094072_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/19/image_13012025_05_19_02_538611_0001.jpg
/home/pi/Desktop/images/13012025/05/19/image_13012025_05_19_02_538611_0002.jpg
/home/pi/Desktop/images/13012025/05/19/image_13012025_05_19_02_538611_0003.jpg
/home/pi/Desktop/images/13012025/05/20/image_13012025_05_20_03_094072_0000.jpg
/home/pi/Desktop/images/13012025/05/20/image_13012025_05_20_03_094072_0001.jpg
/home/pi/Desktop/images/13012025/05/20/image_13012025_05_20_03_094072_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328584022","1328584017","1328584011","1328584020","1328584014","1328584008"],"photo_ids_order":["1328584008","1328584011","1328584014","1328584017","1328584020","1328584022"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/066a54ee0fad0326fa1f9845f31fac88.jpg","text":"TemporaryFile(/tmp/multipartBody6104106067586822672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742097542,"filename":"image_13012025_05_20_03_094072_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/17c0574d95d9cdaf4d86f756d44ff992.jpg","text":"TemporaryFile(/tmp/multipartBody4594463129301568395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742097542,"filename":"image_13012025_05_20_03_094072_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c42da26e8604ae25b8cc8ad2ab12acc5.jpg","text":"TemporaryFile(/tmp/multipartBody2808519946561213686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742097542,"filename":"image_13012025_05_19_02_538611_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4f2a6a93e189a28aac22b8bcb2bc5bdf.jpg","text":"TemporaryFile(/tmp/multipartBody8502053611981396801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742097542,"filename":"image_13012025_05_20_03_094072_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/42de4772c86972b47d5b5722d757f225.jpg","text":"TemporaryFile(/tmp/multipartBody1742113522050964965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742097542,"filename":"image_13012025_05_19_02_538611_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c0d835078f9d48415b9d974852cc42ef.jpg","text":"TemporaryFile(/tmp/multipartBody3922999822642272136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742097542,"filename":"image_13012025_05_19_02_538611_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328584014","file1":"1328584011","file0":"1328584008","file4":"1328584020","file5":"1328584022","file3":"1328584017"},"map_files_photo_id_array":[{"photo_id":"1328584022","filename":"file5"},{"photo_id":"1328584014","filename":"file2"},{"photo_id":"1328584020","filename":"file4"},{"photo_id":"1328584011","filename":"file1"},{"photo_id":"1328584008","filename":"file0"},{"photo_id":"1328584017","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328584022":["hashtag1","hashtag2"]},{"1328584017":["hashtag1","hashtag2"]},{"1328584011":["hashtag1","hashtag2"]},{"1328584020":["hashtag1","hashtag2"]},{"1328584014":["hashtag1","hashtag2"]},{"1328584008":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328584022, 1328584017, 1328584011, 1328584020, 1328584014, 1328584008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.99543786048889 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:21:22.741284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/20/image_13012025_05_20_03_094072_0003.jpg', '/home/pi/Desktop/images/13012025/05/21/image_13012025_05_21_02_605344_0000.jpg', '/home/pi/Desktop/images/13012025/05/21/image_13012025_05_21_02_605344_0001.jpg', '/home/pi/Desktop/images/13012025/05/21/image_13012025_05_21_02_605344_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/20/image_13012025_05_20_03_094072_0003.jpg
/home/pi/Desktop/images/13012025/05/21/image_13012025_05_21_02_605344_0000.jpg
/home/pi/Desktop/images/13012025/05/21/image_13012025_05_21_02_605344_0001.jpg
/home/pi/Desktop/images/13012025/05/21/image_13012025_05_21_02_605344_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328584055","1328584024","1328584027","1328584029"],"photo_ids_order":["1328584024","1328584027","1328584029","1328584055"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/873cff00c3b1cd7ce8ec6fdf1c1a9a20.jpg","text":"TemporaryFile(/tmp/multipartBody657367705658324530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742152996,"filename":"image_13012025_05_21_02_605344_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/523c0c93dae21a618a132f56d543f883.jpg","text":"TemporaryFile(/tmp/multipartBody5170199320630750274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742152996,"filename":"image_13012025_05_20_03_094072_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/40d17b0064c9484f59be31a7f34fe55c.jpg","text":"TemporaryFile(/tmp/multipartBody3805896869031678200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742152996,"filename":"image_13012025_05_21_02_605344_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/49ede3984a2f0822d5fe4b296fb8a598.jpg","text":"TemporaryFile(/tmp/multipartBody8502114128309793724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742152996,"filename":"image_13012025_05_21_02_605344_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328584029","file1":"1328584027","file0":"1328584024","file3":"1328584055"},"map_files_photo_id_array":[{"photo_id":"1328584029","filename":"file2"},{"photo_id":"1328584027","filename":"file1"},{"photo_id":"1328584024","filename":"file0"},{"photo_id":"1328584055","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328584055":["hashtag1","hashtag2"]},{"1328584024":["hashtag1","hashtag2"]},{"1328584027":["hashtag1","hashtag2"]},{"1328584029":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328584055, 1328584024, 1328584027, 1328584029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.7751898765564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:22:22.298116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/21/image_13012025_05_21_02_605344_0003.jpg', '/home/pi/Desktop/images/13012025/05/22/image_13012025_05_22_03_154323_0000.jpg', '/home/pi/Desktop/images/13012025/05/22/image_13012025_05_22_03_154323_0001.jpg', '/home/pi/Desktop/images/13012025/05/22/image_13012025_05_22_03_154323_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/21/image_13012025_05_21_02_605344_0003.jpg
/home/pi/Desktop/images/13012025/05/22/image_13012025_05_22_03_154323_0000.jpg
/home/pi/Desktop/images/13012025/05/22/image_13012025_05_22_03_154323_0001.jpg
/home/pi/Desktop/images/13012025/05/22/image_13012025_05_22_03_154323_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.037201881408691 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 05:23:02.501517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/21/image_13012025_05_21_02_605344_0003.jpg', '/home/pi/Desktop/images/13012025/05/22/image_13012025_05_22_03_154323_0000.jpg', '/home/pi/Desktop/images/13012025/05/22/image_13012025_05_22_03_154323_0001.jpg', '/home/pi/Desktop/images/13012025/05/22/image_13012025_05_22_03_154323_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/21/image_13012025_05_21_02_605344_0003.jpg
/home/pi/Desktop/images/13012025/05/22/image_13012025_05_22_03_154323_0000.jpg
/home/pi/Desktop/images/13012025/05/22/image_13012025_05_22_03_154323_0001.jpg
/home/pi/Desktop/images/13012025/05/22/image_13012025_05_22_03_154323_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328584121","1328584123","1328584120","1328584125"],"photo_ids_order":["1328584120","1328584121","1328584123","1328584125"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2e3f3ae10cc6ebba2432210ebfe5614c.jpg","text":"TemporaryFile(/tmp/multipartBody8491482512634134938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742252990,"filename":"image_13012025_05_22_03_154323_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/70fdaf173e03f3c462885bdf7731c3e0.jpg","text":"TemporaryFile(/tmp/multipartBody4623775239248013574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742252990,"filename":"image_13012025_05_22_03_154323_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/55e0048d0fa8bdbd3e4072605e1f8de8.jpg","text":"TemporaryFile(/tmp/multipartBody8496369303825505029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742252990,"filename":"image_13012025_05_21_02_605344_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/86d8394e9877b186b034be9981dbad19.jpg","text":"TemporaryFile(/tmp/multipartBody1843284375789442239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742252990,"filename":"image_13012025_05_22_03_154323_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328584123","file1":"1328584121","file0":"1328584120","file3":"1328584125"},"map_files_photo_id_array":[{"photo_id":"1328584123","filename":"file2"},{"photo_id":"1328584121","filename":"file1"},{"photo_id":"1328584120","filename":"file0"},{"photo_id":"1328584125","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328584121":["hashtag1","hashtag2"]},{"1328584123":["hashtag1","hashtag2"]},{"1328584120":["hashtag1","hashtag2"]},{"1328584125":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328584121, 1328584123, 1328584120, 1328584125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.976656436920166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 05:24:02.770805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/22/image_13012025_05_22_03_154323_0003.jpg', '/home/pi/Desktop/images/13012025/05/23/image_13012025_05_23_02_700145_0000.jpg', '/home/pi/Desktop/images/13012025/05/23/image_13012025_05_23_02_700145_0001.jpg', '/home/pi/Desktop/images/13012025/05/23/image_13012025_05_23_02_700145_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/22/image_13012025_05_22_03_154323_0003.jpg
/home/pi/Desktop/images/13012025/05/23/image_13012025_05_23_02_700145_0000.jpg
/home/pi/Desktop/images/13012025/05/23/image_13012025_05_23_02_700145_0001.jpg
/home/pi/Desktop/images/13012025/05/23/image_13012025_05_23_02_700145_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.04990005493164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:24:22.367469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/22/image_13012025_05_22_03_154323_0003.jpg', '/home/pi/Desktop/images/13012025/05/23/image_13012025_05_23_02_700145_0000.jpg', '/home/pi/Desktop/images/13012025/05/23/image_13012025_05_23_02_700145_0001.jpg', '/home/pi/Desktop/images/13012025/05/23/image_13012025_05_23_02_700145_0002.jpg', '/home/pi/Desktop/images/13012025/05/23/image_13012025_05_23_02_700145_0003.jpg', '/home/pi/Desktop/images/13012025/05/24/image_13012025_05_24_02_178592_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/22/image_13012025_05_22_03_154323_0003.jpg
/home/pi/Desktop/images/13012025/05/23/image_13012025_05_23_02_700145_0000.jpg
/home/pi/Desktop/images/13012025/05/23/image_13012025_05_23_02_700145_0001.jpg
/home/pi/Desktop/images/13012025/05/23/image_13012025_05_23_02_700145_0002.jpg
/home/pi/Desktop/images/13012025/05/23/image_13012025_05_23_02_700145_0003.jpg
/home/pi/Desktop/images/13012025/05/24/image_13012025_05_24_02_178592_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328584169","1328584171","1328584177","1328584173","1328584152","1328584175"],"photo_ids_order":["1328584152","1328584169","1328584171","1328584173","1328584175","1328584177"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/19459d0f22da661b9e749ac639a63b47.jpg","text":"TemporaryFile(/tmp/multipartBody2759537958688077125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742337716,"filename":"image_13012025_05_23_02_700145_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3b9193c41424ff94ffefb8d636cc2577.jpg","text":"TemporaryFile(/tmp/multipartBody8700300566024072566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742337716,"filename":"image_13012025_05_23_02_700145_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ab8bbedfe416b77e82103a408f8082e4.jpg","text":"TemporaryFile(/tmp/multipartBody6337789114734268736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742337716,"filename":"image_13012025_05_24_02_178592_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4ab986897fefc773146e309ccff4ecb1.jpg","text":"TemporaryFile(/tmp/multipartBody8147787271128870852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742337716,"filename":"image_13012025_05_23_02_700145_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5b00b3c39929542d9ef68e629b0420f3.jpg","text":"TemporaryFile(/tmp/multipartBody7600401250445847154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742337716,"filename":"image_13012025_05_22_03_154323_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a8f1807070ebb7929e527b90b4b3ea3e.jpg","text":"TemporaryFile(/tmp/multipartBody4699135205106841873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742337716,"filename":"image_13012025_05_23_02_700145_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328584171","file1":"1328584169","file0":"1328584152","file4":"1328584175","file5":"1328584177","file3":"1328584173"},"map_files_photo_id_array":[{"photo_id":"1328584177","filename":"file5"},{"photo_id":"1328584171","filename":"file2"},{"photo_id":"1328584175","filename":"file4"},{"photo_id":"1328584169","filename":"file1"},{"photo_id":"1328584152","filename":"file0"},{"photo_id":"1328584173","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328584169":["hashtag1","hashtag2"]},{"1328584171":["hashtag1","hashtag2"]},{"1328584177":["hashtag1","hashtag2"]},{"1328584173":["hashtag1","hashtag2"]},{"1328584152":["hashtag1","hashtag2"]},{"1328584175":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328584169, 1328584171, 1328584177, 1328584173, 1328584152, 1328584175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.962663888931274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:25:21.872171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/24/image_13012025_05_24_02_178592_0001.jpg', '/home/pi/Desktop/images/13012025/05/24/image_13012025_05_24_02_178592_0002.jpg', '/home/pi/Desktop/images/13012025/05/24/image_13012025_05_24_02_178592_0003.jpg', '/home/pi/Desktop/images/13012025/05/25/image_13012025_05_25_02_761332_0000.jpg', '/home/pi/Desktop/images/13012025/05/25/image_13012025_05_25_02_761332_0001.jpg', '/home/pi/Desktop/images/13012025/05/25/image_13012025_05_25_02_761332_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/24/image_13012025_05_24_02_178592_0001.jpg
/home/pi/Desktop/images/13012025/05/24/image_13012025_05_24_02_178592_0002.jpg
/home/pi/Desktop/images/13012025/05/24/image_13012025_05_24_02_178592_0003.jpg
/home/pi/Desktop/images/13012025/05/25/image_13012025_05_25_02_761332_0000.jpg
/home/pi/Desktop/images/13012025/05/25/image_13012025_05_25_02_761332_0001.jpg
/home/pi/Desktop/images/13012025/05/25/image_13012025_05_25_02_761332_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328584192","1328584189","1328584183","1328584179","1328584200","1328584181"],"photo_ids_order":["1328584179","1328584181","1328584183","1328584189","1328584192","1328584200"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e5d951676de228c05133d51bc31b5032.jpg","text":"TemporaryFile(/tmp/multipartBody7088389394570100573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742397049,"filename":"image_13012025_05_25_02_761332_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/33760eb2af4ea930fe8417bf9bdbf447.jpg","text":"TemporaryFile(/tmp/multipartBody2308420255275292125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742397049,"filename":"image_13012025_05_25_02_761332_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/43fa1688ec3d99fc9fe48fecadd179eb.jpg","text":"TemporaryFile(/tmp/multipartBody5349118790870183094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742397049,"filename":"image_13012025_05_24_02_178592_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d3e3349198e244eb158735279735b8f4.jpg","text":"TemporaryFile(/tmp/multipartBody5020825342342236080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742397049,"filename":"image_13012025_05_24_02_178592_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d039da9d72db3beaa98aedcfc7cedf04.jpg","text":"TemporaryFile(/tmp/multipartBody585126258405411377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742397049,"filename":"image_13012025_05_25_02_761332_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5f7bffdbfbf67a20a61e9575184fc586.jpg","text":"TemporaryFile(/tmp/multipartBody8835756467740154447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742397049,"filename":"image_13012025_05_24_02_178592_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328584183","file1":"1328584181","file0":"1328584179","file4":"1328584192","file5":"1328584200","file3":"1328584189"},"map_files_photo_id_array":[{"photo_id":"1328584200","filename":"file5"},{"photo_id":"1328584183","filename":"file2"},{"photo_id":"1328584192","filename":"file4"},{"photo_id":"1328584181","filename":"file1"},{"photo_id":"1328584179","filename":"file0"},{"photo_id":"1328584189","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328584192":["hashtag1","hashtag2"]},{"1328584189":["hashtag1","hashtag2"]},{"1328584183":["hashtag1","hashtag2"]},{"1328584179":["hashtag1","hashtag2"]},{"1328584200":["hashtag1","hashtag2"]},{"1328584181":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328584192, 1328584189, 1328584183, 1328584179, 1328584200, 1328584181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.987253189086914 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:26:22.392470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/25/image_13012025_05_25_02_761332_0003.jpg', '/home/pi/Desktop/images/13012025/05/26/image_13012025_05_26_02_277142_0000.jpg', '/home/pi/Desktop/images/13012025/05/26/image_13012025_05_26_02_277142_0001.jpg', '/home/pi/Desktop/images/13012025/05/26/image_13012025_05_26_02_277142_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/25/image_13012025_05_25_02_761332_0003.jpg
/home/pi/Desktop/images/13012025/05/26/image_13012025_05_26_02_277142_0000.jpg
/home/pi/Desktop/images/13012025/05/26/image_13012025_05_26_02_277142_0001.jpg
/home/pi/Desktop/images/13012025/05/26/image_13012025_05_26_02_277142_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.945611238479614 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 05:27:02.566696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/25/image_13012025_05_25_02_761332_0003.jpg', '/home/pi/Desktop/images/13012025/05/26/image_13012025_05_26_02_277142_0000.jpg', '/home/pi/Desktop/images/13012025/05/26/image_13012025_05_26_02_277142_0001.jpg', '/home/pi/Desktop/images/13012025/05/26/image_13012025_05_26_02_277142_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/25/image_13012025_05_25_02_761332_0003.jpg
/home/pi/Desktop/images/13012025/05/26/image_13012025_05_26_02_277142_0000.jpg
/home/pi/Desktop/images/13012025/05/26/image_13012025_05_26_02_277142_0001.jpg
/home/pi/Desktop/images/13012025/05/26/image_13012025_05_26_02_277142_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328584232","1328584234","1328584231","1328584233"],"photo_ids_order":["1328584231","1328584232","1328584233","1328584234"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8ed06fb07f0084052a2256572bde9953.jpg","text":"TemporaryFile(/tmp/multipartBody9100679455085255553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742493493,"filename":"image_13012025_05_26_02_277142_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/84ac1cd8de2314fbeb16a8ad06953bb8.jpg","text":"TemporaryFile(/tmp/multipartBody8477753335395469411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742493493,"filename":"image_13012025_05_26_02_277142_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f4695a6b6c390156a63148393a64e055.jpg","text":"TemporaryFile(/tmp/multipartBody2770022084048071119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742493493,"filename":"image_13012025_05_25_02_761332_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ee62fde6da39e07e7d5a4763b68b9112.jpg","text":"TemporaryFile(/tmp/multipartBody7978591125417249814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742493493,"filename":"image_13012025_05_26_02_277142_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328584233","file1":"1328584232","file0":"1328584231","file3":"1328584234"},"map_files_photo_id_array":[{"photo_id":"1328584233","filename":"file2"},{"photo_id":"1328584232","filename":"file1"},{"photo_id":"1328584231","filename":"file0"},{"photo_id":"1328584234","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328584232":["hashtag1","hashtag2"]},{"1328584234":["hashtag1","hashtag2"]},{"1328584231":["hashtag1","hashtag2"]},{"1328584233":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328584232, 1328584234, 1328584231, 1328584233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.94432091712952 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 05:28:02.934781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/26/image_13012025_05_26_02_277142_0003.jpg', '/home/pi/Desktop/images/13012025/05/27/image_13012025_05_27_02_755047_0000.jpg', '/home/pi/Desktop/images/13012025/05/27/image_13012025_05_27_02_755047_0001.jpg', '/home/pi/Desktop/images/13012025/05/27/image_13012025_05_27_02_755047_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/26/image_13012025_05_26_02_277142_0003.jpg
/home/pi/Desktop/images/13012025/05/27/image_13012025_05_27_02_755047_0000.jpg
/home/pi/Desktop/images/13012025/05/27/image_13012025_05_27_02_755047_0001.jpg
/home/pi/Desktop/images/13012025/05/27/image_13012025_05_27_02_755047_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.076894760131836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:28:22.515384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/26/image_13012025_05_26_02_277142_0003.jpg', '/home/pi/Desktop/images/13012025/05/27/image_13012025_05_27_02_755047_0000.jpg', '/home/pi/Desktop/images/13012025/05/27/image_13012025_05_27_02_755047_0001.jpg', '/home/pi/Desktop/images/13012025/05/27/image_13012025_05_27_02_755047_0002.jpg', '/home/pi/Desktop/images/13012025/05/27/image_13012025_05_27_02_755047_0003.jpg', '/home/pi/Desktop/images/13012025/05/28/image_13012025_05_28_02_245022_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/26/image_13012025_05_26_02_277142_0003.jpg
/home/pi/Desktop/images/13012025/05/27/image_13012025_05_27_02_755047_0000.jpg
/home/pi/Desktop/images/13012025/05/27/image_13012025_05_27_02_755047_0001.jpg
/home/pi/Desktop/images/13012025/05/27/image_13012025_05_27_02_755047_0002.jpg
/home/pi/Desktop/images/13012025/05/27/image_13012025_05_27_02_755047_0003.jpg
/home/pi/Desktop/images/13012025/05/28/image_13012025_05_28_02_245022_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328584283","1328584285","1328584279","1328584281","1328584287","1328584274"],"photo_ids_order":["1328584274","1328584279","1328584281","1328584283","1328584285","1328584287"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a34f7dcbdfd6720a297f0cfda8c442cd.jpg","text":"TemporaryFile(/tmp/multipartBody625317614114338474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742577884,"filename":"image_13012025_05_27_02_755047_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c8f06dcc1831d5a51b55b7af500cbe05.jpg","text":"TemporaryFile(/tmp/multipartBody5471719130158840793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742577884,"filename":"image_13012025_05_27_02_755047_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/74abe8b721be1da4fddb406fa3c0651a.jpg","text":"TemporaryFile(/tmp/multipartBody5985851663235225371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742577884,"filename":"image_13012025_05_27_02_755047_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/890032cd90e220545542379bdda69735.jpg","text":"TemporaryFile(/tmp/multipartBody3972926440792059263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742577884,"filename":"image_13012025_05_27_02_755047_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ae835ad9498742def74d2cd07fed0d34.jpg","text":"TemporaryFile(/tmp/multipartBody3232812680413653302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742577884,"filename":"image_13012025_05_28_02_245022_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d4ea62c8e58cf5e24c58378b6d5ef8c0.jpg","text":"TemporaryFile(/tmp/multipartBody398441741327740707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742577884,"filename":"image_13012025_05_26_02_277142_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328584281","file1":"1328584279","file0":"1328584274","file4":"1328584285","file5":"1328584287","file3":"1328584283"},"map_files_photo_id_array":[{"photo_id":"1328584287","filename":"file5"},{"photo_id":"1328584281","filename":"file2"},{"photo_id":"1328584285","filename":"file4"},{"photo_id":"1328584279","filename":"file1"},{"photo_id":"1328584274","filename":"file0"},{"photo_id":"1328584283","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328584283":["hashtag1","hashtag2"]},{"1328584285":["hashtag1","hashtag2"]},{"1328584279":["hashtag1","hashtag2"]},{"1328584281":["hashtag1","hashtag2"]},{"1328584287":["hashtag1","hashtag2"]},{"1328584274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328584283, 1328584285, 1328584279, 1328584281, 1328584287, 1328584274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.413583517074585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:29:22.013609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/28/image_13012025_05_28_02_245022_0001.jpg', '/home/pi/Desktop/images/13012025/05/28/image_13012025_05_28_02_245022_0002.jpg', '/home/pi/Desktop/images/13012025/05/28/image_13012025_05_28_02_245022_0003.jpg', '/home/pi/Desktop/images/13012025/05/29/image_13012025_05_29_02_891560_0000.jpg', '/home/pi/Desktop/images/13012025/05/29/image_13012025_05_29_02_891560_0001.jpg', '/home/pi/Desktop/images/13012025/05/29/image_13012025_05_29_02_891560_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/28/image_13012025_05_28_02_245022_0001.jpg
/home/pi/Desktop/images/13012025/05/28/image_13012025_05_28_02_245022_0002.jpg
/home/pi/Desktop/images/13012025/05/28/image_13012025_05_28_02_245022_0003.jpg
/home/pi/Desktop/images/13012025/05/29/image_13012025_05_29_02_891560_0000.jpg
/home/pi/Desktop/images/13012025/05/29/image_13012025_05_29_02_891560_0001.jpg
/home/pi/Desktop/images/13012025/05/29/image_13012025_05_29_02_891560_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328584349","1328584372","1328584351","1328584342","1328584345","1328584347"],"photo_ids_order":["1328584342","1328584345","1328584347","1328584349","1328584351","1328584372"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/df7889608f24307a86ddf0e7167b82c6.jpg","text":"TemporaryFile(/tmp/multipartBody3486640400472878150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742637331,"filename":"image_13012025_05_29_02_891560_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8c30aa9411732f5749e1ff9fe1506434.jpg","text":"TemporaryFile(/tmp/multipartBody7320743167411510534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742637331,"filename":"image_13012025_05_29_02_891560_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d87ac555da15744f369cb2b4dacd2af1.jpg","text":"TemporaryFile(/tmp/multipartBody7404008140250439109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742637331,"filename":"image_13012025_05_29_02_891560_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c239a5c8842979a9c0ff74e857c2e3c0.jpg","text":"TemporaryFile(/tmp/multipartBody8045109983133491507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742637331,"filename":"image_13012025_05_28_02_245022_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b326e3418fec9e1bc313054c844ea6d8.jpg","text":"TemporaryFile(/tmp/multipartBody3977156284408720942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742637331,"filename":"image_13012025_05_28_02_245022_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7b717f954e0d655c2399cd3c881c58ff.jpg","text":"TemporaryFile(/tmp/multipartBody6633909179986253363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742637331,"filename":"image_13012025_05_28_02_245022_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328584347","file1":"1328584345","file0":"1328584342","file4":"1328584351","file5":"1328584372","file3":"1328584349"},"map_files_photo_id_array":[{"photo_id":"1328584372","filename":"file5"},{"photo_id":"1328584347","filename":"file2"},{"photo_id":"1328584351","filename":"file4"},{"photo_id":"1328584345","filename":"file1"},{"photo_id":"1328584342","filename":"file0"},{"photo_id":"1328584349","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328584349":["hashtag1","hashtag2"]},{"1328584372":["hashtag1","hashtag2"]},{"1328584351":["hashtag1","hashtag2"]},{"1328584342":["hashtag1","hashtag2"]},{"1328584345":["hashtag1","hashtag2"]},{"1328584347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328584349, 1328584372, 1328584351, 1328584342, 1328584345, 1328584347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.94657897949219 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:30:22.526776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/29/image_13012025_05_29_02_891560_0003.jpg', '/home/pi/Desktop/images/13012025/05/30/image_13012025_05_30_02_400706_0000.jpg', '/home/pi/Desktop/images/13012025/05/30/image_13012025_05_30_02_400706_0001.jpg', '/home/pi/Desktop/images/13012025/05/30/image_13012025_05_30_02_400706_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/29/image_13012025_05_29_02_891560_0003.jpg
/home/pi/Desktop/images/13012025/05/30/image_13012025_05_30_02_400706_0000.jpg
/home/pi/Desktop/images/13012025/05/30/image_13012025_05_30_02_400706_0001.jpg
/home/pi/Desktop/images/13012025/05/30/image_13012025_05_30_02_400706_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328584415","1328584441","1328584444","1328584431"],"photo_ids_order":["1328584415","1328584431","1328584441","1328584444"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3d16ae92ee84d5087c3c2c45f8cc6364.jpg","text":"TemporaryFile(/tmp/multipartBody282236207673775491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742692795,"filename":"image_13012025_05_29_02_891560_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/21cbe529d0a264e979467693ce29fee5.jpg","text":"TemporaryFile(/tmp/multipartBody2995535036149311040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742692795,"filename":"image_13012025_05_30_02_400706_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a1dc63aed8afa2b8f35357230bbe438c.jpg","text":"TemporaryFile(/tmp/multipartBody7059353026535755269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742692795,"filename":"image_13012025_05_30_02_400706_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a171a17c594c06e74bc81a099e48e64c.jpg","text":"TemporaryFile(/tmp/multipartBody3669506922630297388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742692795,"filename":"image_13012025_05_30_02_400706_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328584441","file1":"1328584431","file0":"1328584415","file3":"1328584444"},"map_files_photo_id_array":[{"photo_id":"1328584441","filename":"file2"},{"photo_id":"1328584431","filename":"file1"},{"photo_id":"1328584415","filename":"file0"},{"photo_id":"1328584444","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328584415":["hashtag1","hashtag2"]},{"1328584441":["hashtag1","hashtag2"]},{"1328584444":["hashtag1","hashtag2"]},{"1328584431":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328584415, 1328584441, 1328584444, 1328584431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.36812400817871 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:31:22.073534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/30/image_13012025_05_30_02_400706_0003.jpg', '/home/pi/Desktop/images/13012025/05/31/image_13012025_05_31_02_907577_0000.jpg', '/home/pi/Desktop/images/13012025/05/31/image_13012025_05_31_02_907577_0001.jpg', '/home/pi/Desktop/images/13012025/05/31/image_13012025_05_31_02_907577_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/30/image_13012025_05_30_02_400706_0003.jpg
/home/pi/Desktop/images/13012025/05/31/image_13012025_05_31_02_907577_0000.jpg
/home/pi/Desktop/images/13012025/05/31/image_13012025_05_31_02_907577_0001.jpg
/home/pi/Desktop/images/13012025/05/31/image_13012025_05_31_02_907577_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328584457","1328584451","1328584453","1328584455"],"photo_ids_order":["1328584451","1328584453","1328584455","1328584457"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/63abc89c0e613b8ee5be7ae9a9e03d60.jpg","text":"TemporaryFile(/tmp/multipartBody1370639666789182172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742752614,"filename":"image_13012025_05_31_02_907577_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fd3f26fe6fce04bdac80b911f282736e.jpg","text":"TemporaryFile(/tmp/multipartBody2536429877903039257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742752614,"filename":"image_13012025_05_30_02_400706_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1d9619ab2132e104f2ea222b0c73ed52.jpg","text":"TemporaryFile(/tmp/multipartBody4684510030795559402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742752614,"filename":"image_13012025_05_31_02_907577_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ce2d03f077e253eed639ea10e5b0e5a2.jpg","text":"TemporaryFile(/tmp/multipartBody2038924809342041973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742752614,"filename":"image_13012025_05_31_02_907577_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328584455","file1":"1328584453","file0":"1328584451","file3":"1328584457"},"map_files_photo_id_array":[{"photo_id":"1328584455","filename":"file2"},{"photo_id":"1328584453","filename":"file1"},{"photo_id":"1328584451","filename":"file0"},{"photo_id":"1328584457","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328584457":["hashtag1","hashtag2"]},{"1328584451":["hashtag1","hashtag2"]},{"1328584453":["hashtag1","hashtag2"]},{"1328584455":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328584457, 1328584451, 1328584453, 1328584455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.978320598602295 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:32:22.535642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/31/image_13012025_05_31_02_907577_0003.jpg', '/home/pi/Desktop/images/13012025/05/32/image_13012025_05_32_02_418714_0000.jpg', '/home/pi/Desktop/images/13012025/05/32/image_13012025_05_32_02_418714_0001.jpg', '/home/pi/Desktop/images/13012025/05/32/image_13012025_05_32_02_418714_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/31/image_13012025_05_31_02_907577_0003.jpg
/home/pi/Desktop/images/13012025/05/32/image_13012025_05_32_02_418714_0000.jpg
/home/pi/Desktop/images/13012025/05/32/image_13012025_05_32_02_418714_0001.jpg
/home/pi/Desktop/images/13012025/05/32/image_13012025_05_32_02_418714_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328584463","1328584465","1328584461","1328584467"],"photo_ids_order":["1328584461","1328584463","1328584465","1328584467"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/855b7b4ca804110e850622d0f403ebb1.jpg","text":"TemporaryFile(/tmp/multipartBody1017247142107580714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742812954,"filename":"image_13012025_05_32_02_418714_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a7948e002f5945fe08f5b3127b7b9239.jpg","text":"TemporaryFile(/tmp/multipartBody3599669310834477993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742812954,"filename":"image_13012025_05_32_02_418714_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2eda9123fd3669c89504dd25913d4b53.jpg","text":"TemporaryFile(/tmp/multipartBody6660849581964685566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742812954,"filename":"image_13012025_05_31_02_907577_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/71394e568ed14aaa298733fa6e55684f.jpg","text":"TemporaryFile(/tmp/multipartBody9177398741036159384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742812954,"filename":"image_13012025_05_32_02_418714_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328584465","file1":"1328584463","file0":"1328584461","file3":"1328584467"},"map_files_photo_id_array":[{"photo_id":"1328584465","filename":"file2"},{"photo_id":"1328584463","filename":"file1"},{"photo_id":"1328584461","filename":"file0"},{"photo_id":"1328584467","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328584463":["hashtag1","hashtag2"]},{"1328584465":["hashtag1","hashtag2"]},{"1328584461":["hashtag1","hashtag2"]},{"1328584467":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328584463, 1328584465, 1328584461, 1328584467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.45315170288086 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:33:22.014740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/32/image_13012025_05_32_02_418714_0003.jpg', '/home/pi/Desktop/images/13012025/05/33/image_13012025_05_33_02_925090_0000.jpg', '/home/pi/Desktop/images/13012025/05/33/image_13012025_05_33_02_925090_0001.jpg', '/home/pi/Desktop/images/13012025/05/33/image_13012025_05_33_02_925090_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/32/image_13012025_05_32_02_418714_0003.jpg
/home/pi/Desktop/images/13012025/05/33/image_13012025_05_33_02_925090_0000.jpg
/home/pi/Desktop/images/13012025/05/33/image_13012025_05_33_02_925090_0001.jpg
/home/pi/Desktop/images/13012025/05/33/image_13012025_05_33_02_925090_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328584475","1328584498","1328584486","1328584471"],"photo_ids_order":["1328584471","1328584475","1328584486","1328584498"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6f3eb0d6182fe67f055c58bdd67574e5.jpg","text":"TemporaryFile(/tmp/multipartBody2638615085070097287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742872307,"filename":"image_13012025_05_33_02_925090_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/21f77ac829d4baabe7e7faaef3105d5d.jpg","text":"TemporaryFile(/tmp/multipartBody3750924528532175363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742872307,"filename":"image_13012025_05_33_02_925090_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fe306ee5c4886a2494d82ada143c5a71.jpg","text":"TemporaryFile(/tmp/multipartBody8587068692843786579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742872307,"filename":"image_13012025_05_33_02_925090_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a90ad1dad57e9f63603670b15092091f.jpg","text":"TemporaryFile(/tmp/multipartBody4240708810702340119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742872307,"filename":"image_13012025_05_32_02_418714_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328584486","file1":"1328584475","file0":"1328584471","file3":"1328584498"},"map_files_photo_id_array":[{"photo_id":"1328584486","filename":"file2"},{"photo_id":"1328584475","filename":"file1"},{"photo_id":"1328584471","filename":"file0"},{"photo_id":"1328584498","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328584475":["hashtag1","hashtag2"]},{"1328584498":["hashtag1","hashtag2"]},{"1328584486":["hashtag1","hashtag2"]},{"1328584471":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328584475, 1328584498, 1328584486, 1328584471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.7758207321167 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 05:34:02.920325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:34:22.580769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/33/image_13012025_05_33_02_925090_0003.jpg', '/home/pi/Desktop/images/13012025/05/34/image_13012025_05_34_02_436566_0000.jpg', '/home/pi/Desktop/images/13012025/05/34/image_13012025_05_34_02_436566_0001.jpg', '/home/pi/Desktop/images/13012025/05/34/image_13012025_05_34_02_436566_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/33/image_13012025_05_33_02_925090_0003.jpg
/home/pi/Desktop/images/13012025/05/34/image_13012025_05_34_02_436566_0000.jpg
/home/pi/Desktop/images/13012025/05/34/image_13012025_05_34_02_436566_0001.jpg
/home/pi/Desktop/images/13012025/05/34/image_13012025_05_34_02_436566_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.009441614151001 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 05:35:02.714704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/33/image_13012025_05_33_02_925090_0003.jpg', '/home/pi/Desktop/images/13012025/05/34/image_13012025_05_34_02_436566_0000.jpg', '/home/pi/Desktop/images/13012025/05/34/image_13012025_05_34_02_436566_0001.jpg', '/home/pi/Desktop/images/13012025/05/34/image_13012025_05_34_02_436566_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/33/image_13012025_05_33_02_925090_0003.jpg
/home/pi/Desktop/images/13012025/05/34/image_13012025_05_34_02_436566_0000.jpg
/home/pi/Desktop/images/13012025/05/34/image_13012025_05_34_02_436566_0001.jpg
/home/pi/Desktop/images/13012025/05/34/image_13012025_05_34_02_436566_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328584616","1328584615","1328584617","1328584614"],"photo_ids_order":["1328584614","1328584615","1328584616","1328584617"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ccbfcd0284c8ce00a80d291911dcaeae.jpg","text":"TemporaryFile(/tmp/multipartBody5357758880588608292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742973225,"filename":"image_13012025_05_34_02_436566_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4c1fa33f14483a0dd569ec7a8d54b940.jpg","text":"TemporaryFile(/tmp/multipartBody6744852534636444427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742973225,"filename":"image_13012025_05_34_02_436566_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/211a8e324f519815e30d0e992942d1bd.jpg","text":"TemporaryFile(/tmp/multipartBody5826413862960636923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742973225,"filename":"image_13012025_05_34_02_436566_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bb419f9b299b84d18737cd09edee1dd1.jpg","text":"TemporaryFile(/tmp/multipartBody6210322165741276146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736742973225,"filename":"image_13012025_05_33_02_925090_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328584616","file1":"1328584615","file0":"1328584614","file3":"1328584617"},"map_files_photo_id_array":[{"photo_id":"1328584616","filename":"file2"},{"photo_id":"1328584615","filename":"file1"},{"photo_id":"1328584614","filename":"file0"},{"photo_id":"1328584617","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328584616":["hashtag1","hashtag2"]},{"1328584615":["hashtag1","hashtag2"]},{"1328584617":["hashtag1","hashtag2"]},{"1328584614":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328584616, 1328584615, 1328584617, 1328584614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.11624217033386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 05:36:02.892080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/34/image_13012025_05_34_02_436566_0003.jpg', '/home/pi/Desktop/images/13012025/05/35/image_13012025_05_35_02_952438_0000.jpg', '/home/pi/Desktop/images/13012025/05/35/image_13012025_05_35_02_952438_0001.jpg', '/home/pi/Desktop/images/13012025/05/35/image_13012025_05_35_02_952438_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/34/image_13012025_05_34_02_436566_0003.jpg
/home/pi/Desktop/images/13012025/05/35/image_13012025_05_35_02_952438_0000.jpg
/home/pi/Desktop/images/13012025/05/35/image_13012025_05_35_02_952438_0001.jpg
/home/pi/Desktop/images/13012025/05/35/image_13012025_05_35_02_952438_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.93824315071106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:36:22.588409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/34/image_13012025_05_34_02_436566_0003.jpg', '/home/pi/Desktop/images/13012025/05/35/image_13012025_05_35_02_952438_0000.jpg', '/home/pi/Desktop/images/13012025/05/35/image_13012025_05_35_02_952438_0001.jpg', '/home/pi/Desktop/images/13012025/05/35/image_13012025_05_35_02_952438_0002.jpg', '/home/pi/Desktop/images/13012025/05/35/image_13012025_05_35_02_952438_0003.jpg', '/home/pi/Desktop/images/13012025/05/36/image_13012025_05_36_02_445930_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/34/image_13012025_05_34_02_436566_0003.jpg
/home/pi/Desktop/images/13012025/05/35/image_13012025_05_35_02_952438_0000.jpg
/home/pi/Desktop/images/13012025/05/35/image_13012025_05_35_02_952438_0001.jpg
/home/pi/Desktop/images/13012025/05/35/image_13012025_05_35_02_952438_0002.jpg
/home/pi/Desktop/images/13012025/05/35/image_13012025_05_35_02_952438_0003.jpg
/home/pi/Desktop/images/13012025/05/36/image_13012025_05_36_02_445930_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328584652","1328584640","1328584658","1328584660","1328584654","1328584656"],"photo_ids_order":["1328584640","1328584652","1328584654","1328584656","1328584658","1328584660"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2140587f50a139062bf04cb806b52824.jpg","text":"TemporaryFile(/tmp/multipartBody3429573153659678939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743057774,"filename":"image_13012025_05_35_02_952438_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8223f43cb4c8c18cef237145ed1a95f6.jpg","text":"TemporaryFile(/tmp/multipartBody2043269868434172180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743057774,"filename":"image_13012025_05_34_02_436566_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9232e0864bf52b3d53137446e74d84c9.jpg","text":"TemporaryFile(/tmp/multipartBody4538852819682791517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743057774,"filename":"image_13012025_05_35_02_952438_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0105d447a5f36fbe0dca07b3c457d706.jpg","text":"TemporaryFile(/tmp/multipartBody8659576783988293820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743057774,"filename":"image_13012025_05_36_02_445930_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/665d8c957f89dc656df3cf691cda5176.jpg","text":"TemporaryFile(/tmp/multipartBody1816387809751420744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743057774,"filename":"image_13012025_05_35_02_952438_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a7b136429b7d3a7d29066cabbdf186fb.jpg","text":"TemporaryFile(/tmp/multipartBody5448640653309785977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743057774,"filename":"image_13012025_05_35_02_952438_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328584654","file1":"1328584652","file0":"1328584640","file4":"1328584658","file5":"1328584660","file3":"1328584656"},"map_files_photo_id_array":[{"photo_id":"1328584660","filename":"file5"},{"photo_id":"1328584654","filename":"file2"},{"photo_id":"1328584658","filename":"file4"},{"photo_id":"1328584652","filename":"file1"},{"photo_id":"1328584640","filename":"file0"},{"photo_id":"1328584656","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328584652":["hashtag1","hashtag2"]},{"1328584640":["hashtag1","hashtag2"]},{"1328584658":["hashtag1","hashtag2"]},{"1328584660":["hashtag1","hashtag2"]},{"1328584654":["hashtag1","hashtag2"]},{"1328584656":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328584652, 1328584640, 1328584658, 1328584660, 1328584654, 1328584656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.48866653442383 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:37:22.143996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/36/image_13012025_05_36_02_445930_0001.jpg', '/home/pi/Desktop/images/13012025/05/36/image_13012025_05_36_02_445930_0002.jpg', '/home/pi/Desktop/images/13012025/05/36/image_13012025_05_36_02_445930_0003.jpg', '/home/pi/Desktop/images/13012025/05/37/image_13012025_05_37_03_009605_0000.jpg', '/home/pi/Desktop/images/13012025/05/37/image_13012025_05_37_03_009605_0001.jpg', '/home/pi/Desktop/images/13012025/05/37/image_13012025_05_37_03_009605_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/36/image_13012025_05_36_02_445930_0001.jpg
/home/pi/Desktop/images/13012025/05/36/image_13012025_05_36_02_445930_0002.jpg
/home/pi/Desktop/images/13012025/05/36/image_13012025_05_36_02_445930_0003.jpg
/home/pi/Desktop/images/13012025/05/37/image_13012025_05_37_03_009605_0000.jpg
/home/pi/Desktop/images/13012025/05/37/image_13012025_05_37_03_009605_0001.jpg
/home/pi/Desktop/images/13012025/05/37/image_13012025_05_37_03_009605_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328584672","1328584666","1328584668","1328584662","1328584670","1328584664"],"photo_ids_order":["1328584662","1328584664","1328584666","1328584668","1328584670","1328584672"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/64aca899e948a6c207443b0ca301523d.jpg","text":"TemporaryFile(/tmp/multipartBody6360613907456560247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743117548,"filename":"image_13012025_05_37_03_009605_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/18f7acbca0da85ce9f7c73aaab355401.jpg","text":"TemporaryFile(/tmp/multipartBody1611328957495184762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743117548,"filename":"image_13012025_05_36_02_445930_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/68dd79b8e282916c528fc620c6244368.jpg","text":"TemporaryFile(/tmp/multipartBody8419837817663370725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743117548,"filename":"image_13012025_05_37_03_009605_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/13b78921e26867f85eab29f50205da8d.jpg","text":"TemporaryFile(/tmp/multipartBody7623892450345488617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743117548,"filename":"image_13012025_05_36_02_445930_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dc25ea130176a44fdab4fb0d08470608.jpg","text":"TemporaryFile(/tmp/multipartBody3875143348629467493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743117548,"filename":"image_13012025_05_37_03_009605_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1b8b8e859ca093ac027250bcf5018717.jpg","text":"TemporaryFile(/tmp/multipartBody1940208872494456745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743117548,"filename":"image_13012025_05_36_02_445930_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328584666","file1":"1328584664","file0":"1328584662","file4":"1328584670","file5":"1328584672","file3":"1328584668"},"map_files_photo_id_array":[{"photo_id":"1328584672","filename":"file5"},{"photo_id":"1328584666","filename":"file2"},{"photo_id":"1328584670","filename":"file4"},{"photo_id":"1328584664","filename":"file1"},{"photo_id":"1328584662","filename":"file0"},{"photo_id":"1328584668","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328584672":["hashtag1","hashtag2"]},{"1328584666":["hashtag1","hashtag2"]},{"1328584668":["hashtag1","hashtag2"]},{"1328584662":["hashtag1","hashtag2"]},{"1328584670":["hashtag1","hashtag2"]},{"1328584664":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328584672, 1328584666, 1328584668, 1328584662, 1328584670, 1328584664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.14209842681885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:38:22.822100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/37/image_13012025_05_37_03_009605_0003.jpg', '/home/pi/Desktop/images/13012025/05/38/image_13012025_05_38_02_595352_0000.jpg', '/home/pi/Desktop/images/13012025/05/38/image_13012025_05_38_02_595352_0001.jpg', '/home/pi/Desktop/images/13012025/05/38/image_13012025_05_38_02_595352_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/37/image_13012025_05_37_03_009605_0003.jpg
/home/pi/Desktop/images/13012025/05/38/image_13012025_05_38_02_595352_0000.jpg
/home/pi/Desktop/images/13012025/05/38/image_13012025_05_38_02_595352_0001.jpg
/home/pi/Desktop/images/13012025/05/38/image_13012025_05_38_02_595352_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328584673","1328584681","1328584675","1328584678"],"photo_ids_order":["1328584673","1328584675","1328584678","1328584681"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d806c8584dcb566a40e33cbe2d07a414.jpg","text":"TemporaryFile(/tmp/multipartBody4466106683955958162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743173457,"filename":"image_13012025_05_37_03_009605_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2860844f2a0e4d4f9f2c15830a8d6f2f.jpg","text":"TemporaryFile(/tmp/multipartBody5334514185327360933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743173457,"filename":"image_13012025_05_38_02_595352_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b5f3e8c329e3076f405acc75424d9413.jpg","text":"TemporaryFile(/tmp/multipartBody5007303088805978836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743173457,"filename":"image_13012025_05_38_02_595352_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e7499dbdb07d82bd217cd2a82bdb3fa6.jpg","text":"TemporaryFile(/tmp/multipartBody1331133454675642952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743173457,"filename":"image_13012025_05_38_02_595352_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328584678","file1":"1328584675","file0":"1328584673","file3":"1328584681"},"map_files_photo_id_array":[{"photo_id":"1328584678","filename":"file2"},{"photo_id":"1328584675","filename":"file1"},{"photo_id":"1328584673","filename":"file0"},{"photo_id":"1328584681","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328584673":["hashtag1","hashtag2"]},{"1328584681":["hashtag1","hashtag2"]},{"1328584675":["hashtag1","hashtag2"]},{"1328584678":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328584673, 1328584681, 1328584675, 1328584678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.450594902038574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:39:22.262822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/38/image_13012025_05_38_02_595352_0003.jpg', '/home/pi/Desktop/images/13012025/05/39/image_13012025_05_39_03_162780_0000.jpg', '/home/pi/Desktop/images/13012025/05/39/image_13012025_05_39_03_162780_0001.jpg', '/home/pi/Desktop/images/13012025/05/39/image_13012025_05_39_03_162780_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/38/image_13012025_05_38_02_595352_0003.jpg
/home/pi/Desktop/images/13012025/05/39/image_13012025_05_39_03_162780_0000.jpg
/home/pi/Desktop/images/13012025/05/39/image_13012025_05_39_03_162780_0001.jpg
/home/pi/Desktop/images/13012025/05/39/image_13012025_05_39_03_162780_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328584762","1328584764","1328584790","1328584778"],"photo_ids_order":["1328584762","1328584764","1328584778","1328584790"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1141eb528223ed10886429f7d56f953c.jpg","text":"TemporaryFile(/tmp/multipartBody5576988895934630811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743232721,"filename":"image_13012025_05_38_02_595352_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/66a835661a5da5118cdbeacba2c4d728.jpg","text":"TemporaryFile(/tmp/multipartBody5021299964623721064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743232721,"filename":"image_13012025_05_39_03_162780_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c90455b99336346e2aca3967ec44fc55.jpg","text":"TemporaryFile(/tmp/multipartBody729382925610404845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743232721,"filename":"image_13012025_05_39_03_162780_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/73083c5dcd2b5f31448cfe598ca472ff.jpg","text":"TemporaryFile(/tmp/multipartBody5955794018021778611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743232721,"filename":"image_13012025_05_39_03_162780_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328584778","file1":"1328584764","file0":"1328584762","file3":"1328584790"},"map_files_photo_id_array":[{"photo_id":"1328584778","filename":"file2"},{"photo_id":"1328584764","filename":"file1"},{"photo_id":"1328584762","filename":"file0"},{"photo_id":"1328584790","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328584762":["hashtag1","hashtag2"]},{"1328584764":["hashtag1","hashtag2"]},{"1328584790":["hashtag1","hashtag2"]},{"1328584778":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328584762, 1328584764, 1328584790, 1328584778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.44701027870178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:40:21.823296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/39/image_13012025_05_39_03_162780_0003.jpg', '/home/pi/Desktop/images/13012025/05/40/image_13012025_05_40_02_659991_0000.jpg', '/home/pi/Desktop/images/13012025/05/40/image_13012025_05_40_02_659991_0001.jpg', '/home/pi/Desktop/images/13012025/05/40/image_13012025_05_40_02_659991_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/39/image_13012025_05_39_03_162780_0003.jpg
/home/pi/Desktop/images/13012025/05/40/image_13012025_05_40_02_659991_0000.jpg
/home/pi/Desktop/images/13012025/05/40/image_13012025_05_40_02_659991_0001.jpg
/home/pi/Desktop/images/13012025/05/40/image_13012025_05_40_02_659991_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.718475341796875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 05:41:02.970389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/39/image_13012025_05_39_03_162780_0003.jpg', '/home/pi/Desktop/images/13012025/05/40/image_13012025_05_40_02_659991_0000.jpg', '/home/pi/Desktop/images/13012025/05/40/image_13012025_05_40_02_659991_0001.jpg', '/home/pi/Desktop/images/13012025/05/40/image_13012025_05_40_02_659991_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/39/image_13012025_05_39_03_162780_0003.jpg
/home/pi/Desktop/images/13012025/05/40/image_13012025_05_40_02_659991_0000.jpg
/home/pi/Desktop/images/13012025/05/40/image_13012025_05_40_02_659991_0001.jpg
/home/pi/Desktop/images/13012025/05/40/image_13012025_05_40_02_659991_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328584805","1328584804","1328584803","1328584806"],"photo_ids_order":["1328584803","1328584804","1328584805","1328584806"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e62239415a36fb05db690e4634dc7b0a.jpg","text":"TemporaryFile(/tmp/multipartBody3741196024026126642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743333150,"filename":"image_13012025_05_40_02_659991_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0ad428c319d4b4c98efd1a7efd3ee7fd.jpg","text":"TemporaryFile(/tmp/multipartBody2398950789093811074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743333150,"filename":"image_13012025_05_40_02_659991_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7b48f073e756b5df571e9a8e4bf8a10c.jpg","text":"TemporaryFile(/tmp/multipartBody6821151232576021467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743333150,"filename":"image_13012025_05_39_03_162780_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0da662ceffe9ae5edcf43afcf4b3fdd9.jpg","text":"TemporaryFile(/tmp/multipartBody7753445238867374130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743333150,"filename":"image_13012025_05_40_02_659991_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328584805","file1":"1328584804","file0":"1328584803","file3":"1328584806"},"map_files_photo_id_array":[{"photo_id":"1328584805","filename":"file2"},{"photo_id":"1328584804","filename":"file1"},{"photo_id":"1328584803","filename":"file0"},{"photo_id":"1328584806","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328584805":["hashtag1","hashtag2"]},{"1328584804":["hashtag1","hashtag2"]},{"1328584803":["hashtag1","hashtag2"]},{"1328584806":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328584805, 1328584804, 1328584803, 1328584806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.18412137031555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 05:42:02.427915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/40/image_13012025_05_40_02_659991_0003.jpg', '/home/pi/Desktop/images/13012025/05/41/image_13012025_05_41_02_181939_0000.jpg', '/home/pi/Desktop/images/13012025/05/41/image_13012025_05_41_02_181939_0001.jpg', '/home/pi/Desktop/images/13012025/05/41/image_13012025_05_41_02_181939_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/40/image_13012025_05_40_02_659991_0003.jpg
/home/pi/Desktop/images/13012025/05/41/image_13012025_05_41_02_181939_0000.jpg
/home/pi/Desktop/images/13012025/05/41/image_13012025_05_41_02_181939_0001.jpg
/home/pi/Desktop/images/13012025/05/41/image_13012025_05_41_02_181939_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.089162111282349 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:42:21.952468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/40/image_13012025_05_40_02_659991_0003.jpg', '/home/pi/Desktop/images/13012025/05/41/image_13012025_05_41_02_181939_0000.jpg', '/home/pi/Desktop/images/13012025/05/41/image_13012025_05_41_02_181939_0001.jpg', '/home/pi/Desktop/images/13012025/05/41/image_13012025_05_41_02_181939_0002.jpg', '/home/pi/Desktop/images/13012025/05/41/image_13012025_05_41_02_181939_0003.jpg', '/home/pi/Desktop/images/13012025/05/42/image_13012025_05_42_02_679601_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/40/image_13012025_05_40_02_659991_0003.jpg
/home/pi/Desktop/images/13012025/05/41/image_13012025_05_41_02_181939_0000.jpg
/home/pi/Desktop/images/13012025/05/41/image_13012025_05_41_02_181939_0001.jpg
/home/pi/Desktop/images/13012025/05/41/image_13012025_05_41_02_181939_0002.jpg
/home/pi/Desktop/images/13012025/05/41/image_13012025_05_41_02_181939_0003.jpg
/home/pi/Desktop/images/13012025/05/42/image_13012025_05_42_02_679601_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328584847","1328584826","1328584841","1328584817","1328584843","1328584845"],"photo_ids_order":["1328584817","1328584826","1328584841","1328584843","1328584845","1328584847"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6bfd70e00702428b0192a60ad82870a0.jpg","text":"TemporaryFile(/tmp/multipartBody1746078022262429556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743417320,"filename":"image_13012025_05_42_02_679601_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1bb30929d0e963916d2a1bb40a945e1e.jpg","text":"TemporaryFile(/tmp/multipartBody8634260590713918670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743417320,"filename":"image_13012025_05_41_02_181939_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b395e6ba8f9bef2a84123e7bfe819c74.jpg","text":"TemporaryFile(/tmp/multipartBody1184700830438590842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743417320,"filename":"image_13012025_05_41_02_181939_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d4a0277c6cec7687735ac69f18a573a4.jpg","text":"TemporaryFile(/tmp/multipartBody5940089669527959285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743417320,"filename":"image_13012025_05_40_02_659991_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a62a567ae8954d00dfa3bdb67b9bc274.jpg","text":"TemporaryFile(/tmp/multipartBody1682975850623077612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743417320,"filename":"image_13012025_05_41_02_181939_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/45bf3b3673b743d7b01ca20da13c84c4.jpg","text":"TemporaryFile(/tmp/multipartBody3291655199927977318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743417320,"filename":"image_13012025_05_41_02_181939_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328584841","file1":"1328584826","file0":"1328584817","file4":"1328584845","file5":"1328584847","file3":"1328584843"},"map_files_photo_id_array":[{"photo_id":"1328584847","filename":"file5"},{"photo_id":"1328584841","filename":"file2"},{"photo_id":"1328584845","filename":"file4"},{"photo_id":"1328584826","filename":"file1"},{"photo_id":"1328584817","filename":"file0"},{"photo_id":"1328584843","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328584847":["hashtag1","hashtag2"]},{"1328584826":["hashtag1","hashtag2"]},{"1328584841":["hashtag1","hashtag2"]},{"1328584817":["hashtag1","hashtag2"]},{"1328584843":["hashtag1","hashtag2"]},{"1328584845":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328584847, 1328584826, 1328584841, 1328584817, 1328584843, 1328584845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.11202263832092 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:43:22.444053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/42/image_13012025_05_42_02_679601_0001.jpg', '/home/pi/Desktop/images/13012025/05/42/image_13012025_05_42_02_679601_0002.jpg', '/home/pi/Desktop/images/13012025/05/42/image_13012025_05_42_02_679601_0003.jpg', '/home/pi/Desktop/images/13012025/05/43/image_13012025_05_43_02_320396_0000.jpg', '/home/pi/Desktop/images/13012025/05/43/image_13012025_05_43_02_320396_0001.jpg', '/home/pi/Desktop/images/13012025/05/43/image_13012025_05_43_02_320396_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/42/image_13012025_05_42_02_679601_0001.jpg
/home/pi/Desktop/images/13012025/05/42/image_13012025_05_42_02_679601_0002.jpg
/home/pi/Desktop/images/13012025/05/42/image_13012025_05_42_02_679601_0003.jpg
/home/pi/Desktop/images/13012025/05/43/image_13012025_05_43_02_320396_0000.jpg
/home/pi/Desktop/images/13012025/05/43/image_13012025_05_43_02_320396_0001.jpg
/home/pi/Desktop/images/13012025/05/43/image_13012025_05_43_02_320396_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328584853","1328584855","1328584849","1328584851","1328584860","1328584857"],"photo_ids_order":["1328584849","1328584851","1328584853","1328584855","1328584857","1328584860"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5fda53815f1a554cdfd13c27ae6428d1.jpg","text":"TemporaryFile(/tmp/multipartBody4616595192683695354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743477793,"filename":"image_13012025_05_42_02_679601_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/26e84e2b9f51cae63d2ab589ecdc0a25.jpg","text":"TemporaryFile(/tmp/multipartBody3083249487209511819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743477793,"filename":"image_13012025_05_43_02_320396_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/13ae1c935f3047ff600f927d0f8ec44d.jpg","text":"TemporaryFile(/tmp/multipartBody6306941312707253300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743477793,"filename":"image_13012025_05_42_02_679601_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a4cf75a997627e60ffcd764f30677ff3.jpg","text":"TemporaryFile(/tmp/multipartBody4758981009953203420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743477793,"filename":"image_13012025_05_42_02_679601_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/27a1e8e0d027a81f6d7680eba8b87957.jpg","text":"TemporaryFile(/tmp/multipartBody1733529352351009404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743477793,"filename":"image_13012025_05_43_02_320396_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2429ca33d52acbf41d6cb4c0850c11a5.jpg","text":"TemporaryFile(/tmp/multipartBody1703546307450543503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743477793,"filename":"image_13012025_05_43_02_320396_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328584853","file1":"1328584851","file0":"1328584849","file4":"1328584857","file5":"1328584860","file3":"1328584855"},"map_files_photo_id_array":[{"photo_id":"1328584860","filename":"file5"},{"photo_id":"1328584853","filename":"file2"},{"photo_id":"1328584857","filename":"file4"},{"photo_id":"1328584851","filename":"file1"},{"photo_id":"1328584849","filename":"file0"},{"photo_id":"1328584855","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328584853":["hashtag1","hashtag2"]},{"1328584855":["hashtag1","hashtag2"]},{"1328584849":["hashtag1","hashtag2"]},{"1328584851":["hashtag1","hashtag2"]},{"1328584860":["hashtag1","hashtag2"]},{"1328584857":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328584853, 1328584855, 1328584849, 1328584851, 1328584860, 1328584857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.44850969314575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:44:21.974244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/43/image_13012025_05_43_02_320396_0003.jpg', '/home/pi/Desktop/images/13012025/05/44/image_13012025_05_44_02_827594_0000.jpg', '/home/pi/Desktop/images/13012025/05/44/image_13012025_05_44_02_827594_0001.jpg', '/home/pi/Desktop/images/13012025/05/44/image_13012025_05_44_02_827594_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/43/image_13012025_05_43_02_320396_0003.jpg
/home/pi/Desktop/images/13012025/05/44/image_13012025_05_44_02_827594_0000.jpg
/home/pi/Desktop/images/13012025/05/44/image_13012025_05_44_02_827594_0001.jpg
/home/pi/Desktop/images/13012025/05/44/image_13012025_05_44_02_827594_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328584907","1328584930","1328584909","1328584911"],"photo_ids_order":["1328584907","1328584909","1328584911","1328584930"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7892d2778303dc993d516f2f823610cc.jpg","text":"TemporaryFile(/tmp/multipartBody7318785607350274536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743532939,"filename":"image_13012025_05_43_02_320396_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9c4f3871a2e693971b439e92ce1d996b.jpg","text":"TemporaryFile(/tmp/multipartBody148331455988251057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743532939,"filename":"image_13012025_05_44_02_827594_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a8a7617ff83656125b163029554f13b8.jpg","text":"TemporaryFile(/tmp/multipartBody591377855035439168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743532939,"filename":"image_13012025_05_44_02_827594_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/06dbb26dcef84f842d63fc0f03a2244e.jpg","text":"TemporaryFile(/tmp/multipartBody7608161955897592432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743532939,"filename":"image_13012025_05_44_02_827594_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328584911","file1":"1328584909","file0":"1328584907","file3":"1328584930"},"map_files_photo_id_array":[{"photo_id":"1328584911","filename":"file2"},{"photo_id":"1328584909","filename":"file1"},{"photo_id":"1328584907","filename":"file0"},{"photo_id":"1328584930","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328584907":["hashtag1","hashtag2"]},{"1328584930":["hashtag1","hashtag2"]},{"1328584909":["hashtag1","hashtag2"]},{"1328584911":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328584907, 1328584930, 1328584909, 1328584911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.27043151855469 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:45:22.457965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/44/image_13012025_05_44_02_827594_0003.jpg', '/home/pi/Desktop/images/13012025/05/45/image_13012025_05_45_02_408015_0000.jpg', '/home/pi/Desktop/images/13012025/05/45/image_13012025_05_45_02_408015_0001.jpg', '/home/pi/Desktop/images/13012025/05/45/image_13012025_05_45_02_408015_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/44/image_13012025_05_44_02_827594_0003.jpg
/home/pi/Desktop/images/13012025/05/45/image_13012025_05_45_02_408015_0000.jpg
/home/pi/Desktop/images/13012025/05/45/image_13012025_05_45_02_408015_0001.jpg
/home/pi/Desktop/images/13012025/05/45/image_13012025_05_45_02_408015_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328584981","1328584975","1328584978","1328584973"],"photo_ids_order":["1328584973","1328584975","1328584978","1328584981"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/09c251b335200b07211b10284f80e0cc.jpg","text":"TemporaryFile(/tmp/multipartBody2035191644069832497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743593381,"filename":"image_13012025_05_45_02_408015_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e7a81e8a7e88026e0fde74cd772822fe.jpg","text":"TemporaryFile(/tmp/multipartBody6826060762996955233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743593381,"filename":"image_13012025_05_45_02_408015_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/14a18d1548cec27bfe86234d7322ee4d.jpg","text":"TemporaryFile(/tmp/multipartBody3251768464252689540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743593381,"filename":"image_13012025_05_45_02_408015_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ab98cfe56d0e0aa275aeaed676a9fa0d.jpg","text":"TemporaryFile(/tmp/multipartBody2046566668200388888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743593381,"filename":"image_13012025_05_44_02_827594_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328584978","file1":"1328584975","file0":"1328584973","file3":"1328584981"},"map_files_photo_id_array":[{"photo_id":"1328584978","filename":"file2"},{"photo_id":"1328584975","filename":"file1"},{"photo_id":"1328584973","filename":"file0"},{"photo_id":"1328584981","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328584981":["hashtag1","hashtag2"]},{"1328584975":["hashtag1","hashtag2"]},{"1328584978":["hashtag1","hashtag2"]},{"1328584973":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328584981, 1328584975, 1328584978, 1328584973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.25029230117798 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:46:22.087066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/45/image_13012025_05_45_02_408015_0003.jpg', '/home/pi/Desktop/images/13012025/05/46/image_13012025_05_46_02_949427_0000.jpg', '/home/pi/Desktop/images/13012025/05/46/image_13012025_05_46_02_949427_0001.jpg', '/home/pi/Desktop/images/13012025/05/46/image_13012025_05_46_02_949427_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/45/image_13012025_05_45_02_408015_0003.jpg
/home/pi/Desktop/images/13012025/05/46/image_13012025_05_46_02_949427_0000.jpg
/home/pi/Desktop/images/13012025/05/46/image_13012025_05_46_02_949427_0001.jpg
/home/pi/Desktop/images/13012025/05/46/image_13012025_05_46_02_949427_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328585027","1328585029","1328585031","1328585025"],"photo_ids_order":["1328585025","1328585027","1328585029","1328585031"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f330c859a7bd78c55ecba0cc508ff4ad.jpg","text":"TemporaryFile(/tmp/multipartBody8022777387359700628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743652933,"filename":"image_13012025_05_46_02_949427_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/19928c08202b523a47e385969abd2dac.jpg","text":"TemporaryFile(/tmp/multipartBody1541336059012582357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743652933,"filename":"image_13012025_05_46_02_949427_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/231984252fac9ca27844395d3e106663.jpg","text":"TemporaryFile(/tmp/multipartBody6865339088475905820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743652933,"filename":"image_13012025_05_46_02_949427_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/75974d47d72c79b00806c873870b4e54.jpg","text":"TemporaryFile(/tmp/multipartBody5839989240054050520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743652933,"filename":"image_13012025_05_45_02_408015_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328585029","file1":"1328585027","file0":"1328585025","file3":"1328585031"},"map_files_photo_id_array":[{"photo_id":"1328585029","filename":"file2"},{"photo_id":"1328585027","filename":"file1"},{"photo_id":"1328585025","filename":"file0"},{"photo_id":"1328585031","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328585027":["hashtag1","hashtag2"]},{"1328585029":["hashtag1","hashtag2"]},{"1328585031":["hashtag1","hashtag2"]},{"1328585025":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328585027, 1328585029, 1328585031, 1328585025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.346920013427734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:47:22.642852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/46/image_13012025_05_46_02_949427_0003.jpg', '/home/pi/Desktop/images/13012025/05/47/image_13012025_05_47_02_517221_0000.jpg', '/home/pi/Desktop/images/13012025/05/47/image_13012025_05_47_02_517221_0001.jpg', '/home/pi/Desktop/images/13012025/05/47/image_13012025_05_47_02_517221_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/46/image_13012025_05_46_02_949427_0003.jpg
/home/pi/Desktop/images/13012025/05/47/image_13012025_05_47_02_517221_0000.jpg
/home/pi/Desktop/images/13012025/05/47/image_13012025_05_47_02_517221_0001.jpg
/home/pi/Desktop/images/13012025/05/47/image_13012025_05_47_02_517221_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328585041","1328585035","1328585037","1328585039"],"photo_ids_order":["1328585035","1328585037","1328585039","1328585041"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/369a008254a6ad520e5296ac2771e39d.jpg","text":"TemporaryFile(/tmp/multipartBody4803633206966299100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743713022,"filename":"image_13012025_05_47_02_517221_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ce84f3c401f1db3662c5c0f5471f1cfe.jpg","text":"TemporaryFile(/tmp/multipartBody2688837054215124452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743713022,"filename":"image_13012025_05_46_02_949427_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5945abab50522190d5dd3f3b40f2553b.jpg","text":"TemporaryFile(/tmp/multipartBody8746500038103646602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743713022,"filename":"image_13012025_05_47_02_517221_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4b6dfc82980a79d455fc50b4178bdb44.jpg","text":"TemporaryFile(/tmp/multipartBody3958852045877116427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743713022,"filename":"image_13012025_05_47_02_517221_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328585039","file1":"1328585037","file0":"1328585035","file3":"1328585041"},"map_files_photo_id_array":[{"photo_id":"1328585039","filename":"file2"},{"photo_id":"1328585037","filename":"file1"},{"photo_id":"1328585035","filename":"file0"},{"photo_id":"1328585041","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328585041":["hashtag1","hashtag2"]},{"1328585035":["hashtag1","hashtag2"]},{"1328585037":["hashtag1","hashtag2"]},{"1328585039":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328585041, 1328585035, 1328585037, 1328585039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.39142680168152 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 05:48:02.435462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:48:22.133536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/47/image_13012025_05_47_02_517221_0003.jpg', '/home/pi/Desktop/images/13012025/05/48/image_13012025_05_48_03_072768_0000.jpg', '/home/pi/Desktop/images/13012025/05/48/image_13012025_05_48_03_072768_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/47/image_13012025_05_47_02_517221_0003.jpg
/home/pi/Desktop/images/13012025/05/48/image_13012025_05_48_03_072768_0000.jpg
/home/pi/Desktop/images/13012025/05/48/image_13012025_05_48_03_072768_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328585058","1328585060","1328585057"],"photo_ids_order":["1328585057","1328585058","1328585060"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/55c14e371b436fcfb17c7a135bae150c.jpg","text":"TemporaryFile(/tmp/multipartBody792646202256712797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743770005,"filename":"image_13012025_05_48_03_072768_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/322a399d412f16ba081c760c5d0732db.jpg","text":"TemporaryFile(/tmp/multipartBody298974538410712911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743770005,"filename":"image_13012025_05_48_03_072768_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d46b799f0d4acf1c9f8d08808a7a5778.jpg","text":"TemporaryFile(/tmp/multipartBody4625410736875448787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743770005,"filename":"image_13012025_05_47_02_517221_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328585060","file1":"1328585058","file0":"1328585057"},"map_files_photo_id_array":[{"photo_id":"1328585060","filename":"file2"},{"photo_id":"1328585058","filename":"file1"},{"photo_id":"1328585057","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328585058":["hashtag1","hashtag2"]},{"1328585060":["hashtag1","hashtag2"]},{"1328585057":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328585058, 1328585060, 1328585057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.216341018676758 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 05:49:03.240820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:49:22.553395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/48/image_13012025_05_48_03_072768_0003.jpg', '/home/pi/Desktop/images/13012025/05/49/image_13012025_05_49_02_490357_0001.jpg', '/home/pi/Desktop/images/13012025/05/49/image_13012025_05_49_02_490357_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/48/image_13012025_05_48_03_072768_0003.jpg
/home/pi/Desktop/images/13012025/05/49/image_13012025_05_49_02_490357_0001.jpg
/home/pi/Desktop/images/13012025/05/49/image_13012025_05_49_02_490357_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328585149","1328585143","1328585151"],"photo_ids_order":["1328585143","1328585149","1328585151"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5bbd783f9bc6a76b15e922f7b5660a9f.jpg","text":"TemporaryFile(/tmp/multipartBody3033124329421396760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743830384,"filename":"image_13012025_05_49_02_490357_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3a1400007197ead0890c63a40368f2d4.jpg","text":"TemporaryFile(/tmp/multipartBody3236850999084599101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743830384,"filename":"image_13012025_05_48_03_072768_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a7aeca49d0b846014f444a3b9aa226e3.jpg","text":"TemporaryFile(/tmp/multipartBody5932118583396505471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743830384,"filename":"image_13012025_05_49_02_490357_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328585151","file1":"1328585149","file0":"1328585143"},"map_files_photo_id_array":[{"photo_id":"1328585151","filename":"file2"},{"photo_id":"1328585149","filename":"file1"},{"photo_id":"1328585143","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328585149":["hashtag1","hashtag2"]},{"1328585143":["hashtag1","hashtag2"]},{"1328585151":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328585149, 1328585143, 1328585151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.338497161865234 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 05:50:02.807280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:50:22.347036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/49/image_13012025_05_49_02_490357_0003.jpg', '/home/pi/Desktop/images/13012025/05/50/image_13012025_05_50_02_999332_0000.jpg', '/home/pi/Desktop/images/13012025/05/50/image_13012025_05_50_02_999332_0001.jpg', '/home/pi/Desktop/images/13012025/05/50/image_13012025_05_50_02_999332_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/49/image_13012025_05_49_02_490357_0003.jpg
/home/pi/Desktop/images/13012025/05/50/image_13012025_05_50_02_999332_0000.jpg
/home/pi/Desktop/images/13012025/05/50/image_13012025_05_50_02_999332_0001.jpg
/home/pi/Desktop/images/13012025/05/50/image_13012025_05_50_02_999332_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.782130241394043 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 05:51:02.320433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/49/image_13012025_05_49_02_490357_0003.jpg', '/home/pi/Desktop/images/13012025/05/50/image_13012025_05_50_02_999332_0000.jpg', '/home/pi/Desktop/images/13012025/05/50/image_13012025_05_50_02_999332_0001.jpg', '/home/pi/Desktop/images/13012025/05/50/image_13012025_05_50_02_999332_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/49/image_13012025_05_49_02_490357_0003.jpg
/home/pi/Desktop/images/13012025/05/50/image_13012025_05_50_02_999332_0000.jpg
/home/pi/Desktop/images/13012025/05/50/image_13012025_05_50_02_999332_0001.jpg
/home/pi/Desktop/images/13012025/05/50/image_13012025_05_50_02_999332_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328585219","1328585218","1328585220","1328585217"],"photo_ids_order":["1328585217","1328585218","1328585219","1328585220"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f871e8c7d84a55e210161d0b70125307.jpg","text":"TemporaryFile(/tmp/multipartBody3308925655675944355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743932576,"filename":"image_13012025_05_50_02_999332_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ee79872807e63d4a56fdc4236f0e5941.jpg","text":"TemporaryFile(/tmp/multipartBody5839998030510636610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743932576,"filename":"image_13012025_05_50_02_999332_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/764b2372b0f89441158cf6fb0c235fb3.jpg","text":"TemporaryFile(/tmp/multipartBody3408648477333857300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743932576,"filename":"image_13012025_05_50_02_999332_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/da66886928ad061d56eb68b4ee63fbaa.jpg","text":"TemporaryFile(/tmp/multipartBody6942000121642181660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736743932576,"filename":"image_13012025_05_49_02_490357_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328585219","file1":"1328585218","file0":"1328585217","file3":"1328585220"},"map_files_photo_id_array":[{"photo_id":"1328585219","filename":"file2"},{"photo_id":"1328585218","filename":"file1"},{"photo_id":"1328585217","filename":"file0"},{"photo_id":"1328585220","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328585219":["hashtag1","hashtag2"]},{"1328585218":["hashtag1","hashtag2"]},{"1328585220":["hashtag1","hashtag2"]},{"1328585217":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328585219, 1328585218, 1328585220, 1328585217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.49743986129761 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 05:52:03.067723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/50/image_13012025_05_50_02_999332_0003.jpg', '/home/pi/Desktop/images/13012025/05/51/image_13012025_05_51_02_720731_0000.jpg', '/home/pi/Desktop/images/13012025/05/51/image_13012025_05_51_02_720731_0001.jpg', '/home/pi/Desktop/images/13012025/05/51/image_13012025_05_51_02_720731_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/50/image_13012025_05_50_02_999332_0003.jpg
/home/pi/Desktop/images/13012025/05/51/image_13012025_05_51_02_720731_0000.jpg
/home/pi/Desktop/images/13012025/05/51/image_13012025_05_51_02_720731_0001.jpg
/home/pi/Desktop/images/13012025/05/51/image_13012025_05_51_02_720731_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.73725175857544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:52:22.626478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/50/image_13012025_05_50_02_999332_0003.jpg', '/home/pi/Desktop/images/13012025/05/51/image_13012025_05_51_02_720731_0000.jpg', '/home/pi/Desktop/images/13012025/05/51/image_13012025_05_51_02_720731_0001.jpg', '/home/pi/Desktop/images/13012025/05/51/image_13012025_05_51_02_720731_0002.jpg', '/home/pi/Desktop/images/13012025/05/51/image_13012025_05_51_02_720731_0003.jpg', '/home/pi/Desktop/images/13012025/05/52/image_13012025_05_52_02_276522_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/50/image_13012025_05_50_02_999332_0003.jpg
/home/pi/Desktop/images/13012025/05/51/image_13012025_05_51_02_720731_0000.jpg
/home/pi/Desktop/images/13012025/05/51/image_13012025_05_51_02_720731_0001.jpg
/home/pi/Desktop/images/13012025/05/51/image_13012025_05_51_02_720731_0002.jpg
/home/pi/Desktop/images/13012025/05/51/image_13012025_05_51_02_720731_0003.jpg
/home/pi/Desktop/images/13012025/05/52/image_13012025_05_52_02_276522_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328585251","1328585257","1328585259","1328585253","1328585255","1328585249"],"photo_ids_order":["1328585249","1328585251","1328585253","1328585255","1328585257","1328585259"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c35d71737a7de78f0eb97a43cba26bb8.jpg","text":"TemporaryFile(/tmp/multipartBody3071567780858994637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744017585,"filename":"image_13012025_05_51_02_720731_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/10ca5c53b1076c76a2afa558f377a51e.jpg","text":"TemporaryFile(/tmp/multipartBody6062043602101276156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744017585,"filename":"image_13012025_05_51_02_720731_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c5bff30d96333d254f1d7a8eddb05e9f.jpg","text":"TemporaryFile(/tmp/multipartBody8736220266041519040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744017585,"filename":"image_13012025_05_52_02_276522_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f70ea0291944c3681ea2ee4385a720e5.jpg","text":"TemporaryFile(/tmp/multipartBody1013404331675935938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744017585,"filename":"image_13012025_05_51_02_720731_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5e751972652e18e5e8eb6e3a5d46342a.jpg","text":"TemporaryFile(/tmp/multipartBody4271683151728085331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744017585,"filename":"image_13012025_05_51_02_720731_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f8d65f561c9f9b7ea712dd0c3d534871.jpg","text":"TemporaryFile(/tmp/multipartBody697611690583502256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744017585,"filename":"image_13012025_05_50_02_999332_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328585253","file1":"1328585251","file0":"1328585249","file4":"1328585257","file5":"1328585259","file3":"1328585255"},"map_files_photo_id_array":[{"photo_id":"1328585259","filename":"file5"},{"photo_id":"1328585253","filename":"file2"},{"photo_id":"1328585257","filename":"file4"},{"photo_id":"1328585251","filename":"file1"},{"photo_id":"1328585249","filename":"file0"},{"photo_id":"1328585255","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328585251":["hashtag1","hashtag2"]},{"1328585257":["hashtag1","hashtag2"]},{"1328585259":["hashtag1","hashtag2"]},{"1328585253":["hashtag1","hashtag2"]},{"1328585255":["hashtag1","hashtag2"]},{"1328585249":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328585251, 1328585257, 1328585259, 1328585253, 1328585255, 1328585249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.03877091407776 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:53:22.108806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/52/image_13012025_05_52_02_276522_0001.jpg', '/home/pi/Desktop/images/13012025/05/52/image_13012025_05_52_02_276522_0002.jpg', '/home/pi/Desktop/images/13012025/05/52/image_13012025_05_52_02_276522_0003.jpg', '/home/pi/Desktop/images/13012025/05/53/image_13012025_05_53_02_951557_0000.jpg', '/home/pi/Desktop/images/13012025/05/53/image_13012025_05_53_02_951557_0001.jpg', '/home/pi/Desktop/images/13012025/05/53/image_13012025_05_53_02_951557_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/52/image_13012025_05_52_02_276522_0001.jpg
/home/pi/Desktop/images/13012025/05/52/image_13012025_05_52_02_276522_0002.jpg
/home/pi/Desktop/images/13012025/05/52/image_13012025_05_52_02_276522_0003.jpg
/home/pi/Desktop/images/13012025/05/53/image_13012025_05_53_02_951557_0000.jpg
/home/pi/Desktop/images/13012025/05/53/image_13012025_05_53_02_951557_0001.jpg
/home/pi/Desktop/images/13012025/05/53/image_13012025_05_53_02_951557_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328585263","1328585269","1328585271","1328585265","1328585267","1328585261"],"photo_ids_order":["1328585261","1328585263","1328585265","1328585267","1328585269","1328585271"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c424d83563a0d46bf04cebc8e93ff0b2.jpg","text":"TemporaryFile(/tmp/multipartBody1799917621551495383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744077316,"filename":"image_13012025_05_52_02_276522_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6ae24277f2002be170aa70a4980850f2.jpg","text":"TemporaryFile(/tmp/multipartBody2851874234802249961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744077316,"filename":"image_13012025_05_53_02_951557_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/009679742dc06f9ec572688a6f9293de.jpg","text":"TemporaryFile(/tmp/multipartBody5291089112445156044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744077316,"filename":"image_13012025_05_53_02_951557_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/11e4a032bc5876497b4ace80ae667074.jpg","text":"TemporaryFile(/tmp/multipartBody7552712583914685434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744077316,"filename":"image_13012025_05_52_02_276522_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/df2dc6be779ad5f561daeda6c4c4678d.jpg","text":"TemporaryFile(/tmp/multipartBody2556156103703903689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744077316,"filename":"image_13012025_05_53_02_951557_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/abf8ddbcd3defc16410746d59ccf5ee8.jpg","text":"TemporaryFile(/tmp/multipartBody64244718739518165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744077316,"filename":"image_13012025_05_52_02_276522_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328585265","file1":"1328585263","file0":"1328585261","file4":"1328585269","file5":"1328585271","file3":"1328585267"},"map_files_photo_id_array":[{"photo_id":"1328585271","filename":"file5"},{"photo_id":"1328585265","filename":"file2"},{"photo_id":"1328585269","filename":"file4"},{"photo_id":"1328585263","filename":"file1"},{"photo_id":"1328585261","filename":"file0"},{"photo_id":"1328585267","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328585263":["hashtag1","hashtag2"]},{"1328585269":["hashtag1","hashtag2"]},{"1328585271":["hashtag1","hashtag2"]},{"1328585265":["hashtag1","hashtag2"]},{"1328585267":["hashtag1","hashtag2"]},{"1328585261":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328585263, 1328585269, 1328585271, 1328585265, 1328585267, 1328585261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.823355197906494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:54:22.587965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/53/image_13012025_05_53_02_951557_0003.jpg', '/home/pi/Desktop/images/13012025/05/54/image_13012025_05_54_02_479291_0000.jpg', '/home/pi/Desktop/images/13012025/05/54/image_13012025_05_54_02_479291_0001.jpg', '/home/pi/Desktop/images/13012025/05/54/image_13012025_05_54_02_479291_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/53/image_13012025_05_53_02_951557_0003.jpg
/home/pi/Desktop/images/13012025/05/54/image_13012025_05_54_02_479291_0000.jpg
/home/pi/Desktop/images/13012025/05/54/image_13012025_05_54_02_479291_0001.jpg
/home/pi/Desktop/images/13012025/05/54/image_13012025_05_54_02_479291_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328585272","1328585274","1328585307","1328585291"],"photo_ids_order":["1328585272","1328585274","1328585291","1328585307"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dd2232acb869d8d9f9a6f4b4286bacda.jpg","text":"TemporaryFile(/tmp/multipartBody3955701526136756571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744132848,"filename":"image_13012025_05_53_02_951557_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/06fd41658798d5af50a2dd7ba97d5298.jpg","text":"TemporaryFile(/tmp/multipartBody1497559367828299917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744132848,"filename":"image_13012025_05_54_02_479291_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/238077ee91ee4c67cdbe52ea4990d4b1.jpg","text":"TemporaryFile(/tmp/multipartBody4543782947064602923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744132848,"filename":"image_13012025_05_54_02_479291_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0e6a47812ce2c94f98fe7586bfe85776.jpg","text":"TemporaryFile(/tmp/multipartBody2357154529124721458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744132848,"filename":"image_13012025_05_54_02_479291_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328585291","file1":"1328585274","file0":"1328585272","file3":"1328585307"},"map_files_photo_id_array":[{"photo_id":"1328585291","filename":"file2"},{"photo_id":"1328585274","filename":"file1"},{"photo_id":"1328585272","filename":"file0"},{"photo_id":"1328585307","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328585272":["hashtag1","hashtag2"]},{"1328585274":["hashtag1","hashtag2"]},{"1328585307":["hashtag1","hashtag2"]},{"1328585291":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328585272, 1328585274, 1328585307, 1328585291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.93034243583679 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:55:22.135442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/54/image_13012025_05_54_02_479291_0003.jpg', '/home/pi/Desktop/images/13012025/05/55/image_13012025_05_55_02_947262_0000.jpg', '/home/pi/Desktop/images/13012025/05/55/image_13012025_05_55_02_947262_0001.jpg', '/home/pi/Desktop/images/13012025/05/55/image_13012025_05_55_02_947262_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/54/image_13012025_05_54_02_479291_0003.jpg
/home/pi/Desktop/images/13012025/05/55/image_13012025_05_55_02_947262_0000.jpg
/home/pi/Desktop/images/13012025/05/55/image_13012025_05_55_02_947262_0001.jpg
/home/pi/Desktop/images/13012025/05/55/image_13012025_05_55_02_947262_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328585398","1328585401","1328585394","1328585396"],"photo_ids_order":["1328585394","1328585396","1328585398","1328585401"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/945c6d678b13272dcb2d10f899096445.jpg","text":"TemporaryFile(/tmp/multipartBody3665233277442436836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744192579,"filename":"image_13012025_05_55_02_947262_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/934bb042b771771d11ffb4afd9c7eb95.jpg","text":"TemporaryFile(/tmp/multipartBody990373330219777484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744192579,"filename":"image_13012025_05_55_02_947262_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dddc1a2566491b9dd4ebab4c322daf93.jpg","text":"TemporaryFile(/tmp/multipartBody2158914329623814336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744192579,"filename":"image_13012025_05_54_02_479291_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/162d12a150dca49294e6d674bce42982.jpg","text":"TemporaryFile(/tmp/multipartBody7502770553296455023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744192579,"filename":"image_13012025_05_55_02_947262_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328585398","file1":"1328585396","file0":"1328585394","file3":"1328585401"},"map_files_photo_id_array":[{"photo_id":"1328585398","filename":"file2"},{"photo_id":"1328585396","filename":"file1"},{"photo_id":"1328585394","filename":"file0"},{"photo_id":"1328585401","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328585398":["hashtag1","hashtag2"]},{"1328585401":["hashtag1","hashtag2"]},{"1328585394":["hashtag1","hashtag2"]},{"1328585396":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328585398, 1328585401, 1328585394, 1328585396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.75947833061218 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:56:22.570728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/55/image_13012025_05_55_02_947262_0003.jpg', '/home/pi/Desktop/images/13012025/05/56/image_13012025_05_56_02_471607_0000.jpg', '/home/pi/Desktop/images/13012025/05/56/image_13012025_05_56_02_471607_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/55/image_13012025_05_55_02_947262_0003.jpg
/home/pi/Desktop/images/13012025/05/56/image_13012025_05_56_02_471607_0000.jpg
/home/pi/Desktop/images/13012025/05/56/image_13012025_05_56_02_471607_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328585405","1328585407","1328585404"],"photo_ids_order":["1328585404","1328585405","1328585407"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0ba5a384a9e5372597fb57ee9b794492.jpg","text":"TemporaryFile(/tmp/multipartBody1691943349960901397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744250470,"filename":"image_13012025_05_56_02_471607_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c393033f4a9f8c5e43de1f872ac16ea4.jpg","text":"TemporaryFile(/tmp/multipartBody4680621029479781668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744250470,"filename":"image_13012025_05_56_02_471607_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ddb7275fc878308a0917c6c8018426a5.jpg","text":"TemporaryFile(/tmp/multipartBody8701261831300052912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744250470,"filename":"image_13012025_05_55_02_947262_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328585407","file1":"1328585405","file0":"1328585404"},"map_files_photo_id_array":[{"photo_id":"1328585407","filename":"file2"},{"photo_id":"1328585405","filename":"file1"},{"photo_id":"1328585404","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328585405":["hashtag1","hashtag2"]},{"1328585407":["hashtag1","hashtag2"]},{"1328585404":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328585405, 1328585407, 1328585404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.44329571723938 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 05:57:02.798014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:57:22.154147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/56/image_13012025_05_56_02_471607_0002.jpg', '/home/pi/Desktop/images/13012025/05/57/image_13012025_05_57_02_980103_0000.jpg', '/home/pi/Desktop/images/13012025/05/57/image_13012025_05_57_02_980103_0001.jpg', '/home/pi/Desktop/images/13012025/05/57/image_13012025_05_57_02_980103_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/56/image_13012025_05_56_02_471607_0002.jpg
/home/pi/Desktop/images/13012025/05/57/image_13012025_05_57_02_980103_0000.jpg
/home/pi/Desktop/images/13012025/05/57/image_13012025_05_57_02_980103_0001.jpg
/home/pi/Desktop/images/13012025/05/57/image_13012025_05_57_02_980103_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328585438","1328585440","1328585421","1328585418"],"photo_ids_order":["1328585418","1328585421","1328585438","1328585440"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ceb82b5c9846ae1ef6d749db26194a90.jpg","text":"TemporaryFile(/tmp/multipartBody3980601176200036724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744312475,"filename":"image_13012025_05_57_02_980103_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/da904bca95a448b862377a23a5dbb6a9.jpg","text":"TemporaryFile(/tmp/multipartBody1288742546423421236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744312475,"filename":"image_13012025_05_57_02_980103_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ae093ffaa07e656e60bf4b60e8a3fc0a.jpg","text":"TemporaryFile(/tmp/multipartBody1735799760964970700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744312475,"filename":"image_13012025_05_57_02_980103_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6057127dffd3acd6efa543b1b7d1ac44.jpg","text":"TemporaryFile(/tmp/multipartBody8423993877790447418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744312475,"filename":"image_13012025_05_56_02_471607_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328585438","file1":"1328585421","file0":"1328585418","file3":"1328585440"},"map_files_photo_id_array":[{"photo_id":"1328585438","filename":"file2"},{"photo_id":"1328585421","filename":"file1"},{"photo_id":"1328585418","filename":"file0"},{"photo_id":"1328585440","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328585438":["hashtag1","hashtag2"]},{"1328585440":["hashtag1","hashtag2"]},{"1328585421":["hashtag1","hashtag2"]},{"1328585418":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328585438, 1328585440, 1328585421, 1328585418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.292487144470215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 05:59:02.406572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 05:59:21.898738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/57/image_13012025_05_57_02_980103_0003.jpg', '/home/pi/Desktop/images/13012025/05/58/image_13012025_05_58_02_509743_0000.jpg', '/home/pi/Desktop/images/13012025/05/58/image_13012025_05_58_02_509743_0001.jpg', '/home/pi/Desktop/images/13012025/05/58/image_13012025_05_58_02_509743_0002.jpg', '/home/pi/Desktop/images/13012025/05/58/image_13012025_05_58_02_509743_0003.jpg', '/home/pi/Desktop/images/13012025/05/59/image_13012025_05_59_03_163468_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/57/image_13012025_05_57_02_980103_0003.jpg
/home/pi/Desktop/images/13012025/05/58/image_13012025_05_58_02_509743_0000.jpg
/home/pi/Desktop/images/13012025/05/58/image_13012025_05_58_02_509743_0001.jpg
/home/pi/Desktop/images/13012025/05/58/image_13012025_05_58_02_509743_0002.jpg
/home/pi/Desktop/images/13012025/05/58/image_13012025_05_58_02_509743_0003.jpg
/home/pi/Desktop/images/13012025/05/59/image_13012025_05_59_03_163468_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328586109","1328586267","1328586135","1328586303","1328586111","1328586290"],"photo_ids_order":["1328586109","1328586111","1328586135","1328586267","1328586290","1328586303"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e2399a935002dec2ee0cdfc3acc0e32b.jpg","text":"TemporaryFile(/tmp/multipartBody7998268932762907596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744437067,"filename":"image_13012025_05_57_02_980103_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/80b5ff0900e2e6b861012add1743df8d.jpg","text":"TemporaryFile(/tmp/multipartBody694828184682799102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744437067,"filename":"image_13012025_05_58_02_509743_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dcf4e6eda6cff94def7820f5ae64d5e1.jpg","text":"TemporaryFile(/tmp/multipartBody1244389319898584912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744437067,"filename":"image_13012025_05_58_02_509743_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d120390551897f09c1b845070dbf618f.jpg","text":"TemporaryFile(/tmp/multipartBody8860795455439709997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744437067,"filename":"image_13012025_05_59_03_163468_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8529aa4edf21eff8beb94845ba6a70e4.jpg","text":"TemporaryFile(/tmp/multipartBody544463686988979384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744437067,"filename":"image_13012025_05_58_02_509743_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ea173fda7e1d61f1f6358e2b1e1142af.jpg","text":"TemporaryFile(/tmp/multipartBody2517671793759322701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744437067,"filename":"image_13012025_05_58_02_509743_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328586135","file1":"1328586111","file0":"1328586109","file4":"1328586290","file5":"1328586303","file3":"1328586267"},"map_files_photo_id_array":[{"photo_id":"1328586303","filename":"file5"},{"photo_id":"1328586135","filename":"file2"},{"photo_id":"1328586290","filename":"file4"},{"photo_id":"1328586111","filename":"file1"},{"photo_id":"1328586109","filename":"file0"},{"photo_id":"1328586267","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328586109":["hashtag1","hashtag2"]},{"1328586267":["hashtag1","hashtag2"]},{"1328586135":["hashtag1","hashtag2"]},{"1328586303":["hashtag1","hashtag2"]},{"1328586111":["hashtag1","hashtag2"]},{"1328586290":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328586109, 1328586267, 1328586135, 1328586303, 1328586111, 1328586290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.99174189567566 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:00:22.553983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/59/image_13012025_05_59_03_163468_0001.jpg', '/home/pi/Desktop/images/13012025/05/59/image_13012025_05_59_03_163468_0002.jpg', '/home/pi/Desktop/images/13012025/05/59/image_13012025_05_59_03_163468_0003.jpg', '/home/pi/Desktop/images/13012025/06/00/image_13012025_06_00_02_396841_0000.jpg', '/home/pi/Desktop/images/13012025/06/00/image_13012025_06_00_02_396841_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/05/59/image_13012025_05_59_03_163468_0001.jpg
/home/pi/Desktop/images/13012025/05/59/image_13012025_05_59_03_163468_0002.jpg
/home/pi/Desktop/images/13012025/05/59/image_13012025_05_59_03_163468_0003.jpg
/home/pi/Desktop/images/13012025/06/00/image_13012025_06_00_02_396841_0000.jpg
/home/pi/Desktop/images/13012025/06/00/image_13012025_06_00_02_396841_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328586312","1328586309","1328586338","1328586320","1328586308"],"photo_ids_order":["1328586308","1328586309","1328586312","1328586320","1328586338"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ab400efa54ddc619538f91948ff9b0e8.jpg","text":"TemporaryFile(/tmp/multipartBody6731453182134985719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744495422,"filename":"image_13012025_05_59_03_163468_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/943c72350ca26873b5abcd027af9b8fc.jpg","text":"TemporaryFile(/tmp/multipartBody2426966871244017216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744495422,"filename":"image_13012025_05_59_03_163468_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/393f693ef0cf762a0e34a41176eb7dcf.jpg","text":"TemporaryFile(/tmp/multipartBody387339570944566845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744495422,"filename":"image_13012025_06_00_02_396841_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b36a98e806503750d8cd792cf74e6c72.jpg","text":"TemporaryFile(/tmp/multipartBody6467308898765633036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744495422,"filename":"image_13012025_06_00_02_396841_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/28f0549b84c5a135f23a3230a03c7485.jpg","text":"TemporaryFile(/tmp/multipartBody3098242111306280567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744495422,"filename":"image_13012025_05_59_03_163468_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328586312","file1":"1328586309","file0":"1328586308","file4":"1328586338","file3":"1328586320"},"map_files_photo_id_array":[{"photo_id":"1328586312","filename":"file2"},{"photo_id":"1328586338","filename":"file4"},{"photo_id":"1328586309","filename":"file1"},{"photo_id":"1328586308","filename":"file0"},{"photo_id":"1328586320","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328586312":["hashtag1","hashtag2"]},{"1328586309":["hashtag1","hashtag2"]},{"1328586338":["hashtag1","hashtag2"]},{"1328586320":["hashtag1","hashtag2"]},{"1328586308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328586312, 1328586309, 1328586338, 1328586320, 1328586308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.33341360092163 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:01:21.992103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/00/image_13012025_06_00_02_396841_0002.jpg', '/home/pi/Desktop/images/13012025/06/01/image_13012025_06_01_02_896591_0000.jpg', '/home/pi/Desktop/images/13012025/06/01/image_13012025_06_01_02_896591_0001.jpg', '/home/pi/Desktop/images/13012025/06/01/image_13012025_06_01_02_896591_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/00/image_13012025_06_00_02_396841_0002.jpg
/home/pi/Desktop/images/13012025/06/01/image_13012025_06_01_02_896591_0000.jpg
/home/pi/Desktop/images/13012025/06/01/image_13012025_06_01_02_896591_0001.jpg
/home/pi/Desktop/images/13012025/06/01/image_13012025_06_01_02_896591_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328586351","1328586354","1328586348","1328586345"],"photo_ids_order":["1328586345","1328586348","1328586351","1328586354"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d2da61936e252e6f41fffbe90a6efc0a.jpg","text":"TemporaryFile(/tmp/multipartBody5167209083309984862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744552176,"filename":"image_13012025_06_01_02_896591_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/51ccb5efbbe1405e26899b1b67c9f4d6.jpg","text":"TemporaryFile(/tmp/multipartBody4708195938327644634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744552176,"filename":"image_13012025_06_01_02_896591_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/72a7ccf1c44e320fcc660dc671500fc8.jpg","text":"TemporaryFile(/tmp/multipartBody1982211098656393818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744552176,"filename":"image_13012025_06_01_02_896591_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7fe76c501c7ff3d85d8d49c177cca4cd.jpg","text":"TemporaryFile(/tmp/multipartBody6022457299737997622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744552176,"filename":"image_13012025_06_00_02_396841_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328586351","file1":"1328586348","file0":"1328586345","file3":"1328586354"},"map_files_photo_id_array":[{"photo_id":"1328586351","filename":"file2"},{"photo_id":"1328586348","filename":"file1"},{"photo_id":"1328586345","filename":"file0"},{"photo_id":"1328586354","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328586351":["hashtag1","hashtag2"]},{"1328586354":["hashtag1","hashtag2"]},{"1328586348":["hashtag1","hashtag2"]},{"1328586345":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328586351, 1328586354, 1328586348, 1328586345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.01709866523743 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:02:02.905603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:02:22.518569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/01/image_13012025_06_01_02_896591_0003.jpg', '/home/pi/Desktop/images/13012025/06/02/image_13012025_06_02_02_430801_0000.jpg', '/home/pi/Desktop/images/13012025/06/02/image_13012025_06_02_02_430801_0001.jpg', '/home/pi/Desktop/images/13012025/06/02/image_13012025_06_02_02_430801_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/01/image_13012025_06_01_02_896591_0003.jpg
/home/pi/Desktop/images/13012025/06/02/image_13012025_06_02_02_430801_0000.jpg
/home/pi/Desktop/images/13012025/06/02/image_13012025_06_02_02_430801_0001.jpg
/home/pi/Desktop/images/13012025/06/02/image_13012025_06_02_02_430801_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328586374","1328586371","1328586365","1328586368"],"photo_ids_order":["1328586365","1328586368","1328586371","1328586374"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7892e2069f226fd4237c7b01e8414a2c.jpg","text":"TemporaryFile(/tmp/multipartBody3330245786973336700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744612722,"filename":"image_13012025_06_02_02_430801_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/705436e35516d5cbdcfc8476eb0ab48f.jpg","text":"TemporaryFile(/tmp/multipartBody6098712413630926525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744612722,"filename":"image_13012025_06_02_02_430801_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/40a3c34583538578d0e7278c9090458c.jpg","text":"TemporaryFile(/tmp/multipartBody1154279413979131863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744612722,"filename":"image_13012025_06_01_02_896591_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1e37830eb1f9f41600923c145ab8c9e6.jpg","text":"TemporaryFile(/tmp/multipartBody4033653474618365822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744612722,"filename":"image_13012025_06_02_02_430801_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328586371","file1":"1328586368","file0":"1328586365","file3":"1328586374"},"map_files_photo_id_array":[{"photo_id":"1328586371","filename":"file2"},{"photo_id":"1328586368","filename":"file1"},{"photo_id":"1328586365","filename":"file0"},{"photo_id":"1328586374","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328586374":["hashtag1","hashtag2"]},{"1328586371":["hashtag1","hashtag2"]},{"1328586365":["hashtag1","hashtag2"]},{"1328586368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328586374, 1328586371, 1328586365, 1328586368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.5486159324646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:03:02.521896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:03:21.966618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/02/image_13012025_06_02_02_430801_0003.jpg', '/home/pi/Desktop/images/13012025/06/03/image_13012025_06_03_02_931005_0000.jpg', '/home/pi/Desktop/images/13012025/06/03/image_13012025_06_03_02_931005_0001.jpg', '/home/pi/Desktop/images/13012025/06/03/image_13012025_06_03_02_931005_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/02/image_13012025_06_02_02_430801_0003.jpg
/home/pi/Desktop/images/13012025/06/03/image_13012025_06_03_02_931005_0000.jpg
/home/pi/Desktop/images/13012025/06/03/image_13012025_06_03_02_931005_0001.jpg
/home/pi/Desktop/images/13012025/06/03/image_13012025_06_03_02_931005_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328586733","1328586940","1328586551","1328587078"],"photo_ids_order":["1328586551","1328586733","1328586940","1328587078"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3b4fc0e994ff4e680c3256ec3fd2558c.jpg","text":"TemporaryFile(/tmp/multipartBody8767210212811036722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744672334,"filename":"image_13012025_06_03_02_931005_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/67f8f87ad61d98b3725a0fb0d3a5fc5e.jpg","text":"TemporaryFile(/tmp/multipartBody7151397474731680074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744672334,"filename":"image_13012025_06_03_02_931005_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7cfe527e5f61e67591e10b301119b615.jpg","text":"TemporaryFile(/tmp/multipartBody8423986616721890565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744672334,"filename":"image_13012025_06_02_02_430801_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ce1bf548e5e3a5b860942883f78cd91f.jpg","text":"TemporaryFile(/tmp/multipartBody930212054484668216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744672334,"filename":"image_13012025_06_03_02_931005_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328586940","file1":"1328586733","file0":"1328586551","file3":"1328587078"},"map_files_photo_id_array":[{"photo_id":"1328586940","filename":"file2"},{"photo_id":"1328586733","filename":"file1"},{"photo_id":"1328586551","filename":"file0"},{"photo_id":"1328587078","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328586733":["hashtag1","hashtag2"]},{"1328586940":["hashtag1","hashtag2"]},{"1328586551":["hashtag1","hashtag2"]},{"1328587078":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328586733, 1328586940, 1328586551, 1328587078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.118836402893066 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:04:22.604304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/03/image_13012025_06_03_02_931005_0003.jpg', '/home/pi/Desktop/images/13012025/06/04/image_13012025_06_04_02_371742_0000.jpg', '/home/pi/Desktop/images/13012025/06/04/image_13012025_06_04_02_371742_0001.jpg', '/home/pi/Desktop/images/13012025/06/04/image_13012025_06_04_02_371742_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/03/image_13012025_06_03_02_931005_0003.jpg
/home/pi/Desktop/images/13012025/06/04/image_13012025_06_04_02_371742_0000.jpg
/home/pi/Desktop/images/13012025/06/04/image_13012025_06_04_02_371742_0001.jpg
/home/pi/Desktop/images/13012025/06/04/image_13012025_06_04_02_371742_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328587105","1328587098","1328587314","1328587141"],"photo_ids_order":["1328587098","1328587105","1328587141","1328587314"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/38b9c90f7ae1d48dccd9f4ec4d2e386d.jpg","text":"TemporaryFile(/tmp/multipartBody7125089859493119472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744732976,"filename":"image_13012025_06_04_02_371742_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/739c6fa3f4b4c7dba68c69a84ee4d007.jpg","text":"TemporaryFile(/tmp/multipartBody5261437613213920027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744732976,"filename":"image_13012025_06_03_02_931005_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dde1b62e1b1d1e566f63ffdd35bc4cae.jpg","text":"TemporaryFile(/tmp/multipartBody2772865469624619289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744732976,"filename":"image_13012025_06_04_02_371742_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/655c73dec9b81d8283c678e3502c504c.jpg","text":"TemporaryFile(/tmp/multipartBody6959393421489242127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744732976,"filename":"image_13012025_06_04_02_371742_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328587141","file1":"1328587105","file0":"1328587098","file3":"1328587314"},"map_files_photo_id_array":[{"photo_id":"1328587141","filename":"file2"},{"photo_id":"1328587105","filename":"file1"},{"photo_id":"1328587098","filename":"file0"},{"photo_id":"1328587314","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328587105":["hashtag1","hashtag2"]},{"1328587098":["hashtag1","hashtag2"]},{"1328587314":["hashtag1","hashtag2"]},{"1328587141":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328587105, 1328587098, 1328587314, 1328587141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.49913048744202 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:05:22.145238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/04/image_13012025_06_04_02_371742_0003.jpg', '/home/pi/Desktop/images/13012025/06/05/image_13012025_06_05_02_988502_0000.jpg', '/home/pi/Desktop/images/13012025/06/05/image_13012025_06_05_02_988502_0001.jpg', '/home/pi/Desktop/images/13012025/06/05/image_13012025_06_05_02_988502_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/04/image_13012025_06_04_02_371742_0003.jpg
/home/pi/Desktop/images/13012025/06/05/image_13012025_06_05_02_988502_0000.jpg
/home/pi/Desktop/images/13012025/06/05/image_13012025_06_05_02_988502_0001.jpg
/home/pi/Desktop/images/13012025/06/05/image_13012025_06_05_02_988502_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328587572","1328587569","1328587565","1328587562"],"photo_ids_order":["1328587562","1328587565","1328587569","1328587572"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dc9bb7c811c7e48da61492bb112f21e8.jpg","text":"TemporaryFile(/tmp/multipartBody4078925795272555829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744792453,"filename":"image_13012025_06_05_02_988502_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/342a1c69f2cf4d3ea45f98641c48169a.jpg","text":"TemporaryFile(/tmp/multipartBody8973057661160015548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744792453,"filename":"image_13012025_06_05_02_988502_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b88bcaafb658670d61da8f0200727ee5.jpg","text":"TemporaryFile(/tmp/multipartBody2370020703237406775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744792453,"filename":"image_13012025_06_05_02_988502_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8425d8467233e44f8b0046ccabbc17de.jpg","text":"TemporaryFile(/tmp/multipartBody8539809583749605325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744792453,"filename":"image_13012025_06_04_02_371742_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328587569","file1":"1328587565","file0":"1328587562","file3":"1328587572"},"map_files_photo_id_array":[{"photo_id":"1328587569","filename":"file2"},{"photo_id":"1328587565","filename":"file1"},{"photo_id":"1328587562","filename":"file0"},{"photo_id":"1328587572","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328587572":["hashtag1","hashtag2"]},{"1328587569":["hashtag1","hashtag2"]},{"1328587565":["hashtag1","hashtag2"]},{"1328587562":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328587572, 1328587569, 1328587565, 1328587562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.74612021446228 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:06:22.612152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/05/image_13012025_06_05_02_988502_0003.jpg', '/home/pi/Desktop/images/13012025/06/06/image_13012025_06_06_02_493543_0000.jpg', '/home/pi/Desktop/images/13012025/06/06/image_13012025_06_06_02_493543_0001.jpg', '/home/pi/Desktop/images/13012025/06/06/image_13012025_06_06_02_493543_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/05/image_13012025_06_05_02_988502_0003.jpg
/home/pi/Desktop/images/13012025/06/06/image_13012025_06_06_02_493543_0000.jpg
/home/pi/Desktop/images/13012025/06/06/image_13012025_06_06_02_493543_0001.jpg
/home/pi/Desktop/images/13012025/06/06/image_13012025_06_06_02_493543_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328587600","1328587594","1328587597","1328587591"],"photo_ids_order":["1328587591","1328587594","1328587597","1328587600"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c9ac00b1db0bf1d369813a45c736fa1f.jpg","text":"TemporaryFile(/tmp/multipartBody307886954834242911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744852862,"filename":"image_13012025_06_06_02_493543_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b5e248cedab4bc5ba5bb742fbc786cb8.jpg","text":"TemporaryFile(/tmp/multipartBody6928110235287597920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744852862,"filename":"image_13012025_06_06_02_493543_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3a182e738c6ab92adaaa69d5ac118fe5.jpg","text":"TemporaryFile(/tmp/multipartBody1133781535269428391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744852862,"filename":"image_13012025_06_06_02_493543_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5d74718ad5f2f0d8a4f86f92e94f29a2.jpg","text":"TemporaryFile(/tmp/multipartBody3080632245380042264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744852862,"filename":"image_13012025_06_05_02_988502_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328587597","file1":"1328587594","file0":"1328587591","file3":"1328587600"},"map_files_photo_id_array":[{"photo_id":"1328587597","filename":"file2"},{"photo_id":"1328587594","filename":"file1"},{"photo_id":"1328587591","filename":"file0"},{"photo_id":"1328587600","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328587600":["hashtag1","hashtag2"]},{"1328587594":["hashtag1","hashtag2"]},{"1328587597":["hashtag1","hashtag2"]},{"1328587591":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328587600, 1328587594, 1328587597, 1328587591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.13023090362549 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:07:22.110481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/06/image_13012025_06_06_02_493543_0003.jpg', '/home/pi/Desktop/images/13012025/06/07/image_13012025_06_07_02_989784_0000.jpg', '/home/pi/Desktop/images/13012025/06/07/image_13012025_06_07_02_989784_0001.jpg', '/home/pi/Desktop/images/13012025/06/07/image_13012025_06_07_02_989784_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/06/image_13012025_06_06_02_493543_0003.jpg
/home/pi/Desktop/images/13012025/06/07/image_13012025_06_07_02_989784_0000.jpg
/home/pi/Desktop/images/13012025/06/07/image_13012025_06_07_02_989784_0001.jpg
/home/pi/Desktop/images/13012025/06/07/image_13012025_06_07_02_989784_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328587613","1328587616","1328587610","1328587606"],"photo_ids_order":["1328587606","1328587610","1328587613","1328587616"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d0f7bac37b513f515e9d5b6b4957c731.jpg","text":"TemporaryFile(/tmp/multipartBody7592920299020582261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744912301,"filename":"image_13012025_06_07_02_989784_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b913ed114325c37eb54b65a74454b684.jpg","text":"TemporaryFile(/tmp/multipartBody7106873767511760915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744912301,"filename":"image_13012025_06_07_02_989784_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/134591a278fc2e74460e7bcf52c88b2d.jpg","text":"TemporaryFile(/tmp/multipartBody475500869084849259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744912301,"filename":"image_13012025_06_07_02_989784_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e554d097ecdcfcb537c34acd8d037a5c.jpg","text":"TemporaryFile(/tmp/multipartBody8053376457065663127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744912301,"filename":"image_13012025_06_06_02_493543_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328587613","file1":"1328587610","file0":"1328587606","file3":"1328587616"},"map_files_photo_id_array":[{"photo_id":"1328587613","filename":"file2"},{"photo_id":"1328587610","filename":"file1"},{"photo_id":"1328587606","filename":"file0"},{"photo_id":"1328587616","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328587613":["hashtag1","hashtag2"]},{"1328587616":["hashtag1","hashtag2"]},{"1328587610":["hashtag1","hashtag2"]},{"1328587606":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328587613, 1328587616, 1328587610, 1328587606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.13951301574707 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:08:22.556819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/07/image_13012025_06_07_02_989784_0003.jpg', '/home/pi/Desktop/images/13012025/06/08/image_13012025_06_08_02_454616_0000.jpg', '/home/pi/Desktop/images/13012025/06/08/image_13012025_06_08_02_454616_0001.jpg', '/home/pi/Desktop/images/13012025/06/08/image_13012025_06_08_02_454616_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/07/image_13012025_06_07_02_989784_0003.jpg
/home/pi/Desktop/images/13012025/06/08/image_13012025_06_08_02_454616_0000.jpg
/home/pi/Desktop/images/13012025/06/08/image_13012025_06_08_02_454616_0001.jpg
/home/pi/Desktop/images/13012025/06/08/image_13012025_06_08_02_454616_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328587629","1328587623","1328587632","1328587626"],"photo_ids_order":["1328587623","1328587626","1328587629","1328587632"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/60f5027c3da98568d7f8efdcc3f9684a.jpg","text":"TemporaryFile(/tmp/multipartBody2211501894615950690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744972818,"filename":"image_13012025_06_08_02_454616_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ea2c238f4be19e26f1b6409d05f8868f.jpg","text":"TemporaryFile(/tmp/multipartBody5095606187232204289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744972818,"filename":"image_13012025_06_07_02_989784_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6b9d2bb08411b3b57513650731389762.jpg","text":"TemporaryFile(/tmp/multipartBody3528670541554658833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744972818,"filename":"image_13012025_06_08_02_454616_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8430497128adeb05a2b9749ce1036957.jpg","text":"TemporaryFile(/tmp/multipartBody5755914318730113125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736744972818,"filename":"image_13012025_06_08_02_454616_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328587629","file1":"1328587626","file0":"1328587623","file3":"1328587632"},"map_files_photo_id_array":[{"photo_id":"1328587629","filename":"file2"},{"photo_id":"1328587626","filename":"file1"},{"photo_id":"1328587623","filename":"file0"},{"photo_id":"1328587632","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328587629":["hashtag1","hashtag2"]},{"1328587623":["hashtag1","hashtag2"]},{"1328587632":["hashtag1","hashtag2"]},{"1328587626":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328587629, 1328587623, 1328587632, 1328587626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.596301555633545 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:09:22.251817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/08/image_13012025_06_08_02_454616_0003.jpg', '/home/pi/Desktop/images/13012025/06/09/image_13012025_06_09_03_044016_0000.jpg', '/home/pi/Desktop/images/13012025/06/09/image_13012025_06_09_03_044016_0001.jpg', '/home/pi/Desktop/images/13012025/06/09/image_13012025_06_09_03_044016_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/08/image_13012025_06_08_02_454616_0003.jpg
/home/pi/Desktop/images/13012025/06/09/image_13012025_06_09_03_044016_0000.jpg
/home/pi/Desktop/images/13012025/06/09/image_13012025_06_09_03_044016_0001.jpg
/home/pi/Desktop/images/13012025/06/09/image_13012025_06_09_03_044016_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328587660","1328587642","1328587645","1328587648"],"photo_ids_order":["1328587642","1328587645","1328587648","1328587660"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/37f6970c117e94dca896d913089c9668.jpg","text":"TemporaryFile(/tmp/multipartBody3117920470603944901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745032650,"filename":"image_13012025_06_09_03_044016_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6a9feee77ab40db4b94ad1f001633d1e.jpg","text":"TemporaryFile(/tmp/multipartBody4191547307364161462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745032650,"filename":"image_13012025_06_08_02_454616_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/83e7ca33fb0d05540fb66df098c2039e.jpg","text":"TemporaryFile(/tmp/multipartBody7292356816367367030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745032650,"filename":"image_13012025_06_09_03_044016_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d462b8aa6848ce1c6d6898c1310e7744.jpg","text":"TemporaryFile(/tmp/multipartBody8778533064865090412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745032650,"filename":"image_13012025_06_09_03_044016_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328587648","file1":"1328587645","file0":"1328587642","file3":"1328587660"},"map_files_photo_id_array":[{"photo_id":"1328587648","filename":"file2"},{"photo_id":"1328587645","filename":"file1"},{"photo_id":"1328587642","filename":"file0"},{"photo_id":"1328587660","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328587660":["hashtag1","hashtag2"]},{"1328587642":["hashtag1","hashtag2"]},{"1328587645":["hashtag1","hashtag2"]},{"1328587648":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328587660, 1328587642, 1328587645, 1328587648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.072270154953 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:10:03.259387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:10:22.739017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/09/image_13012025_06_09_03_044016_0003.jpg', '/home/pi/Desktop/images/13012025/06/10/image_13012025_06_10_02_593590_0000.jpg', '/home/pi/Desktop/images/13012025/06/10/image_13012025_06_10_02_593590_0001.jpg', '/home/pi/Desktop/images/13012025/06/10/image_13012025_06_10_02_593590_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/09/image_13012025_06_09_03_044016_0003.jpg
/home/pi/Desktop/images/13012025/06/10/image_13012025_06_10_02_593590_0000.jpg
/home/pi/Desktop/images/13012025/06/10/image_13012025_06_10_02_593590_0001.jpg
/home/pi/Desktop/images/13012025/06/10/image_13012025_06_10_02_593590_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.027118921279907 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:11:02.921916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/09/image_13012025_06_09_03_044016_0003.jpg', '/home/pi/Desktop/images/13012025/06/10/image_13012025_06_10_02_593590_0000.jpg', '/home/pi/Desktop/images/13012025/06/10/image_13012025_06_10_02_593590_0001.jpg', '/home/pi/Desktop/images/13012025/06/10/image_13012025_06_10_02_593590_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/09/image_13012025_06_09_03_044016_0003.jpg
/home/pi/Desktop/images/13012025/06/10/image_13012025_06_10_02_593590_0000.jpg
/home/pi/Desktop/images/13012025/06/10/image_13012025_06_10_02_593590_0001.jpg
/home/pi/Desktop/images/13012025/06/10/image_13012025_06_10_02_593590_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328587683","1328587682","1328587685","1328587687"],"photo_ids_order":["1328587682","1328587683","1328587685","1328587687"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/afadedef36556861c39f50fbfe29739d.jpg","text":"TemporaryFile(/tmp/multipartBody6400461108885236453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745133363,"filename":"image_13012025_06_10_02_593590_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1f1e05a7535b9ac6442a4ea7ad3d689d.jpg","text":"TemporaryFile(/tmp/multipartBody1078346826486682432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745133363,"filename":"image_13012025_06_09_03_044016_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6f757f701bfff1dac65c3f3acd1460a6.jpg","text":"TemporaryFile(/tmp/multipartBody473400639240481740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745133363,"filename":"image_13012025_06_10_02_593590_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bf08df828c669b0b310e4c657ac8d6d6.jpg","text":"TemporaryFile(/tmp/multipartBody976568858444658975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745133363,"filename":"image_13012025_06_10_02_593590_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328587685","file1":"1328587683","file0":"1328587682","file3":"1328587687"},"map_files_photo_id_array":[{"photo_id":"1328587685","filename":"file2"},{"photo_id":"1328587683","filename":"file1"},{"photo_id":"1328587682","filename":"file0"},{"photo_id":"1328587687","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328587683":["hashtag1","hashtag2"]},{"1328587682":["hashtag1","hashtag2"]},{"1328587685":["hashtag1","hashtag2"]},{"1328587687":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328587683, 1328587682, 1328587685, 1328587687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.048627853393555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:12:02.358545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/10/image_13012025_06_10_02_593590_0003.jpg', '/home/pi/Desktop/images/13012025/06/11/image_13012025_06_11_03_112174_0000.jpg', '/home/pi/Desktop/images/13012025/06/11/image_13012025_06_11_03_112174_0001.jpg', '/home/pi/Desktop/images/13012025/06/11/image_13012025_06_11_03_112174_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/10/image_13012025_06_10_02_593590_0003.jpg
/home/pi/Desktop/images/13012025/06/11/image_13012025_06_11_03_112174_0000.jpg
/home/pi/Desktop/images/13012025/06/11/image_13012025_06_11_03_112174_0001.jpg
/home/pi/Desktop/images/13012025/06/11/image_13012025_06_11_03_112174_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328587708","1328587702","1328587704","1328587706"],"photo_ids_order":["1328587702","1328587704","1328587706","1328587708"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a08b4cbee49db25b6edcb36de7e8d5e6.jpg","text":"TemporaryFile(/tmp/multipartBody1349377836392136797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745192750,"filename":"image_13012025_06_11_03_112174_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b6f06f6901b4cb91adccd07e39ec484b.jpg","text":"TemporaryFile(/tmp/multipartBody4914930230992216367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745192750,"filename":"image_13012025_06_10_02_593590_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aa13250ac02ac719717fa8c2941065fd.jpg","text":"TemporaryFile(/tmp/multipartBody7814882045819935531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745192750,"filename":"image_13012025_06_11_03_112174_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/286b566d8e5bb2b05afac3afa1ebbda2.jpg","text":"TemporaryFile(/tmp/multipartBody803454775490611334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745192750,"filename":"image_13012025_06_11_03_112174_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328587706","file1":"1328587704","file0":"1328587702","file3":"1328587708"},"map_files_photo_id_array":[{"photo_id":"1328587706","filename":"file2"},{"photo_id":"1328587704","filename":"file1"},{"photo_id":"1328587702","filename":"file0"},{"photo_id":"1328587708","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328587708":["hashtag1","hashtag2"]},{"1328587702":["hashtag1","hashtag2"]},{"1328587704":["hashtag1","hashtag2"]},{"1328587706":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328587708, 1328587702, 1328587704, 1328587706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.0175678730011 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:13:02.923738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/11/image_13012025_06_11_03_112174_0003.jpg', '/home/pi/Desktop/images/13012025/06/12/image_13012025_06_12_02_648934_0000.jpg', '/home/pi/Desktop/images/13012025/06/12/image_13012025_06_12_02_648934_0001.jpg', '/home/pi/Desktop/images/13012025/06/12/image_13012025_06_12_02_648934_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/11/image_13012025_06_11_03_112174_0003.jpg
/home/pi/Desktop/images/13012025/06/12/image_13012025_06_12_02_648934_0000.jpg
/home/pi/Desktop/images/13012025/06/12/image_13012025_06_12_02_648934_0001.jpg
/home/pi/Desktop/images/13012025/06/12/image_13012025_06_12_02_648934_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328587740","1328587743","1328587736","1328587738"],"photo_ids_order":["1328587736","1328587738","1328587740","1328587743"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6efc19feadf65955298a66984fa4f76f.jpg","text":"TemporaryFile(/tmp/multipartBody6846906983689229899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745253220,"filename":"image_13012025_06_12_02_648934_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0ebc5fc0e5f5bf2a82a179c3d83e825a.jpg","text":"TemporaryFile(/tmp/multipartBody5502319886407773075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745253220,"filename":"image_13012025_06_12_02_648934_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eb94a82b98cc960567bb9da6d715a4ca.jpg","text":"TemporaryFile(/tmp/multipartBody3357260176059017662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745253220,"filename":"image_13012025_06_11_03_112174_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/01b133b2944b59b031cd1244df78d48d.jpg","text":"TemporaryFile(/tmp/multipartBody1616698864768896551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745253220,"filename":"image_13012025_06_12_02_648934_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328587740","file1":"1328587738","file0":"1328587736","file3":"1328587743"},"map_files_photo_id_array":[{"photo_id":"1328587740","filename":"file2"},{"photo_id":"1328587738","filename":"file1"},{"photo_id":"1328587736","filename":"file0"},{"photo_id":"1328587743","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328587740":["hashtag1","hashtag2"]},{"1328587743":["hashtag1","hashtag2"]},{"1328587736":["hashtag1","hashtag2"]},{"1328587738":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328587740, 1328587743, 1328587736, 1328587738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.79345178604126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:14:02.383601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/12/image_13012025_06_12_02_648934_0003.jpg', '/home/pi/Desktop/images/13012025/06/13/image_13012025_06_13_02_190901_0000.jpg', '/home/pi/Desktop/images/13012025/06/13/image_13012025_06_13_02_190901_0001.jpg', '/home/pi/Desktop/images/13012025/06/13/image_13012025_06_13_02_190901_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/12/image_13012025_06_12_02_648934_0003.jpg
/home/pi/Desktop/images/13012025/06/13/image_13012025_06_13_02_190901_0000.jpg
/home/pi/Desktop/images/13012025/06/13/image_13012025_06_13_02_190901_0001.jpg
/home/pi/Desktop/images/13012025/06/13/image_13012025_06_13_02_190901_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328587761","1328587755","1328587759","1328587753"],"photo_ids_order":["1328587753","1328587755","1328587759","1328587761"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d5d724fc772435aec5b99c580737ba23.jpg","text":"TemporaryFile(/tmp/multipartBody281805616201309009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745312742,"filename":"image_13012025_06_13_02_190901_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fd68aedf4fd849d84ce0ebd863644788.jpg","text":"TemporaryFile(/tmp/multipartBody8380984531154393472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745312742,"filename":"image_13012025_06_13_02_190901_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1d997a1171e78cfc9dfd4c7a2ffd1ff3.jpg","text":"TemporaryFile(/tmp/multipartBody2323956202616741194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745312742,"filename":"image_13012025_06_13_02_190901_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0e7637bec24412382c9f79a4f42e3c00.jpg","text":"TemporaryFile(/tmp/multipartBody1598176036090708290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745312742,"filename":"image_13012025_06_12_02_648934_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328587759","file1":"1328587755","file0":"1328587753","file3":"1328587761"},"map_files_photo_id_array":[{"photo_id":"1328587759","filename":"file2"},{"photo_id":"1328587755","filename":"file1"},{"photo_id":"1328587753","filename":"file0"},{"photo_id":"1328587761","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328587761":["hashtag1","hashtag2"]},{"1328587755":["hashtag1","hashtag2"]},{"1328587759":["hashtag1","hashtag2"]},{"1328587753":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328587761, 1328587755, 1328587759, 1328587753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.495463848114014 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:15:03.102281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/13/image_13012025_06_13_02_190901_0003.jpg', '/home/pi/Desktop/images/13012025/06/14/image_13012025_06_14_02_772933_0000.jpg', '/home/pi/Desktop/images/13012025/06/14/image_13012025_06_14_02_772933_0001.jpg', '/home/pi/Desktop/images/13012025/06/14/image_13012025_06_14_02_772933_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/13/image_13012025_06_13_02_190901_0003.jpg
/home/pi/Desktop/images/13012025/06/14/image_13012025_06_14_02_772933_0000.jpg
/home/pi/Desktop/images/13012025/06/14/image_13012025_06_14_02_772933_0001.jpg
/home/pi/Desktop/images/13012025/06/14/image_13012025_06_14_02_772933_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328587779","1328587781","1328587784","1328587778"],"photo_ids_order":["1328587778","1328587779","1328587781","1328587784"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cdb54a09f3f73bd1c8f5b5767fd5b34e.jpg","text":"TemporaryFile(/tmp/multipartBody5906747902155428078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745373525,"filename":"image_13012025_06_14_02_772933_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e2ec9c645d60498d111ae51d8430aa58.jpg","text":"TemporaryFile(/tmp/multipartBody1580034847734147982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745373525,"filename":"image_13012025_06_14_02_772933_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1bacaf8099eb1ffb88484372aa9c299b.jpg","text":"TemporaryFile(/tmp/multipartBody9072032634768232009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745373525,"filename":"image_13012025_06_14_02_772933_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3dc0681c87f60bcb863684887ae57477.jpg","text":"TemporaryFile(/tmp/multipartBody6630292436223175422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745373525,"filename":"image_13012025_06_13_02_190901_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328587781","file1":"1328587779","file0":"1328587778","file3":"1328587784"},"map_files_photo_id_array":[{"photo_id":"1328587781","filename":"file2"},{"photo_id":"1328587779","filename":"file1"},{"photo_id":"1328587778","filename":"file0"},{"photo_id":"1328587784","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328587779":["hashtag1","hashtag2"]},{"1328587781":["hashtag1","hashtag2"]},{"1328587784":["hashtag1","hashtag2"]},{"1328587778":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328587779, 1328587781, 1328587784, 1328587778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.71835160255432 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:16:02.504229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/14/image_13012025_06_14_02_772933_0003.jpg', '/home/pi/Desktop/images/13012025/06/15/image_13012025_06_15_02_282585_0000.jpg', '/home/pi/Desktop/images/13012025/06/15/image_13012025_06_15_02_282585_0001.jpg', '/home/pi/Desktop/images/13012025/06/15/image_13012025_06_15_02_282585_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/14/image_13012025_06_14_02_772933_0003.jpg
/home/pi/Desktop/images/13012025/06/15/image_13012025_06_15_02_282585_0000.jpg
/home/pi/Desktop/images/13012025/06/15/image_13012025_06_15_02_282585_0001.jpg
/home/pi/Desktop/images/13012025/06/15/image_13012025_06_15_02_282585_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328587827","1328587821","1328587824","1328587822"],"photo_ids_order":["1328587821","1328587822","1328587824","1328587827"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1acf1f1017df850ebc5cbec73138fdda.jpg","text":"TemporaryFile(/tmp/multipartBody8043475981912188001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745433057,"filename":"image_13012025_06_15_02_282585_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7f361ce8d62e85bcfe7603fae3f3a086.jpg","text":"TemporaryFile(/tmp/multipartBody6562112823396509999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745433057,"filename":"image_13012025_06_14_02_772933_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d0c1d91415acfe6bf1934f123b0c74de.jpg","text":"TemporaryFile(/tmp/multipartBody5552804465308847386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745433057,"filename":"image_13012025_06_15_02_282585_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/56acae736447d5010c6fafb80ae30a35.jpg","text":"TemporaryFile(/tmp/multipartBody4566144393027571621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745433057,"filename":"image_13012025_06_15_02_282585_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328587824","file1":"1328587822","file0":"1328587821","file3":"1328587827"},"map_files_photo_id_array":[{"photo_id":"1328587824","filename":"file2"},{"photo_id":"1328587822","filename":"file1"},{"photo_id":"1328587821","filename":"file0"},{"photo_id":"1328587827","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328587827":["hashtag1","hashtag2"]},{"1328587821":["hashtag1","hashtag2"]},{"1328587824":["hashtag1","hashtag2"]},{"1328587822":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328587827, 1328587821, 1328587824, 1328587822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.218252182006836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:17:03.222363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/15/image_13012025_06_15_02_282585_0003.jpg', '/home/pi/Desktop/images/13012025/06/16/image_13012025_06_16_02_872641_0000.jpg', '/home/pi/Desktop/images/13012025/06/16/image_13012025_06_16_02_872641_0001.jpg', '/home/pi/Desktop/images/13012025/06/16/image_13012025_06_16_02_872641_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/15/image_13012025_06_15_02_282585_0003.jpg
/home/pi/Desktop/images/13012025/06/16/image_13012025_06_16_02_872641_0000.jpg
/home/pi/Desktop/images/13012025/06/16/image_13012025_06_16_02_872641_0001.jpg
/home/pi/Desktop/images/13012025/06/16/image_13012025_06_16_02_872641_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.044716835021973 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:17:22.730976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/15/image_13012025_06_15_02_282585_0003.jpg', '/home/pi/Desktop/images/13012025/06/16/image_13012025_06_16_02_872641_0000.jpg', '/home/pi/Desktop/images/13012025/06/16/image_13012025_06_16_02_872641_0001.jpg', '/home/pi/Desktop/images/13012025/06/16/image_13012025_06_16_02_872641_0002.jpg', '/home/pi/Desktop/images/13012025/06/16/image_13012025_06_16_02_872641_0003.jpg', '/home/pi/Desktop/images/13012025/06/17/image_13012025_06_17_02_450073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/15/image_13012025_06_15_02_282585_0003.jpg
/home/pi/Desktop/images/13012025/06/16/image_13012025_06_16_02_872641_0000.jpg
/home/pi/Desktop/images/13012025/06/16/image_13012025_06_16_02_872641_0001.jpg
/home/pi/Desktop/images/13012025/06/16/image_13012025_06_16_02_872641_0002.jpg
/home/pi/Desktop/images/13012025/06/16/image_13012025_06_16_02_872641_0003.jpg
/home/pi/Desktop/images/13012025/06/17/image_13012025_06_17_02_450073_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328588396","1328588392","1328588389","1328588398","1328588386","1328588394"],"photo_ids_order":["1328588386","1328588389","1328588392","1328588394","1328588396","1328588398"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f36c244875ac882e47bf586de430b146.jpg","text":"TemporaryFile(/tmp/multipartBody2327658775609261292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745517920,"filename":"image_13012025_06_16_02_872641_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/80dc5cf286d84480d30e3309c1ccd543.jpg","text":"TemporaryFile(/tmp/multipartBody8518540893906811245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745517920,"filename":"image_13012025_06_16_02_872641_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/820dcf301371e062a94cc70be53c65b8.jpg","text":"TemporaryFile(/tmp/multipartBody4805031874842479338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745517920,"filename":"image_13012025_06_16_02_872641_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dcf92ded361757bd00ba826ed5db4ac3.jpg","text":"TemporaryFile(/tmp/multipartBody4431810256768323847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745517920,"filename":"image_13012025_06_17_02_450073_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f7f8dc645020f989699c78c3aef77b89.jpg","text":"TemporaryFile(/tmp/multipartBody3490564519991337377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745517920,"filename":"image_13012025_06_15_02_282585_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2c06910cf7a061afd815825369ebee6f.jpg","text":"TemporaryFile(/tmp/multipartBody8543862817020270011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745517920,"filename":"image_13012025_06_16_02_872641_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328588392","file1":"1328588389","file0":"1328588386","file4":"1328588396","file5":"1328588398","file3":"1328588394"},"map_files_photo_id_array":[{"photo_id":"1328588398","filename":"file5"},{"photo_id":"1328588392","filename":"file2"},{"photo_id":"1328588396","filename":"file4"},{"photo_id":"1328588389","filename":"file1"},{"photo_id":"1328588386","filename":"file0"},{"photo_id":"1328588394","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328588396":["hashtag1","hashtag2"]},{"1328588392":["hashtag1","hashtag2"]},{"1328588389":["hashtag1","hashtag2"]},{"1328588398":["hashtag1","hashtag2"]},{"1328588386":["hashtag1","hashtag2"]},{"1328588394":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328588396, 1328588392, 1328588389, 1328588398, 1328588386, 1328588394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.16964030265808 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:18:22.252748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/17/image_13012025_06_17_02_450073_0001.jpg', '/home/pi/Desktop/images/13012025/06/17/image_13012025_06_17_02_450073_0002.jpg', '/home/pi/Desktop/images/13012025/06/17/image_13012025_06_17_02_450073_0003.jpg', '/home/pi/Desktop/images/13012025/06/18/image_13012025_06_18_02_974981_0000.jpg', '/home/pi/Desktop/images/13012025/06/18/image_13012025_06_18_02_974981_0001.jpg', '/home/pi/Desktop/images/13012025/06/18/image_13012025_06_18_02_974981_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/17/image_13012025_06_17_02_450073_0001.jpg
/home/pi/Desktop/images/13012025/06/17/image_13012025_06_17_02_450073_0002.jpg
/home/pi/Desktop/images/13012025/06/17/image_13012025_06_17_02_450073_0003.jpg
/home/pi/Desktop/images/13012025/06/18/image_13012025_06_18_02_974981_0000.jpg
/home/pi/Desktop/images/13012025/06/18/image_13012025_06_18_02_974981_0001.jpg
/home/pi/Desktop/images/13012025/06/18/image_13012025_06_18_02_974981_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328588442","1328588411","1328588440","1328588407","1328588416","1328588404"],"photo_ids_order":["1328588404","1328588407","1328588411","1328588416","1328588440","1328588442"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6ba763f8c86059de48cb720f35449d20.jpg","text":"TemporaryFile(/tmp/multipartBody3690775169959123219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745577275,"filename":"image_13012025_06_18_02_974981_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eef13cac6a8cd2e59783737eb869175c.jpg","text":"TemporaryFile(/tmp/multipartBody7813717918564318286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745577275,"filename":"image_13012025_06_17_02_450073_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d39f60062eee24f140ce8ddb846d377b.jpg","text":"TemporaryFile(/tmp/multipartBody8256547239233574586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745577275,"filename":"image_13012025_06_18_02_974981_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d93efe3b3451f35399890100dec873ec.jpg","text":"TemporaryFile(/tmp/multipartBody784482793342102902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745577275,"filename":"image_13012025_06_17_02_450073_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/be7261ddb9a3356bd2b3b7762b301f7a.jpg","text":"TemporaryFile(/tmp/multipartBody911800326464395262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745577275,"filename":"image_13012025_06_18_02_974981_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a20f0a4ebf81242c2312021ed4c051a7.jpg","text":"TemporaryFile(/tmp/multipartBody5966551053666772198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745577275,"filename":"image_13012025_06_17_02_450073_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328588411","file1":"1328588407","file0":"1328588404","file4":"1328588440","file5":"1328588442","file3":"1328588416"},"map_files_photo_id_array":[{"photo_id":"1328588442","filename":"file5"},{"photo_id":"1328588411","filename":"file2"},{"photo_id":"1328588440","filename":"file4"},{"photo_id":"1328588407","filename":"file1"},{"photo_id":"1328588404","filename":"file0"},{"photo_id":"1328588416","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328588442":["hashtag1","hashtag2"]},{"1328588411":["hashtag1","hashtag2"]},{"1328588440":["hashtag1","hashtag2"]},{"1328588407":["hashtag1","hashtag2"]},{"1328588416":["hashtag1","hashtag2"]},{"1328588404":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328588442, 1328588411, 1328588440, 1328588407, 1328588416, 1328588404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.865447998046875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:19:21.764188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/18/image_13012025_06_18_02_974981_0003.jpg', '/home/pi/Desktop/images/13012025/06/19/image_13012025_06_19_02_640921_0000.jpg', '/home/pi/Desktop/images/13012025/06/19/image_13012025_06_19_02_640921_0001.jpg', '/home/pi/Desktop/images/13012025/06/19/image_13012025_06_19_02_640921_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/18/image_13012025_06_18_02_974981_0003.jpg
/home/pi/Desktop/images/13012025/06/19/image_13012025_06_19_02_640921_0000.jpg
/home/pi/Desktop/images/13012025/06/19/image_13012025_06_19_02_640921_0001.jpg
/home/pi/Desktop/images/13012025/06/19/image_13012025_06_19_02_640921_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328588454","1328588448","1328588457","1328588451"],"photo_ids_order":["1328588448","1328588451","1328588454","1328588457"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2b9a09f0a54b477223573127e7f5591a.jpg","text":"TemporaryFile(/tmp/multipartBody1205880270679876800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745632356,"filename":"image_13012025_06_19_02_640921_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9959d046c01e04ba25df1e4c75df110e.jpg","text":"TemporaryFile(/tmp/multipartBody5526062331695216021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745632356,"filename":"image_13012025_06_18_02_974981_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ad60e1e6b557246ecaa1cfe809c094ee.jpg","text":"TemporaryFile(/tmp/multipartBody5104808412318289223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745632356,"filename":"image_13012025_06_19_02_640921_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d2d70bc3717bec5612d15b2737f3252a.jpg","text":"TemporaryFile(/tmp/multipartBody4688158596658667767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745632356,"filename":"image_13012025_06_19_02_640921_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328588454","file1":"1328588451","file0":"1328588448","file3":"1328588457"},"map_files_photo_id_array":[{"photo_id":"1328588454","filename":"file2"},{"photo_id":"1328588451","filename":"file1"},{"photo_id":"1328588448","filename":"file0"},{"photo_id":"1328588457","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328588454":["hashtag1","hashtag2"]},{"1328588448":["hashtag1","hashtag2"]},{"1328588457":["hashtag1","hashtag2"]},{"1328588451":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328588454, 1328588448, 1328588457, 1328588451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.96528387069702 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:20:02.659472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:20:22.199354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/19/image_13012025_06_19_02_640921_0003.jpg', '/home/pi/Desktop/images/13012025/06/20/image_13012025_06_20_02_123735_0000.jpg', '/home/pi/Desktop/images/13012025/06/20/image_13012025_06_20_02_123735_0001.jpg', '/home/pi/Desktop/images/13012025/06/20/image_13012025_06_20_02_123735_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/19/image_13012025_06_19_02_640921_0003.jpg
/home/pi/Desktop/images/13012025/06/20/image_13012025_06_20_02_123735_0000.jpg
/home/pi/Desktop/images/13012025/06/20/image_13012025_06_20_02_123735_0001.jpg
/home/pi/Desktop/images/13012025/06/20/image_13012025_06_20_02_123735_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328588471","1328588525","1328588468","1328588515"],"photo_ids_order":["1328588468","1328588471","1328588515","1328588525"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5d4b4686f51a7f2a1dd25a5e7de9d106.jpg","text":"TemporaryFile(/tmp/multipartBody4564351964013104893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745692527,"filename":"image_13012025_06_20_02_123735_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2a52668280e01259bc1d82f84c5711fe.jpg","text":"TemporaryFile(/tmp/multipartBody178758241455441268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745692527,"filename":"image_13012025_06_20_02_123735_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/23fb694db95419c393a1c7616a3ad223.jpg","text":"TemporaryFile(/tmp/multipartBody7847124310130147336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745692527,"filename":"image_13012025_06_19_02_640921_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f2d9854753591bc1637a922121994058.jpg","text":"TemporaryFile(/tmp/multipartBody3566989752327718307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745692527,"filename":"image_13012025_06_20_02_123735_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328588515","file1":"1328588471","file0":"1328588468","file3":"1328588525"},"map_files_photo_id_array":[{"photo_id":"1328588515","filename":"file2"},{"photo_id":"1328588471","filename":"file1"},{"photo_id":"1328588468","filename":"file0"},{"photo_id":"1328588525","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328588471":["hashtag1","hashtag2"]},{"1328588525":["hashtag1","hashtag2"]},{"1328588468":["hashtag1","hashtag2"]},{"1328588515":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328588471, 1328588525, 1328588468, 1328588515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.4415647983551 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:21:21.763058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/20/image_13012025_06_20_02_123735_0003.jpg', '/home/pi/Desktop/images/13012025/06/21/image_13012025_06_21_02_588357_0000.jpg', '/home/pi/Desktop/images/13012025/06/21/image_13012025_06_21_02_588357_0001.jpg', '/home/pi/Desktop/images/13012025/06/21/image_13012025_06_21_02_588357_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/20/image_13012025_06_20_02_123735_0003.jpg
/home/pi/Desktop/images/13012025/06/21/image_13012025_06_21_02_588357_0000.jpg
/home/pi/Desktop/images/13012025/06/21/image_13012025_06_21_02_588357_0001.jpg
/home/pi/Desktop/images/13012025/06/21/image_13012025_06_21_02_588357_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328588600","1328588572","1328588575","1328588583"],"photo_ids_order":["1328588572","1328588575","1328588583","1328588600"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c2e54e52ba1ad5cf2536b7960539ef72.jpg","text":"TemporaryFile(/tmp/multipartBody4874532650226995628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745752091,"filename":"image_13012025_06_21_02_588357_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/12c0aa098c3a1af0d49758d60e03eaea.jpg","text":"TemporaryFile(/tmp/multipartBody1683512509674519262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745752091,"filename":"image_13012025_06_20_02_123735_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/70733d66e14b256e3e327b285d722a8b.jpg","text":"TemporaryFile(/tmp/multipartBody8737697317346670058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745752091,"filename":"image_13012025_06_21_02_588357_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7e86dbc43d63c94553bcd0ffd62d068f.jpg","text":"TemporaryFile(/tmp/multipartBody940372806820217968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745752091,"filename":"image_13012025_06_21_02_588357_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328588583","file1":"1328588575","file0":"1328588572","file3":"1328588600"},"map_files_photo_id_array":[{"photo_id":"1328588583","filename":"file2"},{"photo_id":"1328588575","filename":"file1"},{"photo_id":"1328588572","filename":"file0"},{"photo_id":"1328588600","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328588600":["hashtag1","hashtag2"]},{"1328588572":["hashtag1","hashtag2"]},{"1328588575":["hashtag1","hashtag2"]},{"1328588583":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328588600, 1328588572, 1328588575, 1328588583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.7911422252655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:22:02.770520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:22:22.244159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/21/image_13012025_06_21_02_588357_0003.jpg', '/home/pi/Desktop/images/13012025/06/22/image_13012025_06_22_02_146383_0000.jpg', '/home/pi/Desktop/images/13012025/06/22/image_13012025_06_22_02_146383_0001.jpg', '/home/pi/Desktop/images/13012025/06/22/image_13012025_06_22_02_146383_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/21/image_13012025_06_21_02_588357_0003.jpg
/home/pi/Desktop/images/13012025/06/22/image_13012025_06_22_02_146383_0000.jpg
/home/pi/Desktop/images/13012025/06/22/image_13012025_06_22_02_146383_0001.jpg
/home/pi/Desktop/images/13012025/06/22/image_13012025_06_22_02_146383_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328588621","1328588615","1328588618","1328588611"],"photo_ids_order":["1328588611","1328588615","1328588618","1328588621"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0b5e6bdb147f434146c59a3965fc2dcf.jpg","text":"TemporaryFile(/tmp/multipartBody2241666381745164473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745812538,"filename":"image_13012025_06_22_02_146383_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6c5dcc82843b919a166faa883e68ff28.jpg","text":"TemporaryFile(/tmp/multipartBody8019261209569842277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745812538,"filename":"image_13012025_06_22_02_146383_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/694205c193d259311ccf703be4b5504c.jpg","text":"TemporaryFile(/tmp/multipartBody8229230887072660836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745812538,"filename":"image_13012025_06_22_02_146383_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bddc9fb95716f12ea59b39c99fbe50af.jpg","text":"TemporaryFile(/tmp/multipartBody4373460482878837866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745812538,"filename":"image_13012025_06_21_02_588357_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328588618","file1":"1328588615","file0":"1328588611","file3":"1328588621"},"map_files_photo_id_array":[{"photo_id":"1328588618","filename":"file2"},{"photo_id":"1328588615","filename":"file1"},{"photo_id":"1328588611","filename":"file0"},{"photo_id":"1328588621","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328588621":["hashtag1","hashtag2"]},{"1328588615":["hashtag1","hashtag2"]},{"1328588618":["hashtag1","hashtag2"]},{"1328588611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328588621, 1328588615, 1328588618, 1328588611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.6251802444458 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:23:21.753669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/22/image_13012025_06_22_02_146383_0003.jpg', '/home/pi/Desktop/images/13012025/06/23/image_13012025_06_23_02_627756_0000.jpg', '/home/pi/Desktop/images/13012025/06/23/image_13012025_06_23_02_627756_0001.jpg', '/home/pi/Desktop/images/13012025/06/23/image_13012025_06_23_02_627756_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/22/image_13012025_06_22_02_146383_0003.jpg
/home/pi/Desktop/images/13012025/06/23/image_13012025_06_23_02_627756_0000.jpg
/home/pi/Desktop/images/13012025/06/23/image_13012025_06_23_02_627756_0001.jpg
/home/pi/Desktop/images/13012025/06/23/image_13012025_06_23_02_627756_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328588630","1328588633","1328588627","1328588636"],"photo_ids_order":["1328588627","1328588630","1328588633","1328588636"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cda83f5cf754f862db96f3a7e50f5f8f.jpg","text":"TemporaryFile(/tmp/multipartBody2346200862976704655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745872146,"filename":"image_13012025_06_23_02_627756_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1e3fcbe3709653dbc5539f0a71e04f27.jpg","text":"TemporaryFile(/tmp/multipartBody8907514600384586826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745872146,"filename":"image_13012025_06_23_02_627756_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9a100138f867c1fbfd6a4c09c5e3ef8d.jpg","text":"TemporaryFile(/tmp/multipartBody1788742318278837796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745872146,"filename":"image_13012025_06_22_02_146383_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dbaae94c8a59807503edbc89a7047926.jpg","text":"TemporaryFile(/tmp/multipartBody6213973459941214737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745872146,"filename":"image_13012025_06_23_02_627756_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328588633","file1":"1328588630","file0":"1328588627","file3":"1328588636"},"map_files_photo_id_array":[{"photo_id":"1328588633","filename":"file2"},{"photo_id":"1328588630","filename":"file1"},{"photo_id":"1328588627","filename":"file0"},{"photo_id":"1328588636","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328588630":["hashtag1","hashtag2"]},{"1328588633":["hashtag1","hashtag2"]},{"1328588627":["hashtag1","hashtag2"]},{"1328588636":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328588630, 1328588633, 1328588627, 1328588636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.14602017402649 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:24:02.657772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:24:22.134820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/23/image_13012025_06_23_02_627756_0003.jpg', '/home/pi/Desktop/images/13012025/06/24/image_13012025_06_24_02_109957_0000.jpg', '/home/pi/Desktop/images/13012025/06/24/image_13012025_06_24_02_109957_0001.jpg', '/home/pi/Desktop/images/13012025/06/24/image_13012025_06_24_02_109957_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/23/image_13012025_06_23_02_627756_0003.jpg
/home/pi/Desktop/images/13012025/06/24/image_13012025_06_24_02_109957_0000.jpg
/home/pi/Desktop/images/13012025/06/24/image_13012025_06_24_02_109957_0001.jpg
/home/pi/Desktop/images/13012025/06/24/image_13012025_06_24_02_109957_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328588643","1328588651","1328588645","1328588647"],"photo_ids_order":["1328588643","1328588645","1328588647","1328588651"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e9830cf47fa5534abcd3f458b49961ca.jpg","text":"TemporaryFile(/tmp/multipartBody6416032606144643257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745932425,"filename":"image_13012025_06_23_02_627756_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3f52f8567818af7f0b15816d6118cbae.jpg","text":"TemporaryFile(/tmp/multipartBody7427584122453220648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745932425,"filename":"image_13012025_06_24_02_109957_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/844b05dbc7cc8b34a9ab808b53d6fcf9.jpg","text":"TemporaryFile(/tmp/multipartBody7249725298687924415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745932425,"filename":"image_13012025_06_24_02_109957_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/851f8d2edbca1652a6a689e1b081626f.jpg","text":"TemporaryFile(/tmp/multipartBody2462678713604046295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745932425,"filename":"image_13012025_06_24_02_109957_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328588647","file1":"1328588645","file0":"1328588643","file3":"1328588651"},"map_files_photo_id_array":[{"photo_id":"1328588647","filename":"file2"},{"photo_id":"1328588645","filename":"file1"},{"photo_id":"1328588643","filename":"file0"},{"photo_id":"1328588651","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328588643":["hashtag1","hashtag2"]},{"1328588651":["hashtag1","hashtag2"]},{"1328588645":["hashtag1","hashtag2"]},{"1328588647":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328588643, 1328588651, 1328588645, 1328588647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.32604622840881 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:25:03.407261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:25:22.722121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/24/image_13012025_06_24_02_109957_0003.jpg', '/home/pi/Desktop/images/13012025/06/25/image_13012025_06_25_02_592233_0000.jpg', '/home/pi/Desktop/images/13012025/06/25/image_13012025_06_25_02_592233_0001.jpg', '/home/pi/Desktop/images/13012025/06/25/image_13012025_06_25_02_592233_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/24/image_13012025_06_24_02_109957_0003.jpg
/home/pi/Desktop/images/13012025/06/25/image_13012025_06_25_02_592233_0000.jpg
/home/pi/Desktop/images/13012025/06/25/image_13012025_06_25_02_592233_0001.jpg
/home/pi/Desktop/images/13012025/06/25/image_13012025_06_25_02_592233_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328588688","1328588690","1328588692","1328588685"],"photo_ids_order":["1328588685","1328588688","1328588690","1328588692"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c96d7717db847553705015088724a09f.jpg","text":"TemporaryFile(/tmp/multipartBody5447548117162316430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745993020,"filename":"image_13012025_06_25_02_592233_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cbe97eb9627f57097ca1ef0026cc143d.jpg","text":"TemporaryFile(/tmp/multipartBody3555516059214974832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745993020,"filename":"image_13012025_06_25_02_592233_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/66455a3dc1fca4870babd8ea7e0e80a5.jpg","text":"TemporaryFile(/tmp/multipartBody5605350125725079773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745993020,"filename":"image_13012025_06_25_02_592233_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3b2273e0496b6dfa9b5e39a0dbe89f96.jpg","text":"TemporaryFile(/tmp/multipartBody4104933465427885999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736745993020,"filename":"image_13012025_06_24_02_109957_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328588690","file1":"1328588688","file0":"1328588685","file3":"1328588692"},"map_files_photo_id_array":[{"photo_id":"1328588690","filename":"file2"},{"photo_id":"1328588688","filename":"file1"},{"photo_id":"1328588685","filename":"file0"},{"photo_id":"1328588692","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328588688":["hashtag1","hashtag2"]},{"1328588690":["hashtag1","hashtag2"]},{"1328588692":["hashtag1","hashtag2"]},{"1328588685":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328588688, 1328588690, 1328588692, 1328588685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.86038327217102 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:26:02.832349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:26:22.384884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/25/image_13012025_06_25_02_592233_0003.jpg', '/home/pi/Desktop/images/13012025/06/26/image_13012025_06_26_03_142806_0000.jpg', '/home/pi/Desktop/images/13012025/06/26/image_13012025_06_26_03_142806_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/25/image_13012025_06_25_02_592233_0003.jpg
/home/pi/Desktop/images/13012025/06/26/image_13012025_06_26_03_142806_0000.jpg
/home/pi/Desktop/images/13012025/06/26/image_13012025_06_26_03_142806_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328588698","1328588701","1328588704"],"photo_ids_order":["1328588698","1328588701","1328588704"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/544ae504993bd181ab7cedf13cdeaace.jpg","text":"TemporaryFile(/tmp/multipartBody2826355001572697078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746050407,"filename":"image_13012025_06_25_02_592233_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/852b977558b10d8370c766118e4ada95.jpg","text":"TemporaryFile(/tmp/multipartBody2695141321440171659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746050407,"filename":"image_13012025_06_26_03_142806_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eca0a171b61ca375e2751f09746a7147.jpg","text":"TemporaryFile(/tmp/multipartBody685848339531604163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746050407,"filename":"image_13012025_06_26_03_142806_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328588704","file1":"1328588701","file0":"1328588698"},"map_files_photo_id_array":[{"photo_id":"1328588704","filename":"file2"},{"photo_id":"1328588701","filename":"file1"},{"photo_id":"1328588698","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328588698":["hashtag1","hashtag2"]},{"1328588701":["hashtag1","hashtag2"]},{"1328588704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328588698, 1328588701, 1328588704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.297922372817993 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:27:02.530969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:27:21.852562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/26/image_13012025_06_26_03_142806_0002.jpg', '/home/pi/Desktop/images/13012025/06/27/image_13012025_06_27_02_764854_0000.jpg', '/home/pi/Desktop/images/13012025/06/27/image_13012025_06_27_02_764854_0001.jpg', '/home/pi/Desktop/images/13012025/06/27/image_13012025_06_27_02_764854_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/26/image_13012025_06_26_03_142806_0002.jpg
/home/pi/Desktop/images/13012025/06/27/image_13012025_06_27_02_764854_0000.jpg
/home/pi/Desktop/images/13012025/06/27/image_13012025_06_27_02_764854_0001.jpg
/home/pi/Desktop/images/13012025/06/27/image_13012025_06_27_02_764854_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328588736","1328588720","1328588716","1328588713"],"photo_ids_order":["1328588713","1328588716","1328588720","1328588736"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7a8d4e6b4b1390df0fb98f6c7b7f2d10.jpg","text":"TemporaryFile(/tmp/multipartBody9018951957539458006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746112226,"filename":"image_13012025_06_27_02_764854_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/383b16bd139ec93fcab4f9135bfb13d7.jpg","text":"TemporaryFile(/tmp/multipartBody7286486634027003741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746112226,"filename":"image_13012025_06_27_02_764854_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bacd8e593a84305cce31f0cf27d90d77.jpg","text":"TemporaryFile(/tmp/multipartBody8905335846176487168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746112226,"filename":"image_13012025_06_27_02_764854_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/59c1f3acff6d7693437a703954d548e9.jpg","text":"TemporaryFile(/tmp/multipartBody6020687844616881683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746112226,"filename":"image_13012025_06_26_03_142806_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328588720","file1":"1328588716","file0":"1328588713","file3":"1328588736"},"map_files_photo_id_array":[{"photo_id":"1328588720","filename":"file2"},{"photo_id":"1328588716","filename":"file1"},{"photo_id":"1328588713","filename":"file0"},{"photo_id":"1328588736","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328588736":["hashtag1","hashtag2"]},{"1328588720":["hashtag1","hashtag2"]},{"1328588716":["hashtag1","hashtag2"]},{"1328588713":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328588736, 1328588720, 1328588716, 1328588713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.855056285858154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:28:02.905009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:28:22.567214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/27/image_13012025_06_27_02_764854_0003.jpg', '/home/pi/Desktop/images/13012025/06/28/image_13012025_06_28_02_251070_0000.jpg', '/home/pi/Desktop/images/13012025/06/28/image_13012025_06_28_02_251070_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/27/image_13012025_06_27_02_764854_0003.jpg
/home/pi/Desktop/images/13012025/06/28/image_13012025_06_28_02_251070_0000.jpg
/home/pi/Desktop/images/13012025/06/28/image_13012025_06_28_02_251070_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328588756","1328588765","1328588761"],"photo_ids_order":["1328588756","1328588761","1328588765"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7355f4fdbec94115879fc2a34bd0e230.jpg","text":"TemporaryFile(/tmp/multipartBody4924584388307903007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746170550,"filename":"image_13012025_06_27_02_764854_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4aa700e0cda683fae96b4e8ccb3656a2.jpg","text":"TemporaryFile(/tmp/multipartBody124994165286258468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746170550,"filename":"image_13012025_06_28_02_251070_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c55670c35900a4095299f3118fcc7dbe.jpg","text":"TemporaryFile(/tmp/multipartBody5491537798682557498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746170550,"filename":"image_13012025_06_28_02_251070_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328588765","file1":"1328588761","file0":"1328588756"},"map_files_photo_id_array":[{"photo_id":"1328588765","filename":"file2"},{"photo_id":"1328588761","filename":"file1"},{"photo_id":"1328588756","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328588756":["hashtag1","hashtag2"]},{"1328588765":["hashtag1","hashtag2"]},{"1328588761":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328588756, 1328588765, 1328588761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.51528573036194 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:29:02.593446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:29:21.995422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/28/image_13012025_06_28_02_251070_0002.jpg', '/home/pi/Desktop/images/13012025/06/29/image_13012025_06_29_02_864489_0000.jpg', '/home/pi/Desktop/images/13012025/06/29/image_13012025_06_29_02_864489_0001.jpg', '/home/pi/Desktop/images/13012025/06/29/image_13012025_06_29_02_864489_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/28/image_13012025_06_28_02_251070_0002.jpg
/home/pi/Desktop/images/13012025/06/29/image_13012025_06_29_02_864489_0000.jpg
/home/pi/Desktop/images/13012025/06/29/image_13012025_06_29_02_864489_0001.jpg
/home/pi/Desktop/images/13012025/06/29/image_13012025_06_29_02_864489_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328588879","1328588886","1328588889","1328588883"],"photo_ids_order":["1328588879","1328588883","1328588886","1328588889"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e91abb1f294f9aeaa4efe3ffbffa9ac9.jpg","text":"TemporaryFile(/tmp/multipartBody1854980764337216919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746232311,"filename":"image_13012025_06_28_02_251070_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e2ed20585a46ed4e6cca8f755c051a04.jpg","text":"TemporaryFile(/tmp/multipartBody6070839184365358335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746232311,"filename":"image_13012025_06_29_02_864489_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/22c4eae6f6c17b832e885982e36e8106.jpg","text":"TemporaryFile(/tmp/multipartBody4323731041474414849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746232311,"filename":"image_13012025_06_29_02_864489_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e3e19504ce2c4a35a4cde6a4f15fb44f.jpg","text":"TemporaryFile(/tmp/multipartBody7379165877322615103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746232311,"filename":"image_13012025_06_29_02_864489_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328588886","file1":"1328588883","file0":"1328588879","file3":"1328588889"},"map_files_photo_id_array":[{"photo_id":"1328588886","filename":"file2"},{"photo_id":"1328588883","filename":"file1"},{"photo_id":"1328588879","filename":"file0"},{"photo_id":"1328588889","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328588879":["hashtag1","hashtag2"]},{"1328588886":["hashtag1","hashtag2"]},{"1328588889":["hashtag1","hashtag2"]},{"1328588883":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328588879, 1328588886, 1328588889, 1328588883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.08341932296753 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:30:02.239197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:30:21.781266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/29/image_13012025_06_29_02_864489_0003.jpg', '/home/pi/Desktop/images/13012025/06/30/image_13012025_06_30_02_388679_0000.jpg', '/home/pi/Desktop/images/13012025/06/30/image_13012025_06_30_02_388679_0001.jpg', '/home/pi/Desktop/images/13012025/06/30/image_13012025_06_30_02_388679_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/29/image_13012025_06_29_02_864489_0003.jpg
/home/pi/Desktop/images/13012025/06/30/image_13012025_06_30_02_388679_0000.jpg
/home/pi/Desktop/images/13012025/06/30/image_13012025_06_30_02_388679_0001.jpg
/home/pi/Desktop/images/13012025/06/30/image_13012025_06_30_02_388679_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328588964","1328588984","1328589026","1328588956"],"photo_ids_order":["1328588956","1328588964","1328588984","1328589026"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1c073b0975c937d151c7cddecfa985fa.jpg","text":"TemporaryFile(/tmp/multipartBody7578320566289044874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746292187,"filename":"image_13012025_06_30_02_388679_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6d6f3c1af6d804ac0f80365bb5a53cb3.jpg","text":"TemporaryFile(/tmp/multipartBody1863336098885858384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746292187,"filename":"image_13012025_06_30_02_388679_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/00e0409869efdcdf5d6b62ec80906e47.jpg","text":"TemporaryFile(/tmp/multipartBody112144432996399073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746292187,"filename":"image_13012025_06_30_02_388679_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d45dd739aa18cf87f640eceabd84824c.jpg","text":"TemporaryFile(/tmp/multipartBody9145766846438003524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746292187,"filename":"image_13012025_06_29_02_864489_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328588984","file1":"1328588964","file0":"1328588956","file3":"1328589026"},"map_files_photo_id_array":[{"photo_id":"1328588984","filename":"file2"},{"photo_id":"1328588964","filename":"file1"},{"photo_id":"1328588956","filename":"file0"},{"photo_id":"1328589026","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328588964":["hashtag1","hashtag2"]},{"1328588984":["hashtag1","hashtag2"]},{"1328589026":["hashtag1","hashtag2"]},{"1328588956":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328588964, 1328588984, 1328589026, 1328588956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.99007177352905 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:31:22.283975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/30/image_13012025_06_30_02_388679_0003.jpg', '/home/pi/Desktop/images/13012025/06/31/image_13012025_06_31_02_153909_0000.jpg', '/home/pi/Desktop/images/13012025/06/31/image_13012025_06_31_02_153909_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/30/image_13012025_06_30_02_388679_0003.jpg
/home/pi/Desktop/images/13012025/06/31/image_13012025_06_31_02_153909_0000.jpg
/home/pi/Desktop/images/13012025/06/31/image_13012025_06_31_02_153909_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328589038","1328589046","1328589042"],"photo_ids_order":["1328589038","1328589042","1328589046"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a96c7fa3b2e73eef35abb664945c59c6.jpg","text":"TemporaryFile(/tmp/multipartBody6725495831589209505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746350269,"filename":"image_13012025_06_30_02_388679_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e40abf92bd5b0c6368befde9dd2d364b.jpg","text":"TemporaryFile(/tmp/multipartBody3698671285425447781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746350269,"filename":"image_13012025_06_31_02_153909_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/27d01fc74401b15614d8a2f64e38e71b.jpg","text":"TemporaryFile(/tmp/multipartBody5431805831970064334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746350269,"filename":"image_13012025_06_31_02_153909_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328589046","file1":"1328589042","file0":"1328589038"},"map_files_photo_id_array":[{"photo_id":"1328589046","filename":"file2"},{"photo_id":"1328589042","filename":"file1"},{"photo_id":"1328589038","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328589038":["hashtag1","hashtag2"]},{"1328589046":["hashtag1","hashtag2"]},{"1328589042":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328589038, 1328589046, 1328589042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.81779432296753 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:32:02.373101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:32:21.808991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/31/image_13012025_06_31_02_153909_0003.jpg', '/home/pi/Desktop/images/13012025/06/32/image_13012025_06_32_02_684406_0000.jpg', '/home/pi/Desktop/images/13012025/06/32/image_13012025_06_32_02_684406_0001.jpg', '/home/pi/Desktop/images/13012025/06/32/image_13012025_06_32_02_684406_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/31/image_13012025_06_31_02_153909_0003.jpg
/home/pi/Desktop/images/13012025/06/32/image_13012025_06_32_02_684406_0000.jpg
/home/pi/Desktop/images/13012025/06/32/image_13012025_06_32_02_684406_0001.jpg
/home/pi/Desktop/images/13012025/06/32/image_13012025_06_32_02_684406_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328589065","1328589062","1328589058","1328589054"],"photo_ids_order":["1328589054","1328589058","1328589062","1328589065"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3acec39bf73a63618d1c9d97875942b7.jpg","text":"TemporaryFile(/tmp/multipartBody2438979229104891655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746412216,"filename":"image_13012025_06_32_02_684406_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/11d842bef575368b0795133f9daea94c.jpg","text":"TemporaryFile(/tmp/multipartBody5773955640724933236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746412216,"filename":"image_13012025_06_32_02_684406_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b904ef2e96900fe3563857d74124aefc.jpg","text":"TemporaryFile(/tmp/multipartBody2547373380895514021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746412216,"filename":"image_13012025_06_32_02_684406_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a74207194bceca41792884e2e458c126.jpg","text":"TemporaryFile(/tmp/multipartBody796183361021554557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746412216,"filename":"image_13012025_06_31_02_153909_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328589062","file1":"1328589058","file0":"1328589054","file3":"1328589065"},"map_files_photo_id_array":[{"photo_id":"1328589062","filename":"file2"},{"photo_id":"1328589058","filename":"file1"},{"photo_id":"1328589054","filename":"file0"},{"photo_id":"1328589065","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328589065":["hashtag1","hashtag2"]},{"1328589062":["hashtag1","hashtag2"]},{"1328589058":["hashtag1","hashtag2"]},{"1328589054":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328589065, 1328589062, 1328589058, 1328589054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.052536964416504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:33:02.963366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:33:22.271978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/32/image_13012025_06_32_02_684406_0003.jpg', '/home/pi/Desktop/images/13012025/06/33/image_13012025_06_33_02_225057_0000.jpg', '/home/pi/Desktop/images/13012025/06/33/image_13012025_06_33_02_225057_0001.jpg', '/home/pi/Desktop/images/13012025/06/33/image_13012025_06_33_02_225057_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/32/image_13012025_06_32_02_684406_0003.jpg
/home/pi/Desktop/images/13012025/06/33/image_13012025_06_33_02_225057_0000.jpg
/home/pi/Desktop/images/13012025/06/33/image_13012025_06_33_02_225057_0001.jpg
/home/pi/Desktop/images/13012025/06/33/image_13012025_06_33_02_225057_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328589083","1328589077","1328589086","1328589080"],"photo_ids_order":["1328589077","1328589080","1328589083","1328589086"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/69e3cc64877d95dd0ce4f32aae3a6c90.jpg","text":"TemporaryFile(/tmp/multipartBody5613920791989423058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746472661,"filename":"image_13012025_06_33_02_225057_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/74472f38be79478daa9449934d383f9d.jpg","text":"TemporaryFile(/tmp/multipartBody4155650296139192899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746472661,"filename":"image_13012025_06_32_02_684406_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b03623b5101a7f64acd3ae6a64b88095.jpg","text":"TemporaryFile(/tmp/multipartBody9087012426529792364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746472661,"filename":"image_13012025_06_33_02_225057_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/835ec47c0fb8dffce9386a0866624505.jpg","text":"TemporaryFile(/tmp/multipartBody5109113940755635147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746472661,"filename":"image_13012025_06_33_02_225057_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328589083","file1":"1328589080","file0":"1328589077","file3":"1328589086"},"map_files_photo_id_array":[{"photo_id":"1328589083","filename":"file2"},{"photo_id":"1328589080","filename":"file1"},{"photo_id":"1328589077","filename":"file0"},{"photo_id":"1328589086","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328589083":["hashtag1","hashtag2"]},{"1328589077":["hashtag1","hashtag2"]},{"1328589086":["hashtag1","hashtag2"]},{"1328589080":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328589083, 1328589077, 1328589086, 1328589080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.8393919467926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:34:02.284844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:34:21.936855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/33/image_13012025_06_33_02_225057_0003.jpg', '/home/pi/Desktop/images/13012025/06/34/image_13012025_06_34_02_686080_0000.jpg', '/home/pi/Desktop/images/13012025/06/34/image_13012025_06_34_02_686080_0001.jpg', '/home/pi/Desktop/images/13012025/06/34/image_13012025_06_34_02_686080_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/33/image_13012025_06_33_02_225057_0003.jpg
/home/pi/Desktop/images/13012025/06/34/image_13012025_06_34_02_686080_0000.jpg
/home/pi/Desktop/images/13012025/06/34/image_13012025_06_34_02_686080_0001.jpg
/home/pi/Desktop/images/13012025/06/34/image_13012025_06_34_02_686080_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.930569171905518 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:35:03.154684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/33/image_13012025_06_33_02_225057_0003.jpg', '/home/pi/Desktop/images/13012025/06/34/image_13012025_06_34_02_686080_0000.jpg', '/home/pi/Desktop/images/13012025/06/34/image_13012025_06_34_02_686080_0001.jpg', '/home/pi/Desktop/images/13012025/06/34/image_13012025_06_34_02_686080_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/33/image_13012025_06_33_02_225057_0003.jpg
/home/pi/Desktop/images/13012025/06/34/image_13012025_06_34_02_686080_0000.jpg
/home/pi/Desktop/images/13012025/06/34/image_13012025_06_34_02_686080_0001.jpg
/home/pi/Desktop/images/13012025/06/34/image_13012025_06_34_02_686080_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328589170","1328589212","1328589218","1328589220"],"photo_ids_order":["1328589170","1328589212","1328589218","1328589220"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b92fa3d8ac6b6c0fd856206e002021f8.jpg","text":"TemporaryFile(/tmp/multipartBody7082816429482452722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746573531,"filename":"image_13012025_06_33_02_225057_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e8964937527c1e40607f8fa5d53c4a90.jpg","text":"TemporaryFile(/tmp/multipartBody1256410929593607094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746573531,"filename":"image_13012025_06_34_02_686080_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/77038e0861739d5f1fffe2525fd4a7f5.jpg","text":"TemporaryFile(/tmp/multipartBody2899954223193636951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746573531,"filename":"image_13012025_06_34_02_686080_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b382620039a3806ac138f41fd0e16125.jpg","text":"TemporaryFile(/tmp/multipartBody3692160361471372223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746573531,"filename":"image_13012025_06_34_02_686080_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328589218","file1":"1328589212","file0":"1328589170","file3":"1328589220"},"map_files_photo_id_array":[{"photo_id":"1328589218","filename":"file2"},{"photo_id":"1328589212","filename":"file1"},{"photo_id":"1328589170","filename":"file0"},{"photo_id":"1328589220","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328589170":["hashtag1","hashtag2"]},{"1328589212":["hashtag1","hashtag2"]},{"1328589218":["hashtag1","hashtag2"]},{"1328589220":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328589170, 1328589212, 1328589218, 1328589220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.21930980682373 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:36:02.503863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/34/image_13012025_06_34_02_686080_0003.jpg', '/home/pi/Desktop/images/13012025/06/35/image_13012025_06_35_02_395791_0000.jpg', '/home/pi/Desktop/images/13012025/06/35/image_13012025_06_35_02_395791_0001.jpg', '/home/pi/Desktop/images/13012025/06/35/image_13012025_06_35_02_395791_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/34/image_13012025_06_34_02_686080_0003.jpg
/home/pi/Desktop/images/13012025/06/35/image_13012025_06_35_02_395791_0000.jpg
/home/pi/Desktop/images/13012025/06/35/image_13012025_06_35_02_395791_0001.jpg
/home/pi/Desktop/images/13012025/06/35/image_13012025_06_35_02_395791_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.015291452407837 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:36:22.085217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/34/image_13012025_06_34_02_686080_0003.jpg', '/home/pi/Desktop/images/13012025/06/35/image_13012025_06_35_02_395791_0000.jpg', '/home/pi/Desktop/images/13012025/06/35/image_13012025_06_35_02_395791_0001.jpg', '/home/pi/Desktop/images/13012025/06/35/image_13012025_06_35_02_395791_0002.jpg', '/home/pi/Desktop/images/13012025/06/35/image_13012025_06_35_02_395791_0003.jpg', '/home/pi/Desktop/images/13012025/06/36/image_13012025_06_36_02_907975_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/34/image_13012025_06_34_02_686080_0003.jpg
/home/pi/Desktop/images/13012025/06/35/image_13012025_06_35_02_395791_0000.jpg
/home/pi/Desktop/images/13012025/06/35/image_13012025_06_35_02_395791_0001.jpg
/home/pi/Desktop/images/13012025/06/35/image_13012025_06_35_02_395791_0002.jpg
/home/pi/Desktop/images/13012025/06/35/image_13012025_06_35_02_395791_0003.jpg
/home/pi/Desktop/images/13012025/06/36/image_13012025_06_36_02_907975_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328589306","1328589308","1328589242","1328589352","1328589256","1328589297"],"photo_ids_order":["1328589242","1328589256","1328589297","1328589306","1328589308","1328589352"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8949a073e24ede6ae78b2e0b5d06dc79.jpg","text":"TemporaryFile(/tmp/multipartBody4021761972743089700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746657344,"filename":"image_13012025_06_35_02_395791_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f4414732ffa6050ab4ebb5dd6f7d29e2.jpg","text":"TemporaryFile(/tmp/multipartBody8475916035710238158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746657344,"filename":"image_13012025_06_35_02_395791_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/553c54cf81d4d06312afa8514b658be7.jpg","text":"TemporaryFile(/tmp/multipartBody1842909441031557523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746657344,"filename":"image_13012025_06_34_02_686080_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ea0669b55df3bbc52cf9a9ae48139632.jpg","text":"TemporaryFile(/tmp/multipartBody7337342302637314007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746657344,"filename":"image_13012025_06_36_02_907975_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/763dc5418e3c85b01d522d42cf579831.jpg","text":"TemporaryFile(/tmp/multipartBody914655001986670083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746657344,"filename":"image_13012025_06_35_02_395791_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/02f483170038404ae7df56109c653b8f.jpg","text":"TemporaryFile(/tmp/multipartBody1156287941044067680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746657344,"filename":"image_13012025_06_35_02_395791_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328589297","file1":"1328589256","file0":"1328589242","file4":"1328589308","file5":"1328589352","file3":"1328589306"},"map_files_photo_id_array":[{"photo_id":"1328589352","filename":"file5"},{"photo_id":"1328589297","filename":"file2"},{"photo_id":"1328589308","filename":"file4"},{"photo_id":"1328589256","filename":"file1"},{"photo_id":"1328589242","filename":"file0"},{"photo_id":"1328589306","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328589306":["hashtag1","hashtag2"]},{"1328589308":["hashtag1","hashtag2"]},{"1328589242":["hashtag1","hashtag2"]},{"1328589352":["hashtag1","hashtag2"]},{"1328589256":["hashtag1","hashtag2"]},{"1328589297":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328589306, 1328589308, 1328589242, 1328589352, 1328589256, 1328589297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.34512114524841 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:37:22.608349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/36/image_13012025_06_36_02_907975_0001.jpg', '/home/pi/Desktop/images/13012025/06/36/image_13012025_06_36_02_907975_0002.jpg', '/home/pi/Desktop/images/13012025/06/36/image_13012025_06_36_02_907975_0003.jpg', '/home/pi/Desktop/images/13012025/06/37/image_13012025_06_37_02_493166_0000.jpg', '/home/pi/Desktop/images/13012025/06/37/image_13012025_06_37_02_493166_0001.jpg', '/home/pi/Desktop/images/13012025/06/37/image_13012025_06_37_02_493166_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/36/image_13012025_06_36_02_907975_0001.jpg
/home/pi/Desktop/images/13012025/06/36/image_13012025_06_36_02_907975_0002.jpg
/home/pi/Desktop/images/13012025/06/36/image_13012025_06_36_02_907975_0003.jpg
/home/pi/Desktop/images/13012025/06/37/image_13012025_06_37_02_493166_0000.jpg
/home/pi/Desktop/images/13012025/06/37/image_13012025_06_37_02_493166_0001.jpg
/home/pi/Desktop/images/13012025/06/37/image_13012025_06_37_02_493166_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328589362","1328589359","1328589370","1328589372","1328589366","1328589375"],"photo_ids_order":["1328589359","1328589362","1328589366","1328589370","1328589372","1328589375"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2247f85c7dc36be82987f1a78dfcd819.jpg","text":"TemporaryFile(/tmp/multipartBody4758256610779798845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746717897,"filename":"image_13012025_06_36_02_907975_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ba88238f7655c0aae82fed6bb4e67bcd.jpg","text":"TemporaryFile(/tmp/multipartBody1759228726851745347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746717897,"filename":"image_13012025_06_36_02_907975_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5685cd80265c569a5b3b3290d9ef487b.jpg","text":"TemporaryFile(/tmp/multipartBody8554685276143629998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746717897,"filename":"image_13012025_06_37_02_493166_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9767953dba1fa3ac6a7a7452491bf1c0.jpg","text":"TemporaryFile(/tmp/multipartBody8247998694907316997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746717897,"filename":"image_13012025_06_37_02_493166_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/19a46f5737810992a971bb693fcfe526.jpg","text":"TemporaryFile(/tmp/multipartBody6661772044362771997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746717897,"filename":"image_13012025_06_36_02_907975_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/948b3de5a49156b2691f0b7c8ba1336a.jpg","text":"TemporaryFile(/tmp/multipartBody8889452787302238716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746717897,"filename":"image_13012025_06_37_02_493166_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328589366","file1":"1328589362","file0":"1328589359","file4":"1328589372","file5":"1328589375","file3":"1328589370"},"map_files_photo_id_array":[{"photo_id":"1328589375","filename":"file5"},{"photo_id":"1328589366","filename":"file2"},{"photo_id":"1328589372","filename":"file4"},{"photo_id":"1328589362","filename":"file1"},{"photo_id":"1328589359","filename":"file0"},{"photo_id":"1328589370","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328589362":["hashtag1","hashtag2"]},{"1328589359":["hashtag1","hashtag2"]},{"1328589370":["hashtag1","hashtag2"]},{"1328589372":["hashtag1","hashtag2"]},{"1328589366":["hashtag1","hashtag2"]},{"1328589375":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328589362, 1328589359, 1328589370, 1328589372, 1328589366, 1328589375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.91452646255493 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:38:22.079947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/37/image_13012025_06_37_02_493166_0003.jpg', '/home/pi/Desktop/images/13012025/06/38/image_13012025_06_38_02_987214_0000.jpg', '/home/pi/Desktop/images/13012025/06/38/image_13012025_06_38_02_987214_0001.jpg', '/home/pi/Desktop/images/13012025/06/38/image_13012025_06_38_02_987214_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/37/image_13012025_06_37_02_493166_0003.jpg
/home/pi/Desktop/images/13012025/06/38/image_13012025_06_38_02_987214_0000.jpg
/home/pi/Desktop/images/13012025/06/38/image_13012025_06_38_02_987214_0001.jpg
/home/pi/Desktop/images/13012025/06/38/image_13012025_06_38_02_987214_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328589385","1328589379","1328589381","1328589390"],"photo_ids_order":["1328589379","1328589381","1328589385","1328589390"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/80580c54c3ed458118a48b69e44727f2.jpg","text":"TemporaryFile(/tmp/multipartBody4542177311254017636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746772438,"filename":"image_13012025_06_38_02_987214_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4c079914d09d6c37f4f0ac2430ae97cc.jpg","text":"TemporaryFile(/tmp/multipartBody8525387451245615212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746772438,"filename":"image_13012025_06_37_02_493166_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9fe89fb302a44a965f1a0b2896619c86.jpg","text":"TemporaryFile(/tmp/multipartBody419221420005187407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746772438,"filename":"image_13012025_06_38_02_987214_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/33a376acaf71c868f1a2dd1335d368ff.jpg","text":"TemporaryFile(/tmp/multipartBody7846270103423790771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746772438,"filename":"image_13012025_06_38_02_987214_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328589385","file1":"1328589381","file0":"1328589379","file3":"1328589390"},"map_files_photo_id_array":[{"photo_id":"1328589385","filename":"file2"},{"photo_id":"1328589381","filename":"file1"},{"photo_id":"1328589379","filename":"file0"},{"photo_id":"1328589390","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328589385":["hashtag1","hashtag2"]},{"1328589379":["hashtag1","hashtag2"]},{"1328589381":["hashtag1","hashtag2"]},{"1328589390":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328589385, 1328589379, 1328589381, 1328589390)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 40.11864256858826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:39:22.586953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/38/image_13012025_06_38_02_987214_0003.jpg', '/home/pi/Desktop/images/13012025/06/39/image_13012025_06_39_02_447788_0000.jpg', '/home/pi/Desktop/images/13012025/06/39/image_13012025_06_39_02_447788_0001.jpg', '/home/pi/Desktop/images/13012025/06/39/image_13012025_06_39_02_447788_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/38/image_13012025_06_38_02_987214_0003.jpg
/home/pi/Desktop/images/13012025/06/39/image_13012025_06_39_02_447788_0000.jpg
/home/pi/Desktop/images/13012025/06/39/image_13012025_06_39_02_447788_0001.jpg
/home/pi/Desktop/images/13012025/06/39/image_13012025_06_39_02_447788_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328589423","1328589430","1328589409","1328589432"],"photo_ids_order":["1328589409","1328589423","1328589430","1328589432"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a866c86c64f6547f4204f62964bba8a6.jpg","text":"TemporaryFile(/tmp/multipartBody2838117872568015480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746832844,"filename":"image_13012025_06_39_02_447788_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f118f1604e116f9a50107171b10a06dc.jpg","text":"TemporaryFile(/tmp/multipartBody6707228959372623342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746832844,"filename":"image_13012025_06_39_02_447788_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ed5a99b9064ca733aa2110fa86bd06e0.jpg","text":"TemporaryFile(/tmp/multipartBody3077222166248095302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746832844,"filename":"image_13012025_06_38_02_987214_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b15678008ce4616ad1899ad523f2e581.jpg","text":"TemporaryFile(/tmp/multipartBody1498279577371343411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746832844,"filename":"image_13012025_06_39_02_447788_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328589430","file1":"1328589423","file0":"1328589409","file3":"1328589432"},"map_files_photo_id_array":[{"photo_id":"1328589430","filename":"file2"},{"photo_id":"1328589423","filename":"file1"},{"photo_id":"1328589409","filename":"file0"},{"photo_id":"1328589432","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328589423":["hashtag1","hashtag2"]},{"1328589430":["hashtag1","hashtag2"]},{"1328589409":["hashtag1","hashtag2"]},{"1328589432":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328589423, 1328589430, 1328589409, 1328589432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.77481031417847 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:40:02.559831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:40:22.067685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/39/image_13012025_06_39_02_447788_0003.jpg', '/home/pi/Desktop/images/13012025/06/40/image_13012025_06_40_02_972272_0000.jpg', '/home/pi/Desktop/images/13012025/06/40/image_13012025_06_40_02_972272_0001.jpg', '/home/pi/Desktop/images/13012025/06/40/image_13012025_06_40_02_972272_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/39/image_13012025_06_39_02_447788_0003.jpg
/home/pi/Desktop/images/13012025/06/40/image_13012025_06_40_02_972272_0000.jpg
/home/pi/Desktop/images/13012025/06/40/image_13012025_06_40_02_972272_0001.jpg
/home/pi/Desktop/images/13012025/06/40/image_13012025_06_40_02_972272_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328589522","1328589542","1328589545","1328589539"],"photo_ids_order":["1328589522","1328589539","1328589542","1328589545"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1514bc3874d1235a0ba30fcacbeedfaa.jpg","text":"TemporaryFile(/tmp/multipartBody4056457297261527352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746892533,"filename":"image_13012025_06_39_02_447788_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/329b4d1db0dbd34cab7feebed4201496.jpg","text":"TemporaryFile(/tmp/multipartBody8313146446730984411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746892533,"filename":"image_13012025_06_40_02_972272_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5ade414629d5f8ffbb938b0ca8f1f134.jpg","text":"TemporaryFile(/tmp/multipartBody4986528054073832282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746892533,"filename":"image_13012025_06_40_02_972272_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/47d4845cf60b59f382312361481d37ee.jpg","text":"TemporaryFile(/tmp/multipartBody8044336535005731477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746892533,"filename":"image_13012025_06_40_02_972272_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328589542","file1":"1328589539","file0":"1328589522","file3":"1328589545"},"map_files_photo_id_array":[{"photo_id":"1328589542","filename":"file2"},{"photo_id":"1328589539","filename":"file1"},{"photo_id":"1328589522","filename":"file0"},{"photo_id":"1328589545","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328589522":["hashtag1","hashtag2"]},{"1328589542":["hashtag1","hashtag2"]},{"1328589545":["hashtag1","hashtag2"]},{"1328589539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328589522, 1328589542, 1328589545, 1328589539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.968920946121216 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:41:22.574007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/40/image_13012025_06_40_02_972272_0003.jpg', '/home/pi/Desktop/images/13012025/06/41/image_13012025_06_41_02_443843_0000.jpg', '/home/pi/Desktop/images/13012025/06/41/image_13012025_06_41_02_443843_0001.jpg', '/home/pi/Desktop/images/13012025/06/41/image_13012025_06_41_02_443843_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/40/image_13012025_06_40_02_972272_0003.jpg
/home/pi/Desktop/images/13012025/06/41/image_13012025_06_41_02_443843_0000.jpg
/home/pi/Desktop/images/13012025/06/41/image_13012025_06_41_02_443843_0001.jpg
/home/pi/Desktop/images/13012025/06/41/image_13012025_06_41_02_443843_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328589559","1328589561","1328589555","1328589564"],"photo_ids_order":["1328589555","1328589559","1328589561","1328589564"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/37d1d4a03912d08cc55062e3da0450bd.jpg","text":"TemporaryFile(/tmp/multipartBody4837691499906400310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746952824,"filename":"image_13012025_06_41_02_443843_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4475f1ab4d4288743fb16e53b8cb5763.jpg","text":"TemporaryFile(/tmp/multipartBody2369323175742705047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746952824,"filename":"image_13012025_06_41_02_443843_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1eb79b002d357a5e291f6f9afadba94c.jpg","text":"TemporaryFile(/tmp/multipartBody2100893523647316353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746952824,"filename":"image_13012025_06_40_02_972272_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0f80d5d488321b53bbf66fd9188e8748.jpg","text":"TemporaryFile(/tmp/multipartBody7175782294672336914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736746952824,"filename":"image_13012025_06_41_02_443843_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328589561","file1":"1328589559","file0":"1328589555","file3":"1328589564"},"map_files_photo_id_array":[{"photo_id":"1328589561","filename":"file2"},{"photo_id":"1328589559","filename":"file1"},{"photo_id":"1328589555","filename":"file0"},{"photo_id":"1328589564","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328589559":["hashtag1","hashtag2"]},{"1328589561":["hashtag1","hashtag2"]},{"1328589555":["hashtag1","hashtag2"]},{"1328589564":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328589559, 1328589561, 1328589555, 1328589564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.93189454078674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:42:22.111716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/41/image_13012025_06_41_02_443843_0003.jpg', '/home/pi/Desktop/images/13012025/06/42/image_13012025_06_42_02_980155_0000.jpg', '/home/pi/Desktop/images/13012025/06/42/image_13012025_06_42_02_980155_0001.jpg', '/home/pi/Desktop/images/13012025/06/42/image_13012025_06_42_02_980155_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/41/image_13012025_06_41_02_443843_0003.jpg
/home/pi/Desktop/images/13012025/06/42/image_13012025_06_42_02_980155_0000.jpg
/home/pi/Desktop/images/13012025/06/42/image_13012025_06_42_02_980155_0001.jpg
/home/pi/Desktop/images/13012025/06/42/image_13012025_06_42_02_980155_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328589581","1328589578","1328589595","1328589576"],"photo_ids_order":["1328589576","1328589578","1328589581","1328589595"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e10687b4c7bb8b84753a91f1b8fc1d1c.jpg","text":"TemporaryFile(/tmp/multipartBody2552912214578511179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747012439,"filename":"image_13012025_06_42_02_980155_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ac10835ed774c1761bd73f6b5869d839.jpg","text":"TemporaryFile(/tmp/multipartBody8571662795107296794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747012439,"filename":"image_13012025_06_42_02_980155_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8002525d600b5b4ebeaa5aa8e3dd6cff.jpg","text":"TemporaryFile(/tmp/multipartBody8123907864619901210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747012439,"filename":"image_13012025_06_42_02_980155_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1bbb26b651d95e671d6af2d7fe05f9ae.jpg","text":"TemporaryFile(/tmp/multipartBody945075677234726499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747012439,"filename":"image_13012025_06_41_02_443843_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328589581","file1":"1328589578","file0":"1328589576","file3":"1328589595"},"map_files_photo_id_array":[{"photo_id":"1328589581","filename":"file2"},{"photo_id":"1328589578","filename":"file1"},{"photo_id":"1328589576","filename":"file0"},{"photo_id":"1328589595","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328589581":["hashtag1","hashtag2"]},{"1328589578":["hashtag1","hashtag2"]},{"1328589595":["hashtag1","hashtag2"]},{"1328589576":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328589581, 1328589578, 1328589595, 1328589576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.27317476272583 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:43:03.167736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:43:22.577783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/42/image_13012025_06_42_02_980155_0003.jpg', '/home/pi/Desktop/images/13012025/06/43/image_13012025_06_43_02_491461_0000.jpg', '/home/pi/Desktop/images/13012025/06/43/image_13012025_06_43_02_491461_0001.jpg', '/home/pi/Desktop/images/13012025/06/43/image_13012025_06_43_02_491461_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/42/image_13012025_06_42_02_980155_0003.jpg
/home/pi/Desktop/images/13012025/06/43/image_13012025_06_43_02_491461_0000.jpg
/home/pi/Desktop/images/13012025/06/43/image_13012025_06_43_02_491461_0001.jpg
/home/pi/Desktop/images/13012025/06/43/image_13012025_06_43_02_491461_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328589620","1328589613","1328589616","1328589625"],"photo_ids_order":["1328589613","1328589616","1328589620","1328589625"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a127d9857b339af55085ac9eb3ce6b7a.jpg","text":"TemporaryFile(/tmp/multipartBody8617056280876146916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747072843,"filename":"image_13012025_06_43_02_491461_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/130f14011db46a9330665f2ab7202c4b.jpg","text":"TemporaryFile(/tmp/multipartBody7131275301808430795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747072843,"filename":"image_13012025_06_42_02_980155_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ab3af903e8bee6bbb3beedf01ce82c63.jpg","text":"TemporaryFile(/tmp/multipartBody6071370653011829746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747072843,"filename":"image_13012025_06_43_02_491461_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/917ec7a7d1003437c9717a7f07027b43.jpg","text":"TemporaryFile(/tmp/multipartBody3073695084577987101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747072843,"filename":"image_13012025_06_43_02_491461_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328589620","file1":"1328589616","file0":"1328589613","file3":"1328589625"},"map_files_photo_id_array":[{"photo_id":"1328589620","filename":"file2"},{"photo_id":"1328589616","filename":"file1"},{"photo_id":"1328589613","filename":"file0"},{"photo_id":"1328589625","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328589620":["hashtag1","hashtag2"]},{"1328589613":["hashtag1","hashtag2"]},{"1328589616":["hashtag1","hashtag2"]},{"1328589625":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328589620, 1328589613, 1328589616, 1328589625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.6730523109436 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:44:22.399247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/43/image_13012025_06_43_02_491461_0003.jpg', '/home/pi/Desktop/images/13012025/06/44/image_13012025_06_44_03_068214_0000.jpg', '/home/pi/Desktop/images/13012025/06/44/image_13012025_06_44_03_068214_0001.jpg', '/home/pi/Desktop/images/13012025/06/44/image_13012025_06_44_03_068214_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/43/image_13012025_06_43_02_491461_0003.jpg
/home/pi/Desktop/images/13012025/06/44/image_13012025_06_44_03_068214_0000.jpg
/home/pi/Desktop/images/13012025/06/44/image_13012025_06_44_03_068214_0001.jpg
/home/pi/Desktop/images/13012025/06/44/image_13012025_06_44_03_068214_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328589692","1328589689","1328589644","1328589679"],"photo_ids_order":["1328589644","1328589679","1328589689","1328589692"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/198bf05ff431390b02bc4102d44a344f.jpg","text":"TemporaryFile(/tmp/multipartBody6560528134424142748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747132905,"filename":"image_13012025_06_44_03_068214_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b325efb54ea2e27abfa840baec856799.jpg","text":"TemporaryFile(/tmp/multipartBody1022015649400984159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747132905,"filename":"image_13012025_06_44_03_068214_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c2d69bdfd6ea89ffb9ef5fb4c8f8e475.jpg","text":"TemporaryFile(/tmp/multipartBody533852917023349034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747132905,"filename":"image_13012025_06_43_02_491461_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/489d8798773ca1e9257d512a688d21cf.jpg","text":"TemporaryFile(/tmp/multipartBody3384602837787885423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747132905,"filename":"image_13012025_06_44_03_068214_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328589689","file1":"1328589679","file0":"1328589644","file3":"1328589692"},"map_files_photo_id_array":[{"photo_id":"1328589689","filename":"file2"},{"photo_id":"1328589679","filename":"file1"},{"photo_id":"1328589644","filename":"file0"},{"photo_id":"1328589692","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328589692":["hashtag1","hashtag2"]},{"1328589689":["hashtag1","hashtag2"]},{"1328589644":["hashtag1","hashtag2"]},{"1328589679":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328589692, 1328589689, 1328589644, 1328589679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.93938112258911 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:45:21.943608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/44/image_13012025_06_44_03_068214_0003.jpg', '/home/pi/Desktop/images/13012025/06/45/image_13012025_06_45_02_812941_0000.jpg', '/home/pi/Desktop/images/13012025/06/45/image_13012025_06_45_02_812941_0001.jpg', '/home/pi/Desktop/images/13012025/06/45/image_13012025_06_45_02_812941_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/44/image_13012025_06_44_03_068214_0003.jpg
/home/pi/Desktop/images/13012025/06/45/image_13012025_06_45_02_812941_0000.jpg
/home/pi/Desktop/images/13012025/06/45/image_13012025_06_45_02_812941_0001.jpg
/home/pi/Desktop/images/13012025/06/45/image_13012025_06_45_02_812941_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328589887","1328589806","1328589790","1328589780"],"photo_ids_order":["1328589780","1328589790","1328589806","1328589887"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/557aaad808f274f6fe7deec269546221.jpg","text":"TemporaryFile(/tmp/multipartBody3620238744327648984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747192168,"filename":"image_13012025_06_45_02_812941_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/83f81d1b68ba5d806a99a7728b517231.jpg","text":"TemporaryFile(/tmp/multipartBody1369323781946245662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747192168,"filename":"image_13012025_06_45_02_812941_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/26c08d4a2d4013831f7cb1a15c9a1e49.jpg","text":"TemporaryFile(/tmp/multipartBody1954827014964142331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747192168,"filename":"image_13012025_06_45_02_812941_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bd62ceac40c58489c4fc15e92b24b7d0.jpg","text":"TemporaryFile(/tmp/multipartBody6674389995104240625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747192168,"filename":"image_13012025_06_44_03_068214_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328589806","file1":"1328589790","file0":"1328589780","file3":"1328589887"},"map_files_photo_id_array":[{"photo_id":"1328589806","filename":"file2"},{"photo_id":"1328589790","filename":"file1"},{"photo_id":"1328589780","filename":"file0"},{"photo_id":"1328589887","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328589887":["hashtag1","hashtag2"]},{"1328589806":["hashtag1","hashtag2"]},{"1328589790":["hashtag1","hashtag2"]},{"1328589780":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328589887, 1328589806, 1328589790, 1328589780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.71014904975891 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:46:02.740632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:46:22.398539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/45/image_13012025_06_45_02_812941_0003.jpg', '/home/pi/Desktop/images/13012025/06/46/image_13012025_06_46_02_302787_0000.jpg', '/home/pi/Desktop/images/13012025/06/46/image_13012025_06_46_02_302787_0001.jpg', '/home/pi/Desktop/images/13012025/06/46/image_13012025_06_46_02_302787_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/45/image_13012025_06_45_02_812941_0003.jpg
/home/pi/Desktop/images/13012025/06/46/image_13012025_06_46_02_302787_0000.jpg
/home/pi/Desktop/images/13012025/06/46/image_13012025_06_46_02_302787_0001.jpg
/home/pi/Desktop/images/13012025/06/46/image_13012025_06_46_02_302787_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328589905","1328589910","1328589907","1328589903"],"photo_ids_order":["1328589903","1328589905","1328589907","1328589910"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7ddd6bd4d071fc40633791da218612fc.jpg","text":"TemporaryFile(/tmp/multipartBody2625156258378232111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747252914,"filename":"image_13012025_06_46_02_302787_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/78261ece7284daf02bc98393fdabdb4c.jpg","text":"TemporaryFile(/tmp/multipartBody6222194093705405860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747252914,"filename":"image_13012025_06_46_02_302787_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2203c4b8a0299e3bbec0c643b3abaf7a.jpg","text":"TemporaryFile(/tmp/multipartBody3822633546556118675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747252914,"filename":"image_13012025_06_46_02_302787_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/08972930bec8fa8894816d7a3a942261.jpg","text":"TemporaryFile(/tmp/multipartBody2223904906586116260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747252914,"filename":"image_13012025_06_45_02_812941_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328589907","file1":"1328589905","file0":"1328589903","file3":"1328589910"},"map_files_photo_id_array":[{"photo_id":"1328589907","filename":"file2"},{"photo_id":"1328589905","filename":"file1"},{"photo_id":"1328589903","filename":"file0"},{"photo_id":"1328589910","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328589905":["hashtag1","hashtag2"]},{"1328589910":["hashtag1","hashtag2"]},{"1328589907":["hashtag1","hashtag2"]},{"1328589903":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328589905, 1328589910, 1328589907, 1328589903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.73647475242615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:47:02.491923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:47:21.863583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/46/image_13012025_06_46_02_302787_0003.jpg', '/home/pi/Desktop/images/13012025/06/47/image_13012025_06_47_02_818283_0001.jpg', '/home/pi/Desktop/images/13012025/06/47/image_13012025_06_47_02_818283_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/46/image_13012025_06_46_02_302787_0003.jpg
/home/pi/Desktop/images/13012025/06/47/image_13012025_06_47_02_818283_0001.jpg
/home/pi/Desktop/images/13012025/06/47/image_13012025_06_47_02_818283_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328589923","1328589925","1328589921"],"photo_ids_order":["1328589921","1328589923","1328589925"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ee4dbf5c43c46f919ee2bb5e0a64b7d8.jpg","text":"TemporaryFile(/tmp/multipartBody1900797425354120560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747309762,"filename":"image_13012025_06_47_02_818283_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5d3989e553d5411c03914c0a20a00941.jpg","text":"TemporaryFile(/tmp/multipartBody4094029186020044393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747309762,"filename":"image_13012025_06_47_02_818283_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bd6b4b80466808ad8841dd012f99fbd2.jpg","text":"TemporaryFile(/tmp/multipartBody5082695608655039105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747309762,"filename":"image_13012025_06_46_02_302787_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328589925","file1":"1328589923","file0":"1328589921"},"map_files_photo_id_array":[{"photo_id":"1328589925","filename":"file2"},{"photo_id":"1328589923","filename":"file1"},{"photo_id":"1328589921","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328589923":["hashtag1","hashtag2"]},{"1328589925":["hashtag1","hashtag2"]},{"1328589921":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328589923, 1328589925, 1328589921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.782594203948975 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:48:02.970159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:48:22.519842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/47/image_13012025_06_47_02_818283_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/47/image_13012025_06_47_02_818283_0003.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328589935"],"photo_id":"1328589935","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2ff4c43b165b0c2c9c026c0d8a43c96d.jpg","text":"TemporaryFile(/tmp/multipartBody7474216268834015278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747365514,"filename":"image_13012025_06_47_02_818283_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1328589935"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1328589935"}],"hashtags":[],"portfolio_id":"19538744","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.896250009536743 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:49:02.618764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:49:22.022707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/48/image_13012025_06_48_02_313209_0002.jpg', '/home/pi/Desktop/images/13012025/06/49/image_13012025_06_49_02_937909_0000.jpg', '/home/pi/Desktop/images/13012025/06/49/image_13012025_06_49_02_937909_0001.jpg', '/home/pi/Desktop/images/13012025/06/49/image_13012025_06_49_02_937909_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/48/image_13012025_06_48_02_313209_0002.jpg
/home/pi/Desktop/images/13012025/06/49/image_13012025_06_49_02_937909_0000.jpg
/home/pi/Desktop/images/13012025/06/49/image_13012025_06_49_02_937909_0001.jpg
/home/pi/Desktop/images/13012025/06/49/image_13012025_06_49_02_937909_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328590017","1328590013","1328590010","1328590015"],"photo_ids_order":["1328590010","1328590013","1328590015","1328590017"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9ea5ac2327d0173c329278cb9609a9a1.jpg","text":"TemporaryFile(/tmp/multipartBody9021306820958560003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747432294,"filename":"image_13012025_06_49_02_937909_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cca077c69479883211df2703db62a0d5.jpg","text":"TemporaryFile(/tmp/multipartBody4621042687133510393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747432294,"filename":"image_13012025_06_49_02_937909_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/52e1836f80ff5c175be213ba3ed37b85.jpg","text":"TemporaryFile(/tmp/multipartBody2439197232136506459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747432294,"filename":"image_13012025_06_48_02_313209_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/65ce694556903b98ecc7a78460c45465.jpg","text":"TemporaryFile(/tmp/multipartBody2909205747664910508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747432294,"filename":"image_13012025_06_49_02_937909_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328590015","file1":"1328590013","file0":"1328590010","file3":"1328590017"},"map_files_photo_id_array":[{"photo_id":"1328590015","filename":"file2"},{"photo_id":"1328590013","filename":"file1"},{"photo_id":"1328590010","filename":"file0"},{"photo_id":"1328590017","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328590017":["hashtag1","hashtag2"]},{"1328590013":["hashtag1","hashtag2"]},{"1328590010":["hashtag1","hashtag2"]},{"1328590015":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328590017, 1328590013, 1328590010, 1328590015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.62119793891907 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:50:03.101160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:50:22.583512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/49/image_13012025_06_49_02_937909_0003.jpg', '/home/pi/Desktop/images/13012025/06/50/image_13012025_06_50_02_403595_0000.jpg', '/home/pi/Desktop/images/13012025/06/50/image_13012025_06_50_02_403595_0001.jpg', '/home/pi/Desktop/images/13012025/06/50/image_13012025_06_50_02_403595_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/49/image_13012025_06_49_02_937909_0003.jpg
/home/pi/Desktop/images/13012025/06/50/image_13012025_06_50_02_403595_0000.jpg
/home/pi/Desktop/images/13012025/06/50/image_13012025_06_50_02_403595_0001.jpg
/home/pi/Desktop/images/13012025/06/50/image_13012025_06_50_02_403595_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.93152928352356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:51:02.683073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/49/image_13012025_06_49_02_937909_0003.jpg', '/home/pi/Desktop/images/13012025/06/50/image_13012025_06_50_02_403595_0000.jpg', '/home/pi/Desktop/images/13012025/06/50/image_13012025_06_50_02_403595_0001.jpg', '/home/pi/Desktop/images/13012025/06/50/image_13012025_06_50_02_403595_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/49/image_13012025_06_49_02_937909_0003.jpg
/home/pi/Desktop/images/13012025/06/50/image_13012025_06_50_02_403595_0000.jpg
/home/pi/Desktop/images/13012025/06/50/image_13012025_06_50_02_403595_0001.jpg
/home/pi/Desktop/images/13012025/06/50/image_13012025_06_50_02_403595_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328590106","1328590121","1328590135","1328590108"],"photo_ids_order":["1328590106","1328590108","1328590121","1328590135"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f3c75e45bed9d462f68fa2c6082a40c1.jpg","text":"TemporaryFile(/tmp/multipartBody3444057461439689238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747533072,"filename":"image_13012025_06_49_02_937909_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e0fbf8f01aaea08ea5e7f229e18c4d1a.jpg","text":"TemporaryFile(/tmp/multipartBody4515630475607661626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747533072,"filename":"image_13012025_06_50_02_403595_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/01cb473e3fbe71251a9d29aa52f906e4.jpg","text":"TemporaryFile(/tmp/multipartBody6591427556892428711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747533072,"filename":"image_13012025_06_50_02_403595_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0b897e7018296f14e2a8621cc69a7474.jpg","text":"TemporaryFile(/tmp/multipartBody5107190121462161073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747533072,"filename":"image_13012025_06_50_02_403595_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328590121","file1":"1328590108","file0":"1328590106","file3":"1328590135"},"map_files_photo_id_array":[{"photo_id":"1328590121","filename":"file2"},{"photo_id":"1328590108","filename":"file1"},{"photo_id":"1328590106","filename":"file0"},{"photo_id":"1328590135","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328590106":["hashtag1","hashtag2"]},{"1328590121":["hashtag1","hashtag2"]},{"1328590135":["hashtag1","hashtag2"]},{"1328590108":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328590106, 1328590121, 1328590135, 1328590108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.44520807266235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:52:02.073430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/50/image_13012025_06_50_02_403595_0003.jpg', '/home/pi/Desktop/images/13012025/06/51/image_13012025_06_51_02_947049_0000.jpg', '/home/pi/Desktop/images/13012025/06/51/image_13012025_06_51_02_947049_0001.jpg', '/home/pi/Desktop/images/13012025/06/51/image_13012025_06_51_02_947049_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/50/image_13012025_06_50_02_403595_0003.jpg
/home/pi/Desktop/images/13012025/06/51/image_13012025_06_51_02_947049_0000.jpg
/home/pi/Desktop/images/13012025/06/51/image_13012025_06_51_02_947049_0001.jpg
/home/pi/Desktop/images/13012025/06/51/image_13012025_06_51_02_947049_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328590152","1328590145","1328590148","1328590147"],"photo_ids_order":["1328590145","1328590147","1328590148","1328590152"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eb99a81c652335c65d6c4b1dd85bdff7.jpg","text":"TemporaryFile(/tmp/multipartBody7569575948545024294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747592374,"filename":"image_13012025_06_51_02_947049_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1bc5e610f046093a172a7aecf1f8e7b6.jpg","text":"TemporaryFile(/tmp/multipartBody5148960122936067611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747592374,"filename":"image_13012025_06_50_02_403595_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8cbe96eaf7bf9a0476d427d943e14507.jpg","text":"TemporaryFile(/tmp/multipartBody6167746314928031295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747592374,"filename":"image_13012025_06_51_02_947049_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/885c2ea86bf8aa5847c5fd5952e879dd.jpg","text":"TemporaryFile(/tmp/multipartBody6161678487004749208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747592374,"filename":"image_13012025_06_51_02_947049_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328590148","file1":"1328590147","file0":"1328590145","file3":"1328590152"},"map_files_photo_id_array":[{"photo_id":"1328590148","filename":"file2"},{"photo_id":"1328590147","filename":"file1"},{"photo_id":"1328590145","filename":"file0"},{"photo_id":"1328590152","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328590152":["hashtag1","hashtag2"]},{"1328590145":["hashtag1","hashtag2"]},{"1328590148":["hashtag1","hashtag2"]},{"1328590147":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328590152, 1328590145, 1328590148, 1328590147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.59944677352905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:53:02.920969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/51/image_13012025_06_51_02_947049_0003.jpg', '/home/pi/Desktop/images/13012025/06/52/image_13012025_06_52_02_484075_0000.jpg', '/home/pi/Desktop/images/13012025/06/52/image_13012025_06_52_02_484075_0001.jpg', '/home/pi/Desktop/images/13012025/06/52/image_13012025_06_52_02_484075_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/51/image_13012025_06_51_02_947049_0003.jpg
/home/pi/Desktop/images/13012025/06/52/image_13012025_06_52_02_484075_0000.jpg
/home/pi/Desktop/images/13012025/06/52/image_13012025_06_52_02_484075_0001.jpg
/home/pi/Desktop/images/13012025/06/52/image_13012025_06_52_02_484075_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328590175","1328590178","1328590180","1328590176"],"photo_ids_order":["1328590175","1328590176","1328590178","1328590180"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cf2b455526146c21bba70fb5d46b4f8f.jpg","text":"TemporaryFile(/tmp/multipartBody4168988684083921041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747653497,"filename":"image_13012025_06_51_02_947049_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4abaa0f898e89ef4eb897881d2a82871.jpg","text":"TemporaryFile(/tmp/multipartBody6518890666619432574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747653497,"filename":"image_13012025_06_52_02_484075_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bda838792d0a1c66d648f8dd66b63181.jpg","text":"TemporaryFile(/tmp/multipartBody569870003987239522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747653497,"filename":"image_13012025_06_52_02_484075_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9b5fb7abe9ace0510b5d011bbfb7bcfa.jpg","text":"TemporaryFile(/tmp/multipartBody231339709839194160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747653497,"filename":"image_13012025_06_52_02_484075_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328590178","file1":"1328590176","file0":"1328590175","file3":"1328590180"},"map_files_photo_id_array":[{"photo_id":"1328590178","filename":"file2"},{"photo_id":"1328590176","filename":"file1"},{"photo_id":"1328590175","filename":"file0"},{"photo_id":"1328590180","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328590175":["hashtag1","hashtag2"]},{"1328590178":["hashtag1","hashtag2"]},{"1328590180":["hashtag1","hashtag2"]},{"1328590176":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328590175, 1328590178, 1328590180, 1328590176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.89661693572998 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:54:02.425494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/52/image_13012025_06_52_02_484075_0003.jpg', '/home/pi/Desktop/images/13012025/06/53/image_13012025_06_53_02_192952_0000.jpg', '/home/pi/Desktop/images/13012025/06/53/image_13012025_06_53_02_192952_0001.jpg', '/home/pi/Desktop/images/13012025/06/53/image_13012025_06_53_02_192952_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/52/image_13012025_06_52_02_484075_0003.jpg
/home/pi/Desktop/images/13012025/06/53/image_13012025_06_53_02_192952_0000.jpg
/home/pi/Desktop/images/13012025/06/53/image_13012025_06_53_02_192952_0001.jpg
/home/pi/Desktop/images/13012025/06/53/image_13012025_06_53_02_192952_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328590200","1328590196","1328590198","1328590202"],"photo_ids_order":["1328590196","1328590198","1328590200","1328590202"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ac9c8b8641cca598d575033ef34320ba.jpg","text":"TemporaryFile(/tmp/multipartBody3133095086318136291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747712706,"filename":"image_13012025_06_53_02_192952_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ce716bd21f67b5db61678eaa2188a2b2.jpg","text":"TemporaryFile(/tmp/multipartBody2209171842340480596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747712706,"filename":"image_13012025_06_52_02_484075_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d7ae21a6342694ece298e3627046d732.jpg","text":"TemporaryFile(/tmp/multipartBody8449249715308308850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747712706,"filename":"image_13012025_06_53_02_192952_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/730d1ff1f197ce8878dd3ea87160af44.jpg","text":"TemporaryFile(/tmp/multipartBody7577992209484390649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747712706,"filename":"image_13012025_06_53_02_192952_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328590200","file1":"1328590198","file0":"1328590196","file3":"1328590202"},"map_files_photo_id_array":[{"photo_id":"1328590200","filename":"file2"},{"photo_id":"1328590198","filename":"file1"},{"photo_id":"1328590196","filename":"file0"},{"photo_id":"1328590202","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328590200":["hashtag1","hashtag2"]},{"1328590196":["hashtag1","hashtag2"]},{"1328590198":["hashtag1","hashtag2"]},{"1328590202":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328590200, 1328590196, 1328590198, 1328590202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.96678447723389 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:55:03.186503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/53/image_13012025_06_53_02_192952_0003.jpg', '/home/pi/Desktop/images/13012025/06/54/image_13012025_06_54_02_694492_0000.jpg', '/home/pi/Desktop/images/13012025/06/54/image_13012025_06_54_02_694492_0001.jpg', '/home/pi/Desktop/images/13012025/06/54/image_13012025_06_54_02_694492_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/53/image_13012025_06_53_02_192952_0003.jpg
/home/pi/Desktop/images/13012025/06/54/image_13012025_06_54_02_694492_0000.jpg
/home/pi/Desktop/images/13012025/06/54/image_13012025_06_54_02_694492_0001.jpg
/home/pi/Desktop/images/13012025/06/54/image_13012025_06_54_02_694492_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.799201011657715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:55:22.374560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/53/image_13012025_06_53_02_192952_0003.jpg', '/home/pi/Desktop/images/13012025/06/54/image_13012025_06_54_02_694492_0000.jpg', '/home/pi/Desktop/images/13012025/06/54/image_13012025_06_54_02_694492_0001.jpg', '/home/pi/Desktop/images/13012025/06/54/image_13012025_06_54_02_694492_0002.jpg', '/home/pi/Desktop/images/13012025/06/54/image_13012025_06_54_02_694492_0003.jpg', '/home/pi/Desktop/images/13012025/06/55/image_13012025_06_55_02_325746_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/53/image_13012025_06_53_02_192952_0003.jpg
/home/pi/Desktop/images/13012025/06/54/image_13012025_06_54_02_694492_0000.jpg
/home/pi/Desktop/images/13012025/06/54/image_13012025_06_54_02_694492_0001.jpg
/home/pi/Desktop/images/13012025/06/54/image_13012025_06_54_02_694492_0002.jpg
/home/pi/Desktop/images/13012025/06/54/image_13012025_06_54_02_694492_0003.jpg
/home/pi/Desktop/images/13012025/06/55/image_13012025_06_55_02_325746_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328590341","1328590355","1328590349","1328590343","1328590346","1328590351"],"photo_ids_order":["1328590341","1328590343","1328590346","1328590349","1328590351","1328590355"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fe69f52312799465e45ef183904dc713.jpg","text":"TemporaryFile(/tmp/multipartBody8511953607225791636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747797325,"filename":"image_13012025_06_53_02_192952_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4ade9a8fe5055062b868fce7401128ce.jpg","text":"TemporaryFile(/tmp/multipartBody7799797018315741823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747797325,"filename":"image_13012025_06_55_02_325746_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/07611badf0789082117ac792d1478789.jpg","text":"TemporaryFile(/tmp/multipartBody7910585829677284148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747797325,"filename":"image_13012025_06_54_02_694492_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e28f390231f3d5f006be895299579ada.jpg","text":"TemporaryFile(/tmp/multipartBody5109820242957185527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747797325,"filename":"image_13012025_06_54_02_694492_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f1bb18a89d9a42373ee063c86cb7994f.jpg","text":"TemporaryFile(/tmp/multipartBody8395863224374805702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747797325,"filename":"image_13012025_06_54_02_694492_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6074a55c80e7d0d082d7585061d3dad0.jpg","text":"TemporaryFile(/tmp/multipartBody2691138835691440440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747797325,"filename":"image_13012025_06_54_02_694492_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328590346","file1":"1328590343","file0":"1328590341","file4":"1328590351","file5":"1328590355","file3":"1328590349"},"map_files_photo_id_array":[{"photo_id":"1328590355","filename":"file5"},{"photo_id":"1328590346","filename":"file2"},{"photo_id":"1328590351","filename":"file4"},{"photo_id":"1328590343","filename":"file1"},{"photo_id":"1328590341","filename":"file0"},{"photo_id":"1328590349","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328590341":["hashtag1","hashtag2"]},{"1328590355":["hashtag1","hashtag2"]},{"1328590349":["hashtag1","hashtag2"]},{"1328590343":["hashtag1","hashtag2"]},{"1328590346":["hashtag1","hashtag2"]},{"1328590351":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328590341, 1328590355, 1328590349, 1328590343, 1328590346, 1328590351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.974552392959595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:56:22.046030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/55/image_13012025_06_55_02_325746_0001.jpg', '/home/pi/Desktop/images/13012025/06/55/image_13012025_06_55_02_325746_0002.jpg', '/home/pi/Desktop/images/13012025/06/55/image_13012025_06_55_02_325746_0003.jpg', '/home/pi/Desktop/images/13012025/06/56/image_13012025_06_56_02_944130_0000.jpg', '/home/pi/Desktop/images/13012025/06/56/image_13012025_06_56_02_944130_0001.jpg', '/home/pi/Desktop/images/13012025/06/56/image_13012025_06_56_02_944130_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/55/image_13012025_06_55_02_325746_0001.jpg
/home/pi/Desktop/images/13012025/06/55/image_13012025_06_55_02_325746_0002.jpg
/home/pi/Desktop/images/13012025/06/55/image_13012025_06_55_02_325746_0003.jpg
/home/pi/Desktop/images/13012025/06/56/image_13012025_06_56_02_944130_0000.jpg
/home/pi/Desktop/images/13012025/06/56/image_13012025_06_56_02_944130_0001.jpg
/home/pi/Desktop/images/13012025/06/56/image_13012025_06_56_02_944130_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328590371","1328590368","1328590373","1328590366","1328590375","1328590377"],"photo_ids_order":["1328590366","1328590368","1328590371","1328590373","1328590375","1328590377"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4a468fdb6060c43fb5640ffdbf2a20a3.jpg","text":"TemporaryFile(/tmp/multipartBody6543029889340950005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747857248,"filename":"image_13012025_06_55_02_325746_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bf68b44da9ad98f15a3cb0039a344533.jpg","text":"TemporaryFile(/tmp/multipartBody4276276044762697477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747857248,"filename":"image_13012025_06_55_02_325746_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7cbd723c621f37806101c0d11e3da2e5.jpg","text":"TemporaryFile(/tmp/multipartBody4424534858497115433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747857248,"filename":"image_13012025_06_56_02_944130_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f4babc3dcca27deab27e6c7abace11d7.jpg","text":"TemporaryFile(/tmp/multipartBody92459432253754135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747857248,"filename":"image_13012025_06_55_02_325746_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d0e1d3a02da376a80d794e3fb5f6712f.jpg","text":"TemporaryFile(/tmp/multipartBody7186185895094705562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747857248,"filename":"image_13012025_06_56_02_944130_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fe9c4d030bc3830198fb7a6139455462.jpg","text":"TemporaryFile(/tmp/multipartBody3637471156368540703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736747857248,"filename":"image_13012025_06_56_02_944130_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328590371","file1":"1328590368","file0":"1328590366","file4":"1328590375","file5":"1328590377","file3":"1328590373"},"map_files_photo_id_array":[{"photo_id":"1328590377","filename":"file5"},{"photo_id":"1328590371","filename":"file2"},{"photo_id":"1328590375","filename":"file4"},{"photo_id":"1328590368","filename":"file1"},{"photo_id":"1328590366","filename":"file0"},{"photo_id":"1328590373","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328590371":["hashtag1","hashtag2"]},{"1328590368":["hashtag1","hashtag2"]},{"1328590373":["hashtag1","hashtag2"]},{"1328590366":["hashtag1","hashtag2"]},{"1328590375":["hashtag1","hashtag2"]},{"1328590377":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328590371, 1328590368, 1328590373, 1328590366, 1328590375, 1328590377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.714852809906006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 06:57:22.624219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/56/image_13012025_06_56_02_944130_0003.jpg', '/home/pi/Desktop/images/13012025/06/57/image_13012025_06_57_02_495246_0000.jpg', '/home/pi/Desktop/images/13012025/06/57/image_13012025_06_57_02_495246_0001.jpg', '/home/pi/Desktop/images/13012025/06/57/image_13012025_06_57_02_495246_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/56/image_13012025_06_56_02_944130_0003.jpg
/home/pi/Desktop/images/13012025/06/57/image_13012025_06_57_02_495246_0000.jpg
/home/pi/Desktop/images/13012025/06/57/image_13012025_06_57_02_495246_0001.jpg
/home/pi/Desktop/images/13012025/06/57/image_13012025_06_57_02_495246_0002.jpg
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 06:59:02.898529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/56/image_13012025_06_56_02_944130_0003.jpg', '/home/pi/Desktop/images/13012025/06/57/image_13012025_06_57_02_495246_0000.jpg', '/home/pi/Desktop/images/13012025/06/57/image_13012025_06_57_02_495246_0001.jpg', '/home/pi/Desktop/images/13012025/06/57/image_13012025_06_57_02_495246_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/56/image_13012025_06_56_02_944130_0003.jpg
/home/pi/Desktop/images/13012025/06/57/image_13012025_06_57_02_495246_0000.jpg
/home/pi/Desktop/images/13012025/06/57/image_13012025_06_57_02_495246_0001.jpg
/home/pi/Desktop/images/13012025/06/57/image_13012025_06_57_02_495246_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328590452","1328590442","1328590447","1328590456"],"photo_ids_order":["1328590442","1328590447","1328590452","1328590456"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f28478347d06b79014281a1fc534bdbf.jpg","text":"TemporaryFile(/tmp/multipartBody3795255504100317847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748013365,"filename":"image_13012025_06_57_02_495246_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e756053d1a5c1292ea69037cc9f0d6e9.jpg","text":"TemporaryFile(/tmp/multipartBody3445174111370606040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748013365,"filename":"image_13012025_06_56_02_944130_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/af82bee5e85dcc07875c16e3d6767626.jpg","text":"TemporaryFile(/tmp/multipartBody4990149164222820968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748013365,"filename":"image_13012025_06_57_02_495246_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7d61d04344e8ec2d66b9006ac30be3cd.jpg","text":"TemporaryFile(/tmp/multipartBody6569966261469328103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748013365,"filename":"image_13012025_06_57_02_495246_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328590452","file1":"1328590447","file0":"1328590442","file3":"1328590456"},"map_files_photo_id_array":[{"photo_id":"1328590452","filename":"file2"},{"photo_id":"1328590447","filename":"file1"},{"photo_id":"1328590442","filename":"file0"},{"photo_id":"1328590456","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328590452":["hashtag1","hashtag2"]},{"1328590442":["hashtag1","hashtag2"]},{"1328590447":["hashtag1","hashtag2"]},{"1328590456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328590452, 1328590442, 1328590447, 1328590456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.926356077194214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:00:02.388344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/57/image_13012025_06_57_02_495246_0003.jpg', '/home/pi/Desktop/images/13012025/06/58/image_13012025_06_58_03_009905_0000.jpg', '/home/pi/Desktop/images/13012025/06/58/image_13012025_06_58_03_009905_0001.jpg', '/home/pi/Desktop/images/13012025/06/58/image_13012025_06_58_03_009905_0002.jpg', '/home/pi/Desktop/images/13012025/06/58/image_13012025_06_58_03_009905_0003.jpg', '/home/pi/Desktop/images/13012025/06/59/image_13012025_06_59_02_515335_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/57/image_13012025_06_57_02_495246_0003.jpg
/home/pi/Desktop/images/13012025/06/58/image_13012025_06_58_03_009905_0000.jpg
/home/pi/Desktop/images/13012025/06/58/image_13012025_06_58_03_009905_0001.jpg
/home/pi/Desktop/images/13012025/06/58/image_13012025_06_58_03_009905_0002.jpg
/home/pi/Desktop/images/13012025/06/58/image_13012025_06_58_03_009905_0003.jpg
/home/pi/Desktop/images/13012025/06/59/image_13012025_06_59_02_515335_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328590824","1328590632","1328590500","1328591182","1328591185","1328591007"],"photo_ids_order":["1328590500","1328590632","1328590824","1328591007","1328591182","1328591185"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4227a548a20eb85fa87d2d5c381055e0.jpg","text":"TemporaryFile(/tmp/multipartBody6781036356556509386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748077361,"filename":"image_13012025_06_58_03_009905_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ca97e870c13fbfb7667fdce13c5c4fef.jpg","text":"TemporaryFile(/tmp/multipartBody7307796228552692126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748077361,"filename":"image_13012025_06_58_03_009905_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/71722ac25036ca778e9bcc2af7cdcd23.jpg","text":"TemporaryFile(/tmp/multipartBody1291714215803734701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748077361,"filename":"image_13012025_06_57_02_495246_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b9d1b2bb4eddaa14938a2b08346799c6.jpg","text":"TemporaryFile(/tmp/multipartBody226695999056439820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748077361,"filename":"image_13012025_06_58_03_009905_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f283eb041c415b472b3cf141ef6bf91d.jpg","text":"TemporaryFile(/tmp/multipartBody7048388266754053653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748077361,"filename":"image_13012025_06_59_02_515335_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4cdadb1f11c52b4cc335b8327f939075.jpg","text":"TemporaryFile(/tmp/multipartBody6719026468533690883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748077361,"filename":"image_13012025_06_58_03_009905_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328590824","file1":"1328590632","file0":"1328590500","file4":"1328591182","file5":"1328591185","file3":"1328591007"},"map_files_photo_id_array":[{"photo_id":"1328591185","filename":"file5"},{"photo_id":"1328590824","filename":"file2"},{"photo_id":"1328591182","filename":"file4"},{"photo_id":"1328590632","filename":"file1"},{"photo_id":"1328590500","filename":"file0"},{"photo_id":"1328591007","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328590824":["hashtag1","hashtag2"]},{"1328590632":["hashtag1","hashtag2"]},{"1328590500":["hashtag1","hashtag2"]},{"1328591182":["hashtag1","hashtag2"]},{"1328591185":["hashtag1","hashtag2"]},{"1328591007":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328590824, 1328590632, 1328590500, 1328591182, 1328591185, 1328591007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.66521978378296 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:01:02.958229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/06/59/image_13012025_06_59_02_515335_0001.jpg', '/home/pi/Desktop/images/13012025/06/59/image_13012025_06_59_02_515335_0003.jpg', '/home/pi/Desktop/images/13012025/07/00/image_13012025_07_00_02_676539_0000.jpg', '/home/pi/Desktop/images/13012025/07/00/image_13012025_07_00_02_676539_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/06/59/image_13012025_06_59_02_515335_0001.jpg
/home/pi/Desktop/images/13012025/06/59/image_13012025_06_59_02_515335_0003.jpg
/home/pi/Desktop/images/13012025/07/00/image_13012025_07_00_02_676539_0000.jpg
/home/pi/Desktop/images/13012025/07/00/image_13012025_07_00_02_676539_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328591204","1328591197","1328591201","1328591196"],"photo_ids_order":["1328591196","1328591197","1328591201","1328591204"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/91b2a60dcd700d8bf3948fd4d0932d2b.jpg","text":"TemporaryFile(/tmp/multipartBody4721302175137449268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748133232,"filename":"image_13012025_07_00_02_676539_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b4a3a03aa064389263a11b300ed92308.jpg","text":"TemporaryFile(/tmp/multipartBody3181292636385818965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748133232,"filename":"image_13012025_06_59_02_515335_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d6af0c6337e25a94ff34c902d712970e.jpg","text":"TemporaryFile(/tmp/multipartBody1367576432699730048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748133232,"filename":"image_13012025_07_00_02_676539_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cbf3b5084cfcdc6277f1fa1235ada535.jpg","text":"TemporaryFile(/tmp/multipartBody5641532489538808183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748133232,"filename":"image_13012025_06_59_02_515335_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328591201","file1":"1328591197","file0":"1328591196","file3":"1328591204"},"map_files_photo_id_array":[{"photo_id":"1328591201","filename":"file2"},{"photo_id":"1328591197","filename":"file1"},{"photo_id":"1328591196","filename":"file0"},{"photo_id":"1328591204","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328591204":["hashtag1","hashtag2"]},{"1328591197":["hashtag1","hashtag2"]},{"1328591201":["hashtag1","hashtag2"]},{"1328591196":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328591204, 1328591197, 1328591201, 1328591196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.13489031791687 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:02:02.712477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/00/image_13012025_07_00_02_676539_0003.jpg', '/home/pi/Desktop/images/13012025/07/01/image_13012025_07_01_02_331277_0000.jpg', '/home/pi/Desktop/images/13012025/07/01/image_13012025_07_01_02_331277_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/00/image_13012025_07_00_02_676539_0003.jpg
/home/pi/Desktop/images/13012025/07/01/image_13012025_07_01_02_331277_0000.jpg
/home/pi/Desktop/images/13012025/07/01/image_13012025_07_01_02_331277_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328591564","1328591596","1328591553"],"photo_ids_order":["1328591553","1328591564","1328591596"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/55792df07e937335bd5a68b03ab45714.jpg","text":"TemporaryFile(/tmp/multipartBody9135379916431948230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748190491,"filename":"image_13012025_07_01_02_331277_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8c3a526e7aac873075c11969a2013374.jpg","text":"TemporaryFile(/tmp/multipartBody1717753014441148726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748190491,"filename":"image_13012025_07_01_02_331277_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8a1796b8816d70a1bb86d3df65a9414f.jpg","text":"TemporaryFile(/tmp/multipartBody612558088734588476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748190491,"filename":"image_13012025_07_00_02_676539_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328591596","file1":"1328591564","file0":"1328591553"},"map_files_photo_id_array":[{"photo_id":"1328591596","filename":"file2"},{"photo_id":"1328591564","filename":"file1"},{"photo_id":"1328591553","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328591564":["hashtag1","hashtag2"]},{"1328591596":["hashtag1","hashtag2"]},{"1328591553":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328591564, 1328591596, 1328591553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.334933280944824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:03:03.377906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/01/image_13012025_07_01_02_331277_0003.jpg', '/home/pi/Desktop/images/13012025/07/02/image_13012025_07_02_02_834477_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/01/image_13012025_07_01_02_331277_0003.jpg
/home/pi/Desktop/images/13012025/07/02/image_13012025_07_02_02_834477_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328591611","1328591613"],"photo_ids_order":["1328591611","1328591613"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/94456fd0aefe317907f2a999637a8e5b.jpg","text":"TemporaryFile(/tmp/multipartBody364079374444640444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748248856,"filename":"image_13012025_07_01_02_331277_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/762ce5f4efd37841dbb6c795e8d4faf5.jpg","text":"TemporaryFile(/tmp/multipartBody6729467042746851037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748248856,"filename":"image_13012025_07_02_02_834477_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328591613","file0":"1328591611"},"map_files_photo_id_array":[{"photo_id":"1328591613","filename":"file1"},{"photo_id":"1328591611","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328591611":["hashtag1","hashtag2"]},{"1328591613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328591611, 1328591613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.66994595527649 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:04:02.696926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/02/image_13012025_07_02_02_834477_0002.jpg', '/home/pi/Desktop/images/13012025/07/03/image_13012025_07_03_02_508701_0000.jpg', '/home/pi/Desktop/images/13012025/07/03/image_13012025_07_03_02_508701_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/02/image_13012025_07_02_02_834477_0002.jpg
/home/pi/Desktop/images/13012025/07/03/image_13012025_07_03_02_508701_0000.jpg
/home/pi/Desktop/images/13012025/07/03/image_13012025_07_03_02_508701_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.611346960067749 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:04:22.235846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/02/image_13012025_07_02_02_834477_0002.jpg', '/home/pi/Desktop/images/13012025/07/03/image_13012025_07_03_02_508701_0000.jpg', '/home/pi/Desktop/images/13012025/07/03/image_13012025_07_03_02_508701_0002.jpg', '/home/pi/Desktop/images/13012025/07/03/image_13012025_07_03_02_508701_0003.jpg', '/home/pi/Desktop/images/13012025/07/04/image_13012025_07_04_03_029620_0001.jpg', '/home/pi/Desktop/images/13012025/07/04/image_13012025_07_04_03_029620_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/02/image_13012025_07_02_02_834477_0002.jpg
/home/pi/Desktop/images/13012025/07/03/image_13012025_07_03_02_508701_0000.jpg
/home/pi/Desktop/images/13012025/07/03/image_13012025_07_03_02_508701_0002.jpg
/home/pi/Desktop/images/13012025/07/03/image_13012025_07_03_02_508701_0003.jpg
/home/pi/Desktop/images/13012025/07/04/image_13012025_07_04_03_029620_0001.jpg
/home/pi/Desktop/images/13012025/07/04/image_13012025_07_04_03_029620_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328591723","1328591732","1328591735","1328591729","1328591740","1328591769"],"photo_ids_order":["1328591723","1328591729","1328591732","1328591735","1328591740","1328591769"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0f419eb90ff90b1d0aa4758e7f069328.jpg","text":"TemporaryFile(/tmp/multipartBody1331253797368185366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748337270,"filename":"image_13012025_07_02_02_834477_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9800f527515469a663fe3fb7d73d4e09.jpg","text":"TemporaryFile(/tmp/multipartBody5719757920622956470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748337270,"filename":"image_13012025_07_03_02_508701_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c0c1008597bbe75c8d61b7839c3273ec.jpg","text":"TemporaryFile(/tmp/multipartBody3968169293811522502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748337270,"filename":"image_13012025_07_03_02_508701_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/67fb87f3dac3b73b37bc33350348c601.jpg","text":"TemporaryFile(/tmp/multipartBody4747528448868270507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748337270,"filename":"image_13012025_07_03_02_508701_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f73e99852f7d8b9dce41d97d0b1173d5.jpg","text":"TemporaryFile(/tmp/multipartBody2311693235679208056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748337270,"filename":"image_13012025_07_04_03_029620_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3f23b981d5a012e3ca1842164641a515.jpg","text":"TemporaryFile(/tmp/multipartBody899549458734240137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748337270,"filename":"image_13012025_07_04_03_029620_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328591732","file1":"1328591729","file0":"1328591723","file4":"1328591740","file5":"1328591769","file3":"1328591735"},"map_files_photo_id_array":[{"photo_id":"1328591769","filename":"file5"},{"photo_id":"1328591732","filename":"file2"},{"photo_id":"1328591740","filename":"file4"},{"photo_id":"1328591729","filename":"file1"},{"photo_id":"1328591723","filename":"file0"},{"photo_id":"1328591735","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328591723":["hashtag1","hashtag2"]},{"1328591732":["hashtag1","hashtag2"]},{"1328591735":["hashtag1","hashtag2"]},{"1328591729":["hashtag1","hashtag2"]},{"1328591740":["hashtag1","hashtag2"]},{"1328591769":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328591723, 1328591732, 1328591735, 1328591729, 1328591740, 1328591769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.111027240753174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:05:21.784476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/04/image_13012025_07_04_03_029620_0003.jpg', '/home/pi/Desktop/images/13012025/07/05/image_13012025_07_05_02_631353_0000.jpg', '/home/pi/Desktop/images/13012025/07/05/image_13012025_07_05_02_631353_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/04/image_13012025_07_04_03_029620_0003.jpg
/home/pi/Desktop/images/13012025/07/05/image_13012025_07_05_02_631353_0000.jpg
/home/pi/Desktop/images/13012025/07/05/image_13012025_07_05_02_631353_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328591813","1328591863","1328591811"],"photo_ids_order":["1328591811","1328591813","1328591863"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bd5325af70fc1673bbce13a566525b96.jpg","text":"TemporaryFile(/tmp/multipartBody5565782481528129707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748389594,"filename":"image_13012025_07_05_02_631353_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/559d959c48973b6a8ca9c32f4d49a13b.jpg","text":"TemporaryFile(/tmp/multipartBody5026330421498398606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748389594,"filename":"image_13012025_07_05_02_631353_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/657af367c1edd122420ccc8ca424711b.jpg","text":"TemporaryFile(/tmp/multipartBody735508459901099513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748389594,"filename":"image_13012025_07_04_03_029620_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328591863","file1":"1328591813","file0":"1328591811"},"map_files_photo_id_array":[{"photo_id":"1328591863","filename":"file2"},{"photo_id":"1328591813","filename":"file1"},{"photo_id":"1328591811","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328591813":["hashtag1","hashtag2"]},{"1328591863":["hashtag1","hashtag2"]},{"1328591811":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328591813, 1328591863, 1328591811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.243624925613403 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:06:02.749052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:06:22.250746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/05/image_13012025_07_05_02_631353_0003.jpg', '/home/pi/Desktop/images/13012025/07/06/image_13012025_07_06_02_113210_0000.jpg', '/home/pi/Desktop/images/13012025/07/06/image_13012025_07_06_02_113210_0001.jpg', '/home/pi/Desktop/images/13012025/07/06/image_13012025_07_06_02_113210_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/05/image_13012025_07_05_02_631353_0003.jpg
/home/pi/Desktop/images/13012025/07/06/image_13012025_07_06_02_113210_0000.jpg
/home/pi/Desktop/images/13012025/07/06/image_13012025_07_06_02_113210_0001.jpg
/home/pi/Desktop/images/13012025/07/06/image_13012025_07_06_02_113210_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328592446","1328592451","1328592448","1328592444"],"photo_ids_order":["1328592444","1328592446","1328592448","1328592451"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8d362a7838386c8346da704718c6b92c.jpg","text":"TemporaryFile(/tmp/multipartBody7148550517994293255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748452446,"filename":"image_13012025_07_06_02_113210_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aa225797d5ff6e8260b7179d9e06eabc.jpg","text":"TemporaryFile(/tmp/multipartBody7454277810265353753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748452446,"filename":"image_13012025_07_06_02_113210_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/13696e90a9f34a25c5e0aaccd2f33460.jpg","text":"TemporaryFile(/tmp/multipartBody201246436430279187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748452446,"filename":"image_13012025_07_06_02_113210_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/11991aefbcdbbdb3278b3562a2a68eaa.jpg","text":"TemporaryFile(/tmp/multipartBody8282001570683077204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748452446,"filename":"image_13012025_07_05_02_631353_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328592448","file1":"1328592446","file0":"1328592444","file3":"1328592451"},"map_files_photo_id_array":[{"photo_id":"1328592448","filename":"file2"},{"photo_id":"1328592446","filename":"file1"},{"photo_id":"1328592444","filename":"file0"},{"photo_id":"1328592451","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328592446":["hashtag1","hashtag2"]},{"1328592451":["hashtag1","hashtag2"]},{"1328592448":["hashtag1","hashtag2"]},{"1328592444":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328592446, 1328592451, 1328592448, 1328592444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.02628207206726 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:07:02.385612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:07:21.735484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/06/image_13012025_07_06_02_113210_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/06/image_13012025_07_06_02_113210_0003.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328592539"],"photo_id":"1328592539","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2d4583d751df48dfd1ec89e338091362.jpg","text":"TemporaryFile(/tmp/multipartBody3357976999100624727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748504781,"filename":"image_13012025_07_06_02_113210_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1328592539"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1328592539"}],"hashtags":[],"portfolio_id":"19538744","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.118196725845337 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:08:03.046443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:08:22.437562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/07/image_13012025_07_07_02_658272_0002.jpg', '/home/pi/Desktop/images/13012025/07/08/image_13012025_07_08_02_203978_0000.jpg', '/home/pi/Desktop/images/13012025/07/08/image_13012025_07_08_02_203978_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/07/image_13012025_07_07_02_658272_0002.jpg
/home/pi/Desktop/images/13012025/07/08/image_13012025_07_08_02_203978_0000.jpg
/home/pi/Desktop/images/13012025/07/08/image_13012025_07_08_02_203978_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328592605","1328592608","1328592612"],"photo_ids_order":["1328592605","1328592608","1328592612"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/653e6a98aea7b63a61ebe52b76f81811.jpg","text":"TemporaryFile(/tmp/multipartBody3160360355451083981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748570249,"filename":"image_13012025_07_07_02_658272_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/106cb67c2a4a6196a8152b925ae6da23.jpg","text":"TemporaryFile(/tmp/multipartBody1611361808181722946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748570249,"filename":"image_13012025_07_08_02_203978_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/60adf563e63d84893eaccf9425f9cee8.jpg","text":"TemporaryFile(/tmp/multipartBody5412416277445466391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748570249,"filename":"image_13012025_07_08_02_203978_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328592612","file1":"1328592608","file0":"1328592605"},"map_files_photo_id_array":[{"photo_id":"1328592612","filename":"file2"},{"photo_id":"1328592608","filename":"file1"},{"photo_id":"1328592605","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328592605":["hashtag1","hashtag2"]},{"1328592608":["hashtag1","hashtag2"]},{"1328592612":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328592605, 1328592608, 1328592612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.816471815109253 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:09:02.500884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:09:21.912353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/08/image_13012025_07_08_02_203978_0003.jpg', '/home/pi/Desktop/images/13012025/07/09/image_13012025_07_09_02_816794_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/08/image_13012025_07_08_02_203978_0003.jpg
/home/pi/Desktop/images/13012025/07/09/image_13012025_07_09_02_816794_0000.jpg
after data_to_send, before sending request
after request
<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>88620mlo7</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>88620mlo7</strong>.
uploaded 0 photos
time to upload: 35.04751181602478 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:10:02.981774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/08/image_13012025_07_08_02_203978_0003.jpg', '/home/pi/Desktop/images/13012025/07/09/image_13012025_07_09_02_816794_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/08/image_13012025_07_08_02_203978_0003.jpg
/home/pi/Desktop/images/13012025/07/09/image_13012025_07_09_02_816794_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 5.072749376296997 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:10:22.524756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/08/image_13012025_07_08_02_203978_0003.jpg', '/home/pi/Desktop/images/13012025/07/09/image_13012025_07_09_02_816794_0000.jpg', '/home/pi/Desktop/images/13012025/07/09/image_13012025_07_09_02_816794_0003.jpg', '/home/pi/Desktop/images/13012025/07/10/image_13012025_07_10_02_349657_0000.jpg', '/home/pi/Desktop/images/13012025/07/10/image_13012025_07_10_02_349657_0001.jpg', '/home/pi/Desktop/images/13012025/07/10/image_13012025_07_10_02_349657_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/08/image_13012025_07_08_02_203978_0003.jpg
/home/pi/Desktop/images/13012025/07/09/image_13012025_07_09_02_816794_0000.jpg
/home/pi/Desktop/images/13012025/07/09/image_13012025_07_09_02_816794_0003.jpg
/home/pi/Desktop/images/13012025/07/10/image_13012025_07_10_02_349657_0000.jpg
/home/pi/Desktop/images/13012025/07/10/image_13012025_07_10_02_349657_0001.jpg
/home/pi/Desktop/images/13012025/07/10/image_13012025_07_10_02_349657_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<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>886210lii</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>886210lii</strong>.
uploaded 0 photos
time to upload: 44.596827030181885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:11:22.018631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/08/image_13012025_07_08_02_203978_0003.jpg', '/home/pi/Desktop/images/13012025/07/09/image_13012025_07_09_02_816794_0000.jpg', '/home/pi/Desktop/images/13012025/07/09/image_13012025_07_09_02_816794_0003.jpg', '/home/pi/Desktop/images/13012025/07/10/image_13012025_07_10_02_349657_0000.jpg', '/home/pi/Desktop/images/13012025/07/10/image_13012025_07_10_02_349657_0001.jpg', '/home/pi/Desktop/images/13012025/07/10/image_13012025_07_10_02_349657_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/08/image_13012025_07_08_02_203978_0003.jpg
/home/pi/Desktop/images/13012025/07/09/image_13012025_07_09_02_816794_0000.jpg
/home/pi/Desktop/images/13012025/07/09/image_13012025_07_09_02_816794_0003.jpg
/home/pi/Desktop/images/13012025/07/10/image_13012025_07_10_02_349657_0000.jpg
/home/pi/Desktop/images/13012025/07/10/image_13012025_07_10_02_349657_0001.jpg
/home/pi/Desktop/images/13012025/07/10/image_13012025_07_10_02_349657_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<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>8862145kg</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>8862145kg</strong>.
uploaded 0 photos
time to upload: 44.639896631240845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:12:22.494897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/08/image_13012025_07_08_02_203978_0003.jpg', '/home/pi/Desktop/images/13012025/07/09/image_13012025_07_09_02_816794_0000.jpg', '/home/pi/Desktop/images/13012025/07/09/image_13012025_07_09_02_816794_0003.jpg', '/home/pi/Desktop/images/13012025/07/10/image_13012025_07_10_02_349657_0000.jpg', '/home/pi/Desktop/images/13012025/07/10/image_13012025_07_10_02_349657_0001.jpg', '/home/pi/Desktop/images/13012025/07/10/image_13012025_07_10_02_349657_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/08/image_13012025_07_08_02_203978_0003.jpg
/home/pi/Desktop/images/13012025/07/09/image_13012025_07_09_02_816794_0000.jpg
/home/pi/Desktop/images/13012025/07/09/image_13012025_07_09_02_816794_0003.jpg
/home/pi/Desktop/images/13012025/07/10/image_13012025_07_10_02_349657_0000.jpg
/home/pi/Desktop/images/13012025/07/10/image_13012025_07_10_02_349657_0001.jpg
/home/pi/Desktop/images/13012025/07/10/image_13012025_07_10_02_349657_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.566865921020508 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:13:02.698012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/08/image_13012025_07_08_02_203978_0003.jpg', '/home/pi/Desktop/images/13012025/07/09/image_13012025_07_09_02_816794_0000.jpg', '/home/pi/Desktop/images/13012025/07/09/image_13012025_07_09_02_816794_0003.jpg', '/home/pi/Desktop/images/13012025/07/10/image_13012025_07_10_02_349657_0000.jpg', '/home/pi/Desktop/images/13012025/07/10/image_13012025_07_10_02_349657_0001.jpg', '/home/pi/Desktop/images/13012025/07/10/image_13012025_07_10_02_349657_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/08/image_13012025_07_08_02_203978_0003.jpg
/home/pi/Desktop/images/13012025/07/09/image_13012025_07_09_02_816794_0000.jpg
/home/pi/Desktop/images/13012025/07/09/image_13012025_07_09_02_816794_0003.jpg
/home/pi/Desktop/images/13012025/07/10/image_13012025_07_10_02_349657_0000.jpg
/home/pi/Desktop/images/13012025/07/10/image_13012025_07_10_02_349657_0001.jpg
/home/pi/Desktop/images/13012025/07/10/image_13012025_07_10_02_349657_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<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>886219ojc</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>886219ojc</strong>.
uploaded 0 photos
time to upload: 44.653239488601685 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:14:02.312816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/08/image_13012025_07_08_02_203978_0003.jpg', '/home/pi/Desktop/images/13012025/07/09/image_13012025_07_09_02_816794_0000.jpg', '/home/pi/Desktop/images/13012025/07/09/image_13012025_07_09_02_816794_0003.jpg', '/home/pi/Desktop/images/13012025/07/10/image_13012025_07_10_02_349657_0000.jpg', '/home/pi/Desktop/images/13012025/07/10/image_13012025_07_10_02_349657_0001.jpg', '/home/pi/Desktop/images/13012025/07/10/image_13012025_07_10_02_349657_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/08/image_13012025_07_08_02_203978_0003.jpg
/home/pi/Desktop/images/13012025/07/09/image_13012025_07_09_02_816794_0000.jpg
/home/pi/Desktop/images/13012025/07/09/image_13012025_07_09_02_816794_0003.jpg
/home/pi/Desktop/images/13012025/07/10/image_13012025_07_10_02_349657_0000.jpg
/home/pi/Desktop/images/13012025/07/10/image_13012025_07_10_02_349657_0001.jpg
/home/pi/Desktop/images/13012025/07/10/image_13012025_07_10_02_349657_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328592641","1328592634","1328592628","1328592643","1328592619","1328592639"],"photo_ids_order":["1328592619","1328592628","1328592634","1328592639","1328592641","1328592643"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e5c69aa1f33179e1725e626eeed326dd.jpg","text":"TemporaryFile(/tmp/multipartBody4914232566387230600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748921190,"filename":"image_13012025_07_10_02_349657_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/610742ced4e48b4604ff8706521d77f4.jpg","text":"TemporaryFile(/tmp/multipartBody2562771975431375565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748921190,"filename":"image_13012025_07_09_02_816794_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/83385288976bb642b4a04d80341efc8e.jpg","text":"TemporaryFile(/tmp/multipartBody4103628714786637207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748921190,"filename":"image_13012025_07_09_02_816794_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eb868fe2f99908c5a89e849a40b2cd4f.jpg","text":"TemporaryFile(/tmp/multipartBody1439735391904069811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748921190,"filename":"image_13012025_07_10_02_349657_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bbc013d28f1641cd8cac9196620a58bc.jpg","text":"TemporaryFile(/tmp/multipartBody1170084985634063050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748921190,"filename":"image_13012025_07_08_02_203978_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8d6d9969835dc1b121f989f32fdab0ea.jpg","text":"TemporaryFile(/tmp/multipartBody182753116888284393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736748921190,"filename":"image_13012025_07_10_02_349657_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328592634","file1":"1328592628","file0":"1328592619","file4":"1328592641","file5":"1328592643","file3":"1328592639"},"map_files_photo_id_array":[{"photo_id":"1328592643","filename":"file5"},{"photo_id":"1328592634","filename":"file2"},{"photo_id":"1328592641","filename":"file4"},{"photo_id":"1328592628","filename":"file1"},{"photo_id":"1328592619","filename":"file0"},{"photo_id":"1328592639","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328592641":["hashtag1","hashtag2"]},{"1328592634":["hashtag1","hashtag2"]},{"1328592628":["hashtag1","hashtag2"]},{"1328592643":["hashtag1","hashtag2"]},{"1328592619":["hashtag1","hashtag2"]},{"1328592639":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328592641, 1328592634, 1328592628, 1328592643, 1328592619, 1328592639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 79.58430743217468 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:16:02.255740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/10/image_13012025_07_10_02_349657_0003.jpg', '/home/pi/Desktop/images/13012025/07/11/image_13012025_07_11_02_868591_0000.jpg', '/home/pi/Desktop/images/13012025/07/11/image_13012025_07_11_02_868591_0001.jpg', '/home/pi/Desktop/images/13012025/07/11/image_13012025_07_11_02_868591_0003.jpg', '/home/pi/Desktop/images/13012025/07/12/image_13012025_07_12_02_393017_0000.jpg', '/home/pi/Desktop/images/13012025/07/12/image_13012025_07_12_02_393017_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/10/image_13012025_07_10_02_349657_0003.jpg
/home/pi/Desktop/images/13012025/07/11/image_13012025_07_11_02_868591_0000.jpg
/home/pi/Desktop/images/13012025/07/11/image_13012025_07_11_02_868591_0001.jpg
/home/pi/Desktop/images/13012025/07/11/image_13012025_07_11_02_868591_0003.jpg
/home/pi/Desktop/images/13012025/07/12/image_13012025_07_12_02_393017_0000.jpg
/home/pi/Desktop/images/13012025/07/12/image_13012025_07_12_02_393017_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328592677","1328592673","1328592681","1328592675","1328592686","1328592671"],"photo_ids_order":["1328592671","1328592673","1328592675","1328592677","1328592681","1328592686"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2c5ce6d6f034dd2fbec66d4db26ae9e9.jpg","text":"TemporaryFile(/tmp/multipartBody4140061436677716899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749037459,"filename":"image_13012025_07_11_02_868591_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/38319603214b09427be95012c0d644e6.jpg","text":"TemporaryFile(/tmp/multipartBody5819434451876494186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749037459,"filename":"image_13012025_07_11_02_868591_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/88ea4de41b5d48e4832e5a2c6ad5bcde.jpg","text":"TemporaryFile(/tmp/multipartBody4606008360901489856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749037459,"filename":"image_13012025_07_12_02_393017_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/82f16243db955d3b90880b255ee2d985.jpg","text":"TemporaryFile(/tmp/multipartBody5909885626610271430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749037459,"filename":"image_13012025_07_11_02_868591_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b9e4abaf390ff0cc3ef939afc639705d.jpg","text":"TemporaryFile(/tmp/multipartBody6539223187532625644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749037459,"filename":"image_13012025_07_12_02_393017_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/68b7b495f54713d3f6435b13b2561ae3.jpg","text":"TemporaryFile(/tmp/multipartBody2807104380362035545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749037459,"filename":"image_13012025_07_10_02_349657_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328592675","file1":"1328592673","file0":"1328592671","file4":"1328592681","file5":"1328592686","file3":"1328592677"},"map_files_photo_id_array":[{"photo_id":"1328592686","filename":"file5"},{"photo_id":"1328592675","filename":"file2"},{"photo_id":"1328592681","filename":"file4"},{"photo_id":"1328592673","filename":"file1"},{"photo_id":"1328592671","filename":"file0"},{"photo_id":"1328592677","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328592677":["hashtag1","hashtag2"]},{"1328592673":["hashtag1","hashtag2"]},{"1328592681":["hashtag1","hashtag2"]},{"1328592675":["hashtag1","hashtag2"]},{"1328592686":["hashtag1","hashtag2"]},{"1328592671":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328592677, 1328592673, 1328592681, 1328592675, 1328592686, 1328592671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.842549085617065 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:17:03.247104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/12/image_13012025_07_12_02_393017_0002.jpg', '/home/pi/Desktop/images/13012025/07/12/image_13012025_07_12_02_393017_0003.jpg', '/home/pi/Desktop/images/13012025/07/13/image_13012025_07_13_02_952365_0000.jpg', '/home/pi/Desktop/images/13012025/07/13/image_13012025_07_13_02_952365_0001.jpg', '/home/pi/Desktop/images/13012025/07/13/image_13012025_07_13_02_952365_0002.jpg', '/home/pi/Desktop/images/13012025/07/13/image_13012025_07_13_02_952365_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/12/image_13012025_07_12_02_393017_0002.jpg
/home/pi/Desktop/images/13012025/07/12/image_13012025_07_12_02_393017_0003.jpg
/home/pi/Desktop/images/13012025/07/13/image_13012025_07_13_02_952365_0000.jpg
/home/pi/Desktop/images/13012025/07/13/image_13012025_07_13_02_952365_0001.jpg
/home/pi/Desktop/images/13012025/07/13/image_13012025_07_13_02_952365_0002.jpg
/home/pi/Desktop/images/13012025/07/13/image_13012025_07_13_02_952365_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328592707","1328592712","1328592715","1328592699","1328592703","1328592717"],"photo_ids_order":["1328592699","1328592703","1328592707","1328592712","1328592715","1328592717"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/561cc5be904e3f0b77f5670b2f5d83c6.jpg","text":"TemporaryFile(/tmp/multipartBody5743381110040053988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749098599,"filename":"image_13012025_07_13_02_952365_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b7891e0013af18c9082a68e1503f2c72.jpg","text":"TemporaryFile(/tmp/multipartBody5822894545462704721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749098599,"filename":"image_13012025_07_13_02_952365_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f2c1064b1ae5a1cd65478937a7a1163c.jpg","text":"TemporaryFile(/tmp/multipartBody2937938610214018244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749098599,"filename":"image_13012025_07_13_02_952365_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d1d1ea7660110dd1c742d70480fbad0c.jpg","text":"TemporaryFile(/tmp/multipartBody708891799846232566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749098599,"filename":"image_13012025_07_12_02_393017_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8eef3acb06bf9884ae81dcd2661949ff.jpg","text":"TemporaryFile(/tmp/multipartBody8065701374498789893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749098599,"filename":"image_13012025_07_12_02_393017_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/39987afc9b23a657af5359ab2215a362.jpg","text":"TemporaryFile(/tmp/multipartBody4767525619582404315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749098599,"filename":"image_13012025_07_13_02_952365_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328592707","file1":"1328592703","file0":"1328592699","file4":"1328592715","file5":"1328592717","file3":"1328592712"},"map_files_photo_id_array":[{"photo_id":"1328592717","filename":"file5"},{"photo_id":"1328592707","filename":"file2"},{"photo_id":"1328592715","filename":"file4"},{"photo_id":"1328592703","filename":"file1"},{"photo_id":"1328592699","filename":"file0"},{"photo_id":"1328592712","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328592707":["hashtag1","hashtag2"]},{"1328592712":["hashtag1","hashtag2"]},{"1328592715":["hashtag1","hashtag2"]},{"1328592699":["hashtag1","hashtag2"]},{"1328592703":["hashtag1","hashtag2"]},{"1328592717":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328592707, 1328592712, 1328592715, 1328592699, 1328592703, 1328592717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.02647256851196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:18:02.561598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/14/image_13012025_07_14_02_488111_0000.jpg', '/home/pi/Desktop/images/13012025/07/14/image_13012025_07_14_02_488111_0001.jpg', '/home/pi/Desktop/images/13012025/07/14/image_13012025_07_14_02_488111_0002.jpg', '/home/pi/Desktop/images/13012025/07/14/image_13012025_07_14_02_488111_0003.jpg', '/home/pi/Desktop/images/13012025/07/15/image_13012025_07_15_02_171259_0000.jpg', '/home/pi/Desktop/images/13012025/07/15/image_13012025_07_15_02_171259_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/14/image_13012025_07_14_02_488111_0000.jpg
/home/pi/Desktop/images/13012025/07/14/image_13012025_07_14_02_488111_0001.jpg
/home/pi/Desktop/images/13012025/07/14/image_13012025_07_14_02_488111_0002.jpg
/home/pi/Desktop/images/13012025/07/14/image_13012025_07_14_02_488111_0003.jpg
/home/pi/Desktop/images/13012025/07/15/image_13012025_07_15_02_171259_0000.jpg
/home/pi/Desktop/images/13012025/07/15/image_13012025_07_15_02_171259_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.915664672851562 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:18:22.128650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/14/image_13012025_07_14_02_488111_0000.jpg', '/home/pi/Desktop/images/13012025/07/14/image_13012025_07_14_02_488111_0001.jpg', '/home/pi/Desktop/images/13012025/07/14/image_13012025_07_14_02_488111_0002.jpg', '/home/pi/Desktop/images/13012025/07/14/image_13012025_07_14_02_488111_0003.jpg', '/home/pi/Desktop/images/13012025/07/15/image_13012025_07_15_02_171259_0000.jpg', '/home/pi/Desktop/images/13012025/07/15/image_13012025_07_15_02_171259_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/14/image_13012025_07_14_02_488111_0000.jpg
/home/pi/Desktop/images/13012025/07/14/image_13012025_07_14_02_488111_0001.jpg
/home/pi/Desktop/images/13012025/07/14/image_13012025_07_14_02_488111_0002.jpg
/home/pi/Desktop/images/13012025/07/14/image_13012025_07_14_02_488111_0003.jpg
/home/pi/Desktop/images/13012025/07/15/image_13012025_07_15_02_171259_0000.jpg
/home/pi/Desktop/images/13012025/07/15/image_13012025_07_15_02_171259_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328592740","1328592742","1328592736","1328592744","1328592738","1328592752"],"photo_ids_order":["1328592736","1328592738","1328592740","1328592742","1328592744","1328592752"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eca277e3971471569ca341f22f350539.jpg","text":"TemporaryFile(/tmp/multipartBody1328212748010542755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749177412,"filename":"image_13012025_07_14_02_488111_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fba58d8ef64ced3cbd0e6ef6895d4433.jpg","text":"TemporaryFile(/tmp/multipartBody1727769363008676672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749177412,"filename":"image_13012025_07_14_02_488111_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/100b50260c22a7509082b8db48d8d0bc.jpg","text":"TemporaryFile(/tmp/multipartBody2144014648935016858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749177412,"filename":"image_13012025_07_14_02_488111_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/49bd88e55526793f7fc7ceff037d2b2d.jpg","text":"TemporaryFile(/tmp/multipartBody3556058743421846949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749177412,"filename":"image_13012025_07_15_02_171259_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/59898c7646a552824cd898792b5b34c4.jpg","text":"TemporaryFile(/tmp/multipartBody106200781332342407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749177412,"filename":"image_13012025_07_14_02_488111_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/98f4ee6c9133705e39701c957d094e15.jpg","text":"TemporaryFile(/tmp/multipartBody6257931837012667148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749177412,"filename":"image_13012025_07_15_02_171259_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328592740","file1":"1328592738","file0":"1328592736","file4":"1328592744","file5":"1328592752","file3":"1328592742"},"map_files_photo_id_array":[{"photo_id":"1328592752","filename":"file5"},{"photo_id":"1328592740","filename":"file2"},{"photo_id":"1328592744","filename":"file4"},{"photo_id":"1328592738","filename":"file1"},{"photo_id":"1328592736","filename":"file0"},{"photo_id":"1328592742","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328592740":["hashtag1","hashtag2"]},{"1328592742":["hashtag1","hashtag2"]},{"1328592736":["hashtag1","hashtag2"]},{"1328592744":["hashtag1","hashtag2"]},{"1328592738":["hashtag1","hashtag2"]},{"1328592752":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328592740, 1328592742, 1328592736, 1328592744, 1328592738, 1328592752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.59984612464905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:20:02.428048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/15/image_13012025_07_15_02_171259_0002.jpg', '/home/pi/Desktop/images/13012025/07/15/image_13012025_07_15_02_171259_0003.jpg', '/home/pi/Desktop/images/13012025/07/16/image_13012025_07_16_02_722449_0000.jpg', '/home/pi/Desktop/images/13012025/07/16/image_13012025_07_16_02_722449_0001.jpg', '/home/pi/Desktop/images/13012025/07/16/image_13012025_07_16_02_722449_0002.jpg', '/home/pi/Desktop/images/13012025/07/16/image_13012025_07_16_02_722449_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/15/image_13012025_07_15_02_171259_0002.jpg
/home/pi/Desktop/images/13012025/07/15/image_13012025_07_15_02_171259_0003.jpg
/home/pi/Desktop/images/13012025/07/16/image_13012025_07_16_02_722449_0000.jpg
/home/pi/Desktop/images/13012025/07/16/image_13012025_07_16_02_722449_0001.jpg
/home/pi/Desktop/images/13012025/07/16/image_13012025_07_16_02_722449_0002.jpg
/home/pi/Desktop/images/13012025/07/16/image_13012025_07_16_02_722449_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328592812","1328592814","1328592819","1328592810","1328592804","1328592807"],"photo_ids_order":["1328592804","1328592807","1328592810","1328592812","1328592814","1328592819"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/934a37fd7fd5d178b2236b799c4adb6a.jpg","text":"TemporaryFile(/tmp/multipartBody6340034795334787395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749277513,"filename":"image_13012025_07_16_02_722449_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/da8396d68c041fe465853b57536177f7.jpg","text":"TemporaryFile(/tmp/multipartBody5949746481329750031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749277513,"filename":"image_13012025_07_16_02_722449_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0d651b994d7a1e5a5e06b47e3eac73e3.jpg","text":"TemporaryFile(/tmp/multipartBody1553187568188995252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749277513,"filename":"image_13012025_07_16_02_722449_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/24be40b56b1ceda6663881d5aac91f0f.jpg","text":"TemporaryFile(/tmp/multipartBody2622893692547300440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749277513,"filename":"image_13012025_07_16_02_722449_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ad92cea68d17efaeae4e1c1f286cf219.jpg","text":"TemporaryFile(/tmp/multipartBody5146861791690257698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749277513,"filename":"image_13012025_07_15_02_171259_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/94ddb916e70416de90007778bdf6bb78.jpg","text":"TemporaryFile(/tmp/multipartBody202491546240472544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749277513,"filename":"image_13012025_07_15_02_171259_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328592810","file1":"1328592807","file0":"1328592804","file4":"1328592814","file5":"1328592819","file3":"1328592812"},"map_files_photo_id_array":[{"photo_id":"1328592819","filename":"file5"},{"photo_id":"1328592810","filename":"file2"},{"photo_id":"1328592814","filename":"file4"},{"photo_id":"1328592807","filename":"file1"},{"photo_id":"1328592804","filename":"file0"},{"photo_id":"1328592812","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328592812":["hashtag1","hashtag2"]},{"1328592814":["hashtag1","hashtag2"]},{"1328592819":["hashtag1","hashtag2"]},{"1328592810":["hashtag1","hashtag2"]},{"1328592804":["hashtag1","hashtag2"]},{"1328592807":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328592812, 1328592814, 1328592819, 1328592810, 1328592804, 1328592807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.472663164138794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:21:03.282561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/17/image_13012025_07_17_02_371405_0000.jpg', '/home/pi/Desktop/images/13012025/07/17/image_13012025_07_17_02_371405_0001.jpg', '/home/pi/Desktop/images/13012025/07/17/image_13012025_07_17_02_371405_0002.jpg', '/home/pi/Desktop/images/13012025/07/17/image_13012025_07_17_02_371405_0003.jpg', '/home/pi/Desktop/images/13012025/07/18/image_13012025_07_18_02_899345_0000.jpg', '/home/pi/Desktop/images/13012025/07/18/image_13012025_07_18_02_899345_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/17/image_13012025_07_17_02_371405_0000.jpg
/home/pi/Desktop/images/13012025/07/17/image_13012025_07_17_02_371405_0001.jpg
/home/pi/Desktop/images/13012025/07/17/image_13012025_07_17_02_371405_0002.jpg
/home/pi/Desktop/images/13012025/07/17/image_13012025_07_17_02_371405_0003.jpg
/home/pi/Desktop/images/13012025/07/18/image_13012025_07_18_02_899345_0000.jpg
/home/pi/Desktop/images/13012025/07/18/image_13012025_07_18_02_899345_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328592869","1328592860","1328592835","1328592840","1328592843","1328592872"],"photo_ids_order":["1328592835","1328592840","1328592843","1328592860","1328592869","1328592872"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0e3736b07d72dc1e271fcb262892afc0.jpg","text":"TemporaryFile(/tmp/multipartBody694824110983779957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749338420,"filename":"image_13012025_07_18_02_899345_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/70a4c85d9d38a3560008816ebcd42acd.jpg","text":"TemporaryFile(/tmp/multipartBody1600715091569905417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749338420,"filename":"image_13012025_07_17_02_371405_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9fc589669a1dc089427afcac467c9cae.jpg","text":"TemporaryFile(/tmp/multipartBody7572098272818347735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749338420,"filename":"image_13012025_07_17_02_371405_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2e8eebafcbf9597ba79dd17a534f1aac.jpg","text":"TemporaryFile(/tmp/multipartBody6007998707078719361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749338420,"filename":"image_13012025_07_17_02_371405_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3b5a49e009445f90ad923e1cd753f25f.jpg","text":"TemporaryFile(/tmp/multipartBody2192372531352079154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749338420,"filename":"image_13012025_07_17_02_371405_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d355da6dbb28e646b927e58d127cb573.jpg","text":"TemporaryFile(/tmp/multipartBody3899283847673627272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749338420,"filename":"image_13012025_07_18_02_899345_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328592843","file1":"1328592840","file0":"1328592835","file4":"1328592869","file5":"1328592872","file3":"1328592860"},"map_files_photo_id_array":[{"photo_id":"1328592872","filename":"file5"},{"photo_id":"1328592843","filename":"file2"},{"photo_id":"1328592869","filename":"file4"},{"photo_id":"1328592840","filename":"file1"},{"photo_id":"1328592835","filename":"file0"},{"photo_id":"1328592860","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328592869":["hashtag1","hashtag2"]},{"1328592860":["hashtag1","hashtag2"]},{"1328592835":["hashtag1","hashtag2"]},{"1328592840":["hashtag1","hashtag2"]},{"1328592843":["hashtag1","hashtag2"]},{"1328592872":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328592869, 1328592860, 1328592835, 1328592840, 1328592843, 1328592872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.011717557907104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:22:02.544503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/18/image_13012025_07_18_02_899345_0002.jpg', '/home/pi/Desktop/images/13012025/07/18/image_13012025_07_18_02_899345_0003.jpg', '/home/pi/Desktop/images/13012025/07/19/image_13012025_07_19_02_455392_0000.jpg', '/home/pi/Desktop/images/13012025/07/19/image_13012025_07_19_02_455392_0001.jpg', '/home/pi/Desktop/images/13012025/07/19/image_13012025_07_19_02_455392_0002.jpg', '/home/pi/Desktop/images/13012025/07/19/image_13012025_07_19_02_455392_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/18/image_13012025_07_18_02_899345_0002.jpg
/home/pi/Desktop/images/13012025/07/18/image_13012025_07_18_02_899345_0003.jpg
/home/pi/Desktop/images/13012025/07/19/image_13012025_07_19_02_455392_0000.jpg
/home/pi/Desktop/images/13012025/07/19/image_13012025_07_19_02_455392_0001.jpg
/home/pi/Desktop/images/13012025/07/19/image_13012025_07_19_02_455392_0002.jpg
/home/pi/Desktop/images/13012025/07/19/image_13012025_07_19_02_455392_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.959438562393188 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:22:22.227571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/18/image_13012025_07_18_02_899345_0002.jpg', '/home/pi/Desktop/images/13012025/07/18/image_13012025_07_18_02_899345_0003.jpg', '/home/pi/Desktop/images/13012025/07/19/image_13012025_07_19_02_455392_0000.jpg', '/home/pi/Desktop/images/13012025/07/19/image_13012025_07_19_02_455392_0001.jpg', '/home/pi/Desktop/images/13012025/07/19/image_13012025_07_19_02_455392_0002.jpg', '/home/pi/Desktop/images/13012025/07/19/image_13012025_07_19_02_455392_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/18/image_13012025_07_18_02_899345_0002.jpg
/home/pi/Desktop/images/13012025/07/18/image_13012025_07_18_02_899345_0003.jpg
/home/pi/Desktop/images/13012025/07/19/image_13012025_07_19_02_455392_0000.jpg
/home/pi/Desktop/images/13012025/07/19/image_13012025_07_19_02_455392_0001.jpg
/home/pi/Desktop/images/13012025/07/19/image_13012025_07_19_02_455392_0002.jpg
/home/pi/Desktop/images/13012025/07/19/image_13012025_07_19_02_455392_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328592908","1328592892","1328592911","1328592904","1328592896","1328592900"],"photo_ids_order":["1328592892","1328592896","1328592900","1328592904","1328592908","1328592911"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2c1d635e544f48f84bdc32c7b60c4b91.jpg","text":"TemporaryFile(/tmp/multipartBody7804381906353759485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749417523,"filename":"image_13012025_07_19_02_455392_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/496d1b89958662b97ce311d93bd18409.jpg","text":"TemporaryFile(/tmp/multipartBody1863498644746791781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749417523,"filename":"image_13012025_07_18_02_899345_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f83f992ee472087b9e21a1c1080d3a02.jpg","text":"TemporaryFile(/tmp/multipartBody9134532361871534059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749417523,"filename":"image_13012025_07_19_02_455392_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b37179b902f86afa5ad5f56908bc04be.jpg","text":"TemporaryFile(/tmp/multipartBody4594836100629895806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749417523,"filename":"image_13012025_07_19_02_455392_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/14d9d59d946dde0626050c3a72fc4a28.jpg","text":"TemporaryFile(/tmp/multipartBody1135717365532632819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749417523,"filename":"image_13012025_07_18_02_899345_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/159cea893c49c61e5ebf1a2ba549b501.jpg","text":"TemporaryFile(/tmp/multipartBody7177788208385084992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749417523,"filename":"image_13012025_07_19_02_455392_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328592900","file1":"1328592896","file0":"1328592892","file4":"1328592908","file5":"1328592911","file3":"1328592904"},"map_files_photo_id_array":[{"photo_id":"1328592911","filename":"file5"},{"photo_id":"1328592900","filename":"file2"},{"photo_id":"1328592908","filename":"file4"},{"photo_id":"1328592896","filename":"file1"},{"photo_id":"1328592892","filename":"file0"},{"photo_id":"1328592904","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328592908":["hashtag1","hashtag2"]},{"1328592892":["hashtag1","hashtag2"]},{"1328592911":["hashtag1","hashtag2"]},{"1328592904":["hashtag1","hashtag2"]},{"1328592896":["hashtag1","hashtag2"]},{"1328592900":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328592908, 1328592892, 1328592911, 1328592904, 1328592896, 1328592900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.396400690078735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:23:21.713454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/20/image_13012025_07_20_02_925367_0000.jpg', '/home/pi/Desktop/images/13012025/07/20/image_13012025_07_20_02_925367_0001.jpg', '/home/pi/Desktop/images/13012025/07/20/image_13012025_07_20_02_925367_0002.jpg', '/home/pi/Desktop/images/13012025/07/20/image_13012025_07_20_02_925367_0003.jpg', '/home/pi/Desktop/images/13012025/07/21/image_13012025_07_21_02_464796_0000.jpg', '/home/pi/Desktop/images/13012025/07/21/image_13012025_07_21_02_464796_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/20/image_13012025_07_20_02_925367_0000.jpg
/home/pi/Desktop/images/13012025/07/20/image_13012025_07_20_02_925367_0001.jpg
/home/pi/Desktop/images/13012025/07/20/image_13012025_07_20_02_925367_0002.jpg
/home/pi/Desktop/images/13012025/07/20/image_13012025_07_20_02_925367_0003.jpg
/home/pi/Desktop/images/13012025/07/21/image_13012025_07_21_02_464796_0000.jpg
/home/pi/Desktop/images/13012025/07/21/image_13012025_07_21_02_464796_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328592941","1328592938","1328592922","1328592933","1328592930","1328592927"],"photo_ids_order":["1328592922","1328592927","1328592930","1328592933","1328592938","1328592941"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9dd30f7849e362df3a2670e9a5a9b1d9.jpg","text":"TemporaryFile(/tmp/multipartBody790448235192370009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749476730,"filename":"image_13012025_07_21_02_464796_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/02e5281b4f36b97caf26bfaf8921b671.jpg","text":"TemporaryFile(/tmp/multipartBody59009813012254863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749476730,"filename":"image_13012025_07_21_02_464796_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4f2ec1695db49ffebb35c00368c7376b.jpg","text":"TemporaryFile(/tmp/multipartBody1880285456634809375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749476730,"filename":"image_13012025_07_20_02_925367_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fd727a918df621bc96dc367549244069.jpg","text":"TemporaryFile(/tmp/multipartBody3048845023217835726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749476730,"filename":"image_13012025_07_20_02_925367_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a8352e5c25cb0f8e7684043736b9683a.jpg","text":"TemporaryFile(/tmp/multipartBody2194877645496617678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749476730,"filename":"image_13012025_07_20_02_925367_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/086151eea2497290efab57b26af9df80.jpg","text":"TemporaryFile(/tmp/multipartBody3286922282797787455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749476730,"filename":"image_13012025_07_20_02_925367_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328592930","file1":"1328592927","file0":"1328592922","file4":"1328592938","file5":"1328592941","file3":"1328592933"},"map_files_photo_id_array":[{"photo_id":"1328592941","filename":"file5"},{"photo_id":"1328592930","filename":"file2"},{"photo_id":"1328592938","filename":"file4"},{"photo_id":"1328592927","filename":"file1"},{"photo_id":"1328592922","filename":"file0"},{"photo_id":"1328592933","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328592941":["hashtag1","hashtag2"]},{"1328592938":["hashtag1","hashtag2"]},{"1328592922":["hashtag1","hashtag2"]},{"1328592933":["hashtag1","hashtag2"]},{"1328592930":["hashtag1","hashtag2"]},{"1328592927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328592941, 1328592938, 1328592922, 1328592933, 1328592930, 1328592927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.38511657714844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:25:02.380004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/21/image_13012025_07_21_02_464796_0002.jpg', '/home/pi/Desktop/images/13012025/07/21/image_13012025_07_21_02_464796_0003.jpg', '/home/pi/Desktop/images/13012025/07/22/image_13012025_07_22_03_039757_0000.jpg', '/home/pi/Desktop/images/13012025/07/22/image_13012025_07_22_03_039757_0001.jpg', '/home/pi/Desktop/images/13012025/07/22/image_13012025_07_22_03_039757_0002.jpg', '/home/pi/Desktop/images/13012025/07/22/image_13012025_07_22_03_039757_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/21/image_13012025_07_21_02_464796_0002.jpg
/home/pi/Desktop/images/13012025/07/21/image_13012025_07_21_02_464796_0003.jpg
/home/pi/Desktop/images/13012025/07/22/image_13012025_07_22_03_039757_0000.jpg
/home/pi/Desktop/images/13012025/07/22/image_13012025_07_22_03_039757_0001.jpg
/home/pi/Desktop/images/13012025/07/22/image_13012025_07_22_03_039757_0002.jpg
/home/pi/Desktop/images/13012025/07/22/image_13012025_07_22_03_039757_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328593090","1328593093","1328593083","1328593089","1328593062","1328593088"],"photo_ids_order":["1328593062","1328593083","1328593088","1328593089","1328593090","1328593093"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cab0dcd71ca9ec31e0f9cd06f7dea820.jpg","text":"TemporaryFile(/tmp/multipartBody6057769314692381932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749577621,"filename":"image_13012025_07_22_03_039757_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6a8bb2d0d01f522b94b6029dd1028d05.jpg","text":"TemporaryFile(/tmp/multipartBody7037500810611733848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749577621,"filename":"image_13012025_07_22_03_039757_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/323d770e2c503700ccbe92abeebc55f3.jpg","text":"TemporaryFile(/tmp/multipartBody5816163607465941981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749577621,"filename":"image_13012025_07_21_02_464796_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b5dbbc39f1bf2b637ceb6ea7ae452706.jpg","text":"TemporaryFile(/tmp/multipartBody3590740502242503116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749577621,"filename":"image_13012025_07_22_03_039757_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/33404741442f9cf56ae3934147822064.jpg","text":"TemporaryFile(/tmp/multipartBody8307050644867812397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749577621,"filename":"image_13012025_07_21_02_464796_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1efbd2713c2cc8da150331c72c72e078.jpg","text":"TemporaryFile(/tmp/multipartBody8802997942790916456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749577621,"filename":"image_13012025_07_22_03_039757_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328593088","file1":"1328593083","file0":"1328593062","file4":"1328593090","file5":"1328593093","file3":"1328593089"},"map_files_photo_id_array":[{"photo_id":"1328593093","filename":"file5"},{"photo_id":"1328593088","filename":"file2"},{"photo_id":"1328593090","filename":"file4"},{"photo_id":"1328593083","filename":"file1"},{"photo_id":"1328593062","filename":"file0"},{"photo_id":"1328593089","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328593090":["hashtag1","hashtag2"]},{"1328593093":["hashtag1","hashtag2"]},{"1328593083":["hashtag1","hashtag2"]},{"1328593089":["hashtag1","hashtag2"]},{"1328593062":["hashtag1","hashtag2"]},{"1328593088":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328593090, 1328593093, 1328593083, 1328593089, 1328593062, 1328593088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.92469668388367 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:26:02.795841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/23/image_13012025_07_23_02_649440_0000.jpg', '/home/pi/Desktop/images/13012025/07/23/image_13012025_07_23_02_649440_0001.jpg', '/home/pi/Desktop/images/13012025/07/23/image_13012025_07_23_02_649440_0002.jpg', '/home/pi/Desktop/images/13012025/07/23/image_13012025_07_23_02_649440_0003.jpg', '/home/pi/Desktop/images/13012025/07/24/image_13012025_07_24_02_177092_0000.jpg', '/home/pi/Desktop/images/13012025/07/24/image_13012025_07_24_02_177092_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/23/image_13012025_07_23_02_649440_0000.jpg
/home/pi/Desktop/images/13012025/07/23/image_13012025_07_23_02_649440_0001.jpg
/home/pi/Desktop/images/13012025/07/23/image_13012025_07_23_02_649440_0002.jpg
/home/pi/Desktop/images/13012025/07/23/image_13012025_07_23_02_649440_0003.jpg
/home/pi/Desktop/images/13012025/07/24/image_13012025_07_24_02_177092_0000.jpg
/home/pi/Desktop/images/13012025/07/24/image_13012025_07_24_02_177092_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 15.134558916091919 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:26:22.492496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/23/image_13012025_07_23_02_649440_0000.jpg', '/home/pi/Desktop/images/13012025/07/23/image_13012025_07_23_02_649440_0001.jpg', '/home/pi/Desktop/images/13012025/07/23/image_13012025_07_23_02_649440_0002.jpg', '/home/pi/Desktop/images/13012025/07/23/image_13012025_07_23_02_649440_0003.jpg', '/home/pi/Desktop/images/13012025/07/24/image_13012025_07_24_02_177092_0000.jpg', '/home/pi/Desktop/images/13012025/07/24/image_13012025_07_24_02_177092_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/23/image_13012025_07_23_02_649440_0000.jpg
/home/pi/Desktop/images/13012025/07/23/image_13012025_07_23_02_649440_0001.jpg
/home/pi/Desktop/images/13012025/07/23/image_13012025_07_23_02_649440_0002.jpg
/home/pi/Desktop/images/13012025/07/23/image_13012025_07_23_02_649440_0003.jpg
/home/pi/Desktop/images/13012025/07/24/image_13012025_07_24_02_177092_0000.jpg
/home/pi/Desktop/images/13012025/07/24/image_13012025_07_24_02_177092_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328593134","1328593113","1328593137","1328593125","1328593119","1328593130"],"photo_ids_order":["1328593113","1328593119","1328593125","1328593130","1328593134","1328593137"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6f070340fb797202a4c9d8832c85b1d3.jpg","text":"TemporaryFile(/tmp/multipartBody3164989859253983382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749657957,"filename":"image_13012025_07_24_02_177092_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3aabd930ef11f2622e324024b355038d.jpg","text":"TemporaryFile(/tmp/multipartBody7099905080405572280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749657957,"filename":"image_13012025_07_23_02_649440_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ffae4e81770053dc5f5e47481bdb0f63.jpg","text":"TemporaryFile(/tmp/multipartBody2006601183685492314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749657957,"filename":"image_13012025_07_24_02_177092_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/46fc534e56d0f54139b483f87e61daf3.jpg","text":"TemporaryFile(/tmp/multipartBody3980192848049135323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749657957,"filename":"image_13012025_07_23_02_649440_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/347f947cd480e4e108fd970e4596837b.jpg","text":"TemporaryFile(/tmp/multipartBody9002390341097177361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749657957,"filename":"image_13012025_07_23_02_649440_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/07278b30b3bc205fcc063bbf3d0e686c.jpg","text":"TemporaryFile(/tmp/multipartBody3447234422699118967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749657957,"filename":"image_13012025_07_23_02_649440_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328593125","file1":"1328593119","file0":"1328593113","file4":"1328593134","file5":"1328593137","file3":"1328593130"},"map_files_photo_id_array":[{"photo_id":"1328593137","filename":"file5"},{"photo_id":"1328593125","filename":"file2"},{"photo_id":"1328593134","filename":"file4"},{"photo_id":"1328593119","filename":"file1"},{"photo_id":"1328593113","filename":"file0"},{"photo_id":"1328593130","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328593134":["hashtag1","hashtag2"]},{"1328593113":["hashtag1","hashtag2"]},{"1328593137":["hashtag1","hashtag2"]},{"1328593125":["hashtag1","hashtag2"]},{"1328593119":["hashtag1","hashtag2"]},{"1328593130":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328593134, 1328593113, 1328593137, 1328593125, 1328593119, 1328593130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.259047985076904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:27:22.046283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/24/image_13012025_07_24_02_177092_0002.jpg', '/home/pi/Desktop/images/13012025/07/24/image_13012025_07_24_02_177092_0003.jpg', '/home/pi/Desktop/images/13012025/07/25/image_13012025_07_25_02_677032_0000.jpg', '/home/pi/Desktop/images/13012025/07/25/image_13012025_07_25_02_677032_0001.jpg', '/home/pi/Desktop/images/13012025/07/25/image_13012025_07_25_02_677032_0002.jpg', '/home/pi/Desktop/images/13012025/07/25/image_13012025_07_25_02_677032_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/24/image_13012025_07_24_02_177092_0002.jpg
/home/pi/Desktop/images/13012025/07/24/image_13012025_07_24_02_177092_0003.jpg
/home/pi/Desktop/images/13012025/07/25/image_13012025_07_25_02_677032_0000.jpg
/home/pi/Desktop/images/13012025/07/25/image_13012025_07_25_02_677032_0001.jpg
/home/pi/Desktop/images/13012025/07/25/image_13012025_07_25_02_677032_0002.jpg
/home/pi/Desktop/images/13012025/07/25/image_13012025_07_25_02_677032_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328593183","1328593189","1328593185","1328593149","1328593166","1328593145"],"photo_ids_order":["1328593145","1328593149","1328593166","1328593183","1328593185","1328593189"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2d7436239732465fe5aa236b4df490bd.jpg","text":"TemporaryFile(/tmp/multipartBody8089486331722639606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749717245,"filename":"image_13012025_07_25_02_677032_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/550aac46b25aff46392a4d34b6486f81.jpg","text":"TemporaryFile(/tmp/multipartBody3264831095711819918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749717245,"filename":"image_13012025_07_25_02_677032_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b791eb50230d1790605f45171db18bbd.jpg","text":"TemporaryFile(/tmp/multipartBody4567414413634494418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749717245,"filename":"image_13012025_07_25_02_677032_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7ba3a36cb0809d2d93420addfecbcdf2.jpg","text":"TemporaryFile(/tmp/multipartBody5068435404009061628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749717245,"filename":"image_13012025_07_24_02_177092_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6d248ad5f6b9d8e7858dda6ecbadd0bc.jpg","text":"TemporaryFile(/tmp/multipartBody2862664280971590518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749717245,"filename":"image_13012025_07_25_02_677032_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3b0e02790d495a392affed3784713fd4.jpg","text":"TemporaryFile(/tmp/multipartBody8577542256315056039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749717245,"filename":"image_13012025_07_24_02_177092_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328593166","file1":"1328593149","file0":"1328593145","file4":"1328593185","file5":"1328593189","file3":"1328593183"},"map_files_photo_id_array":[{"photo_id":"1328593189","filename":"file5"},{"photo_id":"1328593166","filename":"file2"},{"photo_id":"1328593185","filename":"file4"},{"photo_id":"1328593149","filename":"file1"},{"photo_id":"1328593145","filename":"file0"},{"photo_id":"1328593183","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328593183":["hashtag1","hashtag2"]},{"1328593189":["hashtag1","hashtag2"]},{"1328593185":["hashtag1","hashtag2"]},{"1328593149":["hashtag1","hashtag2"]},{"1328593166":["hashtag1","hashtag2"]},{"1328593145":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328593183, 1328593189, 1328593185, 1328593149, 1328593166, 1328593145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.781808853149414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:28:22.515800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/26/image_13012025_07_26_02_206305_0000.jpg', '/home/pi/Desktop/images/13012025/07/26/image_13012025_07_26_02_206305_0001.jpg', '/home/pi/Desktop/images/13012025/07/26/image_13012025_07_26_02_206305_0002.jpg', '/home/pi/Desktop/images/13012025/07/26/image_13012025_07_26_02_206305_0003.jpg', '/home/pi/Desktop/images/13012025/07/27/image_13012025_07_27_02_892797_0000.jpg', '/home/pi/Desktop/images/13012025/07/27/image_13012025_07_27_02_892797_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/26/image_13012025_07_26_02_206305_0000.jpg
/home/pi/Desktop/images/13012025/07/26/image_13012025_07_26_02_206305_0001.jpg
/home/pi/Desktop/images/13012025/07/26/image_13012025_07_26_02_206305_0002.jpg
/home/pi/Desktop/images/13012025/07/26/image_13012025_07_26_02_206305_0003.jpg
/home/pi/Desktop/images/13012025/07/27/image_13012025_07_27_02_892797_0000.jpg
/home/pi/Desktop/images/13012025/07/27/image_13012025_07_27_02_892797_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328593214","1328593219","1328593207","1328593209","1328593203","1328593211"],"photo_ids_order":["1328593203","1328593207","1328593209","1328593211","1328593214","1328593219"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3d7ff90f72353ab25ad645ac5a9503b6.jpg","text":"TemporaryFile(/tmp/multipartBody7436576808425115411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749777583,"filename":"image_13012025_07_27_02_892797_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c10f6e52cc3a057be17a6baa2e23c985.jpg","text":"TemporaryFile(/tmp/multipartBody2693506896094165914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749777583,"filename":"image_13012025_07_27_02_892797_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/341238dd71c04e66cade06d88afdb7f7.jpg","text":"TemporaryFile(/tmp/multipartBody2764113484479014472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749777583,"filename":"image_13012025_07_26_02_206305_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0e71b5e84d700508b9035291052d191b.jpg","text":"TemporaryFile(/tmp/multipartBody2888208015200556562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749777583,"filename":"image_13012025_07_26_02_206305_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/75287d99f66a0126a0e2c99bcd28a0e2.jpg","text":"TemporaryFile(/tmp/multipartBody1360311402915293039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749777583,"filename":"image_13012025_07_26_02_206305_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e7525ac41474e2a3efa8a60029fb80d7.jpg","text":"TemporaryFile(/tmp/multipartBody197761070004451203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749777583,"filename":"image_13012025_07_26_02_206305_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328593209","file1":"1328593207","file0":"1328593203","file4":"1328593214","file5":"1328593219","file3":"1328593211"},"map_files_photo_id_array":[{"photo_id":"1328593219","filename":"file5"},{"photo_id":"1328593209","filename":"file2"},{"photo_id":"1328593214","filename":"file4"},{"photo_id":"1328593207","filename":"file1"},{"photo_id":"1328593203","filename":"file0"},{"photo_id":"1328593211","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328593214":["hashtag1","hashtag2"]},{"1328593219":["hashtag1","hashtag2"]},{"1328593207":["hashtag1","hashtag2"]},{"1328593209":["hashtag1","hashtag2"]},{"1328593203":["hashtag1","hashtag2"]},{"1328593211":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328593214, 1328593219, 1328593207, 1328593209, 1328593203, 1328593211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.24412441253662 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:29:22.207798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/27/image_13012025_07_27_02_892797_0002.jpg', '/home/pi/Desktop/images/13012025/07/27/image_13012025_07_27_02_892797_0003.jpg', '/home/pi/Desktop/images/13012025/07/28/image_13012025_07_28_02_408106_0000.jpg', '/home/pi/Desktop/images/13012025/07/28/image_13012025_07_28_02_408106_0001.jpg', '/home/pi/Desktop/images/13012025/07/28/image_13012025_07_28_02_408106_0002.jpg', '/home/pi/Desktop/images/13012025/07/28/image_13012025_07_28_02_408106_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/27/image_13012025_07_27_02_892797_0002.jpg
/home/pi/Desktop/images/13012025/07/27/image_13012025_07_27_02_892797_0003.jpg
/home/pi/Desktop/images/13012025/07/28/image_13012025_07_28_02_408106_0000.jpg
/home/pi/Desktop/images/13012025/07/28/image_13012025_07_28_02_408106_0001.jpg
/home/pi/Desktop/images/13012025/07/28/image_13012025_07_28_02_408106_0002.jpg
/home/pi/Desktop/images/13012025/07/28/image_13012025_07_28_02_408106_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328593315","1328593269","1328593370","1328593349","1328593283","1328593322"],"photo_ids_order":["1328593269","1328593283","1328593315","1328593322","1328593349","1328593370"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dc52af2f6f1450cbaaa504cfbb38f0f7.jpg","text":"TemporaryFile(/tmp/multipartBody4418146377516604942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749837261,"filename":"image_13012025_07_28_02_408106_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/57409f275dd16a97e0096827f4c6dcf2.jpg","text":"TemporaryFile(/tmp/multipartBody5496950571869961416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749837261,"filename":"image_13012025_07_27_02_892797_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9bb56835e17824db7dbee9dffbc3b56d.jpg","text":"TemporaryFile(/tmp/multipartBody2086852209608460253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749837261,"filename":"image_13012025_07_28_02_408106_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b98a78f6465f35042a7c16644d6c5f0c.jpg","text":"TemporaryFile(/tmp/multipartBody6211944577341522779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749837261,"filename":"image_13012025_07_28_02_408106_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ef265b653c1fb9cd12d363db252f2cf0.jpg","text":"TemporaryFile(/tmp/multipartBody6303358057972036894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749837261,"filename":"image_13012025_07_27_02_892797_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/434ded8f6abf2e94c60e70e3c0261253.jpg","text":"TemporaryFile(/tmp/multipartBody2507244705765848118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749837261,"filename":"image_13012025_07_28_02_408106_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328593315","file1":"1328593283","file0":"1328593269","file4":"1328593349","file5":"1328593370","file3":"1328593322"},"map_files_photo_id_array":[{"photo_id":"1328593370","filename":"file5"},{"photo_id":"1328593315","filename":"file2"},{"photo_id":"1328593349","filename":"file4"},{"photo_id":"1328593283","filename":"file1"},{"photo_id":"1328593269","filename":"file0"},{"photo_id":"1328593322","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328593315":["hashtag1","hashtag2"]},{"1328593269":["hashtag1","hashtag2"]},{"1328593370":["hashtag1","hashtag2"]},{"1328593349":["hashtag1","hashtag2"]},{"1328593283":["hashtag1","hashtag2"]},{"1328593322":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328593315, 1328593269, 1328593370, 1328593349, 1328593283, 1328593322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.58203101158142 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:30:22.727350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/29/image_13012025_07_29_02_933104_0000.jpg', '/home/pi/Desktop/images/13012025/07/29/image_13012025_07_29_02_933104_0001.jpg', '/home/pi/Desktop/images/13012025/07/29/image_13012025_07_29_02_933104_0002.jpg', '/home/pi/Desktop/images/13012025/07/29/image_13012025_07_29_02_933104_0003.jpg', '/home/pi/Desktop/images/13012025/07/30/image_13012025_07_30_02_590472_0000.jpg', '/home/pi/Desktop/images/13012025/07/30/image_13012025_07_30_02_590472_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/29/image_13012025_07_29_02_933104_0000.jpg
/home/pi/Desktop/images/13012025/07/29/image_13012025_07_29_02_933104_0001.jpg
/home/pi/Desktop/images/13012025/07/29/image_13012025_07_29_02_933104_0002.jpg
/home/pi/Desktop/images/13012025/07/29/image_13012025_07_29_02_933104_0003.jpg
/home/pi/Desktop/images/13012025/07/30/image_13012025_07_30_02_590472_0000.jpg
/home/pi/Desktop/images/13012025/07/30/image_13012025_07_30_02_590472_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328593412","1328593390","1328593387","1328593392","1328593395","1328593416"],"photo_ids_order":["1328593387","1328593390","1328593392","1328593395","1328593412","1328593416"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/830f545646c6c0883354a3dbb1024ffa.jpg","text":"TemporaryFile(/tmp/multipartBody6648704316909527402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749897820,"filename":"image_13012025_07_30_02_590472_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8a122f1a8dd7b08b9b7c38e9ad41765f.jpg","text":"TemporaryFile(/tmp/multipartBody7942814816777272382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749897820,"filename":"image_13012025_07_29_02_933104_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ccaf7d1890a2a31f3a82ea6a785e9f46.jpg","text":"TemporaryFile(/tmp/multipartBody8743290177031291385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749897820,"filename":"image_13012025_07_29_02_933104_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f12e5c70edb471f465171fbc7e78293d.jpg","text":"TemporaryFile(/tmp/multipartBody1166710544380908703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749897820,"filename":"image_13012025_07_29_02_933104_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ea9e700aa9467e14d7e5418a79832e75.jpg","text":"TemporaryFile(/tmp/multipartBody4245042533249345528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749897820,"filename":"image_13012025_07_29_02_933104_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/69ff95b64d9ad7ca4ac56986be902c05.jpg","text":"TemporaryFile(/tmp/multipartBody3421465824601065426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749897820,"filename":"image_13012025_07_30_02_590472_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328593392","file1":"1328593390","file0":"1328593387","file4":"1328593412","file5":"1328593416","file3":"1328593395"},"map_files_photo_id_array":[{"photo_id":"1328593416","filename":"file5"},{"photo_id":"1328593392","filename":"file2"},{"photo_id":"1328593412","filename":"file4"},{"photo_id":"1328593390","filename":"file1"},{"photo_id":"1328593387","filename":"file0"},{"photo_id":"1328593395","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328593412":["hashtag1","hashtag2"]},{"1328593390":["hashtag1","hashtag2"]},{"1328593387":["hashtag1","hashtag2"]},{"1328593392":["hashtag1","hashtag2"]},{"1328593395":["hashtag1","hashtag2"]},{"1328593416":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328593412, 1328593390, 1328593387, 1328593392, 1328593395, 1328593416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.52900743484497 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:31:22.187179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/30/image_13012025_07_30_02_590472_0002.jpg', '/home/pi/Desktop/images/13012025/07/30/image_13012025_07_30_02_590472_0003.jpg', '/home/pi/Desktop/images/13012025/07/31/image_13012025_07_31_03_086796_0000.jpg', '/home/pi/Desktop/images/13012025/07/31/image_13012025_07_31_03_086796_0001.jpg', '/home/pi/Desktop/images/13012025/07/31/image_13012025_07_31_03_086796_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/30/image_13012025_07_30_02_590472_0002.jpg
/home/pi/Desktop/images/13012025/07/30/image_13012025_07_30_02_590472_0003.jpg
/home/pi/Desktop/images/13012025/07/31/image_13012025_07_31_03_086796_0000.jpg
/home/pi/Desktop/images/13012025/07/31/image_13012025_07_31_03_086796_0001.jpg
/home/pi/Desktop/images/13012025/07/31/image_13012025_07_31_03_086796_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328593849","1328593816","1328593813","1328593905","1328593925"],"photo_ids_order":["1328593813","1328593816","1328593849","1328593905","1328593925"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/166f673e812c851a2830b3175e907cde.jpg","text":"TemporaryFile(/tmp/multipartBody5399477502854108615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749955023,"filename":"image_13012025_07_31_03_086796_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/be93e3c64ad2bed2f32729e388057070.jpg","text":"TemporaryFile(/tmp/multipartBody5191995656373806030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749955023,"filename":"image_13012025_07_30_02_590472_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5cc1da9c6ea2496d51f35909331500fc.jpg","text":"TemporaryFile(/tmp/multipartBody551391909672917376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749955023,"filename":"image_13012025_07_30_02_590472_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bd82f1ed27b2a9fd82ebf6648f7ad4f7.jpg","text":"TemporaryFile(/tmp/multipartBody3328386831438088087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749955023,"filename":"image_13012025_07_31_03_086796_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/66b4829b1a9e97b6d8c69e38a7b2c92f.jpg","text":"TemporaryFile(/tmp/multipartBody9001795701487300210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736749955023,"filename":"image_13012025_07_31_03_086796_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328593849","file1":"1328593816","file0":"1328593813","file4":"1328593925","file3":"1328593905"},"map_files_photo_id_array":[{"photo_id":"1328593849","filename":"file2"},{"photo_id":"1328593925","filename":"file4"},{"photo_id":"1328593816","filename":"file1"},{"photo_id":"1328593813","filename":"file0"},{"photo_id":"1328593905","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328593849":["hashtag1","hashtag2"]},{"1328593816":["hashtag1","hashtag2"]},{"1328593813":["hashtag1","hashtag2"]},{"1328593905":["hashtag1","hashtag2"]},{"1328593925":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328593849, 1328593816, 1328593813, 1328593905, 1328593925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 49.675864458084106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:32:21.727684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/31/image_13012025_07_31_03_086796_0003.jpg', '/home/pi/Desktop/images/13012025/07/32/image_13012025_07_32_02_626295_0000.jpg', '/home/pi/Desktop/images/13012025/07/32/image_13012025_07_32_02_626295_0001.jpg', '/home/pi/Desktop/images/13012025/07/32/image_13012025_07_32_02_626295_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/31/image_13012025_07_31_03_086796_0003.jpg
/home/pi/Desktop/images/13012025/07/32/image_13012025_07_32_02_626295_0000.jpg
/home/pi/Desktop/images/13012025/07/32/image_13012025_07_32_02_626295_0001.jpg
/home/pi/Desktop/images/13012025/07/32/image_13012025_07_32_02_626295_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328594011","1328594007","1328594004","1328594000"],"photo_ids_order":["1328594000","1328594004","1328594007","1328594011"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e901fd6c96b6e1a907921b58fff3adbb.jpg","text":"TemporaryFile(/tmp/multipartBody1335396324967546642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750012145,"filename":"image_13012025_07_32_02_626295_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dea977c2c0c43e3d332110dea98fc15f.jpg","text":"TemporaryFile(/tmp/multipartBody5162187724113314222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750012145,"filename":"image_13012025_07_32_02_626295_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4b40eb7409d581273c82414aac0524b3.jpg","text":"TemporaryFile(/tmp/multipartBody395501629799042307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750012145,"filename":"image_13012025_07_32_02_626295_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/789176768632ab73fb7dbede459d11d8.jpg","text":"TemporaryFile(/tmp/multipartBody6382991195370514764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750012145,"filename":"image_13012025_07_31_03_086796_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328594007","file1":"1328594004","file0":"1328594000","file3":"1328594011"},"map_files_photo_id_array":[{"photo_id":"1328594007","filename":"file2"},{"photo_id":"1328594004","filename":"file1"},{"photo_id":"1328594000","filename":"file0"},{"photo_id":"1328594011","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328594011":["hashtag1","hashtag2"]},{"1328594007":["hashtag1","hashtag2"]},{"1328594004":["hashtag1","hashtag2"]},{"1328594000":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328594011, 1328594007, 1328594004, 1328594000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.264909505844116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:33:22.184711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/32/image_13012025_07_32_02_626295_0003.jpg', '/home/pi/Desktop/images/13012025/07/33/image_13012025_07_33_02_086789_0000.jpg', '/home/pi/Desktop/images/13012025/07/33/image_13012025_07_33_02_086789_0001.jpg', '/home/pi/Desktop/images/13012025/07/33/image_13012025_07_33_02_086789_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/32/image_13012025_07_32_02_626295_0003.jpg
/home/pi/Desktop/images/13012025/07/33/image_13012025_07_33_02_086789_0000.jpg
/home/pi/Desktop/images/13012025/07/33/image_13012025_07_33_02_086789_0001.jpg
/home/pi/Desktop/images/13012025/07/33/image_13012025_07_33_02_086789_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328594043","1328594046","1328594040","1328594036"],"photo_ids_order":["1328594036","1328594040","1328594043","1328594046"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5ee6bd9c8dfeb9567fae04c2a2099343.jpg","text":"TemporaryFile(/tmp/multipartBody633707131871936881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750072557,"filename":"image_13012025_07_33_02_086789_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5a954c422d39f17331150eefd7196a0e.jpg","text":"TemporaryFile(/tmp/multipartBody4048194073346865666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750072557,"filename":"image_13012025_07_33_02_086789_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/60ea676abc14321302f2e250d6a370de.jpg","text":"TemporaryFile(/tmp/multipartBody6493996587007018770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750072557,"filename":"image_13012025_07_33_02_086789_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1a34ed200b7dbe532dc2f3a68ad2ec99.jpg","text":"TemporaryFile(/tmp/multipartBody8642535623303450709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750072557,"filename":"image_13012025_07_32_02_626295_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328594043","file1":"1328594040","file0":"1328594036","file3":"1328594046"},"map_files_photo_id_array":[{"photo_id":"1328594043","filename":"file2"},{"photo_id":"1328594040","filename":"file1"},{"photo_id":"1328594036","filename":"file0"},{"photo_id":"1328594046","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328594043":["hashtag1","hashtag2"]},{"1328594046":["hashtag1","hashtag2"]},{"1328594040":["hashtag1","hashtag2"]},{"1328594036":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328594043, 1328594046, 1328594040, 1328594036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.864115476608276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:34:03.193872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:34:22.718264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/33/image_13012025_07_33_02_086789_0003.jpg', '/home/pi/Desktop/images/13012025/07/34/image_13012025_07_34_02_578112_0000.jpg', '/home/pi/Desktop/images/13012025/07/34/image_13012025_07_34_02_578112_0001.jpg', '/home/pi/Desktop/images/13012025/07/34/image_13012025_07_34_02_578112_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/33/image_13012025_07_33_02_086789_0003.jpg
/home/pi/Desktop/images/13012025/07/34/image_13012025_07_34_02_578112_0000.jpg
/home/pi/Desktop/images/13012025/07/34/image_13012025_07_34_02_578112_0001.jpg
/home/pi/Desktop/images/13012025/07/34/image_13012025_07_34_02_578112_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328594094","1328594099","1328594096","1328594102"],"photo_ids_order":["1328594094","1328594096","1328594099","1328594102"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c692fa60fdfea1b916cb5eb1196f14c4.jpg","text":"TemporaryFile(/tmp/multipartBody3192457323842600595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750133176,"filename":"image_13012025_07_33_02_086789_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6c1f7273918fad62a6d98e6098556c77.jpg","text":"TemporaryFile(/tmp/multipartBody3752660342185137578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750133176,"filename":"image_13012025_07_34_02_578112_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c7a3660cd15e3a53435a533e1d54a152.jpg","text":"TemporaryFile(/tmp/multipartBody7101450364478567566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750133176,"filename":"image_13012025_07_34_02_578112_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7c869344789148570389400ae97401fd.jpg","text":"TemporaryFile(/tmp/multipartBody7716134274950814541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750133176,"filename":"image_13012025_07_34_02_578112_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328594099","file1":"1328594096","file0":"1328594094","file3":"1328594102"},"map_files_photo_id_array":[{"photo_id":"1328594099","filename":"file2"},{"photo_id":"1328594096","filename":"file1"},{"photo_id":"1328594094","filename":"file0"},{"photo_id":"1328594102","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328594094":["hashtag1","hashtag2"]},{"1328594099":["hashtag1","hashtag2"]},{"1328594096":["hashtag1","hashtag2"]},{"1328594102":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328594094, 1328594099, 1328594096, 1328594102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.62693738937378 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:35:02.876005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:35:22.250473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/34/image_13012025_07_34_02_578112_0003.jpg', '/home/pi/Desktop/images/13012025/07/35/image_13012025_07_35_03_129671_0000.jpg', '/home/pi/Desktop/images/13012025/07/35/image_13012025_07_35_03_129671_0001.jpg', '/home/pi/Desktop/images/13012025/07/35/image_13012025_07_35_03_129671_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/34/image_13012025_07_34_02_578112_0003.jpg
/home/pi/Desktop/images/13012025/07/35/image_13012025_07_35_03_129671_0000.jpg
/home/pi/Desktop/images/13012025/07/35/image_13012025_07_35_03_129671_0001.jpg
/home/pi/Desktop/images/13012025/07/35/image_13012025_07_35_03_129671_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328594113","1328594122","1328594118","1328594127"],"photo_ids_order":["1328594113","1328594118","1328594122","1328594127"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e74a57ab5164064b1321a1694c3f48ca.jpg","text":"TemporaryFile(/tmp/multipartBody4541691452579751633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750192731,"filename":"image_13012025_07_34_02_578112_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/24ae1b6893b987479658d32d52b9ba0a.jpg","text":"TemporaryFile(/tmp/multipartBody5210759872896209157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750192731,"filename":"image_13012025_07_35_03_129671_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a62506ab7541a6ad86f8e54558cc3d92.jpg","text":"TemporaryFile(/tmp/multipartBody3900929371631806148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750192731,"filename":"image_13012025_07_35_03_129671_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bd9b8c59c54488f5131dba84b4bd9ddf.jpg","text":"TemporaryFile(/tmp/multipartBody7917181033885945745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750192731,"filename":"image_13012025_07_35_03_129671_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328594122","file1":"1328594118","file0":"1328594113","file3":"1328594127"},"map_files_photo_id_array":[{"photo_id":"1328594122","filename":"file2"},{"photo_id":"1328594118","filename":"file1"},{"photo_id":"1328594113","filename":"file0"},{"photo_id":"1328594127","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328594113":["hashtag1","hashtag2"]},{"1328594122":["hashtag1","hashtag2"]},{"1328594118":["hashtag1","hashtag2"]},{"1328594127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328594113, 1328594122, 1328594118, 1328594127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.00904393196106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:36:21.861579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/35/image_13012025_07_35_03_129671_0003.jpg', '/home/pi/Desktop/images/13012025/07/36/image_13012025_07_36_02_637546_0000.jpg', '/home/pi/Desktop/images/13012025/07/36/image_13012025_07_36_02_637546_0001.jpg', '/home/pi/Desktop/images/13012025/07/36/image_13012025_07_36_02_637546_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/35/image_13012025_07_35_03_129671_0003.jpg
/home/pi/Desktop/images/13012025/07/36/image_13012025_07_36_02_637546_0000.jpg
/home/pi/Desktop/images/13012025/07/36/image_13012025_07_36_02_637546_0001.jpg
/home/pi/Desktop/images/13012025/07/36/image_13012025_07_36_02_637546_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328594143","1328594136","1328594291","1328594141"],"photo_ids_order":["1328594136","1328594141","1328594143","1328594291"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1c7089dc12f6e669c8bab92225fbf357.jpg","text":"TemporaryFile(/tmp/multipartBody2277361977559887719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750252122,"filename":"image_13012025_07_36_02_637546_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a233aca76e8bab7fa77257c99cbe2cfa.jpg","text":"TemporaryFile(/tmp/multipartBody5282071940784705305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750252122,"filename":"image_13012025_07_35_03_129671_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/86b25b8ce84319fc7b8d7dff5492ee9e.jpg","text":"TemporaryFile(/tmp/multipartBody7267730117123280443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750252122,"filename":"image_13012025_07_36_02_637546_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eabcfb9d00b443f6bc6d19f0626d3ebc.jpg","text":"TemporaryFile(/tmp/multipartBody2480443496946300281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750252122,"filename":"image_13012025_07_36_02_637546_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328594143","file1":"1328594141","file0":"1328594136","file3":"1328594291"},"map_files_photo_id_array":[{"photo_id":"1328594143","filename":"file2"},{"photo_id":"1328594141","filename":"file1"},{"photo_id":"1328594136","filename":"file0"},{"photo_id":"1328594291","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328594143":["hashtag1","hashtag2"]},{"1328594136":["hashtag1","hashtag2"]},{"1328594291":["hashtag1","hashtag2"]},{"1328594141":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328594143, 1328594136, 1328594291, 1328594141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.5974497795105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:37:02.876097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:37:22.307419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/36/image_13012025_07_36_02_637546_0003.jpg', '/home/pi/Desktop/images/13012025/07/37/image_13012025_07_37_02_273625_0000.jpg', '/home/pi/Desktop/images/13012025/07/37/image_13012025_07_37_02_273625_0001.jpg', '/home/pi/Desktop/images/13012025/07/37/image_13012025_07_37_02_273625_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/36/image_13012025_07_36_02_637546_0003.jpg
/home/pi/Desktop/images/13012025/07/37/image_13012025_07_37_02_273625_0000.jpg
/home/pi/Desktop/images/13012025/07/37/image_13012025_07_37_02_273625_0001.jpg
/home/pi/Desktop/images/13012025/07/37/image_13012025_07_37_02_273625_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328594344","1328594335","1328594340","1328594342"],"photo_ids_order":["1328594335","1328594340","1328594342","1328594344"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/28171282a04c143fca7d231f9062c1dd.jpg","text":"TemporaryFile(/tmp/multipartBody6594039848406051619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750312588,"filename":"image_13012025_07_37_02_273625_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/57d9ada0ad81b2b616da417211191400.jpg","text":"TemporaryFile(/tmp/multipartBody3473955710806076788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750312588,"filename":"image_13012025_07_36_02_637546_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1ab69380663528987363b944d930e3f0.jpg","text":"TemporaryFile(/tmp/multipartBody5204561407822578190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750312588,"filename":"image_13012025_07_37_02_273625_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9202809cad5d0979534a46c6caa97528.jpg","text":"TemporaryFile(/tmp/multipartBody8312740779824457960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750312588,"filename":"image_13012025_07_37_02_273625_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328594342","file1":"1328594340","file0":"1328594335","file3":"1328594344"},"map_files_photo_id_array":[{"photo_id":"1328594342","filename":"file2"},{"photo_id":"1328594340","filename":"file1"},{"photo_id":"1328594335","filename":"file0"},{"photo_id":"1328594344","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328594344":["hashtag1","hashtag2"]},{"1328594335":["hashtag1","hashtag2"]},{"1328594340":["hashtag1","hashtag2"]},{"1328594342":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328594344, 1328594335, 1328594340, 1328594342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.03572487831116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:38:02.558333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:38:22.029203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/37/image_13012025_07_37_02_273625_0003.jpg', '/home/pi/Desktop/images/13012025/07/38/image_13012025_07_38_02_769804_0000.jpg', '/home/pi/Desktop/images/13012025/07/38/image_13012025_07_38_02_769804_0001.jpg', '/home/pi/Desktop/images/13012025/07/38/image_13012025_07_38_02_769804_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/37/image_13012025_07_37_02_273625_0003.jpg
/home/pi/Desktop/images/13012025/07/38/image_13012025_07_38_02_769804_0000.jpg
/home/pi/Desktop/images/13012025/07/38/image_13012025_07_38_02_769804_0001.jpg
/home/pi/Desktop/images/13012025/07/38/image_13012025_07_38_02_769804_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328594367","1328594355","1328594358","1328594363"],"photo_ids_order":["1328594355","1328594358","1328594363","1328594367"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9c8ce5843ba636e18cbf358dbdb65542.jpg","text":"TemporaryFile(/tmp/multipartBody2584354048489571791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750372406,"filename":"image_13012025_07_38_02_769804_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/30a5ef2baf6ddfa0272d9559b0344617.jpg","text":"TemporaryFile(/tmp/multipartBody1733812545335424416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750372406,"filename":"image_13012025_07_37_02_273625_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7233d5d393ef780d35f2ef9f7655588d.jpg","text":"TemporaryFile(/tmp/multipartBody5011912961576025782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750372406,"filename":"image_13012025_07_38_02_769804_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5c0147623dadbb8f0329b2762648212e.jpg","text":"TemporaryFile(/tmp/multipartBody2682524247425291369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750372406,"filename":"image_13012025_07_38_02_769804_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328594363","file1":"1328594358","file0":"1328594355","file3":"1328594367"},"map_files_photo_id_array":[{"photo_id":"1328594363","filename":"file2"},{"photo_id":"1328594358","filename":"file1"},{"photo_id":"1328594355","filename":"file0"},{"photo_id":"1328594367","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328594367":["hashtag1","hashtag2"]},{"1328594355":["hashtag1","hashtag2"]},{"1328594358":["hashtag1","hashtag2"]},{"1328594363":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328594367, 1328594355, 1328594358, 1328594363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.578436851501465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:39:03.333994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:39:22.667526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/38/image_13012025_07_38_02_769804_0003.jpg', '/home/pi/Desktop/images/13012025/07/39/image_13012025_07_39_02_538428_0000.jpg', '/home/pi/Desktop/images/13012025/07/39/image_13012025_07_39_02_538428_0001.jpg', '/home/pi/Desktop/images/13012025/07/39/image_13012025_07_39_02_538428_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/38/image_13012025_07_38_02_769804_0003.jpg
/home/pi/Desktop/images/13012025/07/39/image_13012025_07_39_02_538428_0000.jpg
/home/pi/Desktop/images/13012025/07/39/image_13012025_07_39_02_538428_0001.jpg
/home/pi/Desktop/images/13012025/07/39/image_13012025_07_39_02_538428_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328594470","1328594396","1328594429","1328594461"],"photo_ids_order":["1328594396","1328594429","1328594461","1328594470"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/59a93abaa1a2d6ded5ba37afdbcb8891.jpg","text":"TemporaryFile(/tmp/multipartBody7973934747144271666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750432951,"filename":"image_13012025_07_39_02_538428_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/304ba0db455bd6573dd8310461e03d10.jpg","text":"TemporaryFile(/tmp/multipartBody1987611668096182755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750432951,"filename":"image_13012025_07_38_02_769804_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/70f4ce2fd77a8d28d88af34dfe6c45e2.jpg","text":"TemporaryFile(/tmp/multipartBody9204946137582181543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750432951,"filename":"image_13012025_07_39_02_538428_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f31fad89daebd1e2c27179017462324c.jpg","text":"TemporaryFile(/tmp/multipartBody3373483418696611324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750432951,"filename":"image_13012025_07_39_02_538428_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328594461","file1":"1328594429","file0":"1328594396","file3":"1328594470"},"map_files_photo_id_array":[{"photo_id":"1328594461","filename":"file2"},{"photo_id":"1328594429","filename":"file1"},{"photo_id":"1328594396","filename":"file0"},{"photo_id":"1328594470","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328594470":["hashtag1","hashtag2"]},{"1328594396":["hashtag1","hashtag2"]},{"1328594429":["hashtag1","hashtag2"]},{"1328594461":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328594470, 1328594396, 1328594429, 1328594461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.21097207069397 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:40:02.725025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:40:22.147154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/39/image_13012025_07_39_02_538428_0003.jpg', '/home/pi/Desktop/images/13012025/07/40/image_13012025_07_40_03_030882_0000.jpg', '/home/pi/Desktop/images/13012025/07/40/image_13012025_07_40_03_030882_0001.jpg', '/home/pi/Desktop/images/13012025/07/40/image_13012025_07_40_03_030882_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/39/image_13012025_07_39_02_538428_0003.jpg
/home/pi/Desktop/images/13012025/07/40/image_13012025_07_40_03_030882_0000.jpg
/home/pi/Desktop/images/13012025/07/40/image_13012025_07_40_03_030882_0001.jpg
/home/pi/Desktop/images/13012025/07/40/image_13012025_07_40_03_030882_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328594559","1328594550","1328594553","1328594556"],"photo_ids_order":["1328594550","1328594553","1328594556","1328594559"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/29aee315d221a2fc0173fbcf431ab537.jpg","text":"TemporaryFile(/tmp/multipartBody7279069729489521483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750492508,"filename":"image_13012025_07_40_03_030882_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7da8d5e84fe08871f0871bc85c115ea4.jpg","text":"TemporaryFile(/tmp/multipartBody5328831287070142300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750492508,"filename":"image_13012025_07_39_02_538428_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3d380bbebffce9af7dbcd025b9bc73e4.jpg","text":"TemporaryFile(/tmp/multipartBody373326161575966739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750492508,"filename":"image_13012025_07_40_03_030882_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b4cc7e6fd2e24ad68c81f0bc3bae5d07.jpg","text":"TemporaryFile(/tmp/multipartBody9193983456497746135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750492508,"filename":"image_13012025_07_40_03_030882_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328594556","file1":"1328594553","file0":"1328594550","file3":"1328594559"},"map_files_photo_id_array":[{"photo_id":"1328594556","filename":"file2"},{"photo_id":"1328594553","filename":"file1"},{"photo_id":"1328594550","filename":"file0"},{"photo_id":"1328594559","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328594559":["hashtag1","hashtag2"]},{"1328594550":["hashtag1","hashtag2"]},{"1328594553":["hashtag1","hashtag2"]},{"1328594556":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328594559, 1328594550, 1328594553, 1328594556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.50611066818237 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:41:03.147496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:41:22.591061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/40/image_13012025_07_40_03_030882_0003.jpg', '/home/pi/Desktop/images/13012025/07/41/image_13012025_07_41_02_566671_0000.jpg', '/home/pi/Desktop/images/13012025/07/41/image_13012025_07_41_02_566671_0001.jpg', '/home/pi/Desktop/images/13012025/07/41/image_13012025_07_41_02_566671_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/40/image_13012025_07_40_03_030882_0003.jpg
/home/pi/Desktop/images/13012025/07/41/image_13012025_07_41_02_566671_0000.jpg
/home/pi/Desktop/images/13012025/07/41/image_13012025_07_41_02_566671_0001.jpg
/home/pi/Desktop/images/13012025/07/41/image_13012025_07_41_02_566671_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328594578","1328594574","1328594572","1328594581"],"photo_ids_order":["1328594572","1328594574","1328594578","1328594581"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e012144d5d2940a4169aed349e06c408.jpg","text":"TemporaryFile(/tmp/multipartBody5380008353155189652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750552945,"filename":"image_13012025_07_41_02_566671_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/877b01d76119a69ec3b2eb4e24268dd9.jpg","text":"TemporaryFile(/tmp/multipartBody303567513765065678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750552945,"filename":"image_13012025_07_41_02_566671_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ef299c58fd182ac7e30a78f2f0c80f96.jpg","text":"TemporaryFile(/tmp/multipartBody6617369637428799405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750552945,"filename":"image_13012025_07_40_03_030882_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c1779910587ef69e4410b222e990340b.jpg","text":"TemporaryFile(/tmp/multipartBody1404853756823448717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750552945,"filename":"image_13012025_07_41_02_566671_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328594578","file1":"1328594574","file0":"1328594572","file3":"1328594581"},"map_files_photo_id_array":[{"photo_id":"1328594578","filename":"file2"},{"photo_id":"1328594574","filename":"file1"},{"photo_id":"1328594572","filename":"file0"},{"photo_id":"1328594581","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328594578":["hashtag1","hashtag2"]},{"1328594574":["hashtag1","hashtag2"]},{"1328594572":["hashtag1","hashtag2"]},{"1328594581":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328594578, 1328594574, 1328594572, 1328594581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.535104751586914 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:42:22.275543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/41/image_13012025_07_41_02_566671_0003.jpg', '/home/pi/Desktop/images/13012025/07/42/image_13012025_07_42_03_036635_0000.jpg', '/home/pi/Desktop/images/13012025/07/42/image_13012025_07_42_03_036635_0001.jpg', '/home/pi/Desktop/images/13012025/07/42/image_13012025_07_42_03_036635_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/41/image_13012025_07_41_02_566671_0003.jpg
/home/pi/Desktop/images/13012025/07/42/image_13012025_07_42_03_036635_0000.jpg
/home/pi/Desktop/images/13012025/07/42/image_13012025_07_42_03_036635_0001.jpg
/home/pi/Desktop/images/13012025/07/42/image_13012025_07_42_03_036635_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328594592","1328594601","1328594594","1328594597"],"photo_ids_order":["1328594592","1328594594","1328594597","1328594601"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cd3a56aa4f5b9563d3ece3e8a21383bb.jpg","text":"TemporaryFile(/tmp/multipartBody6739045226492928700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750612678,"filename":"image_13012025_07_41_02_566671_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/684cef9bd0d19653c76015a7bee175a1.jpg","text":"TemporaryFile(/tmp/multipartBody9024357630380563612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750612678,"filename":"image_13012025_07_42_03_036635_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c4614f56d490f4e6c9be1713465cf5de.jpg","text":"TemporaryFile(/tmp/multipartBody777494579747066649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750612678,"filename":"image_13012025_07_42_03_036635_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/973dac8fdbb67ebaa241357f595212a7.jpg","text":"TemporaryFile(/tmp/multipartBody5947852447202006881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750612678,"filename":"image_13012025_07_42_03_036635_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328594597","file1":"1328594594","file0":"1328594592","file3":"1328594601"},"map_files_photo_id_array":[{"photo_id":"1328594597","filename":"file2"},{"photo_id":"1328594594","filename":"file1"},{"photo_id":"1328594592","filename":"file0"},{"photo_id":"1328594601","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328594592":["hashtag1","hashtag2"]},{"1328594601":["hashtag1","hashtag2"]},{"1328594594":["hashtag1","hashtag2"]},{"1328594597":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328594592, 1328594601, 1328594594, 1328594597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.72465991973877 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:43:03.385285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:43:22.741867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/42/image_13012025_07_42_03_036635_0003.jpg', '/home/pi/Desktop/images/13012025/07/43/image_13012025_07_43_02_607206_0000.jpg', '/home/pi/Desktop/images/13012025/07/43/image_13012025_07_43_02_607206_0001.jpg', '/home/pi/Desktop/images/13012025/07/43/image_13012025_07_43_02_607206_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/42/image_13012025_07_42_03_036635_0003.jpg
/home/pi/Desktop/images/13012025/07/43/image_13012025_07_43_02_607206_0000.jpg
/home/pi/Desktop/images/13012025/07/43/image_13012025_07_43_02_607206_0001.jpg
/home/pi/Desktop/images/13012025/07/43/image_13012025_07_43_02_607206_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328594628","1328594636","1328594630","1328594633"],"photo_ids_order":["1328594628","1328594630","1328594633","1328594636"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a0a19c536d59093f2f309d560ad2d81f.jpg","text":"TemporaryFile(/tmp/multipartBody6122025273192722470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750672985,"filename":"image_13012025_07_42_03_036635_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bc8f61bcfac63df8c2d9c17688085c3e.jpg","text":"TemporaryFile(/tmp/multipartBody3985584459790451962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750672985,"filename":"image_13012025_07_43_02_607206_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3be9a91672f50d5177638ff90e14dc9d.jpg","text":"TemporaryFile(/tmp/multipartBody3336980799289867932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750672985,"filename":"image_13012025_07_43_02_607206_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7d78b1c76cda48448b5e2ea67f3b34ae.jpg","text":"TemporaryFile(/tmp/multipartBody4863184314097512875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750672985,"filename":"image_13012025_07_43_02_607206_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328594633","file1":"1328594630","file0":"1328594628","file3":"1328594636"},"map_files_photo_id_array":[{"photo_id":"1328594633","filename":"file2"},{"photo_id":"1328594630","filename":"file1"},{"photo_id":"1328594628","filename":"file0"},{"photo_id":"1328594636","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328594628":["hashtag1","hashtag2"]},{"1328594636":["hashtag1","hashtag2"]},{"1328594630":["hashtag1","hashtag2"]},{"1328594633":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328594628, 1328594636, 1328594630, 1328594633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.05136752128601 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:44:22.475341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/43/image_13012025_07_43_02_607206_0003.jpg', '/home/pi/Desktop/images/13012025/07/44/image_13012025_07_44_03_092715_0000.jpg', '/home/pi/Desktop/images/13012025/07/44/image_13012025_07_44_03_092715_0001.jpg', '/home/pi/Desktop/images/13012025/07/44/image_13012025_07_44_03_092715_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/43/image_13012025_07_43_02_607206_0003.jpg
/home/pi/Desktop/images/13012025/07/44/image_13012025_07_44_03_092715_0000.jpg
/home/pi/Desktop/images/13012025/07/44/image_13012025_07_44_03_092715_0001.jpg
/home/pi/Desktop/images/13012025/07/44/image_13012025_07_44_03_092715_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328594755","1328594739","1328594712","1328594709"],"photo_ids_order":["1328594709","1328594712","1328594739","1328594755"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c5cc6218bb88d3e6e3729141647b7dbf.jpg","text":"TemporaryFile(/tmp/multipartBody2937533691833473461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750732830,"filename":"image_13012025_07_44_03_092715_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/85320f71ee41097a8330c86ab4842d6c.jpg","text":"TemporaryFile(/tmp/multipartBody8631722577709624695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750732830,"filename":"image_13012025_07_44_03_092715_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5161f323c9ed2a2b3fb4b818b2de7e44.jpg","text":"TemporaryFile(/tmp/multipartBody3754914734686134397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750732830,"filename":"image_13012025_07_44_03_092715_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/65c5202aa0cdb63240e13bffc3119a6d.jpg","text":"TemporaryFile(/tmp/multipartBody703620363053753724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750732830,"filename":"image_13012025_07_43_02_607206_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328594739","file1":"1328594712","file0":"1328594709","file3":"1328594755"},"map_files_photo_id_array":[{"photo_id":"1328594739","filename":"file2"},{"photo_id":"1328594712","filename":"file1"},{"photo_id":"1328594709","filename":"file0"},{"photo_id":"1328594755","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328594755":["hashtag1","hashtag2"]},{"1328594739":["hashtag1","hashtag2"]},{"1328594712":["hashtag1","hashtag2"]},{"1328594709":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328594755, 1328594739, 1328594712, 1328594709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.36479687690735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:45:02.541518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:45:21.872784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/44/image_13012025_07_44_03_092715_0003.jpg', '/home/pi/Desktop/images/13012025/07/45/image_13012025_07_45_02_779363_0000.jpg', '/home/pi/Desktop/images/13012025/07/45/image_13012025_07_45_02_779363_0001.jpg', '/home/pi/Desktop/images/13012025/07/45/image_13012025_07_45_02_779363_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/44/image_13012025_07_44_03_092715_0003.jpg
/home/pi/Desktop/images/13012025/07/45/image_13012025_07_45_02_779363_0000.jpg
/home/pi/Desktop/images/13012025/07/45/image_13012025_07_45_02_779363_0001.jpg
/home/pi/Desktop/images/13012025/07/45/image_13012025_07_45_02_779363_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328594842","1328594844","1328594847","1328594840"],"photo_ids_order":["1328594840","1328594842","1328594844","1328594847"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/55023db212d891ccf512eab7e4f690c6.jpg","text":"TemporaryFile(/tmp/multipartBody8946996525621271080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750792200,"filename":"image_13012025_07_45_02_779363_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2d36578ad4694b01526bb53326062911.jpg","text":"TemporaryFile(/tmp/multipartBody2538529411362180653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750792200,"filename":"image_13012025_07_45_02_779363_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a46810f93e7e3d2a1e70e3f4407adcea.jpg","text":"TemporaryFile(/tmp/multipartBody8230014163527474690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750792200,"filename":"image_13012025_07_45_02_779363_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e1ce48d8cf4450751b673a8f1b98f98f.jpg","text":"TemporaryFile(/tmp/multipartBody3528723621290262003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750792200,"filename":"image_13012025_07_44_03_092715_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328594844","file1":"1328594842","file0":"1328594840","file3":"1328594847"},"map_files_photo_id_array":[{"photo_id":"1328594844","filename":"file2"},{"photo_id":"1328594842","filename":"file1"},{"photo_id":"1328594840","filename":"file0"},{"photo_id":"1328594847","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328594842":["hashtag1","hashtag2"]},{"1328594844":["hashtag1","hashtag2"]},{"1328594847":["hashtag1","hashtag2"]},{"1328594840":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328594842, 1328594844, 1328594847, 1328594840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.98071765899658 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:46:03.001221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:46:22.509004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/45/image_13012025_07_45_02_779363_0003.jpg', '/home/pi/Desktop/images/13012025/07/46/image_13012025_07_46_02_223402_0000.jpg', '/home/pi/Desktop/images/13012025/07/46/image_13012025_07_46_02_223402_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/45/image_13012025_07_45_02_779363_0003.jpg
/home/pi/Desktop/images/13012025/07/46/image_13012025_07_46_02_223402_0000.jpg
/home/pi/Desktop/images/13012025/07/46/image_13012025_07_46_02_223402_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328594886","1328594888","1328594890"],"photo_ids_order":["1328594886","1328594888","1328594890"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5bdfa2bd7706011bc8b3f3169972cedd.jpg","text":"TemporaryFile(/tmp/multipartBody7498167251784322303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750850387,"filename":"image_13012025_07_45_02_779363_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e4cfed9d205e2716cbeb726e39e80978.jpg","text":"TemporaryFile(/tmp/multipartBody2434992770257588281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750850387,"filename":"image_13012025_07_46_02_223402_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a5dc3d98f4a9508f48eb14ec08dc35fb.jpg","text":"TemporaryFile(/tmp/multipartBody544547395729100261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750850387,"filename":"image_13012025_07_46_02_223402_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328594890","file1":"1328594888","file0":"1328594886"},"map_files_photo_id_array":[{"photo_id":"1328594890","filename":"file2"},{"photo_id":"1328594888","filename":"file1"},{"photo_id":"1328594886","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328594886":["hashtag1","hashtag2"]},{"1328594888":["hashtag1","hashtag2"]},{"1328594890":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328594886, 1328594888, 1328594890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.453094482421875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:47:02.668148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:47:22.045048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/46/image_13012025_07_46_02_223402_0003.jpg', '/home/pi/Desktop/images/13012025/07/47/image_13012025_07_47_02_887458_0000.jpg', '/home/pi/Desktop/images/13012025/07/47/image_13012025_07_47_02_887458_0001.jpg', '/home/pi/Desktop/images/13012025/07/47/image_13012025_07_47_02_887458_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/46/image_13012025_07_46_02_223402_0003.jpg
/home/pi/Desktop/images/13012025/07/47/image_13012025_07_47_02_887458_0000.jpg
/home/pi/Desktop/images/13012025/07/47/image_13012025_07_47_02_887458_0001.jpg
/home/pi/Desktop/images/13012025/07/47/image_13012025_07_47_02_887458_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328594910","1328594913","1328594907","1328594916"],"photo_ids_order":["1328594907","1328594910","1328594913","1328594916"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5d94eda702e149f02269606000b22e9c.jpg","text":"TemporaryFile(/tmp/multipartBody7687893058081158493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750912341,"filename":"image_13012025_07_47_02_887458_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9de82b496b42eb878a501a3ae047c9e9.jpg","text":"TemporaryFile(/tmp/multipartBody4364602372398818249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750912341,"filename":"image_13012025_07_47_02_887458_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4405b3955bccc3054a301c05bfed220a.jpg","text":"TemporaryFile(/tmp/multipartBody1207267899798490412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750912341,"filename":"image_13012025_07_46_02_223402_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ef73c20d20ef8e9b67baa22614f1be80.jpg","text":"TemporaryFile(/tmp/multipartBody4693236386181897094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736750912341,"filename":"image_13012025_07_47_02_887458_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328594913","file1":"1328594910","file0":"1328594907","file3":"1328594916"},"map_files_photo_id_array":[{"photo_id":"1328594913","filename":"file2"},{"photo_id":"1328594910","filename":"file1"},{"photo_id":"1328594907","filename":"file0"},{"photo_id":"1328594916","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328594910":["hashtag1","hashtag2"]},{"1328594913":["hashtag1","hashtag2"]},{"1328594907":["hashtag1","hashtag2"]},{"1328594916":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328594910, 1328594913, 1328594907, 1328594916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.03295159339905 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:48:22.583073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/47/image_13012025_07_47_02_887458_0003.jpg', '/home/pi/Desktop/images/13012025/07/48/image_13012025_07_48_02_391856_0000.jpg', '/home/pi/Desktop/images/13012025/07/48/image_13012025_07_48_02_391856_0001.jpg', '/home/pi/Desktop/images/13012025/07/48/image_13012025_07_48_02_391856_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/47/image_13012025_07_47_02_887458_0003.jpg
/home/pi/Desktop/images/13012025/07/48/image_13012025_07_48_02_391856_0000.jpg
/home/pi/Desktop/images/13012025/07/48/image_13012025_07_48_02_391856_0001.jpg
/home/pi/Desktop/images/13012025/07/48/image_13012025_07_48_02_391856_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.115106344223022 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:49:02.702315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/47/image_13012025_07_47_02_887458_0003.jpg', '/home/pi/Desktop/images/13012025/07/48/image_13012025_07_48_02_391856_0000.jpg', '/home/pi/Desktop/images/13012025/07/48/image_13012025_07_48_02_391856_0001.jpg', '/home/pi/Desktop/images/13012025/07/48/image_13012025_07_48_02_391856_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/47/image_13012025_07_47_02_887458_0003.jpg
/home/pi/Desktop/images/13012025/07/48/image_13012025_07_48_02_391856_0000.jpg
/home/pi/Desktop/images/13012025/07/48/image_13012025_07_48_02_391856_0001.jpg
/home/pi/Desktop/images/13012025/07/48/image_13012025_07_48_02_391856_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328595018","1328595020","1328594983","1328595007"],"photo_ids_order":["1328594983","1328595007","1328595018","1328595020"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e0941956e49486e388eb8c70297fee3e.jpg","text":"TemporaryFile(/tmp/multipartBody5621773113847095639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751013288,"filename":"image_13012025_07_48_02_391856_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8feda9a34e4f5074abe2d495cce17725.jpg","text":"TemporaryFile(/tmp/multipartBody3918481260634293827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751013288,"filename":"image_13012025_07_48_02_391856_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9a87ba3d95b9e228c7bd3d6f9459eca8.jpg","text":"TemporaryFile(/tmp/multipartBody232912356042139358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751013288,"filename":"image_13012025_07_47_02_887458_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/94b45bbe9dddf2e0d7e467615ab55b5d.jpg","text":"TemporaryFile(/tmp/multipartBody3957489555784394218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751013288,"filename":"image_13012025_07_48_02_391856_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328595018","file1":"1328595007","file0":"1328594983","file3":"1328595020"},"map_files_photo_id_array":[{"photo_id":"1328595018","filename":"file2"},{"photo_id":"1328595007","filename":"file1"},{"photo_id":"1328594983","filename":"file0"},{"photo_id":"1328595020","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328595018":["hashtag1","hashtag2"]},{"1328595020":["hashtag1","hashtag2"]},{"1328594983":["hashtag1","hashtag2"]},{"1328595007":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328595018, 1328595020, 1328594983, 1328595007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.96186351776123 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:50:02.426135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/48/image_13012025_07_48_02_391856_0003.jpg', '/home/pi/Desktop/images/13012025/07/49/image_13012025_07_49_03_037634_0000.jpg', '/home/pi/Desktop/images/13012025/07/49/image_13012025_07_49_03_037634_0001.jpg', '/home/pi/Desktop/images/13012025/07/49/image_13012025_07_49_03_037634_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/48/image_13012025_07_48_02_391856_0003.jpg
/home/pi/Desktop/images/13012025/07/49/image_13012025_07_49_03_037634_0000.jpg
/home/pi/Desktop/images/13012025/07/49/image_13012025_07_49_03_037634_0001.jpg
/home/pi/Desktop/images/13012025/07/49/image_13012025_07_49_03_037634_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328595100","1328595095","1328595094","1328595097"],"photo_ids_order":["1328595094","1328595095","1328595097","1328595100"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/985ca055d630aa06f8fd965c8be41916.jpg","text":"TemporaryFile(/tmp/multipartBody7626120296050885576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751072599,"filename":"image_13012025_07_49_03_037634_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b1f7bb1ad6b95b2a813adeb05f894ae3.jpg","text":"TemporaryFile(/tmp/multipartBody3453911861281903902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751072599,"filename":"image_13012025_07_49_03_037634_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6102e8927368b23b3a05f08d588922e4.jpg","text":"TemporaryFile(/tmp/multipartBody2079797619906896231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751072599,"filename":"image_13012025_07_48_02_391856_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bd3a77fcbf6ba6f9d16177e40e273066.jpg","text":"TemporaryFile(/tmp/multipartBody3956517885545862986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751072599,"filename":"image_13012025_07_49_03_037634_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328595097","file1":"1328595095","file0":"1328595094","file3":"1328595100"},"map_files_photo_id_array":[{"photo_id":"1328595097","filename":"file2"},{"photo_id":"1328595095","filename":"file1"},{"photo_id":"1328595094","filename":"file0"},{"photo_id":"1328595100","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328595100":["hashtag1","hashtag2"]},{"1328595095":["hashtag1","hashtag2"]},{"1328595094":["hashtag1","hashtag2"]},{"1328595097":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328595100, 1328595095, 1328595094, 1328595097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.39672589302063 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:51:02.829072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/49/image_13012025_07_49_03_037634_0003.jpg', '/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_02_595728_0000.jpg', '/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_02_595728_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/49/image_13012025_07_49_03_037634_0003.jpg
/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_02_595728_0000.jpg
/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_02_595728_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.518087387084961 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:51:22.332904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/49/image_13012025_07_49_03_037634_0003.jpg', '/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_02_595728_0000.jpg', '/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_02_595728_0001.jpg', '/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_02_595728_0002.jpg', '/home/pi/Desktop/images/13012025/07/51/image_13012025_07_51_02_203419_0000.jpg', '/home/pi/Desktop/images/13012025/07/51/image_13012025_07_51_02_203419_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/49/image_13012025_07_49_03_037634_0003.jpg
/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_02_595728_0000.jpg
/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_02_595728_0001.jpg
/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_02_595728_0002.jpg
/home/pi/Desktop/images/13012025/07/51/image_13012025_07_51_02_203419_0000.jpg
/home/pi/Desktop/images/13012025/07/51/image_13012025_07_51_02_203419_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328595129","1328595120","1328595123","1328595149","1328595140","1328595151"],"photo_ids_order":["1328595120","1328595123","1328595129","1328595140","1328595149","1328595151"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9b993518fb4212339d08b17387e9388b.jpg","text":"TemporaryFile(/tmp/multipartBody7862744181521690272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751157584,"filename":"image_13012025_07_50_02_595728_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/814b82bdbed133c7e556aa02b40b2ffa.jpg","text":"TemporaryFile(/tmp/multipartBody3940076964336094266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751157584,"filename":"image_13012025_07_49_03_037634_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1e787ba922effc74bc307af72fb5a7f5.jpg","text":"TemporaryFile(/tmp/multipartBody1825893860974296412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751157584,"filename":"image_13012025_07_50_02_595728_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/df76661ce431fbc7a591bec682cf00af.jpg","text":"TemporaryFile(/tmp/multipartBody3903037612162979548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751157584,"filename":"image_13012025_07_51_02_203419_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7301653540ac0f980379c6671834b403.jpg","text":"TemporaryFile(/tmp/multipartBody4789084617683501226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751157584,"filename":"image_13012025_07_50_02_595728_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1331f0f46ac231aa047ba4f43d61ae4f.jpg","text":"TemporaryFile(/tmp/multipartBody9217639763474721603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751157584,"filename":"image_13012025_07_51_02_203419_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328595129","file1":"1328595123","file0":"1328595120","file4":"1328595149","file5":"1328595151","file3":"1328595140"},"map_files_photo_id_array":[{"photo_id":"1328595151","filename":"file5"},{"photo_id":"1328595129","filename":"file2"},{"photo_id":"1328595149","filename":"file4"},{"photo_id":"1328595123","filename":"file1"},{"photo_id":"1328595120","filename":"file0"},{"photo_id":"1328595140","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328595129":["hashtag1","hashtag2"]},{"1328595120":["hashtag1","hashtag2"]},{"1328595123":["hashtag1","hashtag2"]},{"1328595149":["hashtag1","hashtag2"]},{"1328595140":["hashtag1","hashtag2"]},{"1328595151":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328595129, 1328595120, 1328595123, 1328595149, 1328595140, 1328595151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.95661425590515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:52:21.963629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/51/image_13012025_07_51_02_203419_0002.jpg', '/home/pi/Desktop/images/13012025/07/51/image_13012025_07_51_02_203419_0003.jpg', '/home/pi/Desktop/images/13012025/07/52/image_13012025_07_52_02_680790_0000.jpg', '/home/pi/Desktop/images/13012025/07/52/image_13012025_07_52_02_680790_0001.jpg', '/home/pi/Desktop/images/13012025/07/52/image_13012025_07_52_02_680790_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/51/image_13012025_07_51_02_203419_0002.jpg
/home/pi/Desktop/images/13012025/07/51/image_13012025_07_51_02_203419_0003.jpg
/home/pi/Desktop/images/13012025/07/52/image_13012025_07_52_02_680790_0000.jpg
/home/pi/Desktop/images/13012025/07/52/image_13012025_07_52_02_680790_0001.jpg
/home/pi/Desktop/images/13012025/07/52/image_13012025_07_52_02_680790_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328595165","1328595168","1328595162","1328595156","1328595158"],"photo_ids_order":["1328595156","1328595158","1328595162","1328595165","1328595168"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e760e8cd17f431bbed20a381d4fdf18b.jpg","text":"TemporaryFile(/tmp/multipartBody8973058112464798264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751214622,"filename":"image_13012025_07_52_02_680790_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/be27f917c283ffaa00672cd182293c78.jpg","text":"TemporaryFile(/tmp/multipartBody4918198044207040339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751214622,"filename":"image_13012025_07_52_02_680790_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6d7ad7a86747bd0863e4e1b4856907b1.jpg","text":"TemporaryFile(/tmp/multipartBody3448426223931062888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751214622,"filename":"image_13012025_07_52_02_680790_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c59460e10ce1b91e6ef97e641e949837.jpg","text":"TemporaryFile(/tmp/multipartBody276021878680568906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751214622,"filename":"image_13012025_07_51_02_203419_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c888f8bde3f454c5ab79f9fe864595eb.jpg","text":"TemporaryFile(/tmp/multipartBody4243708135451169075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751214622,"filename":"image_13012025_07_51_02_203419_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328595162","file1":"1328595158","file0":"1328595156","file4":"1328595168","file3":"1328595165"},"map_files_photo_id_array":[{"photo_id":"1328595162","filename":"file2"},{"photo_id":"1328595168","filename":"file4"},{"photo_id":"1328595158","filename":"file1"},{"photo_id":"1328595156","filename":"file0"},{"photo_id":"1328595165","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328595165":["hashtag1","hashtag2"]},{"1328595168":["hashtag1","hashtag2"]},{"1328595162":["hashtag1","hashtag2"]},{"1328595156":["hashtag1","hashtag2"]},{"1328595158":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328595165, 1328595168, 1328595162, 1328595156, 1328595158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.393821239471436 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:53:22.450324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/52/image_13012025_07_52_02_680790_0003.jpg', '/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_02_337281_0000.jpg', '/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_02_337281_0001.jpg', '/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_02_337281_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/52/image_13012025_07_52_02_680790_0003.jpg
/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_02_337281_0000.jpg
/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_02_337281_0001.jpg
/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_02_337281_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328595183","1328595186","1328595189","1328595180"],"photo_ids_order":["1328595180","1328595183","1328595186","1328595189"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/50e8b7a3756cf8cd52e9b902b579cf41.jpg","text":"TemporaryFile(/tmp/multipartBody1238259272268524141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751272957,"filename":"image_13012025_07_53_02_337281_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a010deead2f032bfc5cab7bf96a54681.jpg","text":"TemporaryFile(/tmp/multipartBody6402176336037405497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751272957,"filename":"image_13012025_07_53_02_337281_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/99d4a200548e0dc8c952e6dfff4300fe.jpg","text":"TemporaryFile(/tmp/multipartBody6723942317626877106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751272957,"filename":"image_13012025_07_53_02_337281_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/57799d3df950f382e90a0887168ef0b9.jpg","text":"TemporaryFile(/tmp/multipartBody3656381597985124125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751272957,"filename":"image_13012025_07_52_02_680790_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328595186","file1":"1328595183","file0":"1328595180","file3":"1328595189"},"map_files_photo_id_array":[{"photo_id":"1328595186","filename":"file2"},{"photo_id":"1328595183","filename":"file1"},{"photo_id":"1328595180","filename":"file0"},{"photo_id":"1328595189","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328595183":["hashtag1","hashtag2"]},{"1328595186":["hashtag1","hashtag2"]},{"1328595189":["hashtag1","hashtag2"]},{"1328595180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328595183, 1328595186, 1328595189, 1328595180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.21930694580078 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:54:21.954980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_02_337281_0003.jpg', '/home/pi/Desktop/images/13012025/07/54/image_13012025_07_54_02_808509_0000.jpg', '/home/pi/Desktop/images/13012025/07/54/image_13012025_07_54_02_808509_0001.jpg', '/home/pi/Desktop/images/13012025/07/54/image_13012025_07_54_02_808509_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_02_337281_0003.jpg
/home/pi/Desktop/images/13012025/07/54/image_13012025_07_54_02_808509_0000.jpg
/home/pi/Desktop/images/13012025/07/54/image_13012025_07_54_02_808509_0001.jpg
/home/pi/Desktop/images/13012025/07/54/image_13012025_07_54_02_808509_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328595197","1328595254","1328595233","1328595265"],"photo_ids_order":["1328595197","1328595233","1328595254","1328595265"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/347a1c76d2d43e4b2221593deea97792.jpg","text":"TemporaryFile(/tmp/multipartBody1342894212041263650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751332277,"filename":"image_13012025_07_53_02_337281_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2e6edfbf24ee59a7b5eab67e83f23035.jpg","text":"TemporaryFile(/tmp/multipartBody4291076429294806689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751332277,"filename":"image_13012025_07_54_02_808509_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/df3629bb353349aa97250aa9180a22ca.jpg","text":"TemporaryFile(/tmp/multipartBody7533792624166962490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751332277,"filename":"image_13012025_07_54_02_808509_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ff668fb0174ba20cfcd9b417a05aa5b9.jpg","text":"TemporaryFile(/tmp/multipartBody2660092357116550070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751332277,"filename":"image_13012025_07_54_02_808509_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328595254","file1":"1328595233","file0":"1328595197","file3":"1328595265"},"map_files_photo_id_array":[{"photo_id":"1328595254","filename":"file2"},{"photo_id":"1328595233","filename":"file1"},{"photo_id":"1328595197","filename":"file0"},{"photo_id":"1328595265","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328595197":["hashtag1","hashtag2"]},{"1328595254":["hashtag1","hashtag2"]},{"1328595233":["hashtag1","hashtag2"]},{"1328595265":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328595197, 1328595254, 1328595233, 1328595265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.55187439918518 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:55:03.079210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:55:22.351529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/54/image_13012025_07_54_02_808509_0003.jpg', '/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_02_274131_0000.jpg', '/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_02_274131_0001.jpg', '/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_02_274131_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/54/image_13012025_07_54_02_808509_0003.jpg
/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_02_274131_0000.jpg
/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_02_274131_0001.jpg
/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_02_274131_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328595335","1328595329","1328595337","1328595331"],"photo_ids_order":["1328595329","1328595331","1328595335","1328595337"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/554bf040bfdb9f2b3681afc9c44944a5.jpg","text":"TemporaryFile(/tmp/multipartBody961188526537310083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751392602,"filename":"image_13012025_07_55_02_274131_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3a0e0fe54876ba233637dd172bd6fa2f.jpg","text":"TemporaryFile(/tmp/multipartBody4148273978831234881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751392602,"filename":"image_13012025_07_54_02_808509_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b3ef26f78554c94e86a5e0cc7f4800a7.jpg","text":"TemporaryFile(/tmp/multipartBody197843418265355280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751392602,"filename":"image_13012025_07_55_02_274131_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fe0616004087168b658bb1b177665ac1.jpg","text":"TemporaryFile(/tmp/multipartBody4640855408030444541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751392602,"filename":"image_13012025_07_55_02_274131_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328595335","file1":"1328595331","file0":"1328595329","file3":"1328595337"},"map_files_photo_id_array":[{"photo_id":"1328595335","filename":"file2"},{"photo_id":"1328595331","filename":"file1"},{"photo_id":"1328595329","filename":"file0"},{"photo_id":"1328595337","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328595335":["hashtag1","hashtag2"]},{"1328595329":["hashtag1","hashtag2"]},{"1328595337":["hashtag1","hashtag2"]},{"1328595331":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328595335, 1328595329, 1328595337, 1328595331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.80345439910889 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:56:22.013775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_02_274131_0003.jpg', '/home/pi/Desktop/images/13012025/07/56/image_13012025_07_56_02_775640_0000.jpg', '/home/pi/Desktop/images/13012025/07/56/image_13012025_07_56_02_775640_0001.jpg', '/home/pi/Desktop/images/13012025/07/56/image_13012025_07_56_02_775640_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_02_274131_0003.jpg
/home/pi/Desktop/images/13012025/07/56/image_13012025_07_56_02_775640_0000.jpg
/home/pi/Desktop/images/13012025/07/56/image_13012025_07_56_02_775640_0001.jpg
/home/pi/Desktop/images/13012025/07/56/image_13012025_07_56_02_775640_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328595505","1328595498","1328595494","1328595502"],"photo_ids_order":["1328595494","1328595498","1328595502","1328595505"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/29eba69d6b33b0bf14a175d3cddfb810.jpg","text":"TemporaryFile(/tmp/multipartBody8006725347121597222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751452207,"filename":"image_13012025_07_56_02_775640_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/724cced545d46cb3698d9f6a7119bbc1.jpg","text":"TemporaryFile(/tmp/multipartBody3609695446747971418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751452207,"filename":"image_13012025_07_56_02_775640_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/702be43143ede220cd55933aa3b6d23b.jpg","text":"TemporaryFile(/tmp/multipartBody477784152929716571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751452207,"filename":"image_13012025_07_55_02_274131_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4e7eb25aa9a760af1f100a6569ea91dd.jpg","text":"TemporaryFile(/tmp/multipartBody7917144021661213466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751452207,"filename":"image_13012025_07_56_02_775640_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328595502","file1":"1328595498","file0":"1328595494","file3":"1328595505"},"map_files_photo_id_array":[{"photo_id":"1328595502","filename":"file2"},{"photo_id":"1328595498","filename":"file1"},{"photo_id":"1328595494","filename":"file0"},{"photo_id":"1328595505","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328595505":["hashtag1","hashtag2"]},{"1328595498":["hashtag1","hashtag2"]},{"1328595494":["hashtag1","hashtag2"]},{"1328595502":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328595505, 1328595498, 1328595494, 1328595502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.36308550834656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:57:22.610154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/56/image_13012025_07_56_02_775640_0003.jpg', '/home/pi/Desktop/images/13012025/07/57/image_13012025_07_57_02_458532_0000.jpg', '/home/pi/Desktop/images/13012025/07/57/image_13012025_07_57_02_458532_0001.jpg', '/home/pi/Desktop/images/13012025/07/57/image_13012025_07_57_02_458532_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/56/image_13012025_07_56_02_775640_0003.jpg
/home/pi/Desktop/images/13012025/07/57/image_13012025_07_57_02_458532_0000.jpg
/home/pi/Desktop/images/13012025/07/57/image_13012025_07_57_02_458532_0001.jpg
/home/pi/Desktop/images/13012025/07/57/image_13012025_07_57_02_458532_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328595526","1328595535","1328595520","1328595523"],"photo_ids_order":["1328595520","1328595523","1328595526","1328595535"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9066088c79e93371a91300c32d19a0ab.jpg","text":"TemporaryFile(/tmp/multipartBody1276263227603925759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751512887,"filename":"image_13012025_07_57_02_458532_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c2e45c962009f0789d6fa7b4437db4ec.jpg","text":"TemporaryFile(/tmp/multipartBody5597293641034772480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751512887,"filename":"image_13012025_07_57_02_458532_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4f44cf808fefe7463e1f6e6700311563.jpg","text":"TemporaryFile(/tmp/multipartBody1518422316368186533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751512887,"filename":"image_13012025_07_56_02_775640_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5cafeec55afe3940c5857be139a1e249.jpg","text":"TemporaryFile(/tmp/multipartBody3661952834509107748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751512887,"filename":"image_13012025_07_57_02_458532_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328595526","file1":"1328595523","file0":"1328595520","file3":"1328595535"},"map_files_photo_id_array":[{"photo_id":"1328595526","filename":"file2"},{"photo_id":"1328595523","filename":"file1"},{"photo_id":"1328595520","filename":"file0"},{"photo_id":"1328595535","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328595526":["hashtag1","hashtag2"]},{"1328595535":["hashtag1","hashtag2"]},{"1328595520":["hashtag1","hashtag2"]},{"1328595523":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328595526, 1328595535, 1328595520, 1328595523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.562713623046875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 07:59:02.850950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 626, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 07:59:22.189034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/57/image_13012025_07_57_02_458532_0003.jpg', '/home/pi/Desktop/images/13012025/07/58/image_13012025_07_58_02_964175_0000.jpg', '/home/pi/Desktop/images/13012025/07/58/image_13012025_07_58_02_964175_0001.jpg', '/home/pi/Desktop/images/13012025/07/58/image_13012025_07_58_02_964175_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/57/image_13012025_07_57_02_458532_0003.jpg
/home/pi/Desktop/images/13012025/07/58/image_13012025_07_58_02_964175_0000.jpg
/home/pi/Desktop/images/13012025/07/58/image_13012025_07_58_02_964175_0001.jpg
/home/pi/Desktop/images/13012025/07/58/image_13012025_07_58_02_964175_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328596245","1328596247","1328596186","1328596180"],"photo_ids_order":["1328596180","1328596186","1328596245","1328596247"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d1ec7ee2ff6cf49b061cedfa56abde27.jpg","text":"TemporaryFile(/tmp/multipartBody3713331220509473770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751632603,"filename":"image_13012025_07_58_02_964175_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d927cbb4e66e1e37937645a1c49adee6.jpg","text":"TemporaryFile(/tmp/multipartBody6978185132649292848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751632603,"filename":"image_13012025_07_58_02_964175_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/039ba4617394740fc5d24ced17419634.jpg","text":"TemporaryFile(/tmp/multipartBody191702660752924755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751632603,"filename":"image_13012025_07_58_02_964175_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2c2e0998ac529d14b948156f9e2102e8.jpg","text":"TemporaryFile(/tmp/multipartBody5514149274763238385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751632603,"filename":"image_13012025_07_57_02_458532_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328596245","file1":"1328596186","file0":"1328596180","file3":"1328596247"},"map_files_photo_id_array":[{"photo_id":"1328596245","filename":"file2"},{"photo_id":"1328596186","filename":"file1"},{"photo_id":"1328596180","filename":"file0"},{"photo_id":"1328596247","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328596245":["hashtag1","hashtag2"]},{"1328596247":["hashtag1","hashtag2"]},{"1328596186":["hashtag1","hashtag2"]},{"1328596180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328596245, 1328596247, 1328596186, 1328596180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.550928354263306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:00:02.271984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:00:21.793732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/58/image_13012025_07_58_02_964175_0003.jpg', '/home/pi/Desktop/images/13012025/07/59/image_13012025_07_59_02_457626_0000.jpg', '/home/pi/Desktop/images/13012025/07/59/image_13012025_07_59_02_457626_0001.jpg', '/home/pi/Desktop/images/13012025/07/59/image_13012025_07_59_02_457626_0002.jpg', '/home/pi/Desktop/images/13012025/07/59/image_13012025_07_59_02_457626_0003.jpg', '/home/pi/Desktop/images/13012025/08/00/image_13012025_08_00_02_640627_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/07/58/image_13012025_07_58_02_964175_0003.jpg
/home/pi/Desktop/images/13012025/07/59/image_13012025_07_59_02_457626_0000.jpg
/home/pi/Desktop/images/13012025/07/59/image_13012025_07_59_02_457626_0001.jpg
/home/pi/Desktop/images/13012025/07/59/image_13012025_07_59_02_457626_0002.jpg
/home/pi/Desktop/images/13012025/07/59/image_13012025_07_59_02_457626_0003.jpg
/home/pi/Desktop/images/13012025/08/00/image_13012025_08_00_02_640627_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328596496","1328596478","1328596475","1328596483","1328596471","1328596473"],"photo_ids_order":["1328596471","1328596473","1328596475","1328596478","1328596483","1328596496"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0bb5b5360a1d01fc1244f4ac0360ad6f.jpg","text":"TemporaryFile(/tmp/multipartBody8553210249950856374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751696799,"filename":"image_13012025_08_00_02_640627_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/efcc354b2ab4c4afa3aecf6a05c3df3c.jpg","text":"TemporaryFile(/tmp/multipartBody5484501343273075211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751696799,"filename":"image_13012025_07_59_02_457626_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2f122479dc5a363daeb0db70d048e97b.jpg","text":"TemporaryFile(/tmp/multipartBody2589806110959893488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751696799,"filename":"image_13012025_07_59_02_457626_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/915796ccb885d44267a07f45a22b338f.jpg","text":"TemporaryFile(/tmp/multipartBody6145122938624219314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751696799,"filename":"image_13012025_07_59_02_457626_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e792db8ab7f1ef310f92b23ed649fbf6.jpg","text":"TemporaryFile(/tmp/multipartBody1125653048342168584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751696799,"filename":"image_13012025_07_58_02_964175_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/378ebb5c9db8af143d87f0bfd669b021.jpg","text":"TemporaryFile(/tmp/multipartBody8375340257300273237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751696799,"filename":"image_13012025_07_59_02_457626_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328596475","file1":"1328596473","file0":"1328596471","file4":"1328596483","file5":"1328596496","file3":"1328596478"},"map_files_photo_id_array":[{"photo_id":"1328596496","filename":"file5"},{"photo_id":"1328596475","filename":"file2"},{"photo_id":"1328596483","filename":"file4"},{"photo_id":"1328596473","filename":"file1"},{"photo_id":"1328596471","filename":"file0"},{"photo_id":"1328596478","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328596496":["hashtag1","hashtag2"]},{"1328596478":["hashtag1","hashtag2"]},{"1328596475":["hashtag1","hashtag2"]},{"1328596483":["hashtag1","hashtag2"]},{"1328596471":["hashtag1","hashtag2"]},{"1328596473":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328596496, 1328596478, 1328596475, 1328596483, 1328596471, 1328596473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.04815077781677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:01:22.354591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/00/image_13012025_08_00_02_640627_0001.jpg', '/home/pi/Desktop/images/13012025/08/00/image_13012025_08_00_02_640627_0002.jpg', '/home/pi/Desktop/images/13012025/08/00/image_13012025_08_00_02_640627_0003.jpg', '/home/pi/Desktop/images/13012025/08/01/image_13012025_08_01_02_149068_0000.jpg', '/home/pi/Desktop/images/13012025/08/01/image_13012025_08_01_02_149068_0001.jpg', '/home/pi/Desktop/images/13012025/08/01/image_13012025_08_01_02_149068_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/00/image_13012025_08_00_02_640627_0001.jpg
/home/pi/Desktop/images/13012025/08/00/image_13012025_08_00_02_640627_0002.jpg
/home/pi/Desktop/images/13012025/08/00/image_13012025_08_00_02_640627_0003.jpg
/home/pi/Desktop/images/13012025/08/01/image_13012025_08_01_02_149068_0000.jpg
/home/pi/Desktop/images/13012025/08/01/image_13012025_08_01_02_149068_0001.jpg
/home/pi/Desktop/images/13012025/08/01/image_13012025_08_01_02_149068_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328596530","1328596527","1328596526","1328596523","1328596528","1328596533"],"photo_ids_order":["1328596523","1328596526","1328596527","1328596528","1328596530","1328596533"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/55d04e98fbd860761fd38a4a26fd5ed7.jpg","text":"TemporaryFile(/tmp/multipartBody600593270994373916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751757389,"filename":"image_13012025_08_01_02_149068_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/600e90b84c3497844caf435c289fdb20.jpg","text":"TemporaryFile(/tmp/multipartBody8593811280541902330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751757389,"filename":"image_13012025_08_00_02_640627_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cd1cb6dffaa9982763a6dfa661fbe296.jpg","text":"TemporaryFile(/tmp/multipartBody810128516257457845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751757389,"filename":"image_13012025_08_00_02_640627_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a9964a187973973d2104888271b2b104.jpg","text":"TemporaryFile(/tmp/multipartBody2819426519156466795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751757389,"filename":"image_13012025_08_00_02_640627_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4ca70a00a09bff7d2148e1169cd55a80.jpg","text":"TemporaryFile(/tmp/multipartBody2551295188155048195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751757389,"filename":"image_13012025_08_01_02_149068_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/620add9627546b9ef3ae79e3bc76c8cf.jpg","text":"TemporaryFile(/tmp/multipartBody8295027495706898215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751757389,"filename":"image_13012025_08_01_02_149068_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328596527","file1":"1328596526","file0":"1328596523","file4":"1328596530","file5":"1328596533","file3":"1328596528"},"map_files_photo_id_array":[{"photo_id":"1328596533","filename":"file5"},{"photo_id":"1328596527","filename":"file2"},{"photo_id":"1328596530","filename":"file4"},{"photo_id":"1328596526","filename":"file1"},{"photo_id":"1328596523","filename":"file0"},{"photo_id":"1328596528","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328596530":["hashtag1","hashtag2"]},{"1328596527":["hashtag1","hashtag2"]},{"1328596526":["hashtag1","hashtag2"]},{"1328596523":["hashtag1","hashtag2"]},{"1328596528":["hashtag1","hashtag2"]},{"1328596533":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328596530, 1328596527, 1328596526, 1328596523, 1328596528, 1328596533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.90215826034546 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:02:21.956570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/01/image_13012025_08_01_02_149068_0003.jpg', '/home/pi/Desktop/images/13012025/08/02/image_13012025_08_02_02_676889_0000.jpg', '/home/pi/Desktop/images/13012025/08/02/image_13012025_08_02_02_676889_0001.jpg', '/home/pi/Desktop/images/13012025/08/02/image_13012025_08_02_02_676889_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/01/image_13012025_08_01_02_149068_0003.jpg
/home/pi/Desktop/images/13012025/08/02/image_13012025_08_02_02_676889_0000.jpg
/home/pi/Desktop/images/13012025/08/02/image_13012025_08_02_02_676889_0001.jpg
/home/pi/Desktop/images/13012025/08/02/image_13012025_08_02_02_676889_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328596641","1328596546","1328596549","1328596551"],"photo_ids_order":["1328596546","1328596549","1328596551","1328596641"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a65a23b82671d583120e57e2c2206754.jpg","text":"TemporaryFile(/tmp/multipartBody3379572562359390490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751812157,"filename":"image_13012025_08_02_02_676889_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/01584c9110fc1ef92dcac3a46f9ca438.jpg","text":"TemporaryFile(/tmp/multipartBody8558788893071740456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751812157,"filename":"image_13012025_08_01_02_149068_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7ee0246dc2e814d4927e9a91cd6296e0.jpg","text":"TemporaryFile(/tmp/multipartBody7928335206529783337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751812157,"filename":"image_13012025_08_02_02_676889_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1d22ef9d5e63fa04c36c7cdc0779666b.jpg","text":"TemporaryFile(/tmp/multipartBody8425667854071952662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751812157,"filename":"image_13012025_08_02_02_676889_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328596551","file1":"1328596549","file0":"1328596546","file3":"1328596641"},"map_files_photo_id_array":[{"photo_id":"1328596551","filename":"file2"},{"photo_id":"1328596549","filename":"file1"},{"photo_id":"1328596546","filename":"file0"},{"photo_id":"1328596641","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328596641":["hashtag1","hashtag2"]},{"1328596546":["hashtag1","hashtag2"]},{"1328596549":["hashtag1","hashtag2"]},{"1328596551":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328596641, 1328596546, 1328596549, 1328596551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.52119994163513 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:03:03.142309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:03:22.430081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/02/image_13012025_08_02_02_676889_0003.jpg', '/home/pi/Desktop/images/13012025/08/03/image_13012025_08_03_02_274352_0000.jpg', '/home/pi/Desktop/images/13012025/08/03/image_13012025_08_03_02_274352_0001.jpg', '/home/pi/Desktop/images/13012025/08/03/image_13012025_08_03_02_274352_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/02/image_13012025_08_02_02_676889_0003.jpg
/home/pi/Desktop/images/13012025/08/03/image_13012025_08_03_02_274352_0000.jpg
/home/pi/Desktop/images/13012025/08/03/image_13012025_08_03_02_274352_0001.jpg
/home/pi/Desktop/images/13012025/08/03/image_13012025_08_03_02_274352_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328597342","1328597380","1328597383","1328597334"],"photo_ids_order":["1328597334","1328597342","1328597380","1328597383"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fd2073ddef44aa9be781fdf44b1b62f5.jpg","text":"TemporaryFile(/tmp/multipartBody6307162197992271397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751872655,"filename":"image_13012025_08_03_02_274352_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fb85f19ea2cc9d6830a8ea612c9cd0bd.jpg","text":"TemporaryFile(/tmp/multipartBody8262531668842009189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751872655,"filename":"image_13012025_08_03_02_274352_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/340afc2875db8bf0d2317619091ad3a2.jpg","text":"TemporaryFile(/tmp/multipartBody5604356597831629577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751872655,"filename":"image_13012025_08_03_02_274352_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f46fa8b56c5d0927a9073e55168b1cfb.jpg","text":"TemporaryFile(/tmp/multipartBody7382428268488053404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751872655,"filename":"image_13012025_08_02_02_676889_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328597380","file1":"1328597342","file0":"1328597334","file3":"1328597383"},"map_files_photo_id_array":[{"photo_id":"1328597380","filename":"file2"},{"photo_id":"1328597342","filename":"file1"},{"photo_id":"1328597334","filename":"file0"},{"photo_id":"1328597383","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328597342":["hashtag1","hashtag2"]},{"1328597380":["hashtag1","hashtag2"]},{"1328597383":["hashtag1","hashtag2"]},{"1328597334":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328597342, 1328597380, 1328597383, 1328597334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.68663263320923 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:04:02.624784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:04:22.137127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/03/image_13012025_08_03_02_274352_0003.jpg', '/home/pi/Desktop/images/13012025/08/04/image_13012025_08_04_02_805565_0000.jpg', '/home/pi/Desktop/images/13012025/08/04/image_13012025_08_04_02_805565_0001.jpg', '/home/pi/Desktop/images/13012025/08/04/image_13012025_08_04_02_805565_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/03/image_13012025_08_03_02_274352_0003.jpg
/home/pi/Desktop/images/13012025/08/04/image_13012025_08_04_02_805565_0000.jpg
/home/pi/Desktop/images/13012025/08/04/image_13012025_08_04_02_805565_0001.jpg
/home/pi/Desktop/images/13012025/08/04/image_13012025_08_04_02_805565_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328597504","1328597506","1328597514","1328597508"],"photo_ids_order":["1328597504","1328597506","1328597508","1328597514"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/29de4e01c5e92747ac095ea767e440dc.jpg","text":"TemporaryFile(/tmp/multipartBody3986898869422435607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751932475,"filename":"image_13012025_08_03_02_274352_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/400463c513b601083249dc7f81b5b2fe.jpg","text":"TemporaryFile(/tmp/multipartBody2785234328873818544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751932475,"filename":"image_13012025_08_04_02_805565_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/64ec557f5da20b5e4503f69709d15030.jpg","text":"TemporaryFile(/tmp/multipartBody7217501589228092353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751932475,"filename":"image_13012025_08_04_02_805565_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eed4894f66d75ef1755f229da3cd78e6.jpg","text":"TemporaryFile(/tmp/multipartBody4741351038043479341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751932475,"filename":"image_13012025_08_04_02_805565_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328597508","file1":"1328597506","file0":"1328597504","file3":"1328597514"},"map_files_photo_id_array":[{"photo_id":"1328597508","filename":"file2"},{"photo_id":"1328597506","filename":"file1"},{"photo_id":"1328597504","filename":"file0"},{"photo_id":"1328597514","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328597504":["hashtag1","hashtag2"]},{"1328597506":["hashtag1","hashtag2"]},{"1328597514":["hashtag1","hashtag2"]},{"1328597508":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328597504, 1328597506, 1328597514, 1328597508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.65797710418701 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:05:03.362471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:05:22.724901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/04/image_13012025_08_04_02_805565_0003.jpg', '/home/pi/Desktop/images/13012025/08/05/image_13012025_08_05_02_478631_0000.jpg', '/home/pi/Desktop/images/13012025/08/05/image_13012025_08_05_02_478631_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/04/image_13012025_08_04_02_805565_0003.jpg
/home/pi/Desktop/images/13012025/08/05/image_13012025_08_05_02_478631_0000.jpg
/home/pi/Desktop/images/13012025/08/05/image_13012025_08_05_02_478631_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328597525","1328597522","1328597529"],"photo_ids_order":["1328597522","1328597525","1328597529"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/94289ac2aac11781adc4cbcd59d85761.jpg","text":"TemporaryFile(/tmp/multipartBody3281827728574310396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751990587,"filename":"image_13012025_08_05_02_478631_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/24176fd1c006d614b8c39c350a468262.jpg","text":"TemporaryFile(/tmp/multipartBody5939068198872796397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751990587,"filename":"image_13012025_08_04_02_805565_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/518e7d400a059a31cc864b1e46701131.jpg","text":"TemporaryFile(/tmp/multipartBody2942769555996011236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736751990587,"filename":"image_13012025_08_05_02_478631_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328597529","file1":"1328597525","file0":"1328597522"},"map_files_photo_id_array":[{"photo_id":"1328597529","filename":"file2"},{"photo_id":"1328597525","filename":"file1"},{"photo_id":"1328597522","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328597525":["hashtag1","hashtag2"]},{"1328597522":["hashtag1","hashtag2"]},{"1328597529":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328597525, 1328597522, 1328597529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.670960903167725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:06:02.840356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:06:22.364875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/05/image_13012025_08_05_02_478631_0003.jpg', '/home/pi/Desktop/images/13012025/08/06/image_13012025_08_06_03_094944_0000.jpg', '/home/pi/Desktop/images/13012025/08/06/image_13012025_08_06_03_094944_0001.jpg', '/home/pi/Desktop/images/13012025/08/06/image_13012025_08_06_03_094944_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/05/image_13012025_08_05_02_478631_0003.jpg
/home/pi/Desktop/images/13012025/08/06/image_13012025_08_06_03_094944_0000.jpg
/home/pi/Desktop/images/13012025/08/06/image_13012025_08_06_03_094944_0001.jpg
/home/pi/Desktop/images/13012025/08/06/image_13012025_08_06_03_094944_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328597545","1328597550","1328597553","1328597547"],"photo_ids_order":["1328597545","1328597547","1328597550","1328597553"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1d7e07f687b1477f52af56ad5766b1bd.jpg","text":"TemporaryFile(/tmp/multipartBody1071246110567970721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752052586,"filename":"image_13012025_08_05_02_478631_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5d95ad6cce9b74db3a38bba6158ae6b3.jpg","text":"TemporaryFile(/tmp/multipartBody4632626200787686517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752052586,"filename":"image_13012025_08_06_03_094944_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8920cec102cd6006471b7f653ee9d8f3.jpg","text":"TemporaryFile(/tmp/multipartBody135283242097507345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752052586,"filename":"image_13012025_08_06_03_094944_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dc7b3093dae9c0e7ac5b4b5d45d5e140.jpg","text":"TemporaryFile(/tmp/multipartBody7909284523099130287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752052586,"filename":"image_13012025_08_06_03_094944_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328597550","file1":"1328597547","file0":"1328597545","file3":"1328597553"},"map_files_photo_id_array":[{"photo_id":"1328597550","filename":"file2"},{"photo_id":"1328597547","filename":"file1"},{"photo_id":"1328597545","filename":"file0"},{"photo_id":"1328597553","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328597545":["hashtag1","hashtag2"]},{"1328597550":["hashtag1","hashtag2"]},{"1328597553":["hashtag1","hashtag2"]},{"1328597547":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328597545, 1328597550, 1328597553, 1328597547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.30259037017822 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:07:21.882217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/06/image_13012025_08_06_03_094944_0003.jpg', '/home/pi/Desktop/images/13012025/08/07/image_13012025_08_07_02_725393_0000.jpg', '/home/pi/Desktop/images/13012025/08/07/image_13012025_08_07_02_725393_0001.jpg', '/home/pi/Desktop/images/13012025/08/07/image_13012025_08_07_02_725393_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/06/image_13012025_08_06_03_094944_0003.jpg
/home/pi/Desktop/images/13012025/08/07/image_13012025_08_07_02_725393_0000.jpg
/home/pi/Desktop/images/13012025/08/07/image_13012025_08_07_02_725393_0001.jpg
/home/pi/Desktop/images/13012025/08/07/image_13012025_08_07_02_725393_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328597576","1328597578","1328597572","1328597574"],"photo_ids_order":["1328597572","1328597574","1328597576","1328597578"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6b0d72ec830679bbada640dcd270d52f.jpg","text":"TemporaryFile(/tmp/multipartBody2380478530491322892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752112039,"filename":"image_13012025_08_07_02_725393_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e3450ca1f05155593c1f4d332933177b.jpg","text":"TemporaryFile(/tmp/multipartBody6699641891309096803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752112039,"filename":"image_13012025_08_07_02_725393_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d4bc47fff3a3b5f076e913c8ae945011.jpg","text":"TemporaryFile(/tmp/multipartBody2301098653466133388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752112039,"filename":"image_13012025_08_06_03_094944_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2d65f5fb5a7cb0a32a8f882cb7a291bf.jpg","text":"TemporaryFile(/tmp/multipartBody7930740073887928382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752112039,"filename":"image_13012025_08_07_02_725393_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328597576","file1":"1328597574","file0":"1328597572","file3":"1328597578"},"map_files_photo_id_array":[{"photo_id":"1328597576","filename":"file2"},{"photo_id":"1328597574","filename":"file1"},{"photo_id":"1328597572","filename":"file0"},{"photo_id":"1328597578","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328597576":["hashtag1","hashtag2"]},{"1328597578":["hashtag1","hashtag2"]},{"1328597572":["hashtag1","hashtag2"]},{"1328597574":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328597576, 1328597578, 1328597572, 1328597574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.289931535720825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:08:02.784524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:08:22.467556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/07/image_13012025_08_07_02_725393_0003.jpg', '/home/pi/Desktop/images/13012025/08/08/image_13012025_08_08_02_248875_0000.jpg', '/home/pi/Desktop/images/13012025/08/08/image_13012025_08_08_02_248875_0001.jpg', '/home/pi/Desktop/images/13012025/08/08/image_13012025_08_08_02_248875_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/07/image_13012025_08_07_02_725393_0003.jpg
/home/pi/Desktop/images/13012025/08/08/image_13012025_08_08_02_248875_0000.jpg
/home/pi/Desktop/images/13012025/08/08/image_13012025_08_08_02_248875_0001.jpg
/home/pi/Desktop/images/13012025/08/08/image_13012025_08_08_02_248875_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328597597","1328597603","1328597606","1328597600"],"photo_ids_order":["1328597597","1328597600","1328597603","1328597606"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7cf62399c5ebf683e21e187a20546140.jpg","text":"TemporaryFile(/tmp/multipartBody8666402951751265457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752172747,"filename":"image_13012025_08_07_02_725393_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6b2780166be29bb3a71ccd35db617d21.jpg","text":"TemporaryFile(/tmp/multipartBody4967585529575710736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752172747,"filename":"image_13012025_08_08_02_248875_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d486b9cff16b67c13f227c3c5ac83a52.jpg","text":"TemporaryFile(/tmp/multipartBody8071278047933251206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752172747,"filename":"image_13012025_08_08_02_248875_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a6b96f61810aab368cb718dc81f9343e.jpg","text":"TemporaryFile(/tmp/multipartBody799005280562739766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752172747,"filename":"image_13012025_08_08_02_248875_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328597603","file1":"1328597600","file0":"1328597597","file3":"1328597606"},"map_files_photo_id_array":[{"photo_id":"1328597603","filename":"file2"},{"photo_id":"1328597600","filename":"file1"},{"photo_id":"1328597597","filename":"file0"},{"photo_id":"1328597606","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328597597":["hashtag1","hashtag2"]},{"1328597603":["hashtag1","hashtag2"]},{"1328597606":["hashtag1","hashtag2"]},{"1328597600":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328597597, 1328597603, 1328597606, 1328597600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.39730358123779 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:09:21.975741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/08/image_13012025_08_08_02_248875_0003.jpg', '/home/pi/Desktop/images/13012025/08/09/image_13012025_08_09_02_825998_0000.jpg', '/home/pi/Desktop/images/13012025/08/09/image_13012025_08_09_02_825998_0001.jpg', '/home/pi/Desktop/images/13012025/08/09/image_13012025_08_09_02_825998_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/08/image_13012025_08_08_02_248875_0003.jpg
/home/pi/Desktop/images/13012025/08/09/image_13012025_08_09_02_825998_0000.jpg
/home/pi/Desktop/images/13012025/08/09/image_13012025_08_09_02_825998_0001.jpg
/home/pi/Desktop/images/13012025/08/09/image_13012025_08_09_02_825998_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328597666","1328597669","1328597629","1328597655"],"photo_ids_order":["1328597629","1328597655","1328597666","1328597669"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0069179e287a7ba04607a506475a7f1a.jpg","text":"TemporaryFile(/tmp/multipartBody3290459749721733195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752232272,"filename":"image_13012025_08_09_02_825998_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aad4dfdd173fcad2047a50e7735408dd.jpg","text":"TemporaryFile(/tmp/multipartBody3022380136967708249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752232272,"filename":"image_13012025_08_09_02_825998_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/444de4fdabe94508f8e7d62bd94eff4a.jpg","text":"TemporaryFile(/tmp/multipartBody171674366206973089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752232272,"filename":"image_13012025_08_08_02_248875_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/173850ec573d79625aba1e3d409ee1e6.jpg","text":"TemporaryFile(/tmp/multipartBody2493632166698957846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752232272,"filename":"image_13012025_08_09_02_825998_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328597666","file1":"1328597655","file0":"1328597629","file3":"1328597669"},"map_files_photo_id_array":[{"photo_id":"1328597666","filename":"file2"},{"photo_id":"1328597655","filename":"file1"},{"photo_id":"1328597629","filename":"file0"},{"photo_id":"1328597669","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328597666":["hashtag1","hashtag2"]},{"1328597669":["hashtag1","hashtag2"]},{"1328597629":["hashtag1","hashtag2"]},{"1328597655":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328597666, 1328597669, 1328597629, 1328597655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.351502895355225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:10:22.426706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/09/image_13012025_08_09_02_825998_0003.jpg', '/home/pi/Desktop/images/13012025/08/10/image_13012025_08_10_02_285202_0000.jpg', '/home/pi/Desktop/images/13012025/08/10/image_13012025_08_10_02_285202_0001.jpg', '/home/pi/Desktop/images/13012025/08/10/image_13012025_08_10_02_285202_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/09/image_13012025_08_09_02_825998_0003.jpg
/home/pi/Desktop/images/13012025/08/10/image_13012025_08_10_02_285202_0000.jpg
/home/pi/Desktop/images/13012025/08/10/image_13012025_08_10_02_285202_0001.jpg
/home/pi/Desktop/images/13012025/08/10/image_13012025_08_10_02_285202_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328597747","1328597750","1328597744","1328597745"],"photo_ids_order":["1328597744","1328597745","1328597747","1328597750"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7a2ddc8b108140695916034a8fec5eb0.jpg","text":"TemporaryFile(/tmp/multipartBody3773154498393896850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752292576,"filename":"image_13012025_08_10_02_285202_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cd5c8b2394a62b63659c9db4aded0777.jpg","text":"TemporaryFile(/tmp/multipartBody9019948903755847990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752292576,"filename":"image_13012025_08_10_02_285202_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/29b79c21a5ead598d2ec3fea8fc3ef3f.jpg","text":"TemporaryFile(/tmp/multipartBody4036438172779774563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752292576,"filename":"image_13012025_08_09_02_825998_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b2dc4ea2b6555f5707918f0b38e60dac.jpg","text":"TemporaryFile(/tmp/multipartBody478429995123839494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752292576,"filename":"image_13012025_08_10_02_285202_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328597747","file1":"1328597745","file0":"1328597744","file3":"1328597750"},"map_files_photo_id_array":[{"photo_id":"1328597747","filename":"file2"},{"photo_id":"1328597745","filename":"file1"},{"photo_id":"1328597744","filename":"file0"},{"photo_id":"1328597750","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328597747":["hashtag1","hashtag2"]},{"1328597750":["hashtag1","hashtag2"]},{"1328597744":["hashtag1","hashtag2"]},{"1328597745":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328597747, 1328597750, 1328597744, 1328597745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.58531451225281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:11:21.993184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/10/image_13012025_08_10_02_285202_0003.jpg', '/home/pi/Desktop/images/13012025/08/11/image_13012025_08_11_02_795286_0000.jpg', '/home/pi/Desktop/images/13012025/08/11/image_13012025_08_11_02_795286_0001.jpg', '/home/pi/Desktop/images/13012025/08/11/image_13012025_08_11_02_795286_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/10/image_13012025_08_10_02_285202_0003.jpg
/home/pi/Desktop/images/13012025/08/11/image_13012025_08_11_02_795286_0000.jpg
/home/pi/Desktop/images/13012025/08/11/image_13012025_08_11_02_795286_0001.jpg
/home/pi/Desktop/images/13012025/08/11/image_13012025_08_11_02_795286_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328597764","1328597761","1328597763","1328597766"],"photo_ids_order":["1328597761","1328597763","1328597764","1328597766"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/64ff38184c9eae5f659ac72d09f86fa2.jpg","text":"TemporaryFile(/tmp/multipartBody6052749700237608590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752352302,"filename":"image_13012025_08_11_02_795286_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2a3f6389de4501b4e440eb3cac3db74a.jpg","text":"TemporaryFile(/tmp/multipartBody5555717499342589276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752352302,"filename":"image_13012025_08_10_02_285202_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6c2facc1e27cd7fc24f56d24c1defb3f.jpg","text":"TemporaryFile(/tmp/multipartBody4512949298590179471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752352302,"filename":"image_13012025_08_11_02_795286_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8d5240aa8923a2b11773073bd42a949f.jpg","text":"TemporaryFile(/tmp/multipartBody2093856920838589191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752352302,"filename":"image_13012025_08_11_02_795286_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328597764","file1":"1328597763","file0":"1328597761","file3":"1328597766"},"map_files_photo_id_array":[{"photo_id":"1328597764","filename":"file2"},{"photo_id":"1328597763","filename":"file1"},{"photo_id":"1328597761","filename":"file0"},{"photo_id":"1328597766","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328597764":["hashtag1","hashtag2"]},{"1328597761":["hashtag1","hashtag2"]},{"1328597763":["hashtag1","hashtag2"]},{"1328597766":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328597764, 1328597761, 1328597763, 1328597766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.46561312675476 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:12:02.744332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:12:22.477110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/11/image_13012025_08_11_02_795286_0003.jpg', '/home/pi/Desktop/images/13012025/08/12/image_13012025_08_12_02_297194_0000.jpg', '/home/pi/Desktop/images/13012025/08/12/image_13012025_08_12_02_297194_0001.jpg', '/home/pi/Desktop/images/13012025/08/12/image_13012025_08_12_02_297194_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/11/image_13012025_08_11_02_795286_0003.jpg
/home/pi/Desktop/images/13012025/08/12/image_13012025_08_12_02_297194_0000.jpg
/home/pi/Desktop/images/13012025/08/12/image_13012025_08_12_02_297194_0001.jpg
/home/pi/Desktop/images/13012025/08/12/image_13012025_08_12_02_297194_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328597893","1328597912","1328597908","1328597905"],"photo_ids_order":["1328597893","1328597905","1328597908","1328597912"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4eb2372744076bdad24d3d5f7fdced51.jpg","text":"TemporaryFile(/tmp/multipartBody3973194373621291217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752412704,"filename":"image_13012025_08_11_02_795286_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f199ee064ce6cfba190a06e1f291c10a.jpg","text":"TemporaryFile(/tmp/multipartBody871520830459625218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752412704,"filename":"image_13012025_08_12_02_297194_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/636af0fe7256550fbf3ae5a4fa5819b7.jpg","text":"TemporaryFile(/tmp/multipartBody5324999381832871064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752412704,"filename":"image_13012025_08_12_02_297194_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f271e0e4caaf2cfa29490452bcb58d48.jpg","text":"TemporaryFile(/tmp/multipartBody7725611935266530578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752412704,"filename":"image_13012025_08_12_02_297194_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328597908","file1":"1328597905","file0":"1328597893","file3":"1328597912"},"map_files_photo_id_array":[{"photo_id":"1328597908","filename":"file2"},{"photo_id":"1328597905","filename":"file1"},{"photo_id":"1328597893","filename":"file0"},{"photo_id":"1328597912","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328597893":["hashtag1","hashtag2"]},{"1328597912":["hashtag1","hashtag2"]},{"1328597908":["hashtag1","hashtag2"]},{"1328597905":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328597893, 1328597912, 1328597908, 1328597905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.705891847610474 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:13:21.924967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/12/image_13012025_08_12_02_297194_0003.jpg', '/home/pi/Desktop/images/13012025/08/13/image_13012025_08_13_02_712366_0000.jpg', '/home/pi/Desktop/images/13012025/08/13/image_13012025_08_13_02_712366_0001.jpg', '/home/pi/Desktop/images/13012025/08/13/image_13012025_08_13_02_712366_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/12/image_13012025_08_12_02_297194_0003.jpg
/home/pi/Desktop/images/13012025/08/13/image_13012025_08_13_02_712366_0000.jpg
/home/pi/Desktop/images/13012025/08/13/image_13012025_08_13_02_712366_0001.jpg
/home/pi/Desktop/images/13012025/08/13/image_13012025_08_13_02_712366_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328597933","1328597924","1328597926","1328597929"],"photo_ids_order":["1328597924","1328597926","1328597929","1328597933"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/879baede3edf5d7d7ff9fdc5f9bf3558.jpg","text":"TemporaryFile(/tmp/multipartBody5722666405172970945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752471984,"filename":"image_13012025_08_13_02_712366_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/784f9125f4501be4de14fba7c7db8777.jpg","text":"TemporaryFile(/tmp/multipartBody7685505101036740128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752471984,"filename":"image_13012025_08_12_02_297194_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/478a768e3b6922dfb4edeaab4b671bfd.jpg","text":"TemporaryFile(/tmp/multipartBody8091661854313976066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752471984,"filename":"image_13012025_08_13_02_712366_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/61a16dd6a6f04c19d11a43270a32e562.jpg","text":"TemporaryFile(/tmp/multipartBody7889157772657872756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752471984,"filename":"image_13012025_08_13_02_712366_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328597929","file1":"1328597926","file0":"1328597924","file3":"1328597933"},"map_files_photo_id_array":[{"photo_id":"1328597929","filename":"file2"},{"photo_id":"1328597926","filename":"file1"},{"photo_id":"1328597924","filename":"file0"},{"photo_id":"1328597933","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328597933":["hashtag1","hashtag2"]},{"1328597924":["hashtag1","hashtag2"]},{"1328597926":["hashtag1","hashtag2"]},{"1328597929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328597933, 1328597924, 1328597926, 1328597929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.564237117767334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:14:02.740577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:14:22.419167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/13/image_13012025_08_13_02_712366_0003.jpg', '/home/pi/Desktop/images/13012025/08/14/image_13012025_08_14_02_241967_0000.jpg', '/home/pi/Desktop/images/13012025/08/14/image_13012025_08_14_02_241967_0001.jpg', '/home/pi/Desktop/images/13012025/08/14/image_13012025_08_14_02_241967_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/13/image_13012025_08_13_02_712366_0003.jpg
/home/pi/Desktop/images/13012025/08/14/image_13012025_08_14_02_241967_0000.jpg
/home/pi/Desktop/images/13012025/08/14/image_13012025_08_14_02_241967_0001.jpg
/home/pi/Desktop/images/13012025/08/14/image_13012025_08_14_02_241967_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.931066989898682 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:15:02.533544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/13/image_13012025_08_13_02_712366_0003.jpg', '/home/pi/Desktop/images/13012025/08/14/image_13012025_08_14_02_241967_0000.jpg', '/home/pi/Desktop/images/13012025/08/14/image_13012025_08_14_02_241967_0001.jpg', '/home/pi/Desktop/images/13012025/08/14/image_13012025_08_14_02_241967_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/13/image_13012025_08_13_02_712366_0003.jpg
/home/pi/Desktop/images/13012025/08/14/image_13012025_08_14_02_241967_0000.jpg
/home/pi/Desktop/images/13012025/08/14/image_13012025_08_14_02_241967_0001.jpg
/home/pi/Desktop/images/13012025/08/14/image_13012025_08_14_02_241967_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328598074","1328598070","1328598072","1328598069"],"photo_ids_order":["1328598069","1328598070","1328598072","1328598074"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/928f78ceb46bc446fd5af6d90702afa0.jpg","text":"TemporaryFile(/tmp/multipartBody1453323652238547804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752572915,"filename":"image_13012025_08_14_02_241967_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d65cd314beb5008805ad75b26490de7b.jpg","text":"TemporaryFile(/tmp/multipartBody2266299045765531433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752572915,"filename":"image_13012025_08_14_02_241967_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/679f5393de29eb5fa183c4ca1d7b1e77.jpg","text":"TemporaryFile(/tmp/multipartBody3285089585391552428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752572915,"filename":"image_13012025_08_14_02_241967_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5fc9f2abf0e3791134d50edda92c6f97.jpg","text":"TemporaryFile(/tmp/multipartBody8069019756889522974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752572915,"filename":"image_13012025_08_13_02_712366_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328598072","file1":"1328598070","file0":"1328598069","file3":"1328598074"},"map_files_photo_id_array":[{"photo_id":"1328598072","filename":"file2"},{"photo_id":"1328598070","filename":"file1"},{"photo_id":"1328598069","filename":"file0"},{"photo_id":"1328598074","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328598074":["hashtag1","hashtag2"]},{"1328598070":["hashtag1","hashtag2"]},{"1328598072":["hashtag1","hashtag2"]},{"1328598069":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328598074, 1328598070, 1328598072, 1328598069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.48383378982544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:16:02.959132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/14/image_13012025_08_14_02_241967_0003.jpg', '/home/pi/Desktop/images/13012025/08/15/image_13012025_08_15_02_757813_0000.jpg', '/home/pi/Desktop/images/13012025/08/15/image_13012025_08_15_02_757813_0001.jpg', '/home/pi/Desktop/images/13012025/08/15/image_13012025_08_15_02_757813_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/14/image_13012025_08_14_02_241967_0003.jpg
/home/pi/Desktop/images/13012025/08/15/image_13012025_08_15_02_757813_0000.jpg
/home/pi/Desktop/images/13012025/08/15/image_13012025_08_15_02_757813_0001.jpg
/home/pi/Desktop/images/13012025/08/15/image_13012025_08_15_02_757813_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328598125","1328598121","1328598124","1328598123"],"photo_ids_order":["1328598121","1328598123","1328598124","1328598125"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b359dc9c5e16851bf904d649dc03057b.jpg","text":"TemporaryFile(/tmp/multipartBody2927890616361389718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752633143,"filename":"image_13012025_08_15_02_757813_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7a4ba68e13e67ac65287c99e28a34335.jpg","text":"TemporaryFile(/tmp/multipartBody5765574541773573811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752633143,"filename":"image_13012025_08_14_02_241967_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a02f6f6a0daa021e1dcd03cb4a0b4ca5.jpg","text":"TemporaryFile(/tmp/multipartBody4624143001309163684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752633143,"filename":"image_13012025_08_15_02_757813_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/404b5f8b324631caf8d8c599e711489f.jpg","text":"TemporaryFile(/tmp/multipartBody600672611083737829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752633143,"filename":"image_13012025_08_15_02_757813_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328598124","file1":"1328598123","file0":"1328598121","file3":"1328598125"},"map_files_photo_id_array":[{"photo_id":"1328598124","filename":"file2"},{"photo_id":"1328598123","filename":"file1"},{"photo_id":"1328598121","filename":"file0"},{"photo_id":"1328598125","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328598125":["hashtag1","hashtag2"]},{"1328598121":["hashtag1","hashtag2"]},{"1328598124":["hashtag1","hashtag2"]},{"1328598123":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328598125, 1328598121, 1328598124, 1328598123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.647613286972046 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:17:02.838135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/15/image_13012025_08_15_02_757813_0003.jpg', '/home/pi/Desktop/images/13012025/08/16/image_13012025_08_16_02_298052_0000.jpg', '/home/pi/Desktop/images/13012025/08/16/image_13012025_08_16_02_298052_0001.jpg', '/home/pi/Desktop/images/13012025/08/16/image_13012025_08_16_02_298052_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/15/image_13012025_08_15_02_757813_0003.jpg
/home/pi/Desktop/images/13012025/08/16/image_13012025_08_16_02_298052_0000.jpg
/home/pi/Desktop/images/13012025/08/16/image_13012025_08_16_02_298052_0001.jpg
/home/pi/Desktop/images/13012025/08/16/image_13012025_08_16_02_298052_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328598602","1328598607","1328598604","1328598606"],"photo_ids_order":["1328598602","1328598604","1328598606","1328598607"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e4fdafb7bad7b69700bcf79a33a0c8db.jpg","text":"TemporaryFile(/tmp/multipartBody2974008546970890566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752692838,"filename":"image_13012025_08_15_02_757813_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f7b9dcab4392dcbb8fbc85a041627cc3.jpg","text":"TemporaryFile(/tmp/multipartBody6026990999181713532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752692838,"filename":"image_13012025_08_16_02_298052_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1bcaa34024cf01975ec02dd0592a986e.jpg","text":"TemporaryFile(/tmp/multipartBody7932949972200029417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752692838,"filename":"image_13012025_08_16_02_298052_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/21f4bcca9ea307565fead632063ad9c2.jpg","text":"TemporaryFile(/tmp/multipartBody4485687175659421528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752692838,"filename":"image_13012025_08_16_02_298052_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328598606","file1":"1328598604","file0":"1328598602","file3":"1328598607"},"map_files_photo_id_array":[{"photo_id":"1328598606","filename":"file2"},{"photo_id":"1328598604","filename":"file1"},{"photo_id":"1328598602","filename":"file0"},{"photo_id":"1328598607","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328598602":["hashtag1","hashtag2"]},{"1328598607":["hashtag1","hashtag2"]},{"1328598604":["hashtag1","hashtag2"]},{"1328598606":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328598602, 1328598607, 1328598604, 1328598606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.84613299369812 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:18:02.185967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/16/image_13012025_08_16_02_298052_0003.jpg', '/home/pi/Desktop/images/13012025/08/17/image_13012025_08_17_03_059321_0000.jpg', '/home/pi/Desktop/images/13012025/08/17/image_13012025_08_17_03_059321_0001.jpg', '/home/pi/Desktop/images/13012025/08/17/image_13012025_08_17_03_059321_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/16/image_13012025_08_16_02_298052_0003.jpg
/home/pi/Desktop/images/13012025/08/17/image_13012025_08_17_03_059321_0000.jpg
/home/pi/Desktop/images/13012025/08/17/image_13012025_08_17_03_059321_0001.jpg
/home/pi/Desktop/images/13012025/08/17/image_13012025_08_17_03_059321_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328598853","1328598859","1328598852","1328598890"],"photo_ids_order":["1328598852","1328598853","1328598859","1328598890"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dc8f1253f90f15b4b824e24dbf94cf70.jpg","text":"TemporaryFile(/tmp/multipartBody8968547606933546759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752752141,"filename":"image_13012025_08_17_03_059321_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e3e68819d573a3da38676d6bc681ce64.jpg","text":"TemporaryFile(/tmp/multipartBody4043819207164562465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752752141,"filename":"image_13012025_08_17_03_059321_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/691edf1dcd023293543347c309cfc8ac.jpg","text":"TemporaryFile(/tmp/multipartBody2839690404207276386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752752141,"filename":"image_13012025_08_16_02_298052_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aea8a5147fd0685401b196a681ad6ace.jpg","text":"TemporaryFile(/tmp/multipartBody2080803056450422362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752752141,"filename":"image_13012025_08_17_03_059321_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328598859","file1":"1328598853","file0":"1328598852","file3":"1328598890"},"map_files_photo_id_array":[{"photo_id":"1328598859","filename":"file2"},{"photo_id":"1328598853","filename":"file1"},{"photo_id":"1328598852","filename":"file0"},{"photo_id":"1328598890","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328598853":["hashtag1","hashtag2"]},{"1328598859":["hashtag1","hashtag2"]},{"1328598852":["hashtag1","hashtag2"]},{"1328598890":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328598853, 1328598859, 1328598852, 1328598890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.37162518501282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:19:02.987356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/17/image_13012025_08_17_03_059321_0003.jpg', '/home/pi/Desktop/images/13012025/08/18/image_13012025_08_18_02_577809_0000.jpg', '/home/pi/Desktop/images/13012025/08/18/image_13012025_08_18_02_577809_0001.jpg', '/home/pi/Desktop/images/13012025/08/18/image_13012025_08_18_02_577809_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/17/image_13012025_08_17_03_059321_0003.jpg
/home/pi/Desktop/images/13012025/08/18/image_13012025_08_18_02_577809_0000.jpg
/home/pi/Desktop/images/13012025/08/18/image_13012025_08_18_02_577809_0001.jpg
/home/pi/Desktop/images/13012025/08/18/image_13012025_08_18_02_577809_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328598905","1328598909","1328598903","1328598938"],"photo_ids_order":["1328598903","1328598905","1328598909","1328598938"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/969c2d8b18b77ffc8b71b92693892415.jpg","text":"TemporaryFile(/tmp/multipartBody6096319717324556502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752813456,"filename":"image_13012025_08_18_02_577809_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/60ff3506d4a5aae5829475518b2a7dc9.jpg","text":"TemporaryFile(/tmp/multipartBody7101447166164694788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752813456,"filename":"image_13012025_08_18_02_577809_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8c52de50d6850a32d3ecf54aaa4ceb8e.jpg","text":"TemporaryFile(/tmp/multipartBody117240254369968907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752813456,"filename":"image_13012025_08_17_03_059321_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ea49261240276de87a6a0ab042a0d67b.jpg","text":"TemporaryFile(/tmp/multipartBody1142561798914613947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752813456,"filename":"image_13012025_08_18_02_577809_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328598909","file1":"1328598905","file0":"1328598903","file3":"1328598938"},"map_files_photo_id_array":[{"photo_id":"1328598909","filename":"file2"},{"photo_id":"1328598905","filename":"file1"},{"photo_id":"1328598903","filename":"file0"},{"photo_id":"1328598938","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328598905":["hashtag1","hashtag2"]},{"1328598909":["hashtag1","hashtag2"]},{"1328598903":["hashtag1","hashtag2"]},{"1328598938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328598905, 1328598909, 1328598903, 1328598938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.91187524795532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:20:02.512673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/18/image_13012025_08_18_02_577809_0003.jpg', '/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_02_228317_0000.jpg', '/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_02_228317_0001.jpg', '/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_02_228317_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/18/image_13012025_08_18_02_577809_0003.jpg
/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_02_228317_0000.jpg
/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_02_228317_0001.jpg
/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_02_228317_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.628769159317017 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:20:22.150940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/18/image_13012025_08_18_02_577809_0003.jpg', '/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_02_228317_0000.jpg', '/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_02_228317_0001.jpg', '/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_02_228317_0002.jpg', '/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_02_228317_0003.jpg', '/home/pi/Desktop/images/13012025/08/20/image_13012025_08_20_02_840023_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/18/image_13012025_08_18_02_577809_0003.jpg
/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_02_228317_0000.jpg
/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_02_228317_0001.jpg
/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_02_228317_0002.jpg
/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_02_228317_0003.jpg
/home/pi/Desktop/images/13012025/08/20/image_13012025_08_20_02_840023_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328599048","1328599045","1328599059","1328599053","1328599055","1328599043"],"photo_ids_order":["1328599043","1328599045","1328599048","1328599053","1328599055","1328599059"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fc4098d0632fefd8e9637b2b61ecbbab.jpg","text":"TemporaryFile(/tmp/multipartBody86704605686925703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752896774,"filename":"image_13012025_08_19_02_228317_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ab50bf6378e1f4449feca16cb8f98d4f.jpg","text":"TemporaryFile(/tmp/multipartBody2433602387383646664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752896774,"filename":"image_13012025_08_19_02_228317_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fff693a0c1706636ee5a6ac5f479049a.jpg","text":"TemporaryFile(/tmp/multipartBody6504184075499928048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752896774,"filename":"image_13012025_08_20_02_840023_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bdf15bfe8b9afcd21d60db68e7cf9cea.jpg","text":"TemporaryFile(/tmp/multipartBody9182358344232275800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752896774,"filename":"image_13012025_08_19_02_228317_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/800111e69ee32106945f04def253ad07.jpg","text":"TemporaryFile(/tmp/multipartBody7181152391597752780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752896774,"filename":"image_13012025_08_19_02_228317_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/97b64750566d986750d72ff34407c1c3.jpg","text":"TemporaryFile(/tmp/multipartBody3514271773872808875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752896774,"filename":"image_13012025_08_18_02_577809_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328599048","file1":"1328599045","file0":"1328599043","file4":"1328599055","file5":"1328599059","file3":"1328599053"},"map_files_photo_id_array":[{"photo_id":"1328599059","filename":"file5"},{"photo_id":"1328599048","filename":"file2"},{"photo_id":"1328599055","filename":"file4"},{"photo_id":"1328599045","filename":"file1"},{"photo_id":"1328599043","filename":"file0"},{"photo_id":"1328599053","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328599048":["hashtag1","hashtag2"]},{"1328599045":["hashtag1","hashtag2"]},{"1328599059":["hashtag1","hashtag2"]},{"1328599053":["hashtag1","hashtag2"]},{"1328599055":["hashtag1","hashtag2"]},{"1328599043":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328599048, 1328599045, 1328599059, 1328599053, 1328599055, 1328599043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.67752742767334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:22:02.739614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/20/image_13012025_08_20_02_840023_0001.jpg', '/home/pi/Desktop/images/13012025/08/20/image_13012025_08_20_02_840023_0002.jpg', '/home/pi/Desktop/images/13012025/08/20/image_13012025_08_20_02_840023_0003.jpg', '/home/pi/Desktop/images/13012025/08/21/image_13012025_08_21_02_557136_0000.jpg', '/home/pi/Desktop/images/13012025/08/21/image_13012025_08_21_02_557136_0001.jpg', '/home/pi/Desktop/images/13012025/08/21/image_13012025_08_21_02_557136_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/20/image_13012025_08_20_02_840023_0001.jpg
/home/pi/Desktop/images/13012025/08/20/image_13012025_08_20_02_840023_0002.jpg
/home/pi/Desktop/images/13012025/08/20/image_13012025_08_20_02_840023_0003.jpg
/home/pi/Desktop/images/13012025/08/21/image_13012025_08_21_02_557136_0000.jpg
/home/pi/Desktop/images/13012025/08/21/image_13012025_08_21_02_557136_0001.jpg
/home/pi/Desktop/images/13012025/08/21/image_13012025_08_21_02_557136_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328599093","1328599087","1328599089","1328599080","1328599077","1328599085"],"photo_ids_order":["1328599077","1328599080","1328599085","1328599087","1328599089","1328599093"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/97042922eb37d30b76db1911cf82a03b.jpg","text":"TemporaryFile(/tmp/multipartBody5753022400242780573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752997719,"filename":"image_13012025_08_21_02_557136_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6c2be38c198d2f93f2415ef1a2f2021d.jpg","text":"TemporaryFile(/tmp/multipartBody2173882314094473559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752997719,"filename":"image_13012025_08_21_02_557136_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9be0ca5d434331e8e09d7c3bd4aec1f4.jpg","text":"TemporaryFile(/tmp/multipartBody352772830447877225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752997719,"filename":"image_13012025_08_21_02_557136_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/07671057441ec3222a95f1e61716dd3b.jpg","text":"TemporaryFile(/tmp/multipartBody1034679322979621320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752997719,"filename":"image_13012025_08_20_02_840023_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e5d6aca26929ada084d998ceccb2f19a.jpg","text":"TemporaryFile(/tmp/multipartBody442404142635309724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752997719,"filename":"image_13012025_08_20_02_840023_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aa6e6382e1a5122f17f00de52fe3ac9f.jpg","text":"TemporaryFile(/tmp/multipartBody6688608572724993965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736752997719,"filename":"image_13012025_08_20_02_840023_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328599085","file1":"1328599080","file0":"1328599077","file4":"1328599089","file5":"1328599093","file3":"1328599087"},"map_files_photo_id_array":[{"photo_id":"1328599093","filename":"file5"},{"photo_id":"1328599085","filename":"file2"},{"photo_id":"1328599089","filename":"file4"},{"photo_id":"1328599080","filename":"file1"},{"photo_id":"1328599077","filename":"file0"},{"photo_id":"1328599087","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328599093":["hashtag1","hashtag2"]},{"1328599087":["hashtag1","hashtag2"]},{"1328599089":["hashtag1","hashtag2"]},{"1328599080":["hashtag1","hashtag2"]},{"1328599077":["hashtag1","hashtag2"]},{"1328599085":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328599093, 1328599087, 1328599089, 1328599080, 1328599077, 1328599085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.11059641838074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:23:03.307320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/21/image_13012025_08_21_02_557136_0003.jpg', '/home/pi/Desktop/images/13012025/08/22/image_13012025_08_22_03_093124_0000.jpg', '/home/pi/Desktop/images/13012025/08/22/image_13012025_08_22_03_093124_0001.jpg', '/home/pi/Desktop/images/13012025/08/22/image_13012025_08_22_03_093124_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/21/image_13012025_08_21_02_557136_0003.jpg
/home/pi/Desktop/images/13012025/08/22/image_13012025_08_22_03_093124_0000.jpg
/home/pi/Desktop/images/13012025/08/22/image_13012025_08_22_03_093124_0001.jpg
/home/pi/Desktop/images/13012025/08/22/image_13012025_08_22_03_093124_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328599100","1328599099","1328599104","1328599106"],"photo_ids_order":["1328599099","1328599100","1328599104","1328599106"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/71b035eec5d5c5c2626e2874d640e860.jpg","text":"TemporaryFile(/tmp/multipartBody1902593055335526976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753053851,"filename":"image_13012025_08_22_03_093124_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/82ade10256f19e1ea5cfb25176d8d582.jpg","text":"TemporaryFile(/tmp/multipartBody1001457048967794656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753053851,"filename":"image_13012025_08_21_02_557136_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bef85fbd1d0752ecaf6b836e55fc4b0b.jpg","text":"TemporaryFile(/tmp/multipartBody1451301220830589953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753053851,"filename":"image_13012025_08_22_03_093124_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8d9a04524b3ab04df67035187d6d61e6.jpg","text":"TemporaryFile(/tmp/multipartBody7635641732876515622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753053851,"filename":"image_13012025_08_22_03_093124_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328599104","file1":"1328599100","file0":"1328599099","file3":"1328599106"},"map_files_photo_id_array":[{"photo_id":"1328599104","filename":"file2"},{"photo_id":"1328599100","filename":"file1"},{"photo_id":"1328599099","filename":"file0"},{"photo_id":"1328599106","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328599100":["hashtag1","hashtag2"]},{"1328599099":["hashtag1","hashtag2"]},{"1328599104":["hashtag1","hashtag2"]},{"1328599106":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328599100, 1328599099, 1328599104, 1328599106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.52856683731079 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:24:02.713639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/22/image_13012025_08_22_03_093124_0003.jpg', '/home/pi/Desktop/images/13012025/08/23/image_13012025_08_23_02_583896_0000.jpg', '/home/pi/Desktop/images/13012025/08/23/image_13012025_08_23_02_583896_0001.jpg', '/home/pi/Desktop/images/13012025/08/23/image_13012025_08_23_02_583896_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/22/image_13012025_08_22_03_093124_0003.jpg
/home/pi/Desktop/images/13012025/08/23/image_13012025_08_23_02_583896_0000.jpg
/home/pi/Desktop/images/13012025/08/23/image_13012025_08_23_02_583896_0001.jpg
/home/pi/Desktop/images/13012025/08/23/image_13012025_08_23_02_583896_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.007476806640625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:24:22.423275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/22/image_13012025_08_22_03_093124_0003.jpg', '/home/pi/Desktop/images/13012025/08/23/image_13012025_08_23_02_583896_0000.jpg', '/home/pi/Desktop/images/13012025/08/23/image_13012025_08_23_02_583896_0001.jpg', '/home/pi/Desktop/images/13012025/08/23/image_13012025_08_23_02_583896_0002.jpg', '/home/pi/Desktop/images/13012025/08/23/image_13012025_08_23_02_583896_0003.jpg', '/home/pi/Desktop/images/13012025/08/24/image_13012025_08_24_03_095593_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/22/image_13012025_08_22_03_093124_0003.jpg
/home/pi/Desktop/images/13012025/08/23/image_13012025_08_23_02_583896_0000.jpg
/home/pi/Desktop/images/13012025/08/23/image_13012025_08_23_02_583896_0001.jpg
/home/pi/Desktop/images/13012025/08/23/image_13012025_08_23_02_583896_0002.jpg
/home/pi/Desktop/images/13012025/08/23/image_13012025_08_23_02_583896_0003.jpg
/home/pi/Desktop/images/13012025/08/24/image_13012025_08_24_03_095593_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328599165","1328599159","1328599150","1328599156","1328599161","1328599163"],"photo_ids_order":["1328599150","1328599156","1328599159","1328599161","1328599163","1328599165"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/720f3ba4f02e72eff4951fd50bdbe9be.jpg","text":"TemporaryFile(/tmp/multipartBody5321615263938457852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753137640,"filename":"image_13012025_08_24_03_095593_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d2d2b98e1520ea2bcb25cf347597741f.jpg","text":"TemporaryFile(/tmp/multipartBody8152181251825801460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753137640,"filename":"image_13012025_08_23_02_583896_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ddbc4fa021a81e63df7ca9393d74d903.jpg","text":"TemporaryFile(/tmp/multipartBody6594292889894984923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753137640,"filename":"image_13012025_08_22_03_093124_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/86723f8649e6f473f753067eaf3d572d.jpg","text":"TemporaryFile(/tmp/multipartBody5958965747173380250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753137640,"filename":"image_13012025_08_23_02_583896_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b118e9fb4d1c8672bb24a1497e6ee33c.jpg","text":"TemporaryFile(/tmp/multipartBody7899759650709676197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753137640,"filename":"image_13012025_08_23_02_583896_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/93f30bd874a462de7b31a107ce3249b5.jpg","text":"TemporaryFile(/tmp/multipartBody3783766560190257723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753137640,"filename":"image_13012025_08_23_02_583896_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328599159","file1":"1328599156","file0":"1328599150","file4":"1328599163","file5":"1328599165","file3":"1328599161"},"map_files_photo_id_array":[{"photo_id":"1328599165","filename":"file5"},{"photo_id":"1328599159","filename":"file2"},{"photo_id":"1328599163","filename":"file4"},{"photo_id":"1328599156","filename":"file1"},{"photo_id":"1328599150","filename":"file0"},{"photo_id":"1328599161","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328599165":["hashtag1","hashtag2"]},{"1328599159":["hashtag1","hashtag2"]},{"1328599150":["hashtag1","hashtag2"]},{"1328599156":["hashtag1","hashtag2"]},{"1328599161":["hashtag1","hashtag2"]},{"1328599163":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328599165, 1328599159, 1328599150, 1328599156, 1328599161, 1328599163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.76975989341736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:26:03.067337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/24/image_13012025_08_24_03_095593_0001.jpg', '/home/pi/Desktop/images/13012025/08/24/image_13012025_08_24_03_095593_0002.jpg', '/home/pi/Desktop/images/13012025/08/24/image_13012025_08_24_03_095593_0003.jpg', '/home/pi/Desktop/images/13012025/08/25/image_13012025_08_25_02_799382_0000.jpg', '/home/pi/Desktop/images/13012025/08/25/image_13012025_08_25_02_799382_0001.jpg', '/home/pi/Desktop/images/13012025/08/25/image_13012025_08_25_02_799382_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/24/image_13012025_08_24_03_095593_0001.jpg
/home/pi/Desktop/images/13012025/08/24/image_13012025_08_24_03_095593_0002.jpg
/home/pi/Desktop/images/13012025/08/24/image_13012025_08_24_03_095593_0003.jpg
/home/pi/Desktop/images/13012025/08/25/image_13012025_08_25_02_799382_0000.jpg
/home/pi/Desktop/images/13012025/08/25/image_13012025_08_25_02_799382_0001.jpg
/home/pi/Desktop/images/13012025/08/25/image_13012025_08_25_02_799382_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328599183","1328599192","1328599186","1328599188","1328599197","1328599182"],"photo_ids_order":["1328599182","1328599183","1328599186","1328599188","1328599192","1328599197"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5d3d8b58d678b18f6afc7ea52d5d4a8c.jpg","text":"TemporaryFile(/tmp/multipartBody7218552184053615960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753238087,"filename":"image_13012025_08_24_03_095593_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b56e2ed5eb0244fcdd204dce00dc5ad8.jpg","text":"TemporaryFile(/tmp/multipartBody199015818868579899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753238087,"filename":"image_13012025_08_25_02_799382_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3e575743cf263b2ad9cf9f4f1c052726.jpg","text":"TemporaryFile(/tmp/multipartBody6920761693561938528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753238087,"filename":"image_13012025_08_24_03_095593_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d56a378c1444453d333006be815e9397.jpg","text":"TemporaryFile(/tmp/multipartBody2920525114232546285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753238087,"filename":"image_13012025_08_25_02_799382_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c1461f31118f68472672284fb0b76736.jpg","text":"TemporaryFile(/tmp/multipartBody8825750870719827117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753238087,"filename":"image_13012025_08_25_02_799382_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a5db506594a93b83c57890de746a1058.jpg","text":"TemporaryFile(/tmp/multipartBody1859608831863417863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753238087,"filename":"image_13012025_08_24_03_095593_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328599186","file1":"1328599183","file0":"1328599182","file4":"1328599192","file5":"1328599197","file3":"1328599188"},"map_files_photo_id_array":[{"photo_id":"1328599197","filename":"file5"},{"photo_id":"1328599186","filename":"file2"},{"photo_id":"1328599192","filename":"file4"},{"photo_id":"1328599183","filename":"file1"},{"photo_id":"1328599182","filename":"file0"},{"photo_id":"1328599188","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328599183":["hashtag1","hashtag2"]},{"1328599192":["hashtag1","hashtag2"]},{"1328599186":["hashtag1","hashtag2"]},{"1328599188":["hashtag1","hashtag2"]},{"1328599197":["hashtag1","hashtag2"]},{"1328599182":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328599183, 1328599192, 1328599186, 1328599188, 1328599197, 1328599182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.03339409828186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:27:02.618431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/25/image_13012025_08_25_02_799382_0003.jpg', '/home/pi/Desktop/images/13012025/08/26/image_13012025_08_26_02_410074_0000.jpg', '/home/pi/Desktop/images/13012025/08/26/image_13012025_08_26_02_410074_0001.jpg', '/home/pi/Desktop/images/13012025/08/26/image_13012025_08_26_02_410074_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/25/image_13012025_08_25_02_799382_0003.jpg
/home/pi/Desktop/images/13012025/08/26/image_13012025_08_26_02_410074_0000.jpg
/home/pi/Desktop/images/13012025/08/26/image_13012025_08_26_02_410074_0001.jpg
/home/pi/Desktop/images/13012025/08/26/image_13012025_08_26_02_410074_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328599213","1328599210","1328599207","1328599217"],"photo_ids_order":["1328599207","1328599210","1328599213","1328599217"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/66d0babdc21d52d54b5c44e4cb3f6f6c.jpg","text":"TemporaryFile(/tmp/multipartBody1188170635973447490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753293010,"filename":"image_13012025_08_26_02_410074_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0d43ef4af40116d780dfa8edad468464.jpg","text":"TemporaryFile(/tmp/multipartBody7317626787474393402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753293010,"filename":"image_13012025_08_26_02_410074_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/305487dd80b8a4962f70045622bacdf6.jpg","text":"TemporaryFile(/tmp/multipartBody171271566278455414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753293010,"filename":"image_13012025_08_25_02_799382_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6371256a47aee996d09d574b88b0c90e.jpg","text":"TemporaryFile(/tmp/multipartBody1475082564958883770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753293010,"filename":"image_13012025_08_26_02_410074_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328599213","file1":"1328599210","file0":"1328599207","file3":"1328599217"},"map_files_photo_id_array":[{"photo_id":"1328599213","filename":"file2"},{"photo_id":"1328599210","filename":"file1"},{"photo_id":"1328599207","filename":"file0"},{"photo_id":"1328599217","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328599213":["hashtag1","hashtag2"]},{"1328599210":["hashtag1","hashtag2"]},{"1328599207":["hashtag1","hashtag2"]},{"1328599217":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328599213, 1328599210, 1328599207, 1328599217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.28210163116455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:28:03.021586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/26/image_13012025_08_26_02_410074_0003.jpg', '/home/pi/Desktop/images/13012025/08/27/image_13012025_08_27_02_913407_0001.jpg', '/home/pi/Desktop/images/13012025/08/27/image_13012025_08_27_02_913407_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/26/image_13012025_08_26_02_410074_0003.jpg
/home/pi/Desktop/images/13012025/08/27/image_13012025_08_27_02_913407_0001.jpg
/home/pi/Desktop/images/13012025/08/27/image_13012025_08_27_02_913407_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.566565036773682 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:28:22.611043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/26/image_13012025_08_26_02_410074_0003.jpg', '/home/pi/Desktop/images/13012025/08/27/image_13012025_08_27_02_913407_0001.jpg', '/home/pi/Desktop/images/13012025/08/27/image_13012025_08_27_02_913407_0002.jpg', '/home/pi/Desktop/images/13012025/08/27/image_13012025_08_27_02_913407_0003.jpg', '/home/pi/Desktop/images/13012025/08/28/image_13012025_08_28_02_459607_0000.jpg', '/home/pi/Desktop/images/13012025/08/28/image_13012025_08_28_02_459607_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/26/image_13012025_08_26_02_410074_0003.jpg
/home/pi/Desktop/images/13012025/08/27/image_13012025_08_27_02_913407_0001.jpg
/home/pi/Desktop/images/13012025/08/27/image_13012025_08_27_02_913407_0002.jpg
/home/pi/Desktop/images/13012025/08/27/image_13012025_08_27_02_913407_0003.jpg
/home/pi/Desktop/images/13012025/08/28/image_13012025_08_28_02_459607_0000.jpg
/home/pi/Desktop/images/13012025/08/28/image_13012025_08_28_02_459607_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328599279","1328599272","1328599275","1328599266","1328599283","1328599268"],"photo_ids_order":["1328599266","1328599268","1328599272","1328599275","1328599279","1328599283"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cc59191fba069695b0e4c9007786544a.jpg","text":"TemporaryFile(/tmp/multipartBody1291046080144906595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753377850,"filename":"image_13012025_08_28_02_459607_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6007190357321821a8e0ca2ab305be65.jpg","text":"TemporaryFile(/tmp/multipartBody4768993590345981412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753377850,"filename":"image_13012025_08_27_02_913407_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f16809fbd5f56a1c9aeb1a332b7129b9.jpg","text":"TemporaryFile(/tmp/multipartBody8779584912339839091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753377850,"filename":"image_13012025_08_27_02_913407_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dfc174f791472e2fb05d1ce00f56da72.jpg","text":"TemporaryFile(/tmp/multipartBody5192304667271946885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753377850,"filename":"image_13012025_08_26_02_410074_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b07e83721b78c7e4f3e49ba6ccbff20a.jpg","text":"TemporaryFile(/tmp/multipartBody8845710789033589742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753377850,"filename":"image_13012025_08_28_02_459607_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a6fcb60c6128f8217f4197d88e30c118.jpg","text":"TemporaryFile(/tmp/multipartBody4044876953546021346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753377850,"filename":"image_13012025_08_27_02_913407_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328599272","file1":"1328599268","file0":"1328599266","file4":"1328599279","file5":"1328599283","file3":"1328599275"},"map_files_photo_id_array":[{"photo_id":"1328599283","filename":"file5"},{"photo_id":"1328599272","filename":"file2"},{"photo_id":"1328599279","filename":"file4"},{"photo_id":"1328599268","filename":"file1"},{"photo_id":"1328599266","filename":"file0"},{"photo_id":"1328599275","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328599279":["hashtag1","hashtag2"]},{"1328599272":["hashtag1","hashtag2"]},{"1328599275":["hashtag1","hashtag2"]},{"1328599266":["hashtag1","hashtag2"]},{"1328599283":["hashtag1","hashtag2"]},{"1328599268":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328599279, 1328599272, 1328599275, 1328599266, 1328599283, 1328599268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.095609188079834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:29:22.146729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/28/image_13012025_08_28_02_459607_0002.jpg', '/home/pi/Desktop/images/13012025/08/28/image_13012025_08_28_02_459607_0003.jpg', '/home/pi/Desktop/images/13012025/08/29/image_13012025_08_29_02_974414_0000.jpg', '/home/pi/Desktop/images/13012025/08/29/image_13012025_08_29_02_974414_0001.jpg', '/home/pi/Desktop/images/13012025/08/29/image_13012025_08_29_02_974414_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/28/image_13012025_08_28_02_459607_0002.jpg
/home/pi/Desktop/images/13012025/08/28/image_13012025_08_28_02_459607_0003.jpg
/home/pi/Desktop/images/13012025/08/29/image_13012025_08_29_02_974414_0000.jpg
/home/pi/Desktop/images/13012025/08/29/image_13012025_08_29_02_974414_0001.jpg
/home/pi/Desktop/images/13012025/08/29/image_13012025_08_29_02_974414_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328599297","1328599306","1328599300","1328599308","1328599304"],"photo_ids_order":["1328599297","1328599300","1328599304","1328599306","1328599308"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/25a69dd3685730edb7244bb0f5b1d298.jpg","text":"TemporaryFile(/tmp/multipartBody6393493068960021861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753434748,"filename":"image_13012025_08_28_02_459607_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a064f5b6cc1408a222159b99b06afcd5.jpg","text":"TemporaryFile(/tmp/multipartBody8099728114181674117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753434748,"filename":"image_13012025_08_29_02_974414_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0e6d994b0c1b9b0d1db5812b016da24a.jpg","text":"TemporaryFile(/tmp/multipartBody2483451577654206674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753434748,"filename":"image_13012025_08_28_02_459607_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/65ef1e48b13bc975a4675307d225449a.jpg","text":"TemporaryFile(/tmp/multipartBody6777044900383382152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753434748,"filename":"image_13012025_08_29_02_974414_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1dd1e250de6c94350eece9c018c59cba.jpg","text":"TemporaryFile(/tmp/multipartBody1761445194772491842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753434748,"filename":"image_13012025_08_29_02_974414_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328599304","file1":"1328599300","file0":"1328599297","file4":"1328599308","file3":"1328599306"},"map_files_photo_id_array":[{"photo_id":"1328599304","filename":"file2"},{"photo_id":"1328599308","filename":"file4"},{"photo_id":"1328599300","filename":"file1"},{"photo_id":"1328599297","filename":"file0"},{"photo_id":"1328599306","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328599297":["hashtag1","hashtag2"]},{"1328599306":["hashtag1","hashtag2"]},{"1328599300":["hashtag1","hashtag2"]},{"1328599308":["hashtag1","hashtag2"]},{"1328599304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328599297, 1328599306, 1328599300, 1328599308, 1328599304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.02863621711731 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:30:22.661313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/29/image_13012025_08_29_02_974414_0003.jpg', '/home/pi/Desktop/images/13012025/08/30/image_13012025_08_30_02_557839_0000.jpg', '/home/pi/Desktop/images/13012025/08/30/image_13012025_08_30_02_557839_0001.jpg', '/home/pi/Desktop/images/13012025/08/30/image_13012025_08_30_02_557839_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/29/image_13012025_08_29_02_974414_0003.jpg
/home/pi/Desktop/images/13012025/08/30/image_13012025_08_30_02_557839_0000.jpg
/home/pi/Desktop/images/13012025/08/30/image_13012025_08_30_02_557839_0001.jpg
/home/pi/Desktop/images/13012025/08/30/image_13012025_08_30_02_557839_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328599330","1328599358","1328599352","1328599355"],"photo_ids_order":["1328599330","1328599352","1328599355","1328599358"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/84650ed9a6fea42ee04b19ae66fd21d4.jpg","text":"TemporaryFile(/tmp/multipartBody7708665135779938637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753492949,"filename":"image_13012025_08_29_02_974414_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5893a8ef1e00f10869be0a8e9291ba76.jpg","text":"TemporaryFile(/tmp/multipartBody6707825216381386161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753492949,"filename":"image_13012025_08_30_02_557839_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ad05c4dd799404ff633f3e2297fd36fc.jpg","text":"TemporaryFile(/tmp/multipartBody5727605402563647555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753492949,"filename":"image_13012025_08_30_02_557839_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fad47c93da93574ee06f9890ef3b283e.jpg","text":"TemporaryFile(/tmp/multipartBody4550102930060041748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753492949,"filename":"image_13012025_08_30_02_557839_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328599355","file1":"1328599352","file0":"1328599330","file3":"1328599358"},"map_files_photo_id_array":[{"photo_id":"1328599355","filename":"file2"},{"photo_id":"1328599352","filename":"file1"},{"photo_id":"1328599330","filename":"file0"},{"photo_id":"1328599358","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328599330":["hashtag1","hashtag2"]},{"1328599358":["hashtag1","hashtag2"]},{"1328599352":["hashtag1","hashtag2"]},{"1328599355":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328599330, 1328599358, 1328599352, 1328599355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.664971351623535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:31:02.655158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:31:22.122724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/30/image_13012025_08_30_02_557839_0003.jpg', '/home/pi/Desktop/images/13012025/08/31/image_13012025_08_31_02_984336_0000.jpg', '/home/pi/Desktop/images/13012025/08/31/image_13012025_08_31_02_984336_0001.jpg', '/home/pi/Desktop/images/13012025/08/31/image_13012025_08_31_02_984336_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/30/image_13012025_08_30_02_557839_0003.jpg
/home/pi/Desktop/images/13012025/08/31/image_13012025_08_31_02_984336_0000.jpg
/home/pi/Desktop/images/13012025/08/31/image_13012025_08_31_02_984336_0001.jpg
/home/pi/Desktop/images/13012025/08/31/image_13012025_08_31_02_984336_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328599381","1328599384","1328599377","1328599385"],"photo_ids_order":["1328599377","1328599381","1328599384","1328599385"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c01ab456ce35f2113cb037af494921ec.jpg","text":"TemporaryFile(/tmp/multipartBody2721780637984955113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753552384,"filename":"image_13012025_08_31_02_984336_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8846a4cfd8bd98275f837006920c0566.jpg","text":"TemporaryFile(/tmp/multipartBody7275010588071966799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753552384,"filename":"image_13012025_08_31_02_984336_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/54577dfe9ed24fa649bfbf1e025d2988.jpg","text":"TemporaryFile(/tmp/multipartBody7172395240595991006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753552384,"filename":"image_13012025_08_30_02_557839_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/78d46031ddbb569a1d2ad6b9a47b2002.jpg","text":"TemporaryFile(/tmp/multipartBody6030178870220971467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753552384,"filename":"image_13012025_08_31_02_984336_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328599384","file1":"1328599381","file0":"1328599377","file3":"1328599385"},"map_files_photo_id_array":[{"photo_id":"1328599384","filename":"file2"},{"photo_id":"1328599381","filename":"file1"},{"photo_id":"1328599377","filename":"file0"},{"photo_id":"1328599385","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328599381":["hashtag1","hashtag2"]},{"1328599384":["hashtag1","hashtag2"]},{"1328599377":["hashtag1","hashtag2"]},{"1328599385":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328599381, 1328599384, 1328599377, 1328599385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.605820178985596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:32:21.800713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/31/image_13012025_08_31_02_984336_0003.jpg', '/home/pi/Desktop/images/13012025/08/32/image_13012025_08_32_02_451601_0000.jpg', '/home/pi/Desktop/images/13012025/08/32/image_13012025_08_32_02_451601_0001.jpg', '/home/pi/Desktop/images/13012025/08/32/image_13012025_08_32_02_451601_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/31/image_13012025_08_31_02_984336_0003.jpg
/home/pi/Desktop/images/13012025/08/32/image_13012025_08_32_02_451601_0000.jpg
/home/pi/Desktop/images/13012025/08/32/image_13012025_08_32_02_451601_0001.jpg
/home/pi/Desktop/images/13012025/08/32/image_13012025_08_32_02_451601_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328599396","1328599399","1328599405","1328599402"],"photo_ids_order":["1328599396","1328599399","1328599402","1328599405"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c712064b45a57ec18b16f9e03f02295e.jpg","text":"TemporaryFile(/tmp/multipartBody5867266996521368569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753612163,"filename":"image_13012025_08_31_02_984336_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1cdd17c9d744655bcd4397e563c619bd.jpg","text":"TemporaryFile(/tmp/multipartBody6498971776855935974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753612163,"filename":"image_13012025_08_32_02_451601_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d9c18b9c176eca8eab41f02138038f78.jpg","text":"TemporaryFile(/tmp/multipartBody5617954911665740440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753612163,"filename":"image_13012025_08_32_02_451601_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b891890c52190483d28293fa450d2f85.jpg","text":"TemporaryFile(/tmp/multipartBody1667059898529161701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753612163,"filename":"image_13012025_08_32_02_451601_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328599402","file1":"1328599399","file0":"1328599396","file3":"1328599405"},"map_files_photo_id_array":[{"photo_id":"1328599402","filename":"file2"},{"photo_id":"1328599399","filename":"file1"},{"photo_id":"1328599396","filename":"file0"},{"photo_id":"1328599405","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328599396":["hashtag1","hashtag2"]},{"1328599399":["hashtag1","hashtag2"]},{"1328599405":["hashtag1","hashtag2"]},{"1328599402":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328599396, 1328599399, 1328599405, 1328599402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.488588094711304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:33:02.739034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:33:22.272142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/32/image_13012025_08_32_02_451601_0003.jpg', '/home/pi/Desktop/images/13012025/08/33/image_13012025_08_33_02_154530_0000.jpg', '/home/pi/Desktop/images/13012025/08/33/image_13012025_08_33_02_154530_0001.jpg', '/home/pi/Desktop/images/13012025/08/33/image_13012025_08_33_02_154530_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/32/image_13012025_08_32_02_451601_0003.jpg
/home/pi/Desktop/images/13012025/08/33/image_13012025_08_33_02_154530_0000.jpg
/home/pi/Desktop/images/13012025/08/33/image_13012025_08_33_02_154530_0001.jpg
/home/pi/Desktop/images/13012025/08/33/image_13012025_08_33_02_154530_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328599423","1328599432","1328599427","1328599436"],"photo_ids_order":["1328599423","1328599427","1328599432","1328599436"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c0e3fce8c8dbc879502e5763350ec180.jpg","text":"TemporaryFile(/tmp/multipartBody3885793907668845215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753672542,"filename":"image_13012025_08_32_02_451601_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ca251e6310e3eb50f48b695745ed3a8c.jpg","text":"TemporaryFile(/tmp/multipartBody6456958621322039474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753672542,"filename":"image_13012025_08_33_02_154530_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/454b1042da54d33baf0885cbb207afc9.jpg","text":"TemporaryFile(/tmp/multipartBody644055052501400059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753672542,"filename":"image_13012025_08_33_02_154530_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/89d48f78e7557a064f88b6145a206071.jpg","text":"TemporaryFile(/tmp/multipartBody6527010517530156754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753672542,"filename":"image_13012025_08_33_02_154530_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328599432","file1":"1328599427","file0":"1328599423","file3":"1328599436"},"map_files_photo_id_array":[{"photo_id":"1328599432","filename":"file2"},{"photo_id":"1328599427","filename":"file1"},{"photo_id":"1328599423","filename":"file0"},{"photo_id":"1328599436","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328599423":["hashtag1","hashtag2"]},{"1328599432":["hashtag1","hashtag2"]},{"1328599427":["hashtag1","hashtag2"]},{"1328599436":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328599423, 1328599432, 1328599427, 1328599436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.93609356880188 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:34:21.889272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/33/image_13012025_08_33_02_154530_0003.jpg', '/home/pi/Desktop/images/13012025/08/34/image_13012025_08_34_02_602548_0000.jpg', '/home/pi/Desktop/images/13012025/08/34/image_13012025_08_34_02_602548_0001.jpg', '/home/pi/Desktop/images/13012025/08/34/image_13012025_08_34_02_602548_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/33/image_13012025_08_33_02_154530_0003.jpg
/home/pi/Desktop/images/13012025/08/34/image_13012025_08_34_02_602548_0000.jpg
/home/pi/Desktop/images/13012025/08/34/image_13012025_08_34_02_602548_0001.jpg
/home/pi/Desktop/images/13012025/08/34/image_13012025_08_34_02_602548_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.854774713516235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:35:03.092184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/33/image_13012025_08_33_02_154530_0003.jpg', '/home/pi/Desktop/images/13012025/08/34/image_13012025_08_34_02_602548_0000.jpg', '/home/pi/Desktop/images/13012025/08/34/image_13012025_08_34_02_602548_0001.jpg', '/home/pi/Desktop/images/13012025/08/34/image_13012025_08_34_02_602548_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/33/image_13012025_08_33_02_154530_0003.jpg
/home/pi/Desktop/images/13012025/08/34/image_13012025_08_34_02_602548_0000.jpg
/home/pi/Desktop/images/13012025/08/34/image_13012025_08_34_02_602548_0001.jpg
/home/pi/Desktop/images/13012025/08/34/image_13012025_08_34_02_602548_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328599593","1328599589","1328599583","1328599585"],"photo_ids_order":["1328599583","1328599585","1328599589","1328599593"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/864f6cdfb0690b43e455d707cf88f024.jpg","text":"TemporaryFile(/tmp/multipartBody6507374815740880961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753773358,"filename":"image_13012025_08_34_02_602548_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f9fe07eb1f0088db7ee429eef75faf9b.jpg","text":"TemporaryFile(/tmp/multipartBody3797013093793495530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753773358,"filename":"image_13012025_08_34_02_602548_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/89081acf1e8fb120a09ffe8d8c04f3fd.jpg","text":"TemporaryFile(/tmp/multipartBody6915214156088377071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753773358,"filename":"image_13012025_08_33_02_154530_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/168f6a1e22ff78214ea266e00486b7e9.jpg","text":"TemporaryFile(/tmp/multipartBody3774118416155515565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753773358,"filename":"image_13012025_08_34_02_602548_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328599589","file1":"1328599585","file0":"1328599583","file3":"1328599593"},"map_files_photo_id_array":[{"photo_id":"1328599589","filename":"file2"},{"photo_id":"1328599585","filename":"file1"},{"photo_id":"1328599583","filename":"file0"},{"photo_id":"1328599593","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328599593":["hashtag1","hashtag2"]},{"1328599589":["hashtag1","hashtag2"]},{"1328599583":["hashtag1","hashtag2"]},{"1328599585":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328599593, 1328599589, 1328599583, 1328599585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.86105298995972 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:36:02.458518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/34/image_13012025_08_34_02_602548_0003.jpg', '/home/pi/Desktop/images/13012025/08/35/image_13012025_08_35_02_267977_0000.jpg', '/home/pi/Desktop/images/13012025/08/35/image_13012025_08_35_02_267977_0001.jpg', '/home/pi/Desktop/images/13012025/08/35/image_13012025_08_35_02_267977_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/34/image_13012025_08_34_02_602548_0003.jpg
/home/pi/Desktop/images/13012025/08/35/image_13012025_08_35_02_267977_0000.jpg
/home/pi/Desktop/images/13012025/08/35/image_13012025_08_35_02_267977_0001.jpg
/home/pi/Desktop/images/13012025/08/35/image_13012025_08_35_02_267977_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.975030183792114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:36:21.993776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/34/image_13012025_08_34_02_602548_0003.jpg', '/home/pi/Desktop/images/13012025/08/35/image_13012025_08_35_02_267977_0000.jpg', '/home/pi/Desktop/images/13012025/08/35/image_13012025_08_35_02_267977_0001.jpg', '/home/pi/Desktop/images/13012025/08/35/image_13012025_08_35_02_267977_0002.jpg', '/home/pi/Desktop/images/13012025/08/35/image_13012025_08_35_02_267977_0003.jpg', '/home/pi/Desktop/images/13012025/08/36/image_13012025_08_36_02_757341_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/34/image_13012025_08_34_02_602548_0003.jpg
/home/pi/Desktop/images/13012025/08/35/image_13012025_08_35_02_267977_0000.jpg
/home/pi/Desktop/images/13012025/08/35/image_13012025_08_35_02_267977_0001.jpg
/home/pi/Desktop/images/13012025/08/35/image_13012025_08_35_02_267977_0002.jpg
/home/pi/Desktop/images/13012025/08/35/image_13012025_08_35_02_267977_0003.jpg
/home/pi/Desktop/images/13012025/08/36/image_13012025_08_36_02_757341_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328599678","1328599680","1328599662","1328599673","1328599682","1328599676"],"photo_ids_order":["1328599662","1328599673","1328599676","1328599678","1328599680","1328599682"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/591d90991caaaade328f061a2d2ee6e7.jpg","text":"TemporaryFile(/tmp/multipartBody3493263649953793793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753857218,"filename":"image_13012025_08_35_02_267977_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/21e80e87f84533c3447c4ecb32f18a55.jpg","text":"TemporaryFile(/tmp/multipartBody2345381120965255601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753857218,"filename":"image_13012025_08_35_02_267977_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/25f7240ce6df7fd42295c5728b2e41b1.jpg","text":"TemporaryFile(/tmp/multipartBody5723578743224792437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753857218,"filename":"image_13012025_08_34_02_602548_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/73f04eaf84dceb8b5ecef1f7b579d900.jpg","text":"TemporaryFile(/tmp/multipartBody4592461018663491248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753857218,"filename":"image_13012025_08_35_02_267977_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dd7cf9ccd57f0f016415ee5c3ac5cdef.jpg","text":"TemporaryFile(/tmp/multipartBody6211055443336576995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753857218,"filename":"image_13012025_08_36_02_757341_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d663b7378e57d9df0b31c05b332bfa37.jpg","text":"TemporaryFile(/tmp/multipartBody7899053491223605801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753857218,"filename":"image_13012025_08_35_02_267977_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328599676","file1":"1328599673","file0":"1328599662","file4":"1328599680","file5":"1328599682","file3":"1328599678"},"map_files_photo_id_array":[{"photo_id":"1328599682","filename":"file5"},{"photo_id":"1328599676","filename":"file2"},{"photo_id":"1328599680","filename":"file4"},{"photo_id":"1328599673","filename":"file1"},{"photo_id":"1328599662","filename":"file0"},{"photo_id":"1328599678","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328599678":["hashtag1","hashtag2"]},{"1328599680":["hashtag1","hashtag2"]},{"1328599662":["hashtag1","hashtag2"]},{"1328599673":["hashtag1","hashtag2"]},{"1328599682":["hashtag1","hashtag2"]},{"1328599676":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328599678, 1328599680, 1328599662, 1328599673, 1328599682, 1328599676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.59050631523132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:38:02.422004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/36/image_13012025_08_36_02_757341_0001.jpg', '/home/pi/Desktop/images/13012025/08/36/image_13012025_08_36_02_757341_0002.jpg', '/home/pi/Desktop/images/13012025/08/36/image_13012025_08_36_02_757341_0003.jpg', '/home/pi/Desktop/images/13012025/08/37/image_13012025_08_37_02_387321_0000.jpg', '/home/pi/Desktop/images/13012025/08/37/image_13012025_08_37_02_387321_0001.jpg', '/home/pi/Desktop/images/13012025/08/37/image_13012025_08_37_02_387321_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/36/image_13012025_08_36_02_757341_0001.jpg
/home/pi/Desktop/images/13012025/08/36/image_13012025_08_36_02_757341_0002.jpg
/home/pi/Desktop/images/13012025/08/36/image_13012025_08_36_02_757341_0003.jpg
/home/pi/Desktop/images/13012025/08/37/image_13012025_08_37_02_387321_0000.jpg
/home/pi/Desktop/images/13012025/08/37/image_13012025_08_37_02_387321_0001.jpg
/home/pi/Desktop/images/13012025/08/37/image_13012025_08_37_02_387321_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328599726","1328599731","1328599740","1328599734","1328599728","1328599737"],"photo_ids_order":["1328599726","1328599728","1328599731","1328599734","1328599737","1328599740"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0386c168a9540662752d5899e84ea267.jpg","text":"TemporaryFile(/tmp/multipartBody7710889963284678200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753957711,"filename":"image_13012025_08_36_02_757341_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/72b84701181513e9961abd7ec70ce0ec.jpg","text":"TemporaryFile(/tmp/multipartBody2619347856422303067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753957711,"filename":"image_13012025_08_36_02_757341_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/10710ce5e6d3c2301f817510ee44dad9.jpg","text":"TemporaryFile(/tmp/multipartBody1983996291582297596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753957711,"filename":"image_13012025_08_37_02_387321_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bd43c2896eabcb3c658ea1c114f3b4f3.jpg","text":"TemporaryFile(/tmp/multipartBody2775987520793274611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753957711,"filename":"image_13012025_08_37_02_387321_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6b7a999fc5b1fa0adb9a579b967c1641.jpg","text":"TemporaryFile(/tmp/multipartBody3575696499633320279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753957711,"filename":"image_13012025_08_36_02_757341_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9d5016068dc348e41e0d50f733f90049.jpg","text":"TemporaryFile(/tmp/multipartBody4436987659709036944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736753957711,"filename":"image_13012025_08_37_02_387321_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328599731","file1":"1328599728","file0":"1328599726","file4":"1328599737","file5":"1328599740","file3":"1328599734"},"map_files_photo_id_array":[{"photo_id":"1328599740","filename":"file5"},{"photo_id":"1328599731","filename":"file2"},{"photo_id":"1328599737","filename":"file4"},{"photo_id":"1328599728","filename":"file1"},{"photo_id":"1328599726","filename":"file0"},{"photo_id":"1328599734","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328599726":["hashtag1","hashtag2"]},{"1328599731":["hashtag1","hashtag2"]},{"1328599740":["hashtag1","hashtag2"]},{"1328599734":["hashtag1","hashtag2"]},{"1328599728":["hashtag1","hashtag2"]},{"1328599737":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328599726, 1328599731, 1328599740, 1328599734, 1328599728, 1328599737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.372931480407715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:39:03.195628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/37/image_13012025_08_37_02_387321_0003.jpg', '/home/pi/Desktop/images/13012025/08/38/image_13012025_08_38_02_852849_0000.jpg', '/home/pi/Desktop/images/13012025/08/38/image_13012025_08_38_02_852849_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/37/image_13012025_08_37_02_387321_0003.jpg
/home/pi/Desktop/images/13012025/08/38/image_13012025_08_38_02_852849_0000.jpg
/home/pi/Desktop/images/13012025/08/38/image_13012025_08_38_02_852849_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328599789","1328599794","1328599791"],"photo_ids_order":["1328599789","1328599791","1328599794"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/380120824c2d93cdf4185cd6cb2527b8.jpg","text":"TemporaryFile(/tmp/multipartBody2696166200247725319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754011083,"filename":"image_13012025_08_37_02_387321_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9803667105dbb9e36ec3561aa1e3b9ee.jpg","text":"TemporaryFile(/tmp/multipartBody1931044445065222797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754011083,"filename":"image_13012025_08_38_02_852849_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c3e93205980d15423a069d4b16d61dfc.jpg","text":"TemporaryFile(/tmp/multipartBody8320913368994687254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754011083,"filename":"image_13012025_08_38_02_852849_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328599794","file1":"1328599791","file0":"1328599789"},"map_files_photo_id_array":[{"photo_id":"1328599794","filename":"file2"},{"photo_id":"1328599791","filename":"file1"},{"photo_id":"1328599789","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328599789":["hashtag1","hashtag2"]},{"1328599794":["hashtag1","hashtag2"]},{"1328599791":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328599789, 1328599794, 1328599791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.53081822395325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:40:02.677525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/38/image_13012025_08_38_02_852849_0002.jpg', '/home/pi/Desktop/images/13012025/08/39/image_13012025_08_39_02_383467_0000.jpg', '/home/pi/Desktop/images/13012025/08/39/image_13012025_08_39_02_383467_0001.jpg', '/home/pi/Desktop/images/13012025/08/39/image_13012025_08_39_02_383467_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/38/image_13012025_08_38_02_852849_0002.jpg
/home/pi/Desktop/images/13012025/08/39/image_13012025_08_39_02_383467_0000.jpg
/home/pi/Desktop/images/13012025/08/39/image_13012025_08_39_02_383467_0001.jpg
/home/pi/Desktop/images/13012025/08/39/image_13012025_08_39_02_383467_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.91034197807312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:40:22.176292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/38/image_13012025_08_38_02_852849_0002.jpg', '/home/pi/Desktop/images/13012025/08/39/image_13012025_08_39_02_383467_0000.jpg', '/home/pi/Desktop/images/13012025/08/39/image_13012025_08_39_02_383467_0001.jpg', '/home/pi/Desktop/images/13012025/08/39/image_13012025_08_39_02_383467_0002.jpg', '/home/pi/Desktop/images/13012025/08/39/image_13012025_08_39_02_383467_0003.jpg', '/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_02_923775_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/38/image_13012025_08_38_02_852849_0002.jpg
/home/pi/Desktop/images/13012025/08/39/image_13012025_08_39_02_383467_0000.jpg
/home/pi/Desktop/images/13012025/08/39/image_13012025_08_39_02_383467_0001.jpg
/home/pi/Desktop/images/13012025/08/39/image_13012025_08_39_02_383467_0002.jpg
/home/pi/Desktop/images/13012025/08/39/image_13012025_08_39_02_383467_0003.jpg
/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_02_923775_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328599909","1328599900","1328599911","1328599898","1328599943","1328599904"],"photo_ids_order":["1328599898","1328599900","1328599904","1328599909","1328599911","1328599943"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/adc3b624d83bc0cdc0ff71a1fafbf718.jpg","text":"TemporaryFile(/tmp/multipartBody730194679970248661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754097336,"filename":"image_13012025_08_39_02_383467_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ca146dd3753f89915a1c38a7af6ca5f4.jpg","text":"TemporaryFile(/tmp/multipartBody5088365683311888030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754097336,"filename":"image_13012025_08_39_02_383467_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/03d94a37b5d871cfb63c93277b6d68bd.jpg","text":"TemporaryFile(/tmp/multipartBody3621945362663839035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754097336,"filename":"image_13012025_08_39_02_383467_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2c3eefd89b87f043ee51f4b340b23730.jpg","text":"TemporaryFile(/tmp/multipartBody5398253774494416754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754097336,"filename":"image_13012025_08_38_02_852849_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d8b880e3503e0e53df2c58f7f0c00428.jpg","text":"TemporaryFile(/tmp/multipartBody6361345767626896957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754097336,"filename":"image_13012025_08_40_02_923775_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/924017530fa0da15822b74fb7af3ac9f.jpg","text":"TemporaryFile(/tmp/multipartBody6669388110564927098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754097336,"filename":"image_13012025_08_39_02_383467_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328599904","file1":"1328599900","file0":"1328599898","file4":"1328599911","file5":"1328599943","file3":"1328599909"},"map_files_photo_id_array":[{"photo_id":"1328599943","filename":"file5"},{"photo_id":"1328599904","filename":"file2"},{"photo_id":"1328599911","filename":"file4"},{"photo_id":"1328599900","filename":"file1"},{"photo_id":"1328599898","filename":"file0"},{"photo_id":"1328599909","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328599909":["hashtag1","hashtag2"]},{"1328599900":["hashtag1","hashtag2"]},{"1328599911":["hashtag1","hashtag2"]},{"1328599898":["hashtag1","hashtag2"]},{"1328599943":["hashtag1","hashtag2"]},{"1328599904":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328599909, 1328599900, 1328599911, 1328599898, 1328599943, 1328599904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.58612418174744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:41:22.691166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_02_923775_0001.jpg', '/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_02_923775_0002.jpg', '/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_02_923775_0003.jpg', '/home/pi/Desktop/images/13012025/08/41/image_13012025_08_41_02_550468_0000.jpg', '/home/pi/Desktop/images/13012025/08/41/image_13012025_08_41_02_550468_0001.jpg', '/home/pi/Desktop/images/13012025/08/41/image_13012025_08_41_02_550468_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_02_923775_0001.jpg
/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_02_923775_0002.jpg
/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_02_923775_0003.jpg
/home/pi/Desktop/images/13012025/08/41/image_13012025_08_41_02_550468_0000.jpg
/home/pi/Desktop/images/13012025/08/41/image_13012025_08_41_02_550468_0001.jpg
/home/pi/Desktop/images/13012025/08/41/image_13012025_08_41_02_550468_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328600004","1328600013","1328600001","1328600009","1328600018","1328600011"],"photo_ids_order":["1328600001","1328600004","1328600009","1328600011","1328600013","1328600018"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b751a0d41c372020f18acafc97119677.jpg","text":"TemporaryFile(/tmp/multipartBody1524879571836064610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754157835,"filename":"image_13012025_08_40_02_923775_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/210e40f3f5682f967b0031f01297530f.jpg","text":"TemporaryFile(/tmp/multipartBody587655045517739686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754157835,"filename":"image_13012025_08_41_02_550468_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c818b8941807ab6288c7a4d00bca8b8e.jpg","text":"TemporaryFile(/tmp/multipartBody3276980502255581397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754157835,"filename":"image_13012025_08_40_02_923775_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e35553042cb465d183239f793979ef25.jpg","text":"TemporaryFile(/tmp/multipartBody4729083814667299063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754157835,"filename":"image_13012025_08_40_02_923775_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2d9b6a22c59b7007b6b380c86897b72d.jpg","text":"TemporaryFile(/tmp/multipartBody4969666289289575863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754157835,"filename":"image_13012025_08_41_02_550468_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aafe2883cb1729e1f0df2ee5cff58b4a.jpg","text":"TemporaryFile(/tmp/multipartBody6074774259750987498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754157835,"filename":"image_13012025_08_41_02_550468_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328600009","file1":"1328600004","file0":"1328600001","file4":"1328600013","file5":"1328600018","file3":"1328600011"},"map_files_photo_id_array":[{"photo_id":"1328600018","filename":"file5"},{"photo_id":"1328600009","filename":"file2"},{"photo_id":"1328600013","filename":"file4"},{"photo_id":"1328600004","filename":"file1"},{"photo_id":"1328600001","filename":"file0"},{"photo_id":"1328600011","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328600004":["hashtag1","hashtag2"]},{"1328600013":["hashtag1","hashtag2"]},{"1328600001":["hashtag1","hashtag2"]},{"1328600009":["hashtag1","hashtag2"]},{"1328600018":["hashtag1","hashtag2"]},{"1328600011":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328600004, 1328600013, 1328600001, 1328600009, 1328600018, 1328600011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.672340393066406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:42:22.217527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/41/image_13012025_08_41_02_550468_0003.jpg', '/home/pi/Desktop/images/13012025/08/42/image_13012025_08_42_03_098907_0000.jpg', '/home/pi/Desktop/images/13012025/08/42/image_13012025_08_42_03_098907_0001.jpg', '/home/pi/Desktop/images/13012025/08/42/image_13012025_08_42_03_098907_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/41/image_13012025_08_41_02_550468_0003.jpg
/home/pi/Desktop/images/13012025/08/42/image_13012025_08_42_03_098907_0000.jpg
/home/pi/Desktop/images/13012025/08/42/image_13012025_08_42_03_098907_0001.jpg
/home/pi/Desktop/images/13012025/08/42/image_13012025_08_42_03_098907_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328600029","1328600067","1328600025","1328600045"],"photo_ids_order":["1328600025","1328600029","1328600045","1328600067"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d9ed1a933dd0dac4ea117eb16ded5049.jpg","text":"TemporaryFile(/tmp/multipartBody8019949664224393543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754212589,"filename":"image_13012025_08_42_03_098907_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/db738f3e1e635472e5f9648cfde6f64a.jpg","text":"TemporaryFile(/tmp/multipartBody7705293132887313993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754212589,"filename":"image_13012025_08_42_03_098907_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/50d1b36bfc16e8b88900718982b324c9.jpg","text":"TemporaryFile(/tmp/multipartBody4830189221486667391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754212589,"filename":"image_13012025_08_41_02_550468_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/607616732e6b0700d269c2392b4a6ed6.jpg","text":"TemporaryFile(/tmp/multipartBody1736231836835683857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754212589,"filename":"image_13012025_08_42_03_098907_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328600045","file1":"1328600029","file0":"1328600025","file3":"1328600067"},"map_files_photo_id_array":[{"photo_id":"1328600045","filename":"file2"},{"photo_id":"1328600029","filename":"file1"},{"photo_id":"1328600025","filename":"file0"},{"photo_id":"1328600067","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328600029":["hashtag1","hashtag2"]},{"1328600067":["hashtag1","hashtag2"]},{"1328600025":["hashtag1","hashtag2"]},{"1328600045":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328600029, 1328600067, 1328600025, 1328600045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.59087777137756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:43:22.737991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/42/image_13012025_08_42_03_098907_0003.jpg', '/home/pi/Desktop/images/13012025/08/43/image_13012025_08_43_02_582270_0000.jpg', '/home/pi/Desktop/images/13012025/08/43/image_13012025_08_43_02_582270_0001.jpg', '/home/pi/Desktop/images/13012025/08/43/image_13012025_08_43_02_582270_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/42/image_13012025_08_42_03_098907_0003.jpg
/home/pi/Desktop/images/13012025/08/43/image_13012025_08_43_02_582270_0000.jpg
/home/pi/Desktop/images/13012025/08/43/image_13012025_08_43_02_582270_0001.jpg
/home/pi/Desktop/images/13012025/08/43/image_13012025_08_43_02_582270_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328600331","1328600334","1328600211","1328600323"],"photo_ids_order":["1328600211","1328600323","1328600331","1328600334"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7dc6bcd99cb6e923c03929d1d58281f9.jpg","text":"TemporaryFile(/tmp/multipartBody4639292541246797570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754273072,"filename":"image_13012025_08_43_02_582270_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/24b5122810c404873067a49978ac7f7e.jpg","text":"TemporaryFile(/tmp/multipartBody1494849548951031311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754273072,"filename":"image_13012025_08_43_02_582270_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ce5fae770d71ef9b08389910cad0dc64.jpg","text":"TemporaryFile(/tmp/multipartBody5646728439549592391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754273072,"filename":"image_13012025_08_42_03_098907_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/032716a0de49f903105451a0bdecb26b.jpg","text":"TemporaryFile(/tmp/multipartBody1882049909874706954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754273072,"filename":"image_13012025_08_43_02_582270_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328600331","file1":"1328600323","file0":"1328600211","file3":"1328600334"},"map_files_photo_id_array":[{"photo_id":"1328600331","filename":"file2"},{"photo_id":"1328600323","filename":"file1"},{"photo_id":"1328600211","filename":"file0"},{"photo_id":"1328600334","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328600331":["hashtag1","hashtag2"]},{"1328600334":["hashtag1","hashtag2"]},{"1328600211":["hashtag1","hashtag2"]},{"1328600323":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328600331, 1328600334, 1328600211, 1328600323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.39295506477356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:44:02.542160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:44:22.221055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/43/image_13012025_08_43_02_582270_0003.jpg', '/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_03_130331_0000.jpg', '/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_03_130331_0001.jpg', '/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_03_130331_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/43/image_13012025_08_43_02_582270_0003.jpg
/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_03_130331_0000.jpg
/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_03_130331_0001.jpg
/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_03_130331_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328600522","1328600575","1328600578","1328600548"],"photo_ids_order":["1328600522","1328600548","1328600575","1328600578"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c69f576cacd533b16850832b2f9692c5.jpg","text":"TemporaryFile(/tmp/multipartBody2972625471369267464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754332577,"filename":"image_13012025_08_43_02_582270_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f8bc03004f66ec54666cb1d5885f149b.jpg","text":"TemporaryFile(/tmp/multipartBody4623537545336740461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754332577,"filename":"image_13012025_08_44_03_130331_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5f43e3e685d5f65ada87ffe1a26a909d.jpg","text":"TemporaryFile(/tmp/multipartBody7259386756431209419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754332577,"filename":"image_13012025_08_44_03_130331_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5580bf94c4d42e668ea15bcbcb7fc6f7.jpg","text":"TemporaryFile(/tmp/multipartBody4253671053111200936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754332577,"filename":"image_13012025_08_44_03_130331_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328600575","file1":"1328600548","file0":"1328600522","file3":"1328600578"},"map_files_photo_id_array":[{"photo_id":"1328600575","filename":"file2"},{"photo_id":"1328600548","filename":"file1"},{"photo_id":"1328600522","filename":"file0"},{"photo_id":"1328600578","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328600522":["hashtag1","hashtag2"]},{"1328600575":["hashtag1","hashtag2"]},{"1328600578":["hashtag1","hashtag2"]},{"1328600548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328600522, 1328600575, 1328600578, 1328600548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.71149682998657 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:45:03.224064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:45:22.725316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_03_130331_0003.jpg', '/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_02_573794_0000.jpg', '/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_02_573794_0001.jpg', '/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_02_573794_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_03_130331_0003.jpg
/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_02_573794_0000.jpg
/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_02_573794_0001.jpg
/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_02_573794_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328600617","1328600605","1328600597","1328600594"],"photo_ids_order":["1328600594","1328600597","1328600605","1328600617"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3af7b70d1d1ac2df6a21562749b5ccc0.jpg","text":"TemporaryFile(/tmp/multipartBody8677070988317160987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754393141,"filename":"image_13012025_08_45_02_573794_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a1b9bd78bac5d08e72368d5a81db7b5f.jpg","text":"TemporaryFile(/tmp/multipartBody8030430355869600469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754393141,"filename":"image_13012025_08_45_02_573794_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9007a0ff4c840e82653a66eba2e77d49.jpg","text":"TemporaryFile(/tmp/multipartBody5275383483315013041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754393141,"filename":"image_13012025_08_45_02_573794_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/abb5d260c4dbdc790c3a39bccfa72eab.jpg","text":"TemporaryFile(/tmp/multipartBody7941075489923210371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754393141,"filename":"image_13012025_08_44_03_130331_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328600605","file1":"1328600597","file0":"1328600594","file3":"1328600617"},"map_files_photo_id_array":[{"photo_id":"1328600605","filename":"file2"},{"photo_id":"1328600597","filename":"file1"},{"photo_id":"1328600594","filename":"file0"},{"photo_id":"1328600617","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328600617":["hashtag1","hashtag2"]},{"1328600605":["hashtag1","hashtag2"]},{"1328600597":["hashtag1","hashtag2"]},{"1328600594":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328600617, 1328600605, 1328600597, 1328600594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.04757833480835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:46:02.829685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:46:22.411713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_02_573794_0003.jpg', '/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_03_144182_0000.jpg', '/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_03_144182_0001.jpg', '/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_03_144182_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_02_573794_0003.jpg
/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_03_144182_0000.jpg
/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_03_144182_0001.jpg
/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_03_144182_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.049651622772217 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:47:02.485333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_02_573794_0003.jpg', '/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_03_144182_0000.jpg', '/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_03_144182_0001.jpg', '/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_03_144182_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_02_573794_0003.jpg
/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_03_144182_0000.jpg
/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_03_144182_0001.jpg
/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_03_144182_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328600646","1328600651","1328600648","1328600653"],"photo_ids_order":["1328600646","1328600648","1328600651","1328600653"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/394af99c5c4deadfd75d885fa35816dd.jpg","text":"TemporaryFile(/tmp/multipartBody6539663045417071579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754492981,"filename":"image_13012025_08_45_02_573794_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/35196580e85cb0a7dc45945fbf361a63.jpg","text":"TemporaryFile(/tmp/multipartBody6551670973077199610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754492981,"filename":"image_13012025_08_46_03_144182_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fe160d563aef21f0ad396475c0b1b1c6.jpg","text":"TemporaryFile(/tmp/multipartBody5127635440765398668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754492981,"filename":"image_13012025_08_46_03_144182_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/05ee8a82c69b45ed29716468ecfebfbc.jpg","text":"TemporaryFile(/tmp/multipartBody6191090849702243267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754492981,"filename":"image_13012025_08_46_03_144182_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328600651","file1":"1328600648","file0":"1328600646","file3":"1328600653"},"map_files_photo_id_array":[{"photo_id":"1328600651","filename":"file2"},{"photo_id":"1328600648","filename":"file1"},{"photo_id":"1328600646","filename":"file0"},{"photo_id":"1328600653","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328600646":["hashtag1","hashtag2"]},{"1328600651":["hashtag1","hashtag2"]},{"1328600648":["hashtag1","hashtag2"]},{"1328600653":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328600646, 1328600651, 1328600648, 1328600653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.02890992164612 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:48:02.909110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_03_144182_0003.jpg', '/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_02_700112_0000.jpg', '/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_02_700112_0001.jpg', '/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_02_700112_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_03_144182_0003.jpg
/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_02_700112_0000.jpg
/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_02_700112_0001.jpg
/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_02_700112_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328600691","1328600682","1328600687","1328600680"],"photo_ids_order":["1328600680","1328600682","1328600687","1328600691"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/afe4fdf3c5f057d0f9f8eb96d1781afd.jpg","text":"TemporaryFile(/tmp/multipartBody3470272413916442560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754553232,"filename":"image_13012025_08_47_02_700112_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8afe382b0bf03547383276638226e256.jpg","text":"TemporaryFile(/tmp/multipartBody6199440594075809159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754553232,"filename":"image_13012025_08_47_02_700112_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/57f542723c752444539387508d0f5edd.jpg","text":"TemporaryFile(/tmp/multipartBody6560448983712020084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754553232,"filename":"image_13012025_08_47_02_700112_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/67ba035fbdfcf554406373e4ecc9695b.jpg","text":"TemporaryFile(/tmp/multipartBody8965181132163845518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754553232,"filename":"image_13012025_08_46_03_144182_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328600687","file1":"1328600682","file0":"1328600680","file3":"1328600691"},"map_files_photo_id_array":[{"photo_id":"1328600687","filename":"file2"},{"photo_id":"1328600682","filename":"file1"},{"photo_id":"1328600680","filename":"file0"},{"photo_id":"1328600691","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328600691":["hashtag1","hashtag2"]},{"1328600682":["hashtag1","hashtag2"]},{"1328600687":["hashtag1","hashtag2"]},{"1328600680":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328600691, 1328600682, 1328600687, 1328600680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.80073094367981 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:49:02.585071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_02_700112_0003.jpg', '/home/pi/Desktop/images/13012025/08/48/image_13012025_08_48_02_205742_0000.jpg', '/home/pi/Desktop/images/13012025/08/48/image_13012025_08_48_02_205742_0001.jpg', '/home/pi/Desktop/images/13012025/08/48/image_13012025_08_48_02_205742_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_02_700112_0003.jpg
/home/pi/Desktop/images/13012025/08/48/image_13012025_08_48_02_205742_0000.jpg
/home/pi/Desktop/images/13012025/08/48/image_13012025_08_48_02_205742_0001.jpg
/home/pi/Desktop/images/13012025/08/48/image_13012025_08_48_02_205742_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.057796239852905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:49:22.015024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_02_700112_0003.jpg', '/home/pi/Desktop/images/13012025/08/48/image_13012025_08_48_02_205742_0000.jpg', '/home/pi/Desktop/images/13012025/08/48/image_13012025_08_48_02_205742_0001.jpg', '/home/pi/Desktop/images/13012025/08/48/image_13012025_08_48_02_205742_0002.jpg', '/home/pi/Desktop/images/13012025/08/48/image_13012025_08_48_02_205742_0003.jpg', '/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_02_861679_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_02_700112_0003.jpg
/home/pi/Desktop/images/13012025/08/48/image_13012025_08_48_02_205742_0000.jpg
/home/pi/Desktop/images/13012025/08/48/image_13012025_08_48_02_205742_0001.jpg
/home/pi/Desktop/images/13012025/08/48/image_13012025_08_48_02_205742_0002.jpg
/home/pi/Desktop/images/13012025/08/48/image_13012025_08_48_02_205742_0003.jpg
/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_02_861679_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328600766","1328600751","1328600760","1328600757","1328600735","1328600764"],"photo_ids_order":["1328600735","1328600751","1328600757","1328600760","1328600764","1328600766"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1f9459d971a5255f7c15ca8a374d3506.jpg","text":"TemporaryFile(/tmp/multipartBody8684589358753290313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754637222,"filename":"image_13012025_08_49_02_861679_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c3a585ab687f185ec0d207020de67565.jpg","text":"TemporaryFile(/tmp/multipartBody8427074098663155857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754637222,"filename":"image_13012025_08_48_02_205742_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0d74eb2510649352a17f1546bd903b6c.jpg","text":"TemporaryFile(/tmp/multipartBody3132380515602478089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754637222,"filename":"image_13012025_08_48_02_205742_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c1b04ba9ea3d5699639bb442b73e3adb.jpg","text":"TemporaryFile(/tmp/multipartBody91579766304018355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754637222,"filename":"image_13012025_08_48_02_205742_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/18be62f9575574335fdc81694e0f353b.jpg","text":"TemporaryFile(/tmp/multipartBody7252906455437288907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754637222,"filename":"image_13012025_08_47_02_700112_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d03b48ba6ce70bbcf1ac3d0c27b22d79.jpg","text":"TemporaryFile(/tmp/multipartBody7996412382559605356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754637222,"filename":"image_13012025_08_48_02_205742_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328600757","file1":"1328600751","file0":"1328600735","file4":"1328600764","file5":"1328600766","file3":"1328600760"},"map_files_photo_id_array":[{"photo_id":"1328600766","filename":"file5"},{"photo_id":"1328600757","filename":"file2"},{"photo_id":"1328600764","filename":"file4"},{"photo_id":"1328600751","filename":"file1"},{"photo_id":"1328600735","filename":"file0"},{"photo_id":"1328600760","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328600766":["hashtag1","hashtag2"]},{"1328600751":["hashtag1","hashtag2"]},{"1328600760":["hashtag1","hashtag2"]},{"1328600757":["hashtag1","hashtag2"]},{"1328600735":["hashtag1","hashtag2"]},{"1328600764":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328600766, 1328600751, 1328600760, 1328600757, 1328600735, 1328600764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.33552360534668 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:50:22.778294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_02_861679_0001.jpg', '/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_02_861679_0002.jpg', '/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_02_861679_0003.jpg', '/home/pi/Desktop/images/13012025/08/50/image_13012025_08_50_02_414717_0000.jpg', '/home/pi/Desktop/images/13012025/08/50/image_13012025_08_50_02_414717_0001.jpg', '/home/pi/Desktop/images/13012025/08/50/image_13012025_08_50_02_414717_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_02_861679_0001.jpg
/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_02_861679_0002.jpg
/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_02_861679_0003.jpg
/home/pi/Desktop/images/13012025/08/50/image_13012025_08_50_02_414717_0000.jpg
/home/pi/Desktop/images/13012025/08/50/image_13012025_08_50_02_414717_0001.jpg
/home/pi/Desktop/images/13012025/08/50/image_13012025_08_50_02_414717_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328600799","1328600802","1328600792","1328600779","1328600827","1328600796"],"photo_ids_order":["1328600779","1328600792","1328600796","1328600799","1328600802","1328600827"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/46df347415cdc342cfda795375e4beab.jpg","text":"TemporaryFile(/tmp/multipartBody8788163392060319497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754697544,"filename":"image_13012025_08_50_02_414717_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c48ac7601e1090dfb9400ee09da4738d.jpg","text":"TemporaryFile(/tmp/multipartBody4240320343121733063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754697544,"filename":"image_13012025_08_50_02_414717_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/79c8455628f284af86b9100384e7e140.jpg","text":"TemporaryFile(/tmp/multipartBody858081508600970339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754697544,"filename":"image_13012025_08_49_02_861679_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b7eccc4415f480496d605265c32cdd6e.jpg","text":"TemporaryFile(/tmp/multipartBody8268621081120031673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754697544,"filename":"image_13012025_08_49_02_861679_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bc65144fd338fc6c57e10cc5b81c008f.jpg","text":"TemporaryFile(/tmp/multipartBody5688550074616020666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754697544,"filename":"image_13012025_08_50_02_414717_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/84fd1cbb4dcce83809a4556746b01ddc.jpg","text":"TemporaryFile(/tmp/multipartBody8820578036488108503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754697544,"filename":"image_13012025_08_49_02_861679_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328600796","file1":"1328600792","file0":"1328600779","file4":"1328600802","file5":"1328600827","file3":"1328600799"},"map_files_photo_id_array":[{"photo_id":"1328600827","filename":"file5"},{"photo_id":"1328600796","filename":"file2"},{"photo_id":"1328600802","filename":"file4"},{"photo_id":"1328600792","filename":"file1"},{"photo_id":"1328600779","filename":"file0"},{"photo_id":"1328600799","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328600799":["hashtag1","hashtag2"]},{"1328600802":["hashtag1","hashtag2"]},{"1328600792":["hashtag1","hashtag2"]},{"1328600779":["hashtag1","hashtag2"]},{"1328600827":["hashtag1","hashtag2"]},{"1328600796":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328600799, 1328600802, 1328600792, 1328600779, 1328600827, 1328600796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.132683515548706 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:51:22.193062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/50/image_13012025_08_50_02_414717_0003.jpg', '/home/pi/Desktop/images/13012025/08/51/image_13012025_08_51_03_076885_0000.jpg', '/home/pi/Desktop/images/13012025/08/51/image_13012025_08_51_03_076885_0001.jpg', '/home/pi/Desktop/images/13012025/08/51/image_13012025_08_51_03_076885_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/50/image_13012025_08_50_02_414717_0003.jpg
/home/pi/Desktop/images/13012025/08/51/image_13012025_08_51_03_076885_0000.jpg
/home/pi/Desktop/images/13012025/08/51/image_13012025_08_51_03_076885_0001.jpg
/home/pi/Desktop/images/13012025/08/51/image_13012025_08_51_03_076885_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328601020","1328601002","1328600998","1328601007"],"photo_ids_order":["1328600998","1328601002","1328601007","1328601020"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/10d2990e9c8f9c8027b81cadf2b15c60.jpg","text":"TemporaryFile(/tmp/multipartBody4063321466817692157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754752252,"filename":"image_13012025_08_51_03_076885_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e9eee430c19f2ed65184e0e81a7ac74d.jpg","text":"TemporaryFile(/tmp/multipartBody5870086986974748175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754752252,"filename":"image_13012025_08_51_03_076885_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cb2f7db7a8873ab0b46dc939b8fec83b.jpg","text":"TemporaryFile(/tmp/multipartBody6147098523098444242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754752252,"filename":"image_13012025_08_50_02_414717_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1da9c0951d0501112526b777081f91e6.jpg","text":"TemporaryFile(/tmp/multipartBody6163553969777457510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754752252,"filename":"image_13012025_08_51_03_076885_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328601007","file1":"1328601002","file0":"1328600998","file3":"1328601020"},"map_files_photo_id_array":[{"photo_id":"1328601007","filename":"file2"},{"photo_id":"1328601002","filename":"file1"},{"photo_id":"1328600998","filename":"file0"},{"photo_id":"1328601020","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328601020":["hashtag1","hashtag2"]},{"1328601002":["hashtag1","hashtag2"]},{"1328600998":["hashtag1","hashtag2"]},{"1328601007":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328601020, 1328601002, 1328600998, 1328601007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.90644598007202 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:52:22.723477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/51/image_13012025_08_51_03_076885_0003.jpg', '/home/pi/Desktop/images/13012025/08/52/image_13012025_08_52_02_607075_0000.jpg', '/home/pi/Desktop/images/13012025/08/52/image_13012025_08_52_02_607075_0001.jpg', '/home/pi/Desktop/images/13012025/08/52/image_13012025_08_52_02_607075_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/51/image_13012025_08_51_03_076885_0003.jpg
/home/pi/Desktop/images/13012025/08/52/image_13012025_08_52_02_607075_0000.jpg
/home/pi/Desktop/images/13012025/08/52/image_13012025_08_52_02_607075_0001.jpg
/home/pi/Desktop/images/13012025/08/52/image_13012025_08_52_02_607075_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328601132","1328601126","1328601129","1328601124"],"photo_ids_order":["1328601124","1328601126","1328601129","1328601132"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ca2cab3c3714d6ddfb15c8e3979bd1bd.jpg","text":"TemporaryFile(/tmp/multipartBody6961256519348630634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754812824,"filename":"image_13012025_08_52_02_607075_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b7dff6ca32cffc4bd419900942e2ca52.jpg","text":"TemporaryFile(/tmp/multipartBody9016883414980246125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754812824,"filename":"image_13012025_08_52_02_607075_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e4651694554624d82ddf4f0bebedc39b.jpg","text":"TemporaryFile(/tmp/multipartBody7602522417836321731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754812824,"filename":"image_13012025_08_52_02_607075_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9cb45360959f645832169309254f473b.jpg","text":"TemporaryFile(/tmp/multipartBody8478948595974347713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754812824,"filename":"image_13012025_08_51_03_076885_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328601129","file1":"1328601126","file0":"1328601124","file3":"1328601132"},"map_files_photo_id_array":[{"photo_id":"1328601129","filename":"file2"},{"photo_id":"1328601126","filename":"file1"},{"photo_id":"1328601124","filename":"file0"},{"photo_id":"1328601132","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328601132":["hashtag1","hashtag2"]},{"1328601126":["hashtag1","hashtag2"]},{"1328601129":["hashtag1","hashtag2"]},{"1328601124":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328601132, 1328601126, 1328601129, 1328601124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.77838373184204 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:53:02.877617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:53:22.323969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/52/image_13012025_08_52_02_607075_0003.jpg', '/home/pi/Desktop/images/13012025/08/53/image_13012025_08_53_03_167851_0000.jpg', '/home/pi/Desktop/images/13012025/08/53/image_13012025_08_53_03_167851_0001.jpg', '/home/pi/Desktop/images/13012025/08/53/image_13012025_08_53_03_167851_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/52/image_13012025_08_52_02_607075_0003.jpg
/home/pi/Desktop/images/13012025/08/53/image_13012025_08_53_03_167851_0000.jpg
/home/pi/Desktop/images/13012025/08/53/image_13012025_08_53_03_167851_0001.jpg
/home/pi/Desktop/images/13012025/08/53/image_13012025_08_53_03_167851_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328601167","1328601146","1328601172","1328601157"],"photo_ids_order":["1328601146","1328601157","1328601167","1328601172"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f33d0e7f71ad9bcc50400f9477a6e75a.jpg","text":"TemporaryFile(/tmp/multipartBody8970759897964764468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754872447,"filename":"image_13012025_08_53_03_167851_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0b68ee926d54240995d3dc9b89b4727d.jpg","text":"TemporaryFile(/tmp/multipartBody8425692676403624377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754872447,"filename":"image_13012025_08_52_02_607075_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c3bc49113c9558e9a6488a4b0aa30315.jpg","text":"TemporaryFile(/tmp/multipartBody5082492305260991342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754872447,"filename":"image_13012025_08_53_03_167851_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5170ca9186af42081941280a2db458c0.jpg","text":"TemporaryFile(/tmp/multipartBody8028096874872397349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754872447,"filename":"image_13012025_08_53_03_167851_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328601167","file1":"1328601157","file0":"1328601146","file3":"1328601172"},"map_files_photo_id_array":[{"photo_id":"1328601167","filename":"file2"},{"photo_id":"1328601157","filename":"file1"},{"photo_id":"1328601146","filename":"file0"},{"photo_id":"1328601172","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328601167":["hashtag1","hashtag2"]},{"1328601146":["hashtag1","hashtag2"]},{"1328601172":["hashtag1","hashtag2"]},{"1328601157":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328601167, 1328601146, 1328601172, 1328601157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.110976457595825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:54:21.933958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/53/image_13012025_08_53_03_167851_0003.jpg', '/home/pi/Desktop/images/13012025/08/54/image_13012025_08_54_02_625130_0000.jpg', '/home/pi/Desktop/images/13012025/08/54/image_13012025_08_54_02_625130_0001.jpg', '/home/pi/Desktop/images/13012025/08/54/image_13012025_08_54_02_625130_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/53/image_13012025_08_53_03_167851_0003.jpg
/home/pi/Desktop/images/13012025/08/54/image_13012025_08_54_02_625130_0000.jpg
/home/pi/Desktop/images/13012025/08/54/image_13012025_08_54_02_625130_0001.jpg
/home/pi/Desktop/images/13012025/08/54/image_13012025_08_54_02_625130_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328601231","1328601216","1328601218","1328601226"],"photo_ids_order":["1328601216","1328601218","1328601226","1328601231"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ec0b48c92eda5a4eb9e30f3f14bfb719.jpg","text":"TemporaryFile(/tmp/multipartBody684105934065072300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754932324,"filename":"image_13012025_08_54_02_625130_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8e161e7dd12615b48943f647bbfcb7fd.jpg","text":"TemporaryFile(/tmp/multipartBody5943902918083674489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754932324,"filename":"image_13012025_08_53_03_167851_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cb9f14649da8b0a6a7430e2e42b7feb4.jpg","text":"TemporaryFile(/tmp/multipartBody1253728485775831599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754932324,"filename":"image_13012025_08_54_02_625130_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/612febcc2fafa9b4e4087aac59da602b.jpg","text":"TemporaryFile(/tmp/multipartBody8286854838790478427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754932324,"filename":"image_13012025_08_54_02_625130_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328601226","file1":"1328601218","file0":"1328601216","file3":"1328601231"},"map_files_photo_id_array":[{"photo_id":"1328601226","filename":"file2"},{"photo_id":"1328601218","filename":"file1"},{"photo_id":"1328601216","filename":"file0"},{"photo_id":"1328601231","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328601231":["hashtag1","hashtag2"]},{"1328601216":["hashtag1","hashtag2"]},{"1328601218":["hashtag1","hashtag2"]},{"1328601226":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328601231, 1328601216, 1328601218, 1328601226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.10028004646301 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:55:22.470919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/54/image_13012025_08_54_02_625130_0003.jpg', '/home/pi/Desktop/images/13012025/08/55/image_13012025_08_55_02_321357_0000.jpg', '/home/pi/Desktop/images/13012025/08/55/image_13012025_08_55_02_321357_0001.jpg', '/home/pi/Desktop/images/13012025/08/55/image_13012025_08_55_02_321357_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/54/image_13012025_08_54_02_625130_0003.jpg
/home/pi/Desktop/images/13012025/08/55/image_13012025_08_55_02_321357_0000.jpg
/home/pi/Desktop/images/13012025/08/55/image_13012025_08_55_02_321357_0001.jpg
/home/pi/Desktop/images/13012025/08/55/image_13012025_08_55_02_321357_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328601278","1328601280","1328601282","1328601276"],"photo_ids_order":["1328601276","1328601278","1328601280","1328601282"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/290a083f8cf4c2c2bdc3be48f78c6f11.jpg","text":"TemporaryFile(/tmp/multipartBody7344506678062938777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754992653,"filename":"image_13012025_08_55_02_321357_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7e73a5edb07ac065f496833270606d36.jpg","text":"TemporaryFile(/tmp/multipartBody6937747193376272106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754992653,"filename":"image_13012025_08_55_02_321357_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2d2a40c89f00befad49a2ac37699eda6.jpg","text":"TemporaryFile(/tmp/multipartBody8936814069497773706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754992653,"filename":"image_13012025_08_55_02_321357_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8d965a16f9e3fb45bfd4e0498bf49110.jpg","text":"TemporaryFile(/tmp/multipartBody5544964668093856857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736754992653,"filename":"image_13012025_08_54_02_625130_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328601280","file1":"1328601278","file0":"1328601276","file3":"1328601282"},"map_files_photo_id_array":[{"photo_id":"1328601280","filename":"file2"},{"photo_id":"1328601278","filename":"file1"},{"photo_id":"1328601276","filename":"file0"},{"photo_id":"1328601282","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328601278":["hashtag1","hashtag2"]},{"1328601280":["hashtag1","hashtag2"]},{"1328601282":["hashtag1","hashtag2"]},{"1328601276":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328601278, 1328601280, 1328601282, 1328601276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.51428961753845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:56:22.096677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/55/image_13012025_08_55_02_321357_0003.jpg', '/home/pi/Desktop/images/13012025/08/56/image_13012025_08_56_02_886955_0000.jpg', '/home/pi/Desktop/images/13012025/08/56/image_13012025_08_56_02_886955_0001.jpg', '/home/pi/Desktop/images/13012025/08/56/image_13012025_08_56_02_886955_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/55/image_13012025_08_55_02_321357_0003.jpg
/home/pi/Desktop/images/13012025/08/56/image_13012025_08_56_02_886955_0000.jpg
/home/pi/Desktop/images/13012025/08/56/image_13012025_08_56_02_886955_0001.jpg
/home/pi/Desktop/images/13012025/08/56/image_13012025_08_56_02_886955_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328601303","1328601300","1328601311","1328601307"],"photo_ids_order":["1328601300","1328601303","1328601307","1328601311"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/299825a2c37617d2672317342d22690b.jpg","text":"TemporaryFile(/tmp/multipartBody69571809509210068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755052378,"filename":"image_13012025_08_56_02_886955_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f77f8cf4d9ddf597c3592833b8163788.jpg","text":"TemporaryFile(/tmp/multipartBody664853603491207350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755052378,"filename":"image_13012025_08_55_02_321357_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f1dec409b49bce15119db1d38b955be3.jpg","text":"TemporaryFile(/tmp/multipartBody8966989532749752876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755052378,"filename":"image_13012025_08_56_02_886955_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/10070ee91a952d7f2911e790f5cf866f.jpg","text":"TemporaryFile(/tmp/multipartBody7578118873396016478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755052378,"filename":"image_13012025_08_56_02_886955_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328601307","file1":"1328601303","file0":"1328601300","file3":"1328601311"},"map_files_photo_id_array":[{"photo_id":"1328601307","filename":"file2"},{"photo_id":"1328601303","filename":"file1"},{"photo_id":"1328601300","filename":"file0"},{"photo_id":"1328601311","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328601303":["hashtag1","hashtag2"]},{"1328601300":["hashtag1","hashtag2"]},{"1328601311":["hashtag1","hashtag2"]},{"1328601307":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328601303, 1328601300, 1328601311, 1328601307)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 40.08165907859802 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 08:57:22.562895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/56/image_13012025_08_56_02_886955_0003.jpg', '/home/pi/Desktop/images/13012025/08/57/image_13012025_08_57_02_438110_0000.jpg', '/home/pi/Desktop/images/13012025/08/57/image_13012025_08_57_02_438110_0001.jpg', '/home/pi/Desktop/images/13012025/08/57/image_13012025_08_57_02_438110_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/56/image_13012025_08_56_02_886955_0003.jpg
/home/pi/Desktop/images/13012025/08/57/image_13012025_08_57_02_438110_0000.jpg
/home/pi/Desktop/images/13012025/08/57/image_13012025_08_57_02_438110_0001.jpg
/home/pi/Desktop/images/13012025/08/57/image_13012025_08_57_02_438110_0002.jpg
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 08:59:02.798223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/56/image_13012025_08_56_02_886955_0003.jpg', '/home/pi/Desktop/images/13012025/08/57/image_13012025_08_57_02_438110_0000.jpg', '/home/pi/Desktop/images/13012025/08/57/image_13012025_08_57_02_438110_0001.jpg', '/home/pi/Desktop/images/13012025/08/57/image_13012025_08_57_02_438110_0002.jpg', '/home/pi/Desktop/images/13012025/08/57/image_13012025_08_57_02_438110_0003.jpg', '/home/pi/Desktop/images/13012025/08/58/image_13012025_08_58_02_994520_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/56/image_13012025_08_56_02_886955_0003.jpg
/home/pi/Desktop/images/13012025/08/57/image_13012025_08_57_02_438110_0000.jpg
/home/pi/Desktop/images/13012025/08/57/image_13012025_08_57_02_438110_0001.jpg
/home/pi/Desktop/images/13012025/08/57/image_13012025_08_57_02_438110_0002.jpg
/home/pi/Desktop/images/13012025/08/57/image_13012025_08_57_02_438110_0003.jpg
/home/pi/Desktop/images/13012025/08/58/image_13012025_08_58_02_994520_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328601395","1328601408","1328601413","1328601422","1328601418","1328601403"],"photo_ids_order":["1328601395","1328601403","1328601408","1328601413","1328601418","1328601422"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f1939aa6deeea3b1ffd980d465c00977.jpg","text":"TemporaryFile(/tmp/multipartBody7417132031655134205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755218066,"filename":"image_13012025_08_56_02_886955_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/df83fcdfa02fba8e7d46b71d46a07782.jpg","text":"TemporaryFile(/tmp/multipartBody5384231857927634896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755218066,"filename":"image_13012025_08_57_02_438110_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/025d20b395d974c791fdebc054bbad66.jpg","text":"TemporaryFile(/tmp/multipartBody6303025071223212229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755218066,"filename":"image_13012025_08_57_02_438110_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1be5dceb39f3d475464bf9e44e57cc62.jpg","text":"TemporaryFile(/tmp/multipartBody3984622815725332608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755218066,"filename":"image_13012025_08_58_02_994520_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/209dff24cffe4b1c134a980490747e67.jpg","text":"TemporaryFile(/tmp/multipartBody3349541131039481477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755218066,"filename":"image_13012025_08_57_02_438110_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/787c45a5b5785eb8022ed103480096d9.jpg","text":"TemporaryFile(/tmp/multipartBody2634579739693879107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755218066,"filename":"image_13012025_08_57_02_438110_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328601408","file1":"1328601403","file0":"1328601395","file4":"1328601418","file5":"1328601422","file3":"1328601413"},"map_files_photo_id_array":[{"photo_id":"1328601422","filename":"file5"},{"photo_id":"1328601408","filename":"file2"},{"photo_id":"1328601418","filename":"file4"},{"photo_id":"1328601403","filename":"file1"},{"photo_id":"1328601395","filename":"file0"},{"photo_id":"1328601413","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328601395":["hashtag1","hashtag2"]},{"1328601408":["hashtag1","hashtag2"]},{"1328601413":["hashtag1","hashtag2"]},{"1328601422":["hashtag1","hashtag2"]},{"1328601418":["hashtag1","hashtag2"]},{"1328601403":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328601395, 1328601408, 1328601413, 1328601422, 1328601418, 1328601403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.915287017822266 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:00:02.535945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/58/image_13012025_08_58_02_994520_0001.jpg', '/home/pi/Desktop/images/13012025/08/58/image_13012025_08_58_02_994520_0002.jpg', '/home/pi/Desktop/images/13012025/08/58/image_13012025_08_58_02_994520_0003.jpg', '/home/pi/Desktop/images/13012025/08/59/image_13012025_08_59_02_509133_0000.jpg', '/home/pi/Desktop/images/13012025/08/59/image_13012025_08_59_02_509133_0001.jpg', '/home/pi/Desktop/images/13012025/08/59/image_13012025_08_59_02_509133_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/58/image_13012025_08_58_02_994520_0001.jpg
/home/pi/Desktop/images/13012025/08/58/image_13012025_08_58_02_994520_0002.jpg
/home/pi/Desktop/images/13012025/08/58/image_13012025_08_58_02_994520_0003.jpg
/home/pi/Desktop/images/13012025/08/59/image_13012025_08_59_02_509133_0000.jpg
/home/pi/Desktop/images/13012025/08/59/image_13012025_08_59_02_509133_0001.jpg
/home/pi/Desktop/images/13012025/08/59/image_13012025_08_59_02_509133_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328602157","1328602154","1328602148","1328602144","1328602161","1328602140"],"photo_ids_order":["1328602140","1328602144","1328602148","1328602154","1328602157","1328602161"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1f20e06f051f53b43effca56e6fa3469.jpg","text":"TemporaryFile(/tmp/multipartBody7147715990311776159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755277649,"filename":"image_13012025_08_59_02_509133_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/87fd02d0bb98a29bb1dda329fd1ecfad.jpg","text":"TemporaryFile(/tmp/multipartBody7429813117314034737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755277649,"filename":"image_13012025_08_59_02_509133_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d0fcde2f9e3204e964c58fc09e86a36c.jpg","text":"TemporaryFile(/tmp/multipartBody8909252193950709045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755277649,"filename":"image_13012025_08_58_02_994520_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/167b495e50657a369c3f0a99ca6049b2.jpg","text":"TemporaryFile(/tmp/multipartBody7242119626288120277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755277649,"filename":"image_13012025_08_58_02_994520_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/78c59aa7f272e0c7ca15c74939c81aa0.jpg","text":"TemporaryFile(/tmp/multipartBody3225820515082359425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755277649,"filename":"image_13012025_08_59_02_509133_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7cfce5194bd97f3794d1bba95353a3f3.jpg","text":"TemporaryFile(/tmp/multipartBody5995400594503366662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755277649,"filename":"image_13012025_08_58_02_994520_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328602148","file1":"1328602144","file0":"1328602140","file4":"1328602157","file5":"1328602161","file3":"1328602154"},"map_files_photo_id_array":[{"photo_id":"1328602161","filename":"file5"},{"photo_id":"1328602148","filename":"file2"},{"photo_id":"1328602157","filename":"file4"},{"photo_id":"1328602144","filename":"file1"},{"photo_id":"1328602140","filename":"file0"},{"photo_id":"1328602154","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328602157":["hashtag1","hashtag2"]},{"1328602154":["hashtag1","hashtag2"]},{"1328602148":["hashtag1","hashtag2"]},{"1328602144":["hashtag1","hashtag2"]},{"1328602161":["hashtag1","hashtag2"]},{"1328602140":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328602157, 1328602154, 1328602148, 1328602144, 1328602161, 1328602140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.740747928619385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:01:03.258569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/59/image_13012025_08_59_02_509133_0003.jpg', '/home/pi/Desktop/images/13012025/09/00/image_13012025_09_00_02_790767_0000.jpg', '/home/pi/Desktop/images/13012025/09/00/image_13012025_09_00_02_790767_0001.jpg', '/home/pi/Desktop/images/13012025/09/00/image_13012025_09_00_02_790767_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/08/59/image_13012025_08_59_02_509133_0003.jpg
/home/pi/Desktop/images/13012025/09/00/image_13012025_09_00_02_790767_0000.jpg
/home/pi/Desktop/images/13012025/09/00/image_13012025_09_00_02_790767_0001.jpg
/home/pi/Desktop/images/13012025/09/00/image_13012025_09_00_02_790767_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328602547","1328602540","1328602491","1328602551"],"photo_ids_order":["1328602491","1328602540","1328602547","1328602551"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8d72c4a84dbc207c1be2be6cc47f5c6e.jpg","text":"TemporaryFile(/tmp/multipartBody5443081794598183478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755333526,"filename":"image_13012025_09_00_02_790767_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9563737613e483456c20446253b8a031.jpg","text":"TemporaryFile(/tmp/multipartBody9196544727803787600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755333526,"filename":"image_13012025_09_00_02_790767_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4fa10d87776e91be402be3c5057dddf6.jpg","text":"TemporaryFile(/tmp/multipartBody6491059474189080409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755333526,"filename":"image_13012025_08_59_02_509133_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a590aba59593945adab3a687fc108d73.jpg","text":"TemporaryFile(/tmp/multipartBody5540680396034007665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755333526,"filename":"image_13012025_09_00_02_790767_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328602547","file1":"1328602540","file0":"1328602491","file3":"1328602551"},"map_files_photo_id_array":[{"photo_id":"1328602547","filename":"file2"},{"photo_id":"1328602540","filename":"file1"},{"photo_id":"1328602491","filename":"file0"},{"photo_id":"1328602551","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328602547":["hashtag1","hashtag2"]},{"1328602540":["hashtag1","hashtag2"]},{"1328602491":["hashtag1","hashtag2"]},{"1328602551":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328602547, 1328602540, 1328602491, 1328602551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.97619557380676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:02:02.521630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/00/image_13012025_09_00_02_790767_0003.jpg', '/home/pi/Desktop/images/13012025/09/01/image_13012025_09_01_02_372663_0000.jpg', '/home/pi/Desktop/images/13012025/09/01/image_13012025_09_01_02_372663_0001.jpg', '/home/pi/Desktop/images/13012025/09/01/image_13012025_09_01_02_372663_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/00/image_13012025_09_00_02_790767_0003.jpg
/home/pi/Desktop/images/13012025/09/01/image_13012025_09_01_02_372663_0000.jpg
/home/pi/Desktop/images/13012025/09/01/image_13012025_09_01_02_372663_0001.jpg
/home/pi/Desktop/images/13012025/09/01/image_13012025_09_01_02_372663_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.892784118652344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 09:02:22.233331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/00/image_13012025_09_00_02_790767_0003.jpg', '/home/pi/Desktop/images/13012025/09/01/image_13012025_09_01_02_372663_0000.jpg', '/home/pi/Desktop/images/13012025/09/01/image_13012025_09_01_02_372663_0001.jpg', '/home/pi/Desktop/images/13012025/09/01/image_13012025_09_01_02_372663_0002.jpg', '/home/pi/Desktop/images/13012025/09/01/image_13012025_09_01_02_372663_0003.jpg', '/home/pi/Desktop/images/13012025/09/02/image_13012025_09_02_02_922677_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/00/image_13012025_09_00_02_790767_0003.jpg
/home/pi/Desktop/images/13012025/09/01/image_13012025_09_01_02_372663_0000.jpg
/home/pi/Desktop/images/13012025/09/01/image_13012025_09_01_02_372663_0001.jpg
/home/pi/Desktop/images/13012025/09/01/image_13012025_09_01_02_372663_0002.jpg
/home/pi/Desktop/images/13012025/09/01/image_13012025_09_01_02_372663_0003.jpg
/home/pi/Desktop/images/13012025/09/02/image_13012025_09_02_02_922677_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328602595","1328602583","1328602587","1328602599","1328602590","1328602578"],"photo_ids_order":["1328602578","1328602583","1328602587","1328602590","1328602595","1328602599"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a84c364802654054548574e398f604e1.jpg","text":"TemporaryFile(/tmp/multipartBody3375967551423454908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755417271,"filename":"image_13012025_09_01_02_372663_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3041443435af6ffbdf8386b90973e725.jpg","text":"TemporaryFile(/tmp/multipartBody6114052879109722436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755417271,"filename":"image_13012025_09_01_02_372663_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1519fcf501f9cc84997d0d13f874955a.jpg","text":"TemporaryFile(/tmp/multipartBody5912995849613073351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755417271,"filename":"image_13012025_09_01_02_372663_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1a89cc30c29a36df59f5c9828632d094.jpg","text":"TemporaryFile(/tmp/multipartBody8826978103368957268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755417271,"filename":"image_13012025_09_02_02_922677_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ba28ee98b7fcf3cf71264955ae8f802b.jpg","text":"TemporaryFile(/tmp/multipartBody8160982872100062846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755417271,"filename":"image_13012025_09_01_02_372663_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e2e4f68fccb15fc4293443d33eddb6b3.jpg","text":"TemporaryFile(/tmp/multipartBody7546020043134620979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755417271,"filename":"image_13012025_09_00_02_790767_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328602587","file1":"1328602583","file0":"1328602578","file4":"1328602595","file5":"1328602599","file3":"1328602590"},"map_files_photo_id_array":[{"photo_id":"1328602599","filename":"file5"},{"photo_id":"1328602587","filename":"file2"},{"photo_id":"1328602595","filename":"file4"},{"photo_id":"1328602583","filename":"file1"},{"photo_id":"1328602578","filename":"file0"},{"photo_id":"1328602590","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328602595":["hashtag1","hashtag2"]},{"1328602583":["hashtag1","hashtag2"]},{"1328602587":["hashtag1","hashtag2"]},{"1328602599":["hashtag1","hashtag2"]},{"1328602590":["hashtag1","hashtag2"]},{"1328602578":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328602595, 1328602583, 1328602587, 1328602599, 1328602590, 1328602578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.00129508972168 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:04:02.611511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/02/image_13012025_09_02_02_922677_0002.jpg', '/home/pi/Desktop/images/13012025/09/02/image_13012025_09_02_02_922677_0003.jpg', '/home/pi/Desktop/images/13012025/09/03/image_13012025_09_03_02_579526_0000.jpg', '/home/pi/Desktop/images/13012025/09/03/image_13012025_09_03_02_579526_0001.jpg', '/home/pi/Desktop/images/13012025/09/03/image_13012025_09_03_02_579526_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/02/image_13012025_09_02_02_922677_0002.jpg
/home/pi/Desktop/images/13012025/09/02/image_13012025_09_02_02_922677_0003.jpg
/home/pi/Desktop/images/13012025/09/03/image_13012025_09_03_02_579526_0000.jpg
/home/pi/Desktop/images/13012025/09/03/image_13012025_09_03_02_579526_0001.jpg
/home/pi/Desktop/images/13012025/09/03/image_13012025_09_03_02_579526_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328603234","1328603665","1328603670","1328602825","1328603607"],"photo_ids_order":["1328602825","1328603234","1328603607","1328603665","1328603670"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f2be0090190ba45d58e043993a038173.jpg","text":"TemporaryFile(/tmp/multipartBody1520487919624776831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755515263,"filename":"image_13012025_09_02_02_922677_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c68c2bcf920f025db8eb1c0c799768df.jpg","text":"TemporaryFile(/tmp/multipartBody4024497797415892925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755515263,"filename":"image_13012025_09_03_02_579526_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6212418731b7b483e2aee80762216ecf.jpg","text":"TemporaryFile(/tmp/multipartBody4654135591997437779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755515263,"filename":"image_13012025_09_03_02_579526_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8814dc69d6bbe1e2a4cd669f0bec31bd.jpg","text":"TemporaryFile(/tmp/multipartBody2368651431699776039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755515263,"filename":"image_13012025_09_02_02_922677_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2fd1f039eeccf510a11c029bb6652886.jpg","text":"TemporaryFile(/tmp/multipartBody8874405487188341590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755515263,"filename":"image_13012025_09_03_02_579526_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328603607","file1":"1328603234","file0":"1328602825","file4":"1328603670","file3":"1328603665"},"map_files_photo_id_array":[{"photo_id":"1328603607","filename":"file2"},{"photo_id":"1328603670","filename":"file4"},{"photo_id":"1328603234","filename":"file1"},{"photo_id":"1328602825","filename":"file0"},{"photo_id":"1328603665","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328603234":["hashtag1","hashtag2"]},{"1328603665":["hashtag1","hashtag2"]},{"1328603670":["hashtag1","hashtag2"]},{"1328602825":["hashtag1","hashtag2"]},{"1328603607":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328603234, 1328603665, 1328603670, 1328602825, 1328603607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.549503326416016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:05:03.261375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/03/image_13012025_09_03_02_579526_0003.jpg', '/home/pi/Desktop/images/13012025/09/04/image_13012025_09_04_03_053684_0000.jpg', '/home/pi/Desktop/images/13012025/09/04/image_13012025_09_04_03_053684_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/03/image_13012025_09_03_02_579526_0003.jpg
/home/pi/Desktop/images/13012025/09/04/image_13012025_09_04_03_053684_0000.jpg
/home/pi/Desktop/images/13012025/09/04/image_13012025_09_04_03_053684_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328603727","1328603829","1328603966"],"photo_ids_order":["1328603727","1328603829","1328603966"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9cc9c7d6d2cfb384696f70eee3a2d9e5.jpg","text":"TemporaryFile(/tmp/multipartBody8085422336084283598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755571123,"filename":"image_13012025_09_03_02_579526_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1ca813e716946d82b476522b83ae34ed.jpg","text":"TemporaryFile(/tmp/multipartBody2999429210956425774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755571123,"filename":"image_13012025_09_04_03_053684_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/77207781eef8e98c59ae71783a7f60d0.jpg","text":"TemporaryFile(/tmp/multipartBody8404547212013436028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755571123,"filename":"image_13012025_09_04_03_053684_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328603966","file1":"1328603829","file0":"1328603727"},"map_files_photo_id_array":[{"photo_id":"1328603966","filename":"file2"},{"photo_id":"1328603829","filename":"file1"},{"photo_id":"1328603727","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328603727":["hashtag1","hashtag2"]},{"1328603829":["hashtag1","hashtag2"]},{"1328603966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328603727, 1328603829, 1328603966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.04044985771179 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:06:02.625667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/04/image_13012025_09_04_03_053684_0003.jpg', '/home/pi/Desktop/images/13012025/09/05/image_13012025_09_05_02_587419_0001.jpg', '/home/pi/Desktop/images/13012025/09/05/image_13012025_09_05_02_587419_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/04/image_13012025_09_04_03_053684_0003.jpg
/home/pi/Desktop/images/13012025/09/05/image_13012025_09_05_02_587419_0001.jpg
/home/pi/Desktop/images/13012025/09/05/image_13012025_09_05_02_587419_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328604087","1328604090","1328604084"],"photo_ids_order":["1328604084","1328604087","1328604090"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/73146442b971010c350475d202d5c5e2.jpg","text":"TemporaryFile(/tmp/multipartBody924730965904423499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755630563,"filename":"image_13012025_09_05_02_587419_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3b0c996bcc2a39b8cb5b5fefe42bd8a3.jpg","text":"TemporaryFile(/tmp/multipartBody4936731727443645989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755630563,"filename":"image_13012025_09_05_02_587419_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5c631ec7c9ce44f5225d5a221f2c6bcc.jpg","text":"TemporaryFile(/tmp/multipartBody2540002729272811016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755630563,"filename":"image_13012025_09_04_03_053684_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328604090","file1":"1328604087","file0":"1328604084"},"map_files_photo_id_array":[{"photo_id":"1328604090","filename":"file2"},{"photo_id":"1328604087","filename":"file1"},{"photo_id":"1328604084","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328604087":["hashtag1","hashtag2"]},{"1328604090":["hashtag1","hashtag2"]},{"1328604084":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328604087, 1328604090, 1328604084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.223201751708984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:07:03.348275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/05/image_13012025_09_05_02_587419_0003.jpg', '/home/pi/Desktop/images/13012025/09/06/image_13012025_09_06_02_974601_0000.jpg', '/home/pi/Desktop/images/13012025/09/06/image_13012025_09_06_02_974601_0001.jpg', '/home/pi/Desktop/images/13012025/09/06/image_13012025_09_06_02_974601_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/05/image_13012025_09_05_02_587419_0003.jpg
/home/pi/Desktop/images/13012025/09/06/image_13012025_09_06_02_974601_0000.jpg
/home/pi/Desktop/images/13012025/09/06/image_13012025_09_06_02_974601_0001.jpg
/home/pi/Desktop/images/13012025/09/06/image_13012025_09_06_02_974601_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328604133","1328604135","1328604140","1328604137"],"photo_ids_order":["1328604133","1328604135","1328604137","1328604140"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8c6d2d90bfa75c144b5d73950486fd2d.jpg","text":"TemporaryFile(/tmp/multipartBody7149799769138336033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755693626,"filename":"image_13012025_09_05_02_587419_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/46741fe4b693abfb6d24c5277993e06b.jpg","text":"TemporaryFile(/tmp/multipartBody3474301709446010143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755693626,"filename":"image_13012025_09_06_02_974601_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/05a214ae613ae985482e5779938a8f1f.jpg","text":"TemporaryFile(/tmp/multipartBody1074421323684297980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755693626,"filename":"image_13012025_09_06_02_974601_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5d3cabb3afcd031d926fcd8c93f587e1.jpg","text":"TemporaryFile(/tmp/multipartBody6928709539333583833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755693626,"filename":"image_13012025_09_06_02_974601_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328604137","file1":"1328604135","file0":"1328604133","file3":"1328604140"},"map_files_photo_id_array":[{"photo_id":"1328604137","filename":"file2"},{"photo_id":"1328604135","filename":"file1"},{"photo_id":"1328604133","filename":"file0"},{"photo_id":"1328604140","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328604133":["hashtag1","hashtag2"]},{"1328604135":["hashtag1","hashtag2"]},{"1328604140":["hashtag1","hashtag2"]},{"1328604137":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328604133, 1328604135, 1328604140, 1328604137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.79325032234192 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:08:02.825138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/06/image_13012025_09_06_02_974601_0003.jpg', '/home/pi/Desktop/images/13012025/09/07/image_13012025_09_07_02_577931_0000.jpg', '/home/pi/Desktop/images/13012025/09/07/image_13012025_09_07_02_577931_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/06/image_13012025_09_06_02_974601_0003.jpg
/home/pi/Desktop/images/13012025/09/07/image_13012025_09_07_02_577931_0000.jpg
/home/pi/Desktop/images/13012025/09/07/image_13012025_09_07_02_577931_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328604315","1328604312","1328604309"],"photo_ids_order":["1328604309","1328604312","1328604315"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7c18e8a590b7acac9353b2a552ec6eb9.jpg","text":"TemporaryFile(/tmp/multipartBody3155054150383397430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755750668,"filename":"image_13012025_09_07_02_577931_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/094d1feda44544ca81d8f83d6a320e2e.jpg","text":"TemporaryFile(/tmp/multipartBody9181478136057826378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755750668,"filename":"image_13012025_09_07_02_577931_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3bec27bbaefdefc6e4f09b8465a38e31.jpg","text":"TemporaryFile(/tmp/multipartBody2879405680859551827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755750668,"filename":"image_13012025_09_06_02_974601_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328604315","file1":"1328604312","file0":"1328604309"},"map_files_photo_id_array":[{"photo_id":"1328604315","filename":"file2"},{"photo_id":"1328604312","filename":"file1"},{"photo_id":"1328604309","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328604315":["hashtag1","hashtag2"]},{"1328604312":["hashtag1","hashtag2"]},{"1328604309":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328604315, 1328604312, 1328604309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.0604989528656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:09:02.445101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/07/image_13012025_09_07_02_577931_0003.jpg', '/home/pi/Desktop/images/13012025/09/08/image_13012025_09_08_03_142602_0001.jpg', '/home/pi/Desktop/images/13012025/09/08/image_13012025_09_08_03_142602_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/07/image_13012025_09_07_02_577931_0003.jpg
/home/pi/Desktop/images/13012025/09/08/image_13012025_09_08_03_142602_0001.jpg
/home/pi/Desktop/images/13012025/09/08/image_13012025_09_08_03_142602_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328604348","1328604345","1328604341"],"photo_ids_order":["1328604341","1328604345","1328604348"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/06a5e009630b9ee5ee94fe028f0aa76c.jpg","text":"TemporaryFile(/tmp/multipartBody3907474819445473423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755810361,"filename":"image_13012025_09_08_03_142602_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b5b23ee7e74563af34593b4a97850771.jpg","text":"TemporaryFile(/tmp/multipartBody1123162255170541173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755810361,"filename":"image_13012025_09_08_03_142602_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/56ae2b02e1531084a4a8d4faed4d767b.jpg","text":"TemporaryFile(/tmp/multipartBody4847032433599242944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755810361,"filename":"image_13012025_09_07_02_577931_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328604348","file1":"1328604345","file0":"1328604341"},"map_files_photo_id_array":[{"photo_id":"1328604348","filename":"file2"},{"photo_id":"1328604345","filename":"file1"},{"photo_id":"1328604341","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328604348":["hashtag1","hashtag2"]},{"1328604345":["hashtag1","hashtag2"]},{"1328604341":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328604348, 1328604345, 1328604341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.06963849067688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:10:03.045212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/08/image_13012025_09_08_03_142602_0003.jpg', '/home/pi/Desktop/images/13012025/09/09/image_13012025_09_09_02_687404_0000.jpg', '/home/pi/Desktop/images/13012025/09/09/image_13012025_09_09_02_687404_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/08/image_13012025_09_08_03_142602_0003.jpg
/home/pi/Desktop/images/13012025/09/09/image_13012025_09_09_02_687404_0000.jpg
/home/pi/Desktop/images/13012025/09/09/image_13012025_09_09_02_687404_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.419082403182983 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 09:10:22.564016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/08/image_13012025_09_08_03_142602_0003.jpg', '/home/pi/Desktop/images/13012025/09/09/image_13012025_09_09_02_687404_0000.jpg', '/home/pi/Desktop/images/13012025/09/09/image_13012025_09_09_02_687404_0001.jpg', '/home/pi/Desktop/images/13012025/09/09/image_13012025_09_09_02_687404_0002.jpg', '/home/pi/Desktop/images/13012025/09/10/image_13012025_09_10_02_215317_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/08/image_13012025_09_08_03_142602_0003.jpg
/home/pi/Desktop/images/13012025/09/09/image_13012025_09_09_02_687404_0000.jpg
/home/pi/Desktop/images/13012025/09/09/image_13012025_09_09_02_687404_0001.jpg
/home/pi/Desktop/images/13012025/09/09/image_13012025_09_09_02_687404_0002.jpg
/home/pi/Desktop/images/13012025/09/10/image_13012025_09_10_02_215317_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328604518","1328604503","1328604507","1328604512","1328604515"],"photo_ids_order":["1328604503","1328604507","1328604512","1328604515","1328604518"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a6576470703570f1470f300b570c20ab.jpg","text":"TemporaryFile(/tmp/multipartBody2873306013746737128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755895153,"filename":"image_13012025_09_10_02_215317_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/139812f70e551eb484c5221e137475c7.jpg","text":"TemporaryFile(/tmp/multipartBody6108812677158921365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755895153,"filename":"image_13012025_09_08_03_142602_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5213ea0a0bbaec18375e7a1c2810752b.jpg","text":"TemporaryFile(/tmp/multipartBody2050793877054788948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755895153,"filename":"image_13012025_09_09_02_687404_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/35b90e3e8ac180848ca60e33b7082bc4.jpg","text":"TemporaryFile(/tmp/multipartBody6650341337456663051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755895153,"filename":"image_13012025_09_09_02_687404_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ad4e16ca11097f9827efe774fe2d18bc.jpg","text":"TemporaryFile(/tmp/multipartBody4096660962633214182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755895153,"filename":"image_13012025_09_09_02_687404_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328604512","file1":"1328604507","file0":"1328604503","file4":"1328604518","file3":"1328604515"},"map_files_photo_id_array":[{"photo_id":"1328604512","filename":"file2"},{"photo_id":"1328604518","filename":"file4"},{"photo_id":"1328604507","filename":"file1"},{"photo_id":"1328604503","filename":"file0"},{"photo_id":"1328604515","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328604518":["hashtag1","hashtag2"]},{"1328604503":["hashtag1","hashtag2"]},{"1328604507":["hashtag1","hashtag2"]},{"1328604512":["hashtag1","hashtag2"]},{"1328604515":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328604518, 1328604503, 1328604507, 1328604512, 1328604515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.66878652572632 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 09:11:22.035440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/10/image_13012025_09_10_02_215317_0002.jpg', '/home/pi/Desktop/images/13012025/09/11/image_13012025_09_11_02_876873_0000.jpg', '/home/pi/Desktop/images/13012025/09/11/image_13012025_09_11_02_876873_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/10/image_13012025_09_10_02_215317_0002.jpg
/home/pi/Desktop/images/13012025/09/11/image_13012025_09_11_02_876873_0000.jpg
/home/pi/Desktop/images/13012025/09/11/image_13012025_09_11_02_876873_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328604535","1328604537","1328604533"],"photo_ids_order":["1328604533","1328604535","1328604537"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2ef3db540ca924bb1e7bb8f03c6d0031.jpg","text":"TemporaryFile(/tmp/multipartBody7041830636824500689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755949865,"filename":"image_13012025_09_11_02_876873_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4ffc9364edb35c724caffe022fb0f791.jpg","text":"TemporaryFile(/tmp/multipartBody1107289988171129857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755949865,"filename":"image_13012025_09_11_02_876873_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/328bec2089af053391b953a445b8821f.jpg","text":"TemporaryFile(/tmp/multipartBody2725748917605250159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736755949865,"filename":"image_13012025_09_10_02_215317_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328604537","file1":"1328604535","file0":"1328604533"},"map_files_photo_id_array":[{"photo_id":"1328604537","filename":"file2"},{"photo_id":"1328604535","filename":"file1"},{"photo_id":"1328604533","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328604535":["hashtag1","hashtag2"]},{"1328604537":["hashtag1","hashtag2"]},{"1328604533":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328604535, 1328604537, 1328604533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.887998819351196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:12:03.033349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 09:12:22.596968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/11/image_13012025_09_11_02_876873_0003.jpg', '/home/pi/Desktop/images/13012025/09/12/image_13012025_09_12_02_459337_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/11/image_13012025_09_11_02_876873_0003.jpg
/home/pi/Desktop/images/13012025/09/12/image_13012025_09_12_02_459337_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 5.02224588394165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:13:02.735128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/11/image_13012025_09_11_02_876873_0003.jpg', '/home/pi/Desktop/images/13012025/09/12/image_13012025_09_12_02_459337_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/11/image_13012025_09_11_02_876873_0003.jpg
/home/pi/Desktop/images/13012025/09/12/image_13012025_09_12_02_459337_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328604652","1328604662"],"photo_ids_order":["1328604652","1328604662"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cf505cc75e2a8ba455ccb1ca102e1e4f.jpg","text":"TemporaryFile(/tmp/multipartBody4121093926180367634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756048212,"filename":"image_13012025_09_11_02_876873_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7a38ab80fc20ab9a6ec3cafbea6f48c7.jpg","text":"TemporaryFile(/tmp/multipartBody9162373535145231751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756048212,"filename":"image_13012025_09_12_02_459337_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328604662","file0":"1328604652"},"map_files_photo_id_array":[{"photo_id":"1328604662","filename":"file1"},{"photo_id":"1328604652","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328604652":["hashtag1","hashtag2"]},{"1328604662":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328604652, 1328604662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.962255716323853 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:14:02.264294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/12/image_13012025_09_12_02_459337_0003.jpg', '/home/pi/Desktop/images/13012025/09/13/image_13012025_09_13_02_979984_0000.jpg', '/home/pi/Desktop/images/13012025/09/13/image_13012025_09_13_02_979984_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/12/image_13012025_09_12_02_459337_0003.jpg
/home/pi/Desktop/images/13012025/09/13/image_13012025_09_13_02_979984_0000.jpg
/home/pi/Desktop/images/13012025/09/13/image_13012025_09_13_02_979984_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328604715","1328604709","1328604719"],"photo_ids_order":["1328604709","1328604715","1328604719"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/39b396d7dbbcb0dc153d341d71322b40.jpg","text":"TemporaryFile(/tmp/multipartBody2306426692232562584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756110073,"filename":"image_13012025_09_13_02_979984_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7ecaf9ba6c2f92873d68bbb3931e243e.jpg","text":"TemporaryFile(/tmp/multipartBody5662964924575909843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756110073,"filename":"image_13012025_09_12_02_459337_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7bbdb08f324ec096d02c4ca0dc4f3fc5.jpg","text":"TemporaryFile(/tmp/multipartBody1593026014244450408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756110073,"filename":"image_13012025_09_13_02_979984_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328604719","file1":"1328604715","file0":"1328604709"},"map_files_photo_id_array":[{"photo_id":"1328604719","filename":"file2"},{"photo_id":"1328604715","filename":"file1"},{"photo_id":"1328604709","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328604715":["hashtag1","hashtag2"]},{"1328604709":["hashtag1","hashtag2"]},{"1328604719":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328604715, 1328604709, 1328604719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.948588371276855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:15:02.978822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/13/image_13012025_09_13_02_979984_0002.jpg', '/home/pi/Desktop/images/13012025/09/14/image_13012025_09_14_02_485741_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/13/image_13012025_09_13_02_979984_0002.jpg
/home/pi/Desktop/images/13012025/09/14/image_13012025_09_14_02_485741_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328604835","1328604831"],"photo_ids_order":["1328604831","1328604835"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e43be90ab9861eb53e84dcf3727a0db0.jpg","text":"TemporaryFile(/tmp/multipartBody8490254483955365850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756168446,"filename":"image_13012025_09_14_02_485741_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6f003d2491574d3b20d2f3fe3c4c3c9c.jpg","text":"TemporaryFile(/tmp/multipartBody191045176209204297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756168446,"filename":"image_13012025_09_13_02_979984_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328604835","file0":"1328604831"},"map_files_photo_id_array":[{"photo_id":"1328604835","filename":"file1"},{"photo_id":"1328604831","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328604835":["hashtag1","hashtag2"]},{"1328604831":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328604835, 1328604831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.120827436447144 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:16:02.254437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/14/image_13012025_09_14_02_485741_0003.jpg', '/home/pi/Desktop/images/13012025/09/15/image_13012025_09_15_02_157260_0000.jpg', '/home/pi/Desktop/images/13012025/09/15/image_13012025_09_15_02_157260_0001.jpg', '/home/pi/Desktop/images/13012025/09/15/image_13012025_09_15_02_157260_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/14/image_13012025_09_14_02_485741_0003.jpg
/home/pi/Desktop/images/13012025/09/15/image_13012025_09_15_02_157260_0000.jpg
/home/pi/Desktop/images/13012025/09/15/image_13012025_09_15_02_157260_0001.jpg
/home/pi/Desktop/images/13012025/09/15/image_13012025_09_15_02_157260_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328604884","1328604895","1328604889","1328604880"],"photo_ids_order":["1328604880","1328604884","1328604889","1328604895"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3a9525acb7a537747d87e138c40e5e0b.jpg","text":"TemporaryFile(/tmp/multipartBody3871444203008957636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756232499,"filename":"image_13012025_09_15_02_157260_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3807722971400e368191b2138512d4fd.jpg","text":"TemporaryFile(/tmp/multipartBody9137844384792108993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756232499,"filename":"image_13012025_09_15_02_157260_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/52ac5b5308484ac78b4f6d938d35c9d9.jpg","text":"TemporaryFile(/tmp/multipartBody3725051960650256079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756232499,"filename":"image_13012025_09_15_02_157260_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b357ac095d92acedbd6d13fbf1385638.jpg","text":"TemporaryFile(/tmp/multipartBody7062978149481413426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756232499,"filename":"image_13012025_09_14_02_485741_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328604889","file1":"1328604884","file0":"1328604880","file3":"1328604895"},"map_files_photo_id_array":[{"photo_id":"1328604889","filename":"file2"},{"photo_id":"1328604884","filename":"file1"},{"photo_id":"1328604880","filename":"file0"},{"photo_id":"1328604895","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328604884":["hashtag1","hashtag2"]},{"1328604895":["hashtag1","hashtag2"]},{"1328604889":["hashtag1","hashtag2"]},{"1328604880":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328604884, 1328604895, 1328604889, 1328604880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.115615367889404 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:17:03.101878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/15/image_13012025_09_15_02_157260_0003.jpg', '/home/pi/Desktop/images/13012025/09/16/image_13012025_09_16_02_678793_0000.jpg', '/home/pi/Desktop/images/13012025/09/16/image_13012025_09_16_02_678793_0001.jpg', '/home/pi/Desktop/images/13012025/09/16/image_13012025_09_16_02_678793_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/15/image_13012025_09_15_02_157260_0003.jpg
/home/pi/Desktop/images/13012025/09/16/image_13012025_09_16_02_678793_0000.jpg
/home/pi/Desktop/images/13012025/09/16/image_13012025_09_16_02_678793_0001.jpg
/home/pi/Desktop/images/13012025/09/16/image_13012025_09_16_02_678793_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328604919","1328604915","1328604923","1328604917"],"photo_ids_order":["1328604915","1328604917","1328604919","1328604923"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9103cd9f78b4d04baa0be5b74db1754f.jpg","text":"TemporaryFile(/tmp/multipartBody9192255371864838573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756293369,"filename":"image_13012025_09_16_02_678793_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/637e05d915f0710cbbdd00f9ca79409f.jpg","text":"TemporaryFile(/tmp/multipartBody3342779100581844229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756293369,"filename":"image_13012025_09_15_02_157260_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/18d99c81ef8f2558dbba0d77c08ce02c.jpg","text":"TemporaryFile(/tmp/multipartBody734204478896488772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756293369,"filename":"image_13012025_09_16_02_678793_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1a8871f662cd52e07b661db0523a5084.jpg","text":"TemporaryFile(/tmp/multipartBody4335300401710956983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756293369,"filename":"image_13012025_09_16_02_678793_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328604919","file1":"1328604917","file0":"1328604915","file3":"1328604923"},"map_files_photo_id_array":[{"photo_id":"1328604919","filename":"file2"},{"photo_id":"1328604917","filename":"file1"},{"photo_id":"1328604915","filename":"file0"},{"photo_id":"1328604923","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328604919":["hashtag1","hashtag2"]},{"1328604915":["hashtag1","hashtag2"]},{"1328604923":["hashtag1","hashtag2"]},{"1328604917":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328604919, 1328604915, 1328604923, 1328604917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.906824827194214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:18:02.589156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/16/image_13012025_09_16_02_678793_0003.jpg', '/home/pi/Desktop/images/13012025/09/17/image_13012025_09_17_02_317544_0000.jpg', '/home/pi/Desktop/images/13012025/09/17/image_13012025_09_17_02_317544_0001.jpg', '/home/pi/Desktop/images/13012025/09/17/image_13012025_09_17_02_317544_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/16/image_13012025_09_16_02_678793_0003.jpg
/home/pi/Desktop/images/13012025/09/17/image_13012025_09_17_02_317544_0000.jpg
/home/pi/Desktop/images/13012025/09/17/image_13012025_09_17_02_317544_0001.jpg
/home/pi/Desktop/images/13012025/09/17/image_13012025_09_17_02_317544_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328605155","1328604945","1328604950","1328604947"],"photo_ids_order":["1328604945","1328604947","1328604950","1328605155"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2c38940ae404cc061a50e39eb2ecae9d.jpg","text":"TemporaryFile(/tmp/multipartBody4422213009854211287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756352822,"filename":"image_13012025_09_17_02_317544_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6f3089f9b249dfa0930ef0fd35af8653.jpg","text":"TemporaryFile(/tmp/multipartBody7002503854120234727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756352822,"filename":"image_13012025_09_16_02_678793_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b8d65578f9b620507f4dbc200cd65ad0.jpg","text":"TemporaryFile(/tmp/multipartBody5940304427823731973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756352822,"filename":"image_13012025_09_17_02_317544_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a3ec129e5294bef8c284739034a1b302.jpg","text":"TemporaryFile(/tmp/multipartBody8832527754763900251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756352822,"filename":"image_13012025_09_17_02_317544_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328604950","file1":"1328604947","file0":"1328604945","file3":"1328605155"},"map_files_photo_id_array":[{"photo_id":"1328604950","filename":"file2"},{"photo_id":"1328604947","filename":"file1"},{"photo_id":"1328604945","filename":"file0"},{"photo_id":"1328605155","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328605155":["hashtag1","hashtag2"]},{"1328604945":["hashtag1","hashtag2"]},{"1328604950":["hashtag1","hashtag2"]},{"1328604947":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328605155, 1328604945, 1328604950, 1328604947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.60432481765747 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:19:03.330091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/17/image_13012025_09_17_02_317544_0003.jpg', '/home/pi/Desktop/images/13012025/09/18/image_13012025_09_18_02_815338_0000.jpg', '/home/pi/Desktop/images/13012025/09/18/image_13012025_09_18_02_815338_0001.jpg', '/home/pi/Desktop/images/13012025/09/18/image_13012025_09_18_02_815338_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/17/image_13012025_09_17_02_317544_0003.jpg
/home/pi/Desktop/images/13012025/09/18/image_13012025_09_18_02_815338_0000.jpg
/home/pi/Desktop/images/13012025/09/18/image_13012025_09_18_02_815338_0001.jpg
/home/pi/Desktop/images/13012025/09/18/image_13012025_09_18_02_815338_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328605816","1328605914","1328606036","1328605812"],"photo_ids_order":["1328605812","1328605816","1328605914","1328606036"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/14b32e965971839debe7c1683e2d8725.jpg","text":"TemporaryFile(/tmp/multipartBody8587359010327900772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756413604,"filename":"image_13012025_09_18_02_815338_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f4be06cc265c6a6fbf689b8244169ef2.jpg","text":"TemporaryFile(/tmp/multipartBody7289553979402091841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756413604,"filename":"image_13012025_09_18_02_815338_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/52212f1e97418b969039d6aa003636b7.jpg","text":"TemporaryFile(/tmp/multipartBody3380148081243798367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756413604,"filename":"image_13012025_09_18_02_815338_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6635862a1b8a9fd6e7b1031e86d9d407.jpg","text":"TemporaryFile(/tmp/multipartBody7340986842490255894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756413604,"filename":"image_13012025_09_17_02_317544_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328605914","file1":"1328605816","file0":"1328605812","file3":"1328606036"},"map_files_photo_id_array":[{"photo_id":"1328605914","filename":"file2"},{"photo_id":"1328605816","filename":"file1"},{"photo_id":"1328605812","filename":"file0"},{"photo_id":"1328606036","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328605816":["hashtag1","hashtag2"]},{"1328605914":["hashtag1","hashtag2"]},{"1328606036":["hashtag1","hashtag2"]},{"1328605812":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328605816, 1328605914, 1328606036, 1328605812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.60295915603638 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:20:02.921541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/18/image_13012025_09_18_02_815338_0003.jpg', '/home/pi/Desktop/images/13012025/09/19/image_13012025_09_19_02_566175_0000.jpg', '/home/pi/Desktop/images/13012025/09/19/image_13012025_09_19_02_566175_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/18/image_13012025_09_18_02_815338_0003.jpg
/home/pi/Desktop/images/13012025/09/19/image_13012025_09_19_02_566175_0000.jpg
/home/pi/Desktop/images/13012025/09/19/image_13012025_09_19_02_566175_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328606127","1328606135","1328606132"],"photo_ids_order":["1328606127","1328606132","1328606135"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9fd73f7523f9648111ffd5af033979cc.jpg","text":"TemporaryFile(/tmp/multipartBody555931311549617795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756470741,"filename":"image_13012025_09_18_02_815338_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5297696380e1ebe0e95c83d49b139e50.jpg","text":"TemporaryFile(/tmp/multipartBody8101171011602646279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756470741,"filename":"image_13012025_09_19_02_566175_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/053a0d730eeaf1a66a494cfddaf17170.jpg","text":"TemporaryFile(/tmp/multipartBody6766529065344425947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756470741,"filename":"image_13012025_09_19_02_566175_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328606135","file1":"1328606132","file0":"1328606127"},"map_files_photo_id_array":[{"photo_id":"1328606135","filename":"file2"},{"photo_id":"1328606132","filename":"file1"},{"photo_id":"1328606127","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328606127":["hashtag1","hashtag2"]},{"1328606135":["hashtag1","hashtag2"]},{"1328606132":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328606127, 1328606135, 1328606132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.899497032165527 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:21:02.583121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/19/image_13012025_09_19_02_566175_0002.jpg', '/home/pi/Desktop/images/13012025/09/20/image_13012025_09_20_03_132004_0000.jpg', '/home/pi/Desktop/images/13012025/09/20/image_13012025_09_20_03_132004_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/19/image_13012025_09_19_02_566175_0002.jpg
/home/pi/Desktop/images/13012025/09/20/image_13012025_09_20_03_132004_0000.jpg
/home/pi/Desktop/images/13012025/09/20/image_13012025_09_20_03_132004_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328606164","1328606161","1328606158"],"photo_ids_order":["1328606158","1328606161","1328606164"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9d0a56e22731554726fa4fffc18b9c51.jpg","text":"TemporaryFile(/tmp/multipartBody1891184610734980837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756530421,"filename":"image_13012025_09_20_03_132004_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/92d335fbe1e7cfd8ddd0a54ee6c14ee6.jpg","text":"TemporaryFile(/tmp/multipartBody9006932873292805790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756530421,"filename":"image_13012025_09_20_03_132004_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9d822568195cdd0cfbdd63a135eb8480.jpg","text":"TemporaryFile(/tmp/multipartBody5319653053268415341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756530421,"filename":"image_13012025_09_19_02_566175_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328606164","file1":"1328606161","file0":"1328606158"},"map_files_photo_id_array":[{"photo_id":"1328606164","filename":"file2"},{"photo_id":"1328606161","filename":"file1"},{"photo_id":"1328606158","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328606164":["hashtag1","hashtag2"]},{"1328606161":["hashtag1","hashtag2"]},{"1328606158":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328606164, 1328606161, 1328606158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.811321258544922 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:22:02.941092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/20/image_13012025_09_20_03_132004_0003.jpg', '/home/pi/Desktop/images/13012025/09/21/image_13012025_09_21_02_781774_0000.jpg', '/home/pi/Desktop/images/13012025/09/21/image_13012025_09_21_02_781774_0001.jpg', '/home/pi/Desktop/images/13012025/09/21/image_13012025_09_21_02_781774_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/20/image_13012025_09_20_03_132004_0003.jpg
/home/pi/Desktop/images/13012025/09/21/image_13012025_09_21_02_781774_0000.jpg
/home/pi/Desktop/images/13012025/09/21/image_13012025_09_21_02_781774_0001.jpg
/home/pi/Desktop/images/13012025/09/21/image_13012025_09_21_02_781774_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328606226","1328606214","1328606222","1328606218"],"photo_ids_order":["1328606214","1328606218","1328606222","1328606226"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9b48bc9cc9692f74355d94919ef34d42.jpg","text":"TemporaryFile(/tmp/multipartBody99666754354755756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756593171,"filename":"image_13012025_09_21_02_781774_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f8bec59705553a2cd353ddf11191a800.jpg","text":"TemporaryFile(/tmp/multipartBody6785512425254000877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756593171,"filename":"image_13012025_09_20_03_132004_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/28684e1abe70e6a60d169b036c0c1f35.jpg","text":"TemporaryFile(/tmp/multipartBody1325963674049562550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756593171,"filename":"image_13012025_09_21_02_781774_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/75095641dc442358ed64d1885844cc06.jpg","text":"TemporaryFile(/tmp/multipartBody4233928503968700055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756593171,"filename":"image_13012025_09_21_02_781774_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328606222","file1":"1328606218","file0":"1328606214","file3":"1328606226"},"map_files_photo_id_array":[{"photo_id":"1328606222","filename":"file2"},{"photo_id":"1328606218","filename":"file1"},{"photo_id":"1328606214","filename":"file0"},{"photo_id":"1328606226","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328606226":["hashtag1","hashtag2"]},{"1328606214":["hashtag1","hashtag2"]},{"1328606222":["hashtag1","hashtag2"]},{"1328606218":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328606226, 1328606214, 1328606222, 1328606218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.479002237319946 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:23:02.550898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/21/image_13012025_09_21_02_781774_0003.jpg', '/home/pi/Desktop/images/13012025/09/22/image_13012025_09_22_02_289339_0000.jpg', '/home/pi/Desktop/images/13012025/09/22/image_13012025_09_22_02_289339_0001.jpg', '/home/pi/Desktop/images/13012025/09/22/image_13012025_09_22_02_289339_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/21/image_13012025_09_21_02_781774_0003.jpg
/home/pi/Desktop/images/13012025/09/22/image_13012025_09_22_02_289339_0000.jpg
/home/pi/Desktop/images/13012025/09/22/image_13012025_09_22_02_289339_0001.jpg
/home/pi/Desktop/images/13012025/09/22/image_13012025_09_22_02_289339_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328606265","1328606259","1328606273","1328606269"],"photo_ids_order":["1328606259","1328606265","1328606269","1328606273"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b1e72139753d20877858fca748f1718e.jpg","text":"TemporaryFile(/tmp/multipartBody5819802505225302088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756652826,"filename":"image_13012025_09_22_02_289339_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ecc0c3dbe54427838020728c56a9c8d6.jpg","text":"TemporaryFile(/tmp/multipartBody3519242464173038163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756652826,"filename":"image_13012025_09_21_02_781774_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/527e3974a531433575681b9be481d9a0.jpg","text":"TemporaryFile(/tmp/multipartBody4430666820595734827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756652826,"filename":"image_13012025_09_22_02_289339_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5734dac7f276b759669945c82ca3f019.jpg","text":"TemporaryFile(/tmp/multipartBody8029424625660657152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756652826,"filename":"image_13012025_09_22_02_289339_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328606269","file1":"1328606265","file0":"1328606259","file3":"1328606273"},"map_files_photo_id_array":[{"photo_id":"1328606269","filename":"file2"},{"photo_id":"1328606265","filename":"file1"},{"photo_id":"1328606259","filename":"file0"},{"photo_id":"1328606273","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328606265":["hashtag1","hashtag2"]},{"1328606259":["hashtag1","hashtag2"]},{"1328606273":["hashtag1","hashtag2"]},{"1328606269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328606265, 1328606259, 1328606273, 1328606269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.77419853210449 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:24:03.038780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/22/image_13012025_09_22_02_289339_0003.jpg', '/home/pi/Desktop/images/13012025/09/23/image_13012025_09_23_02_815887_0000.jpg', '/home/pi/Desktop/images/13012025/09/23/image_13012025_09_23_02_815887_0001.jpg', '/home/pi/Desktop/images/13012025/09/23/image_13012025_09_23_02_815887_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/22/image_13012025_09_22_02_289339_0003.jpg
/home/pi/Desktop/images/13012025/09/23/image_13012025_09_23_02_815887_0000.jpg
/home/pi/Desktop/images/13012025/09/23/image_13012025_09_23_02_815887_0001.jpg
/home/pi/Desktop/images/13012025/09/23/image_13012025_09_23_02_815887_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328606358","1328606352","1328606363","1328606347"],"photo_ids_order":["1328606347","1328606352","1328606358","1328606363"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d58045fd442ca7a15162c7d67262b219.jpg","text":"TemporaryFile(/tmp/multipartBody6703723191130392511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756713288,"filename":"image_13012025_09_23_02_815887_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b7e2a77925359abfabc0fc42f4edf024.jpg","text":"TemporaryFile(/tmp/multipartBody4571102240744638536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756713288,"filename":"image_13012025_09_23_02_815887_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/703462b7eb88119b2c85e5e9ecbec74e.jpg","text":"TemporaryFile(/tmp/multipartBody7752566656410439761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756713288,"filename":"image_13012025_09_23_02_815887_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bf4f315c8da126bb190f32770e855d4e.jpg","text":"TemporaryFile(/tmp/multipartBody6743536081470563423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756713288,"filename":"image_13012025_09_22_02_289339_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328606358","file1":"1328606352","file0":"1328606347","file3":"1328606363"},"map_files_photo_id_array":[{"photo_id":"1328606358","filename":"file2"},{"photo_id":"1328606352","filename":"file1"},{"photo_id":"1328606347","filename":"file0"},{"photo_id":"1328606363","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328606358":["hashtag1","hashtag2"]},{"1328606352":["hashtag1","hashtag2"]},{"1328606363":["hashtag1","hashtag2"]},{"1328606347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328606358, 1328606352, 1328606363, 1328606347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.7623815536499 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:25:02.697377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/23/image_13012025_09_23_02_815887_0003.jpg', '/home/pi/Desktop/images/13012025/09/24/image_13012025_09_24_02_332601_0000.jpg', '/home/pi/Desktop/images/13012025/09/24/image_13012025_09_24_02_332601_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/23/image_13012025_09_23_02_815887_0003.jpg
/home/pi/Desktop/images/13012025/09/24/image_13012025_09_24_02_332601_0000.jpg
/home/pi/Desktop/images/13012025/09/24/image_13012025_09_24_02_332601_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328606541","1328606543","1328606539"],"photo_ids_order":["1328606539","1328606541","1328606543"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6c1e90a30ad52caa2a6c1d8dedfec853.jpg","text":"TemporaryFile(/tmp/multipartBody9017562562986545749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756770568,"filename":"image_13012025_09_24_02_332601_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9a1b1b050f523c9b33be84bb05d516f4.jpg","text":"TemporaryFile(/tmp/multipartBody717334289930597109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756770568,"filename":"image_13012025_09_24_02_332601_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dd7f4a510975b7dc4e8f5d94a5bae986.jpg","text":"TemporaryFile(/tmp/multipartBody1538803824961253398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756770568,"filename":"image_13012025_09_23_02_815887_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328606543","file1":"1328606541","file0":"1328606539"},"map_files_photo_id_array":[{"photo_id":"1328606543","filename":"file2"},{"photo_id":"1328606541","filename":"file1"},{"photo_id":"1328606539","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328606541":["hashtag1","hashtag2"]},{"1328606543":["hashtag1","hashtag2"]},{"1328606539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328606541, 1328606543, 1328606539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.226455688476562 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:26:03.246937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/24/image_13012025_09_24_02_332601_0002.jpg', '/home/pi/Desktop/images/13012025/09/25/image_13012025_09_25_02_926595_0000.jpg', '/home/pi/Desktop/images/13012025/09/25/image_13012025_09_25_02_926595_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/24/image_13012025_09_24_02_332601_0002.jpg
/home/pi/Desktop/images/13012025/09/25/image_13012025_09_25_02_926595_0000.jpg
/home/pi/Desktop/images/13012025/09/25/image_13012025_09_25_02_926595_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328606565","1328606561","1328606563"],"photo_ids_order":["1328606561","1328606563","1328606565"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2cd195034254003d919862e394a01e7b.jpg","text":"TemporaryFile(/tmp/multipartBody7551872508174286637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756831083,"filename":"image_13012025_09_25_02_926595_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f31c1ef9958883fa55b0b96f6f4e9269.jpg","text":"TemporaryFile(/tmp/multipartBody9208220416558929385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756831083,"filename":"image_13012025_09_24_02_332601_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a79aee9eac60e2fb6cc18f89ffc60ced.jpg","text":"TemporaryFile(/tmp/multipartBody5505492367419580367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756831083,"filename":"image_13012025_09_25_02_926595_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328606565","file1":"1328606563","file0":"1328606561"},"map_files_photo_id_array":[{"photo_id":"1328606565","filename":"file2"},{"photo_id":"1328606563","filename":"file1"},{"photo_id":"1328606561","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328606565":["hashtag1","hashtag2"]},{"1328606561":["hashtag1","hashtag2"]},{"1328606563":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328606565, 1328606561, 1328606563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.829097509384155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:27:02.567111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/25/image_13012025_09_25_02_926595_0003.jpg', '/home/pi/Desktop/images/13012025/09/26/image_13012025_09_26_02_459699_0000.jpg', '/home/pi/Desktop/images/13012025/09/26/image_13012025_09_26_02_459699_0001.jpg', '/home/pi/Desktop/images/13012025/09/26/image_13012025_09_26_02_459699_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/25/image_13012025_09_25_02_926595_0003.jpg
/home/pi/Desktop/images/13012025/09/26/image_13012025_09_26_02_459699_0000.jpg
/home/pi/Desktop/images/13012025/09/26/image_13012025_09_26_02_459699_0001.jpg
/home/pi/Desktop/images/13012025/09/26/image_13012025_09_26_02_459699_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328606592","1328606595","1328606589","1328606599"],"photo_ids_order":["1328606589","1328606592","1328606595","1328606599"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9913cb28d62d3316abf4af31d3a30f99.jpg","text":"TemporaryFile(/tmp/multipartBody3767351209190525931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756892764,"filename":"image_13012025_09_26_02_459699_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/18f48703e7edaf92c828d3237149d1b1.jpg","text":"TemporaryFile(/tmp/multipartBody1542623632617265050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756892764,"filename":"image_13012025_09_26_02_459699_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bf9e9d701b9e67f91ab8ddbd0189c7db.jpg","text":"TemporaryFile(/tmp/multipartBody262345471324080588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756892764,"filename":"image_13012025_09_25_02_926595_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4998454bbf110ecd6901c710eed000ee.jpg","text":"TemporaryFile(/tmp/multipartBody1915026929533807747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756892764,"filename":"image_13012025_09_26_02_459699_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328606595","file1":"1328606592","file0":"1328606589","file3":"1328606599"},"map_files_photo_id_array":[{"photo_id":"1328606595","filename":"file2"},{"photo_id":"1328606592","filename":"file1"},{"photo_id":"1328606589","filename":"file0"},{"photo_id":"1328606599","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328606592":["hashtag1","hashtag2"]},{"1328606595":["hashtag1","hashtag2"]},{"1328606589":["hashtag1","hashtag2"]},{"1328606599":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328606592, 1328606595, 1328606589, 1328606599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.808122873306274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:28:02.273637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/26/image_13012025_09_26_02_459699_0003.jpg', '/home/pi/Desktop/images/13012025/09/27/image_13012025_09_27_03_085283_0000.jpg', '/home/pi/Desktop/images/13012025/09/27/image_13012025_09_27_03_085283_0001.jpg', '/home/pi/Desktop/images/13012025/09/27/image_13012025_09_27_03_085283_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/26/image_13012025_09_26_02_459699_0003.jpg
/home/pi/Desktop/images/13012025/09/27/image_13012025_09_27_03_085283_0000.jpg
/home/pi/Desktop/images/13012025/09/27/image_13012025_09_27_03_085283_0001.jpg
/home/pi/Desktop/images/13012025/09/27/image_13012025_09_27_03_085283_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328606639","1328606641","1328606644","1328606638"],"photo_ids_order":["1328606638","1328606639","1328606641","1328606644"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f42fd9dd4514f8ab1e962dc4ec0f4bdb.jpg","text":"TemporaryFile(/tmp/multipartBody1482803194639402535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756952596,"filename":"image_13012025_09_27_03_085283_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1de81a0443f527d25f7cb291757123eb.jpg","text":"TemporaryFile(/tmp/multipartBody42174804837257280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756952596,"filename":"image_13012025_09_27_03_085283_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cfae0f329feaf749542eb057a31d1f8a.jpg","text":"TemporaryFile(/tmp/multipartBody3577938271707016726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756952596,"filename":"image_13012025_09_27_03_085283_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f7b7df51fbde4a1adb280a57d61e0f53.jpg","text":"TemporaryFile(/tmp/multipartBody2783993706515127105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736756952596,"filename":"image_13012025_09_26_02_459699_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328606641","file1":"1328606639","file0":"1328606638","file3":"1328606644"},"map_files_photo_id_array":[{"photo_id":"1328606641","filename":"file2"},{"photo_id":"1328606639","filename":"file1"},{"photo_id":"1328606638","filename":"file0"},{"photo_id":"1328606644","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328606639":["hashtag1","hashtag2"]},{"1328606641":["hashtag1","hashtag2"]},{"1328606644":["hashtag1","hashtag2"]},{"1328606638":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328606639, 1328606641, 1328606644, 1328606638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.66025495529175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:29:03.057219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/27/image_13012025_09_27_03_085283_0003.jpg', '/home/pi/Desktop/images/13012025/09/28/image_13012025_09_28_02_589707_0000.jpg', '/home/pi/Desktop/images/13012025/09/28/image_13012025_09_28_02_589707_0001.jpg', '/home/pi/Desktop/images/13012025/09/28/image_13012025_09_28_02_589707_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/27/image_13012025_09_27_03_085283_0003.jpg
/home/pi/Desktop/images/13012025/09/28/image_13012025_09_28_02_589707_0000.jpg
/home/pi/Desktop/images/13012025/09/28/image_13012025_09_28_02_589707_0001.jpg
/home/pi/Desktop/images/13012025/09/28/image_13012025_09_28_02_589707_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328606706","1328606686","1328606710","1328606697"],"photo_ids_order":["1328606686","1328606697","1328606706","1328606710"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a658ff8382eaed652e7c360c5f2219aa.jpg","text":"TemporaryFile(/tmp/multipartBody9153742864010259355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757013339,"filename":"image_13012025_09_28_02_589707_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/464b4570a940542e624a62493f8bf992.jpg","text":"TemporaryFile(/tmp/multipartBody2070225651197030008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757013339,"filename":"image_13012025_09_27_03_085283_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/97a41b0b5921cb1d8a0acecd8e9e07b6.jpg","text":"TemporaryFile(/tmp/multipartBody847843421149620999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757013339,"filename":"image_13012025_09_28_02_589707_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f60685d0deea52e0fe788606bc53dbbf.jpg","text":"TemporaryFile(/tmp/multipartBody5530559467224279984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757013339,"filename":"image_13012025_09_28_02_589707_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328606706","file1":"1328606697","file0":"1328606686","file3":"1328606710"},"map_files_photo_id_array":[{"photo_id":"1328606706","filename":"file2"},{"photo_id":"1328606697","filename":"file1"},{"photo_id":"1328606686","filename":"file0"},{"photo_id":"1328606710","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328606706":["hashtag1","hashtag2"]},{"1328606686":["hashtag1","hashtag2"]},{"1328606710":["hashtag1","hashtag2"]},{"1328606697":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328606706, 1328606686, 1328606710, 1328606697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.92348790168762 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:30:02.819441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/28/image_13012025_09_28_02_589707_0003.jpg', '/home/pi/Desktop/images/13012025/09/29/image_13012025_09_29_02_289549_0000.jpg', '/home/pi/Desktop/images/13012025/09/29/image_13012025_09_29_02_289549_0001.jpg', '/home/pi/Desktop/images/13012025/09/29/image_13012025_09_29_02_289549_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/28/image_13012025_09_28_02_589707_0003.jpg
/home/pi/Desktop/images/13012025/09/29/image_13012025_09_29_02_289549_0000.jpg
/home/pi/Desktop/images/13012025/09/29/image_13012025_09_29_02_289549_0001.jpg
/home/pi/Desktop/images/13012025/09/29/image_13012025_09_29_02_289549_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.850025415420532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 09:30:22.355953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/28/image_13012025_09_28_02_589707_0003.jpg', '/home/pi/Desktop/images/13012025/09/29/image_13012025_09_29_02_289549_0000.jpg', '/home/pi/Desktop/images/13012025/09/29/image_13012025_09_29_02_289549_0001.jpg', '/home/pi/Desktop/images/13012025/09/29/image_13012025_09_29_02_289549_0002.jpg', '/home/pi/Desktop/images/13012025/09/29/image_13012025_09_29_02_289549_0003.jpg', '/home/pi/Desktop/images/13012025/09/30/image_13012025_09_30_02_858684_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/28/image_13012025_09_28_02_589707_0003.jpg
/home/pi/Desktop/images/13012025/09/29/image_13012025_09_29_02_289549_0000.jpg
/home/pi/Desktop/images/13012025/09/29/image_13012025_09_29_02_289549_0001.jpg
/home/pi/Desktop/images/13012025/09/29/image_13012025_09_29_02_289549_0002.jpg
/home/pi/Desktop/images/13012025/09/29/image_13012025_09_29_02_289549_0003.jpg
/home/pi/Desktop/images/13012025/09/30/image_13012025_09_30_02_858684_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328606838","1328606829","1328606820","1328606843","1328606834","1328606824"],"photo_ids_order":["1328606820","1328606824","1328606829","1328606834","1328606838","1328606843"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0410944dc0e68f05bf7433c09cf69ab6.jpg","text":"TemporaryFile(/tmp/multipartBody2899829385678420686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757097310,"filename":"image_13012025_09_29_02_289549_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/46a083983240f526efbe474d03f84231.jpg","text":"TemporaryFile(/tmp/multipartBody6205293327791035125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757097310,"filename":"image_13012025_09_29_02_289549_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f7f60d3419e6a3af19c88ae111f89274.jpg","text":"TemporaryFile(/tmp/multipartBody6894808184828334830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757097310,"filename":"image_13012025_09_28_02_589707_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cf115f3dff03de44738e060d9d09a2ea.jpg","text":"TemporaryFile(/tmp/multipartBody4944188314144293879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757097310,"filename":"image_13012025_09_30_02_858684_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d5cd6ef5157247e4f7c18b512ccf7324.jpg","text":"TemporaryFile(/tmp/multipartBody5218754348350262699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757097310,"filename":"image_13012025_09_29_02_289549_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f0dba0961959456ca75ad17ae506ae25.jpg","text":"TemporaryFile(/tmp/multipartBody7174334334587239255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757097310,"filename":"image_13012025_09_29_02_289549_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328606829","file1":"1328606824","file0":"1328606820","file4":"1328606838","file5":"1328606843","file3":"1328606834"},"map_files_photo_id_array":[{"photo_id":"1328606843","filename":"file5"},{"photo_id":"1328606829","filename":"file2"},{"photo_id":"1328606838","filename":"file4"},{"photo_id":"1328606824","filename":"file1"},{"photo_id":"1328606820","filename":"file0"},{"photo_id":"1328606834","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328606838":["hashtag1","hashtag2"]},{"1328606829":["hashtag1","hashtag2"]},{"1328606820":["hashtag1","hashtag2"]},{"1328606843":["hashtag1","hashtag2"]},{"1328606834":["hashtag1","hashtag2"]},{"1328606824":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328606838, 1328606829, 1328606820, 1328606843, 1328606834, 1328606824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.780251026153564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 09:31:21.872174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/30/image_13012025_09_30_02_858684_0001.jpg', '/home/pi/Desktop/images/13012025/09/30/image_13012025_09_30_02_858684_0002.jpg', '/home/pi/Desktop/images/13012025/09/30/image_13012025_09_30_02_858684_0003.jpg', '/home/pi/Desktop/images/13012025/09/31/image_13012025_09_31_02_695562_0000.jpg', '/home/pi/Desktop/images/13012025/09/31/image_13012025_09_31_02_695562_0001.jpg', '/home/pi/Desktop/images/13012025/09/31/image_13012025_09_31_02_695562_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/30/image_13012025_09_30_02_858684_0001.jpg
/home/pi/Desktop/images/13012025/09/30/image_13012025_09_30_02_858684_0002.jpg
/home/pi/Desktop/images/13012025/09/30/image_13012025_09_30_02_858684_0003.jpg
/home/pi/Desktop/images/13012025/09/31/image_13012025_09_31_02_695562_0000.jpg
/home/pi/Desktop/images/13012025/09/31/image_13012025_09_31_02_695562_0001.jpg
/home/pi/Desktop/images/13012025/09/31/image_13012025_09_31_02_695562_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328606883","1328606885","1328606896","1328606902","1328606892","1328606889"],"photo_ids_order":["1328606883","1328606885","1328606889","1328606892","1328606896","1328606902"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8d8407abfc2ff0b7e8fa6699fc158b78.jpg","text":"TemporaryFile(/tmp/multipartBody6058207227433319646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757156836,"filename":"image_13012025_09_30_02_858684_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3d22f7f399050438d2af30a6effc13f3.jpg","text":"TemporaryFile(/tmp/multipartBody772081149250985895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757156836,"filename":"image_13012025_09_30_02_858684_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c9d59b48b0eb01d5f9e8c98aa9e56922.jpg","text":"TemporaryFile(/tmp/multipartBody3122449315485478785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757156836,"filename":"image_13012025_09_31_02_695562_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/022092ba14464b8fa6c61fcf84a56174.jpg","text":"TemporaryFile(/tmp/multipartBody7515616866088325494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757156836,"filename":"image_13012025_09_31_02_695562_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dbb7e164272abd6c8e85d83fe2ecfa37.jpg","text":"TemporaryFile(/tmp/multipartBody3541960587432916437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757156836,"filename":"image_13012025_09_31_02_695562_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f5332def53589369b9c1fdab27d0f26f.jpg","text":"TemporaryFile(/tmp/multipartBody8439457724471910034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757156836,"filename":"image_13012025_09_30_02_858684_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328606889","file1":"1328606885","file0":"1328606883","file4":"1328606896","file5":"1328606902","file3":"1328606892"},"map_files_photo_id_array":[{"photo_id":"1328606902","filename":"file5"},{"photo_id":"1328606889","filename":"file2"},{"photo_id":"1328606896","filename":"file4"},{"photo_id":"1328606885","filename":"file1"},{"photo_id":"1328606883","filename":"file0"},{"photo_id":"1328606892","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328606883":["hashtag1","hashtag2"]},{"1328606885":["hashtag1","hashtag2"]},{"1328606896":["hashtag1","hashtag2"]},{"1328606902":["hashtag1","hashtag2"]},{"1328606892":["hashtag1","hashtag2"]},{"1328606889":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328606883, 1328606885, 1328606896, 1328606902, 1328606892, 1328606889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.1577513217926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 09:32:22.426336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/31/image_13012025_09_31_02_695562_0003.jpg', '/home/pi/Desktop/images/13012025/09/32/image_13012025_09_32_02_289129_0000.jpg', '/home/pi/Desktop/images/13012025/09/32/image_13012025_09_32_02_289129_0001.jpg', '/home/pi/Desktop/images/13012025/09/32/image_13012025_09_32_02_289129_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/31/image_13012025_09_31_02_695562_0003.jpg
/home/pi/Desktop/images/13012025/09/32/image_13012025_09_32_02_289129_0000.jpg
/home/pi/Desktop/images/13012025/09/32/image_13012025_09_32_02_289129_0001.jpg
/home/pi/Desktop/images/13012025/09/32/image_13012025_09_32_02_289129_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328607473","1328607458","1328607547","1328607585"],"photo_ids_order":["1328607458","1328607473","1328607547","1328607585"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/84a2b0015ac1e0f7db110a48916b1084.jpg","text":"TemporaryFile(/tmp/multipartBody1876073098445641862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757212752,"filename":"image_13012025_09_32_02_289129_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/728b6984576a10142477705e1aae1e67.jpg","text":"TemporaryFile(/tmp/multipartBody5191453954698485454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757212752,"filename":"image_13012025_09_31_02_695562_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/418360c811abdd114490bfce720b52a9.jpg","text":"TemporaryFile(/tmp/multipartBody6367442000436143472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757212752,"filename":"image_13012025_09_32_02_289129_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/34c2cf812f18fae67712620a257cc6cb.jpg","text":"TemporaryFile(/tmp/multipartBody7780474833744216190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757212752,"filename":"image_13012025_09_32_02_289129_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328607547","file1":"1328607473","file0":"1328607458","file3":"1328607585"},"map_files_photo_id_array":[{"photo_id":"1328607547","filename":"file2"},{"photo_id":"1328607473","filename":"file1"},{"photo_id":"1328607458","filename":"file0"},{"photo_id":"1328607585","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328607473":["hashtag1","hashtag2"]},{"1328607458":["hashtag1","hashtag2"]},{"1328607547":["hashtag1","hashtag2"]},{"1328607585":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328607473, 1328607458, 1328607547, 1328607585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.53723692893982 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 09:33:21.944202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/32/image_13012025_09_32_02_289129_0003.jpg', '/home/pi/Desktop/images/13012025/09/33/image_13012025_09_33_02_773009_0000.jpg', '/home/pi/Desktop/images/13012025/09/33/image_13012025_09_33_02_773009_0001.jpg', '/home/pi/Desktop/images/13012025/09/33/image_13012025_09_33_02_773009_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/32/image_13012025_09_32_02_289129_0003.jpg
/home/pi/Desktop/images/13012025/09/33/image_13012025_09_33_02_773009_0000.jpg
/home/pi/Desktop/images/13012025/09/33/image_13012025_09_33_02_773009_0001.jpg
/home/pi/Desktop/images/13012025/09/33/image_13012025_09_33_02_773009_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328607609","1328607605","1328607613","1328607607"],"photo_ids_order":["1328607605","1328607607","1328607609","1328607613"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f85a9e8973348b5f08710f1c288b3611.jpg","text":"TemporaryFile(/tmp/multipartBody2746300305647760110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757272166,"filename":"image_13012025_09_33_02_773009_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/906235a06a8f48695f04a4c9f7c4dde5.jpg","text":"TemporaryFile(/tmp/multipartBody7072891936790166593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757272166,"filename":"image_13012025_09_32_02_289129_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/be5ddca13ba5109b4d00c3bbe74020c1.jpg","text":"TemporaryFile(/tmp/multipartBody1032729729662725095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757272166,"filename":"image_13012025_09_33_02_773009_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/65f5da217cbcc6ca2ceef32664b2c9e5.jpg","text":"TemporaryFile(/tmp/multipartBody2891953292680251807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757272166,"filename":"image_13012025_09_33_02_773009_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328607609","file1":"1328607607","file0":"1328607605","file3":"1328607613"},"map_files_photo_id_array":[{"photo_id":"1328607609","filename":"file2"},{"photo_id":"1328607607","filename":"file1"},{"photo_id":"1328607605","filename":"file0"},{"photo_id":"1328607613","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328607609":["hashtag1","hashtag2"]},{"1328607605":["hashtag1","hashtag2"]},{"1328607613":["hashtag1","hashtag2"]},{"1328607607":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328607609, 1328607605, 1328607613, 1328607607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.334232568740845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:34:02.819353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 09:34:22.442771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/33/image_13012025_09_33_02_773009_0003.jpg', '/home/pi/Desktop/images/13012025/09/34/image_13012025_09_34_02_346728_0000.jpg', '/home/pi/Desktop/images/13012025/09/34/image_13012025_09_34_02_346728_0001.jpg', '/home/pi/Desktop/images/13012025/09/34/image_13012025_09_34_02_346728_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/33/image_13012025_09_33_02_773009_0003.jpg
/home/pi/Desktop/images/13012025/09/34/image_13012025_09_34_02_346728_0000.jpg
/home/pi/Desktop/images/13012025/09/34/image_13012025_09_34_02_346728_0001.jpg
/home/pi/Desktop/images/13012025/09/34/image_13012025_09_34_02_346728_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328607676","1328607679","1328607673","1328607669"],"photo_ids_order":["1328607669","1328607673","1328607676","1328607679"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/12013492e21195993311ee3375cd8236.jpg","text":"TemporaryFile(/tmp/multipartBody8708490734123649141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757332748,"filename":"image_13012025_09_34_02_346728_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f7b22173fc55d79ad80576fe1e878eff.jpg","text":"TemporaryFile(/tmp/multipartBody4082989187432226241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757332748,"filename":"image_13012025_09_34_02_346728_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/15f35137a2225917cd754e6d2a878260.jpg","text":"TemporaryFile(/tmp/multipartBody5616974620326471301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757332748,"filename":"image_13012025_09_34_02_346728_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2caee907182ca9bc4e40ea5a1ff3a00b.jpg","text":"TemporaryFile(/tmp/multipartBody4328620463571922329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757332748,"filename":"image_13012025_09_33_02_773009_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328607676","file1":"1328607673","file0":"1328607669","file3":"1328607679"},"map_files_photo_id_array":[{"photo_id":"1328607676","filename":"file2"},{"photo_id":"1328607673","filename":"file1"},{"photo_id":"1328607669","filename":"file0"},{"photo_id":"1328607679","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328607676":["hashtag1","hashtag2"]},{"1328607679":["hashtag1","hashtag2"]},{"1328607673":["hashtag1","hashtag2"]},{"1328607669":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328607676, 1328607679, 1328607673, 1328607669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.33234667778015 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 09:35:21.904375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/34/image_13012025_09_34_02_346728_0003.jpg', '/home/pi/Desktop/images/13012025/09/35/image_13012025_09_35_02_789079_0000.jpg', '/home/pi/Desktop/images/13012025/09/35/image_13012025_09_35_02_789079_0001.jpg', '/home/pi/Desktop/images/13012025/09/35/image_13012025_09_35_02_789079_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/34/image_13012025_09_34_02_346728_0003.jpg
/home/pi/Desktop/images/13012025/09/35/image_13012025_09_35_02_789079_0000.jpg
/home/pi/Desktop/images/13012025/09/35/image_13012025_09_35_02_789079_0001.jpg
/home/pi/Desktop/images/13012025/09/35/image_13012025_09_35_02_789079_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328607702","1328607704","1328607706","1328607699"],"photo_ids_order":["1328607699","1328607702","1328607704","1328607706"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/581f07b88f43a86c4f9d4180ccffb270.jpg","text":"TemporaryFile(/tmp/multipartBody4584782470158059535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757392146,"filename":"image_13012025_09_35_02_789079_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5583448379c1d8f6a3672092d10b183a.jpg","text":"TemporaryFile(/tmp/multipartBody1308072035937586358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757392146,"filename":"image_13012025_09_35_02_789079_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4740eaeb9500d22fa1d5c8762908e8ab.jpg","text":"TemporaryFile(/tmp/multipartBody2241135553904719631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757392146,"filename":"image_13012025_09_35_02_789079_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4f0517cc573bfa6e9224e277e1f79b97.jpg","text":"TemporaryFile(/tmp/multipartBody7018460065785217457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757392146,"filename":"image_13012025_09_34_02_346728_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328607704","file1":"1328607702","file0":"1328607699","file3":"1328607706"},"map_files_photo_id_array":[{"photo_id":"1328607704","filename":"file2"},{"photo_id":"1328607702","filename":"file1"},{"photo_id":"1328607699","filename":"file0"},{"photo_id":"1328607706","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328607702":["hashtag1","hashtag2"]},{"1328607704":["hashtag1","hashtag2"]},{"1328607706":["hashtag1","hashtag2"]},{"1328607699":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328607702, 1328607704, 1328607706, 1328607699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.71437931060791 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:36:02.846412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 09:36:22.475560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/35/image_13012025_09_35_02_789079_0003.jpg', '/home/pi/Desktop/images/13012025/09/36/image_13012025_09_36_02_310413_0000.jpg', '/home/pi/Desktop/images/13012025/09/36/image_13012025_09_36_02_310413_0001.jpg', '/home/pi/Desktop/images/13012025/09/36/image_13012025_09_36_02_310413_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/35/image_13012025_09_35_02_789079_0003.jpg
/home/pi/Desktop/images/13012025/09/36/image_13012025_09_36_02_310413_0000.jpg
/home/pi/Desktop/images/13012025/09/36/image_13012025_09_36_02_310413_0001.jpg
/home/pi/Desktop/images/13012025/09/36/image_13012025_09_36_02_310413_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328607728","1328607733","1328607736","1328607723"],"photo_ids_order":["1328607723","1328607728","1328607733","1328607736"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7979a0ab7e00c8692ed10fa20a89a261.jpg","text":"TemporaryFile(/tmp/multipartBody4585568866316261754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757452692,"filename":"image_13012025_09_36_02_310413_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/474e50c671eadd22ed35c55e490b1a90.jpg","text":"TemporaryFile(/tmp/multipartBody5789217294090701309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757452692,"filename":"image_13012025_09_36_02_310413_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/74838a972134e1523aa794e3d8a0a274.jpg","text":"TemporaryFile(/tmp/multipartBody2241586473763922818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757452692,"filename":"image_13012025_09_36_02_310413_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/544ce94f83153ed26d2aa2d08b10b1c6.jpg","text":"TemporaryFile(/tmp/multipartBody680318602166736090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757452692,"filename":"image_13012025_09_35_02_789079_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328607733","file1":"1328607728","file0":"1328607723","file3":"1328607736"},"map_files_photo_id_array":[{"photo_id":"1328607733","filename":"file2"},{"photo_id":"1328607728","filename":"file1"},{"photo_id":"1328607723","filename":"file0"},{"photo_id":"1328607736","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328607728":["hashtag1","hashtag2"]},{"1328607733":["hashtag1","hashtag2"]},{"1328607736":["hashtag1","hashtag2"]},{"1328607723":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328607728, 1328607733, 1328607736, 1328607723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.68978834152222 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 09:37:21.946217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/36/image_13012025_09_36_02_310413_0003.jpg', '/home/pi/Desktop/images/13012025/09/37/image_13012025_09_37_02_805368_0000.jpg', '/home/pi/Desktop/images/13012025/09/37/image_13012025_09_37_02_805368_0001.jpg', '/home/pi/Desktop/images/13012025/09/37/image_13012025_09_37_02_805368_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/36/image_13012025_09_36_02_310413_0003.jpg
/home/pi/Desktop/images/13012025/09/37/image_13012025_09_37_02_805368_0000.jpg
/home/pi/Desktop/images/13012025/09/37/image_13012025_09_37_02_805368_0001.jpg
/home/pi/Desktop/images/13012025/09/37/image_13012025_09_37_02_805368_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328607825","1328607782","1328607786","1328607777"],"photo_ids_order":["1328607777","1328607782","1328607786","1328607825"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4d0cd2ee3691fdcf79cfe08ab3b70e9c.jpg","text":"TemporaryFile(/tmp/multipartBody1240427069586342335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757512282,"filename":"image_13012025_09_37_02_805368_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/caba3e966db12282568a81773735e2dd.jpg","text":"TemporaryFile(/tmp/multipartBody1671556300101070690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757512282,"filename":"image_13012025_09_37_02_805368_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e6609c430b73b2982c1b71f0514afeed.jpg","text":"TemporaryFile(/tmp/multipartBody3066900385838246429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757512282,"filename":"image_13012025_09_37_02_805368_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d8e1f08a696d03681a3aa0fac0b24df3.jpg","text":"TemporaryFile(/tmp/multipartBody6159683893851276212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757512282,"filename":"image_13012025_09_36_02_310413_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328607786","file1":"1328607782","file0":"1328607777","file3":"1328607825"},"map_files_photo_id_array":[{"photo_id":"1328607786","filename":"file2"},{"photo_id":"1328607782","filename":"file1"},{"photo_id":"1328607777","filename":"file0"},{"photo_id":"1328607825","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328607825":["hashtag1","hashtag2"]},{"1328607782":["hashtag1","hashtag2"]},{"1328607786":["hashtag1","hashtag2"]},{"1328607777":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328607825, 1328607782, 1328607786, 1328607777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.24361753463745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:38:02.858664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 09:38:22.424220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/37/image_13012025_09_37_02_805368_0003.jpg', '/home/pi/Desktop/images/13012025/09/38/image_13012025_09_38_02_330617_0000.jpg', '/home/pi/Desktop/images/13012025/09/38/image_13012025_09_38_02_330617_0001.jpg', '/home/pi/Desktop/images/13012025/09/38/image_13012025_09_38_02_330617_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/37/image_13012025_09_37_02_805368_0003.jpg
/home/pi/Desktop/images/13012025/09/38/image_13012025_09_38_02_330617_0000.jpg
/home/pi/Desktop/images/13012025/09/38/image_13012025_09_38_02_330617_0001.jpg
/home/pi/Desktop/images/13012025/09/38/image_13012025_09_38_02_330617_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328607878","1328607863","1328607872","1328607867"],"photo_ids_order":["1328607863","1328607867","1328607872","1328607878"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/99ea158e54911feb379519ad7c32e351.jpg","text":"TemporaryFile(/tmp/multipartBody2586654322305588370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757572658,"filename":"image_13012025_09_38_02_330617_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e94c83c670402c56f2b85e04ce37691c.jpg","text":"TemporaryFile(/tmp/multipartBody4981029443298090400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757572658,"filename":"image_13012025_09_37_02_805368_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c10d3f684ac0085bab453142a7449f05.jpg","text":"TemporaryFile(/tmp/multipartBody6048194834953427386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757572658,"filename":"image_13012025_09_38_02_330617_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/038048be78ef192246461f9d734e439d.jpg","text":"TemporaryFile(/tmp/multipartBody2240371259708366781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757572658,"filename":"image_13012025_09_38_02_330617_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328607872","file1":"1328607867","file0":"1328607863","file3":"1328607878"},"map_files_photo_id_array":[{"photo_id":"1328607872","filename":"file2"},{"photo_id":"1328607867","filename":"file1"},{"photo_id":"1328607863","filename":"file0"},{"photo_id":"1328607878","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328607878":["hashtag1","hashtag2"]},{"1328607863":["hashtag1","hashtag2"]},{"1328607872":["hashtag1","hashtag2"]},{"1328607867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328607878, 1328607863, 1328607872, 1328607867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.39463567733765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:39:02.611206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 09:39:21.988743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/38/image_13012025_09_38_02_330617_0003.jpg', '/home/pi/Desktop/images/13012025/09/39/image_13012025_09_39_02_830095_0000.jpg', '/home/pi/Desktop/images/13012025/09/39/image_13012025_09_39_02_830095_0001.jpg', '/home/pi/Desktop/images/13012025/09/39/image_13012025_09_39_02_830095_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/38/image_13012025_09_38_02_330617_0003.jpg
/home/pi/Desktop/images/13012025/09/39/image_13012025_09_39_02_830095_0000.jpg
/home/pi/Desktop/images/13012025/09/39/image_13012025_09_39_02_830095_0001.jpg
/home/pi/Desktop/images/13012025/09/39/image_13012025_09_39_02_830095_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.872040271759033 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:40:03.264212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/38/image_13012025_09_38_02_330617_0003.jpg', '/home/pi/Desktop/images/13012025/09/39/image_13012025_09_39_02_830095_0000.jpg', '/home/pi/Desktop/images/13012025/09/39/image_13012025_09_39_02_830095_0001.jpg', '/home/pi/Desktop/images/13012025/09/39/image_13012025_09_39_02_830095_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/38/image_13012025_09_38_02_330617_0003.jpg
/home/pi/Desktop/images/13012025/09/39/image_13012025_09_39_02_830095_0000.jpg
/home/pi/Desktop/images/13012025/09/39/image_13012025_09_39_02_830095_0001.jpg
/home/pi/Desktop/images/13012025/09/39/image_13012025_09_39_02_830095_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328608151","1328608138","1328608134","1328608143"],"photo_ids_order":["1328608134","1328608138","1328608143","1328608151"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c818f5c50a3bb74131ff2b3b01e5da5b.jpg","text":"TemporaryFile(/tmp/multipartBody8697839216044687750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757673522,"filename":"image_13012025_09_39_02_830095_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9585ef4572366fcd4f04c9a4b408fb71.jpg","text":"TemporaryFile(/tmp/multipartBody1750430374009047354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757673522,"filename":"image_13012025_09_39_02_830095_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b3da8972a06748c2d388ae0c911b9f64.jpg","text":"TemporaryFile(/tmp/multipartBody8676819395594139475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757673522,"filename":"image_13012025_09_38_02_330617_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/708efe6072eb411760a81ff20b007f46.jpg","text":"TemporaryFile(/tmp/multipartBody9060835589673780822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757673522,"filename":"image_13012025_09_39_02_830095_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328608143","file1":"1328608138","file0":"1328608134","file3":"1328608151"},"map_files_photo_id_array":[{"photo_id":"1328608143","filename":"file2"},{"photo_id":"1328608138","filename":"file1"},{"photo_id":"1328608134","filename":"file0"},{"photo_id":"1328608151","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328608151":["hashtag1","hashtag2"]},{"1328608138":["hashtag1","hashtag2"]},{"1328608134":["hashtag1","hashtag2"]},{"1328608143":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328608151, 1328608138, 1328608134, 1328608143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.3145956993103 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:41:02.840909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/39/image_13012025_09_39_02_830095_0003.jpg', '/home/pi/Desktop/images/13012025/09/40/image_13012025_09_40_02_396631_0000.jpg', '/home/pi/Desktop/images/13012025/09/40/image_13012025_09_40_02_396631_0001.jpg', '/home/pi/Desktop/images/13012025/09/40/image_13012025_09_40_02_396631_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/39/image_13012025_09_39_02_830095_0003.jpg
/home/pi/Desktop/images/13012025/09/40/image_13012025_09_40_02_396631_0000.jpg
/home/pi/Desktop/images/13012025/09/40/image_13012025_09_40_02_396631_0001.jpg
/home/pi/Desktop/images/13012025/09/40/image_13012025_09_40_02_396631_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328608178","1328608168","1328608183","1328608173"],"photo_ids_order":["1328608168","1328608173","1328608178","1328608183"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2a1dbaff5904eea2b421454666ffc7a5.jpg","text":"TemporaryFile(/tmp/multipartBody8145580368736014086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757733128,"filename":"image_13012025_09_40_02_396631_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3ac15cd12cdef50889928c2baa3c98a1.jpg","text":"TemporaryFile(/tmp/multipartBody6156609352843717939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757733128,"filename":"image_13012025_09_39_02_830095_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/85c911b11d6243185db0fe5c3cfe7dcd.jpg","text":"TemporaryFile(/tmp/multipartBody2706341212772034417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757733128,"filename":"image_13012025_09_40_02_396631_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/afb117681147dbf58b40d72318d4d52c.jpg","text":"TemporaryFile(/tmp/multipartBody5484455880239681329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757733128,"filename":"image_13012025_09_40_02_396631_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328608178","file1":"1328608173","file0":"1328608168","file3":"1328608183"},"map_files_photo_id_array":[{"photo_id":"1328608178","filename":"file2"},{"photo_id":"1328608173","filename":"file1"},{"photo_id":"1328608168","filename":"file0"},{"photo_id":"1328608183","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328608178":["hashtag1","hashtag2"]},{"1328608168":["hashtag1","hashtag2"]},{"1328608183":["hashtag1","hashtag2"]},{"1328608173":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328608178, 1328608168, 1328608183, 1328608173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.84058380126953 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:42:02.413324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/40/image_13012025_09_40_02_396631_0003.jpg', '/home/pi/Desktop/images/13012025/09/41/image_13012025_09_41_03_083092_0000.jpg', '/home/pi/Desktop/images/13012025/09/41/image_13012025_09_41_03_083092_0001.jpg', '/home/pi/Desktop/images/13012025/09/41/image_13012025_09_41_03_083092_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/40/image_13012025_09_40_02_396631_0003.jpg
/home/pi/Desktop/images/13012025/09/41/image_13012025_09_41_03_083092_0000.jpg
/home/pi/Desktop/images/13012025/09/41/image_13012025_09_41_03_083092_0001.jpg
/home/pi/Desktop/images/13012025/09/41/image_13012025_09_41_03_083092_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.795762300491333 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 09:42:21.941359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/40/image_13012025_09_40_02_396631_0003.jpg', '/home/pi/Desktop/images/13012025/09/41/image_13012025_09_41_03_083092_0000.jpg', '/home/pi/Desktop/images/13012025/09/41/image_13012025_09_41_03_083092_0001.jpg', '/home/pi/Desktop/images/13012025/09/41/image_13012025_09_41_03_083092_0002.jpg', '/home/pi/Desktop/images/13012025/09/41/image_13012025_09_41_03_083092_0003.jpg', '/home/pi/Desktop/images/13012025/09/42/image_13012025_09_42_02_620224_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/40/image_13012025_09_40_02_396631_0003.jpg
/home/pi/Desktop/images/13012025/09/41/image_13012025_09_41_03_083092_0000.jpg
/home/pi/Desktop/images/13012025/09/41/image_13012025_09_41_03_083092_0001.jpg
/home/pi/Desktop/images/13012025/09/41/image_13012025_09_41_03_083092_0002.jpg
/home/pi/Desktop/images/13012025/09/41/image_13012025_09_41_03_083092_0003.jpg
/home/pi/Desktop/images/13012025/09/42/image_13012025_09_42_02_620224_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328608280","1328608277","1328608262","1328608237","1328608230","1328608233"],"photo_ids_order":["1328608230","1328608233","1328608237","1328608262","1328608277","1328608280"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8544933910194618c79e1d4a4dcb5dad.jpg","text":"TemporaryFile(/tmp/multipartBody6561941739581352668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757817000,"filename":"image_13012025_09_42_02_620224_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/76e2b71f1a6e0bc8ef787a697bd975f2.jpg","text":"TemporaryFile(/tmp/multipartBody3830157589381400291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757817000,"filename":"image_13012025_09_41_03_083092_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a1068877a130aec69dc0f594488082df.jpg","text":"TemporaryFile(/tmp/multipartBody3561515367102413953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757817000,"filename":"image_13012025_09_41_03_083092_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bd0ed07385ccd82a9032bed990490bad.jpg","text":"TemporaryFile(/tmp/multipartBody9078453092973452326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757817000,"filename":"image_13012025_09_41_03_083092_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3dfa6dbef8e8b721881d13a081286487.jpg","text":"TemporaryFile(/tmp/multipartBody2760686459008531052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757817000,"filename":"image_13012025_09_40_02_396631_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c9ef3504ac18e8aade33e77fc0b628cb.jpg","text":"TemporaryFile(/tmp/multipartBody8268170283360862924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757817000,"filename":"image_13012025_09_41_03_083092_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328608237","file1":"1328608233","file0":"1328608230","file4":"1328608277","file5":"1328608280","file3":"1328608262"},"map_files_photo_id_array":[{"photo_id":"1328608280","filename":"file5"},{"photo_id":"1328608237","filename":"file2"},{"photo_id":"1328608277","filename":"file4"},{"photo_id":"1328608233","filename":"file1"},{"photo_id":"1328608230","filename":"file0"},{"photo_id":"1328608262","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328608280":["hashtag1","hashtag2"]},{"1328608277":["hashtag1","hashtag2"]},{"1328608262":["hashtag1","hashtag2"]},{"1328608237":["hashtag1","hashtag2"]},{"1328608230":["hashtag1","hashtag2"]},{"1328608233":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328608280, 1328608277, 1328608262, 1328608237, 1328608230, 1328608233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.601317405700684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 09:43:22.437371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/42/image_13012025_09_42_02_620224_0001.jpg', '/home/pi/Desktop/images/13012025/09/42/image_13012025_09_42_02_620224_0002.jpg', '/home/pi/Desktop/images/13012025/09/42/image_13012025_09_42_02_620224_0003.jpg', '/home/pi/Desktop/images/13012025/09/43/image_13012025_09_43_02_306850_0000.jpg', '/home/pi/Desktop/images/13012025/09/43/image_13012025_09_43_02_306850_0001.jpg', '/home/pi/Desktop/images/13012025/09/43/image_13012025_09_43_02_306850_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/42/image_13012025_09_42_02_620224_0001.jpg
/home/pi/Desktop/images/13012025/09/42/image_13012025_09_42_02_620224_0002.jpg
/home/pi/Desktop/images/13012025/09/42/image_13012025_09_42_02_620224_0003.jpg
/home/pi/Desktop/images/13012025/09/43/image_13012025_09_43_02_306850_0000.jpg
/home/pi/Desktop/images/13012025/09/43/image_13012025_09_43_02_306850_0001.jpg
/home/pi/Desktop/images/13012025/09/43/image_13012025_09_43_02_306850_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328608307","1328608316","1328608296","1328608300","1328608311","1328608320"],"photo_ids_order":["1328608296","1328608300","1328608307","1328608311","1328608316","1328608320"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/654f29431ff5a29d0225b76e31c2e14a.jpg","text":"TemporaryFile(/tmp/multipartBody3100500328050507912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757877498,"filename":"image_13012025_09_42_02_620224_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ba38983a3a7131396bb1010495e57188.jpg","text":"TemporaryFile(/tmp/multipartBody5321998460803415151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757877498,"filename":"image_13012025_09_43_02_306850_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bc96f54c79536b6ae07aa324f82781ee.jpg","text":"TemporaryFile(/tmp/multipartBody5330392014326583684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757877498,"filename":"image_13012025_09_42_02_620224_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e67559d4800626dc8a37f6e97b70592d.jpg","text":"TemporaryFile(/tmp/multipartBody3296146539700771917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757877498,"filename":"image_13012025_09_42_02_620224_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7ec93b57a22fd805ebb75ed89f0a5f55.jpg","text":"TemporaryFile(/tmp/multipartBody268252435870044713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757877498,"filename":"image_13012025_09_43_02_306850_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7b77116a38318f35def4791c37238775.jpg","text":"TemporaryFile(/tmp/multipartBody1995265282339857199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757877498,"filename":"image_13012025_09_43_02_306850_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328608307","file1":"1328608300","file0":"1328608296","file4":"1328608316","file5":"1328608320","file3":"1328608311"},"map_files_photo_id_array":[{"photo_id":"1328608320","filename":"file5"},{"photo_id":"1328608307","filename":"file2"},{"photo_id":"1328608316","filename":"file4"},{"photo_id":"1328608300","filename":"file1"},{"photo_id":"1328608296","filename":"file0"},{"photo_id":"1328608311","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328608307":["hashtag1","hashtag2"]},{"1328608316":["hashtag1","hashtag2"]},{"1328608296":["hashtag1","hashtag2"]},{"1328608300":["hashtag1","hashtag2"]},{"1328608311":["hashtag1","hashtag2"]},{"1328608320":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328608307, 1328608316, 1328608296, 1328608300, 1328608311, 1328608320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.76365876197815 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 09:44:21.999816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/43/image_13012025_09_43_02_306850_0003.jpg', '/home/pi/Desktop/images/13012025/09/44/image_13012025_09_44_02_832610_0000.jpg', '/home/pi/Desktop/images/13012025/09/44/image_13012025_09_44_02_832610_0001.jpg', '/home/pi/Desktop/images/13012025/09/44/image_13012025_09_44_02_832610_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/43/image_13012025_09_43_02_306850_0003.jpg
/home/pi/Desktop/images/13012025/09/44/image_13012025_09_44_02_832610_0000.jpg
/home/pi/Desktop/images/13012025/09/44/image_13012025_09_44_02_832610_0001.jpg
/home/pi/Desktop/images/13012025/09/44/image_13012025_09_44_02_832610_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328608523","1328608345","1328608338","1328608515"],"photo_ids_order":["1328608338","1328608345","1328608515","1328608523"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d542c4b819fb6722bc75021918dd8457.jpg","text":"TemporaryFile(/tmp/multipartBody8044538562334563316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757932137,"filename":"image_13012025_09_44_02_832610_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c0ad690db11f98ebbabe72c4eaf69523.jpg","text":"TemporaryFile(/tmp/multipartBody4978152393362108835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757932137,"filename":"image_13012025_09_44_02_832610_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/05723da15054f5659bd70784796b7948.jpg","text":"TemporaryFile(/tmp/multipartBody3830577577391373782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757932137,"filename":"image_13012025_09_43_02_306850_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/67269e5e668af802f1d363d14ffa83a2.jpg","text":"TemporaryFile(/tmp/multipartBody7070052574649879071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757932137,"filename":"image_13012025_09_44_02_832610_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328608515","file1":"1328608345","file0":"1328608338","file3":"1328608523"},"map_files_photo_id_array":[{"photo_id":"1328608515","filename":"file2"},{"photo_id":"1328608345","filename":"file1"},{"photo_id":"1328608338","filename":"file0"},{"photo_id":"1328608523","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328608523":["hashtag1","hashtag2"]},{"1328608345":["hashtag1","hashtag2"]},{"1328608338":["hashtag1","hashtag2"]},{"1328608515":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328608523, 1328608345, 1328608338, 1328608515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.14744257926941 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:45:03.196943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 09:45:22.523675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/44/image_13012025_09_44_02_832610_0003.jpg', '/home/pi/Desktop/images/13012025/09/45/image_13012025_09_45_02_360521_0000.jpg', '/home/pi/Desktop/images/13012025/09/45/image_13012025_09_45_02_360521_0001.jpg', '/home/pi/Desktop/images/13012025/09/45/image_13012025_09_45_02_360521_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/44/image_13012025_09_44_02_832610_0003.jpg
/home/pi/Desktop/images/13012025/09/45/image_13012025_09_45_02_360521_0000.jpg
/home/pi/Desktop/images/13012025/09/45/image_13012025_09_45_02_360521_0001.jpg
/home/pi/Desktop/images/13012025/09/45/image_13012025_09_45_02_360521_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328608631","1328608648","1328608633","1328608636"],"photo_ids_order":["1328608631","1328608633","1328608636","1328608648"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/71bf8ca4285061df9ddec4fc44319fd9.jpg","text":"TemporaryFile(/tmp/multipartBody3220965624392423551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757992722,"filename":"image_13012025_09_44_02_832610_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d90cd453b05e1a0e3c28b0de988f5dd4.jpg","text":"TemporaryFile(/tmp/multipartBody2784633692839972763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757992722,"filename":"image_13012025_09_45_02_360521_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2bbe630b83e21652c1d0a2494928682c.jpg","text":"TemporaryFile(/tmp/multipartBody2551287831871151121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757992722,"filename":"image_13012025_09_45_02_360521_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/62dc943fe6b7a6eb7230aa132c43e284.jpg","text":"TemporaryFile(/tmp/multipartBody8910371844700440007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736757992722,"filename":"image_13012025_09_45_02_360521_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328608636","file1":"1328608633","file0":"1328608631","file3":"1328608648"},"map_files_photo_id_array":[{"photo_id":"1328608636","filename":"file2"},{"photo_id":"1328608633","filename":"file1"},{"photo_id":"1328608631","filename":"file0"},{"photo_id":"1328608648","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328608631":["hashtag1","hashtag2"]},{"1328608648":["hashtag1","hashtag2"]},{"1328608633":["hashtag1","hashtag2"]},{"1328608636":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328608631, 1328608648, 1328608633, 1328608636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.20197606086731 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:46:02.379847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 09:46:22.028930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/45/image_13012025_09_45_02_360521_0003.jpg', '/home/pi/Desktop/images/13012025/09/46/image_13012025_09_46_02_813067_0000.jpg', '/home/pi/Desktop/images/13012025/09/46/image_13012025_09_46_02_813067_0001.jpg', '/home/pi/Desktop/images/13012025/09/46/image_13012025_09_46_02_813067_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/45/image_13012025_09_45_02_360521_0003.jpg
/home/pi/Desktop/images/13012025/09/46/image_13012025_09_46_02_813067_0000.jpg
/home/pi/Desktop/images/13012025/09/46/image_13012025_09_46_02_813067_0001.jpg
/home/pi/Desktop/images/13012025/09/46/image_13012025_09_46_02_813067_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.81805157661438 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:47:03.117792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/45/image_13012025_09_45_02_360521_0003.jpg', '/home/pi/Desktop/images/13012025/09/46/image_13012025_09_46_02_813067_0000.jpg', '/home/pi/Desktop/images/13012025/09/46/image_13012025_09_46_02_813067_0001.jpg', '/home/pi/Desktop/images/13012025/09/46/image_13012025_09_46_02_813067_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/45/image_13012025_09_45_02_360521_0003.jpg
/home/pi/Desktop/images/13012025/09/46/image_13012025_09_46_02_813067_0000.jpg
/home/pi/Desktop/images/13012025/09/46/image_13012025_09_46_02_813067_0001.jpg
/home/pi/Desktop/images/13012025/09/46/image_13012025_09_46_02_813067_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328608742","1328608736","1328608746","1328608749"],"photo_ids_order":["1328608736","1328608742","1328608746","1328608749"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1831d2edfb0506a69a2321324fa62fc1.jpg","text":"TemporaryFile(/tmp/multipartBody6254610933318144095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758093418,"filename":"image_13012025_09_46_02_813067_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fc9a9c15bb417e158e332bdd655658bb.jpg","text":"TemporaryFile(/tmp/multipartBody596326181128404092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758093418,"filename":"image_13012025_09_45_02_360521_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/385650778158e6d4ae9603b593713670.jpg","text":"TemporaryFile(/tmp/multipartBody2208091097024219298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758093418,"filename":"image_13012025_09_46_02_813067_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/60f43c502c31d57825e66315fbeaf92c.jpg","text":"TemporaryFile(/tmp/multipartBody4680644085408876550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758093418,"filename":"image_13012025_09_46_02_813067_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328608746","file1":"1328608742","file0":"1328608736","file3":"1328608749"},"map_files_photo_id_array":[{"photo_id":"1328608746","filename":"file2"},{"photo_id":"1328608742","filename":"file1"},{"photo_id":"1328608736","filename":"file0"},{"photo_id":"1328608749","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328608742":["hashtag1","hashtag2"]},{"1328608736":["hashtag1","hashtag2"]},{"1328608746":["hashtag1","hashtag2"]},{"1328608749":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328608742, 1328608736, 1328608746, 1328608749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.82067894935608 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:48:02.567755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/46/image_13012025_09_46_02_813067_0003.jpg', '/home/pi/Desktop/images/13012025/09/47/image_13012025_09_47_02_418532_0000.jpg', '/home/pi/Desktop/images/13012025/09/47/image_13012025_09_47_02_418532_0001.jpg', '/home/pi/Desktop/images/13012025/09/47/image_13012025_09_47_02_418532_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/46/image_13012025_09_46_02_813067_0003.jpg
/home/pi/Desktop/images/13012025/09/47/image_13012025_09_47_02_418532_0000.jpg
/home/pi/Desktop/images/13012025/09/47/image_13012025_09_47_02_418532_0001.jpg
/home/pi/Desktop/images/13012025/09/47/image_13012025_09_47_02_418532_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328608772","1328608780","1328608783","1328608777"],"photo_ids_order":["1328608772","1328608777","1328608780","1328608783"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/770ceb389ff3b22cad3d74cc88840045.jpg","text":"TemporaryFile(/tmp/multipartBody4266166763923872276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758152977,"filename":"image_13012025_09_46_02_813067_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/349b0939ac347759182f7b41c54979b4.jpg","text":"TemporaryFile(/tmp/multipartBody5251994497418437630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758152977,"filename":"image_13012025_09_47_02_418532_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f3135365ac03a39d4eace94ad4f2a295.jpg","text":"TemporaryFile(/tmp/multipartBody3994877591793182095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758152977,"filename":"image_13012025_09_47_02_418532_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e9248c3bbf4d4c16e92148d694d59a7e.jpg","text":"TemporaryFile(/tmp/multipartBody7041322673857886295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758152977,"filename":"image_13012025_09_47_02_418532_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328608780","file1":"1328608777","file0":"1328608772","file3":"1328608783"},"map_files_photo_id_array":[{"photo_id":"1328608780","filename":"file2"},{"photo_id":"1328608777","filename":"file1"},{"photo_id":"1328608772","filename":"file0"},{"photo_id":"1328608783","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328608772":["hashtag1","hashtag2"]},{"1328608780":["hashtag1","hashtag2"]},{"1328608783":["hashtag1","hashtag2"]},{"1328608777":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328608772, 1328608780, 1328608783, 1328608777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.224061250686646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:49:03.166928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/47/image_13012025_09_47_02_418532_0003.jpg', '/home/pi/Desktop/images/13012025/09/48/image_13012025_09_48_02_964199_0000.jpg', '/home/pi/Desktop/images/13012025/09/48/image_13012025_09_48_02_964199_0001.jpg', '/home/pi/Desktop/images/13012025/09/48/image_13012025_09_48_02_964199_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/47/image_13012025_09_47_02_418532_0003.jpg
/home/pi/Desktop/images/13012025/09/48/image_13012025_09_48_02_964199_0000.jpg
/home/pi/Desktop/images/13012025/09/48/image_13012025_09_48_02_964199_0001.jpg
/home/pi/Desktop/images/13012025/09/48/image_13012025_09_48_02_964199_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328608859","1328608831","1328608869","1328608874"],"photo_ids_order":["1328608831","1328608859","1328608869","1328608874"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a87e73be59e0ffc49efb9e35f6937b51.jpg","text":"TemporaryFile(/tmp/multipartBody5336308427403822838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758213700,"filename":"image_13012025_09_48_02_964199_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/18f7f1a1809f84039243a7ca24ddf1df.jpg","text":"TemporaryFile(/tmp/multipartBody4193743379287750534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758213700,"filename":"image_13012025_09_47_02_418532_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5078a78d8a0ab5c07eb20481db95cb87.jpg","text":"TemporaryFile(/tmp/multipartBody5536525821198729313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758213700,"filename":"image_13012025_09_48_02_964199_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fcd3bfc7174818a946e6ce4fc249d387.jpg","text":"TemporaryFile(/tmp/multipartBody2916232061019447769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758213700,"filename":"image_13012025_09_48_02_964199_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328608869","file1":"1328608859","file0":"1328608831","file3":"1328608874"},"map_files_photo_id_array":[{"photo_id":"1328608869","filename":"file2"},{"photo_id":"1328608859","filename":"file1"},{"photo_id":"1328608831","filename":"file0"},{"photo_id":"1328608874","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328608859":["hashtag1","hashtag2"]},{"1328608831":["hashtag1","hashtag2"]},{"1328608869":["hashtag1","hashtag2"]},{"1328608874":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328608859, 1328608831, 1328608869, 1328608874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.47414517402649 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:50:02.799737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/48/image_13012025_09_48_02_964199_0003.jpg', '/home/pi/Desktop/images/13012025/09/49/image_13012025_09_49_02_580293_0000.jpg', '/home/pi/Desktop/images/13012025/09/49/image_13012025_09_49_02_580293_0001.jpg', '/home/pi/Desktop/images/13012025/09/49/image_13012025_09_49_02_580293_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/48/image_13012025_09_48_02_964199_0003.jpg
/home/pi/Desktop/images/13012025/09/49/image_13012025_09_49_02_580293_0000.jpg
/home/pi/Desktop/images/13012025/09/49/image_13012025_09_49_02_580293_0001.jpg
/home/pi/Desktop/images/13012025/09/49/image_13012025_09_49_02_580293_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.801202297210693 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 09:50:22.431551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/48/image_13012025_09_48_02_964199_0003.jpg', '/home/pi/Desktop/images/13012025/09/49/image_13012025_09_49_02_580293_0000.jpg', '/home/pi/Desktop/images/13012025/09/49/image_13012025_09_49_02_580293_0001.jpg', '/home/pi/Desktop/images/13012025/09/49/image_13012025_09_49_02_580293_0002.jpg', '/home/pi/Desktop/images/13012025/09/49/image_13012025_09_49_02_580293_0003.jpg', '/home/pi/Desktop/images/13012025/09/50/image_13012025_09_50_03_091553_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/48/image_13012025_09_48_02_964199_0003.jpg
/home/pi/Desktop/images/13012025/09/49/image_13012025_09_49_02_580293_0000.jpg
/home/pi/Desktop/images/13012025/09/49/image_13012025_09_49_02_580293_0001.jpg
/home/pi/Desktop/images/13012025/09/49/image_13012025_09_49_02_580293_0002.jpg
/home/pi/Desktop/images/13012025/09/49/image_13012025_09_49_02_580293_0003.jpg
/home/pi/Desktop/images/13012025/09/50/image_13012025_09_50_03_091553_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328609033","1328609053","1328609041","1328609029","1328609046","1328609049"],"photo_ids_order":["1328609029","1328609033","1328609041","1328609046","1328609049","1328609053"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/40731919cf0cd213c0f12c7e214aeba8.jpg","text":"TemporaryFile(/tmp/multipartBody2263572030381859060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758297402,"filename":"image_13012025_09_49_02_580293_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/87c6c9c91ba1829022c85d16e57c89e3.jpg","text":"TemporaryFile(/tmp/multipartBody3452049223220893423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758297402,"filename":"image_13012025_09_50_03_091553_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e998ff77c15f133095dc4633574d6c0d.jpg","text":"TemporaryFile(/tmp/multipartBody6038847155207283438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758297402,"filename":"image_13012025_09_49_02_580293_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f8ac776bb462627a42085b14fe71c714.jpg","text":"TemporaryFile(/tmp/multipartBody3177642914290290388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758297402,"filename":"image_13012025_09_48_02_964199_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5c2f765b76675d9fa4e8c7c189ce233e.jpg","text":"TemporaryFile(/tmp/multipartBody7161568360388887437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758297402,"filename":"image_13012025_09_49_02_580293_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7426a0c7cb4f5377a25f1342d83f7a9e.jpg","text":"TemporaryFile(/tmp/multipartBody1593234660965366257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758297402,"filename":"image_13012025_09_49_02_580293_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328609041","file1":"1328609033","file0":"1328609029","file4":"1328609049","file5":"1328609053","file3":"1328609046"},"map_files_photo_id_array":[{"photo_id":"1328609053","filename":"file5"},{"photo_id":"1328609041","filename":"file2"},{"photo_id":"1328609049","filename":"file4"},{"photo_id":"1328609033","filename":"file1"},{"photo_id":"1328609029","filename":"file0"},{"photo_id":"1328609046","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328609033":["hashtag1","hashtag2"]},{"1328609053":["hashtag1","hashtag2"]},{"1328609041":["hashtag1","hashtag2"]},{"1328609029":["hashtag1","hashtag2"]},{"1328609046":["hashtag1","hashtag2"]},{"1328609049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328609033, 1328609053, 1328609041, 1328609029, 1328609046, 1328609049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.31206750869751 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 09:51:22.006503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/50/image_13012025_09_50_03_091553_0001.jpg', '/home/pi/Desktop/images/13012025/09/50/image_13012025_09_50_03_091553_0002.jpg', '/home/pi/Desktop/images/13012025/09/50/image_13012025_09_50_03_091553_0003.jpg', '/home/pi/Desktop/images/13012025/09/51/image_13012025_09_51_02_751454_0000.jpg', '/home/pi/Desktop/images/13012025/09/51/image_13012025_09_51_02_751454_0001.jpg', '/home/pi/Desktop/images/13012025/09/51/image_13012025_09_51_02_751454_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/50/image_13012025_09_50_03_091553_0001.jpg
/home/pi/Desktop/images/13012025/09/50/image_13012025_09_50_03_091553_0002.jpg
/home/pi/Desktop/images/13012025/09/50/image_13012025_09_50_03_091553_0003.jpg
/home/pi/Desktop/images/13012025/09/51/image_13012025_09_51_02_751454_0000.jpg
/home/pi/Desktop/images/13012025/09/51/image_13012025_09_51_02_751454_0001.jpg
/home/pi/Desktop/images/13012025/09/51/image_13012025_09_51_02_751454_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328609117","1328609101","1328609076","1328609157","1328609142","1328609072"],"photo_ids_order":["1328609072","1328609076","1328609101","1328609117","1328609142","1328609157"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1812c9d41ff125620fd38a15119b185c.jpg","text":"TemporaryFile(/tmp/multipartBody587834895257403313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758356976,"filename":"image_13012025_09_51_02_751454_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/141032a9611dea093fc3bb85cbd3e5b8.jpg","text":"TemporaryFile(/tmp/multipartBody4246710971380564694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758356976,"filename":"image_13012025_09_50_03_091553_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7a53f9634d1b32eddd9ddfe97b7a39bc.jpg","text":"TemporaryFile(/tmp/multipartBody3222535590902819869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758356976,"filename":"image_13012025_09_50_03_091553_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b1e56b04943057a07d8c677b266df109.jpg","text":"TemporaryFile(/tmp/multipartBody2808034999428366942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758356976,"filename":"image_13012025_09_51_02_751454_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/939b38cb56400ccec0770ceb2e604ba4.jpg","text":"TemporaryFile(/tmp/multipartBody2290356254442033577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758356976,"filename":"image_13012025_09_51_02_751454_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1f298ff216360cc09590c52d41c20d40.jpg","text":"TemporaryFile(/tmp/multipartBody2400972213108724478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758356976,"filename":"image_13012025_09_50_03_091553_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328609101","file1":"1328609076","file0":"1328609072","file4":"1328609142","file5":"1328609157","file3":"1328609117"},"map_files_photo_id_array":[{"photo_id":"1328609157","filename":"file5"},{"photo_id":"1328609101","filename":"file2"},{"photo_id":"1328609142","filename":"file4"},{"photo_id":"1328609076","filename":"file1"},{"photo_id":"1328609072","filename":"file0"},{"photo_id":"1328609117","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328609117":["hashtag1","hashtag2"]},{"1328609101":["hashtag1","hashtag2"]},{"1328609076":["hashtag1","hashtag2"]},{"1328609157":["hashtag1","hashtag2"]},{"1328609142":["hashtag1","hashtag2"]},{"1328609072":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328609117, 1328609101, 1328609076, 1328609157, 1328609142, 1328609072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.46551060676575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 09:52:22.447056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/51/image_13012025_09_51_02_751454_0003.jpg', '/home/pi/Desktop/images/13012025/09/52/image_13012025_09_52_02_249995_0000.jpg', '/home/pi/Desktop/images/13012025/09/52/image_13012025_09_52_02_249995_0001.jpg', '/home/pi/Desktop/images/13012025/09/52/image_13012025_09_52_02_249995_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/51/image_13012025_09_51_02_751454_0003.jpg
/home/pi/Desktop/images/13012025/09/52/image_13012025_09_52_02_249995_0000.jpg
/home/pi/Desktop/images/13012025/09/52/image_13012025_09_52_02_249995_0001.jpg
/home/pi/Desktop/images/13012025/09/52/image_13012025_09_52_02_249995_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.867799758911133 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:53:02.623330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/51/image_13012025_09_51_02_751454_0003.jpg', '/home/pi/Desktop/images/13012025/09/52/image_13012025_09_52_02_249995_0000.jpg', '/home/pi/Desktop/images/13012025/09/52/image_13012025_09_52_02_249995_0001.jpg', '/home/pi/Desktop/images/13012025/09/52/image_13012025_09_52_02_249995_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/51/image_13012025_09_51_02_751454_0003.jpg
/home/pi/Desktop/images/13012025/09/52/image_13012025_09_52_02_249995_0000.jpg
/home/pi/Desktop/images/13012025/09/52/image_13012025_09_52_02_249995_0001.jpg
/home/pi/Desktop/images/13012025/09/52/image_13012025_09_52_02_249995_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328609230","1328609233","1328609227","1328609226"],"photo_ids_order":["1328609226","1328609227","1328609230","1328609233"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1c8b8f93e0c726974d5ec9a6e6b70b59.jpg","text":"TemporaryFile(/tmp/multipartBody5321370877889851864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758452909,"filename":"image_13012025_09_52_02_249995_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9b97cccc78714355ce2a39662b978ad9.jpg","text":"TemporaryFile(/tmp/multipartBody6535737858641194361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758452909,"filename":"image_13012025_09_52_02_249995_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6ee9e5b6305025a08f624a0be6dc7ba9.jpg","text":"TemporaryFile(/tmp/multipartBody6789850764809245824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758452909,"filename":"image_13012025_09_52_02_249995_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ce3d8dc94ce0fe634b9c3b5db036315c.jpg","text":"TemporaryFile(/tmp/multipartBody9076107544826462404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758452909,"filename":"image_13012025_09_51_02_751454_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328609230","file1":"1328609227","file0":"1328609226","file3":"1328609233"},"map_files_photo_id_array":[{"photo_id":"1328609230","filename":"file2"},{"photo_id":"1328609227","filename":"file1"},{"photo_id":"1328609226","filename":"file0"},{"photo_id":"1328609233","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328609230":["hashtag1","hashtag2"]},{"1328609233":["hashtag1","hashtag2"]},{"1328609227":["hashtag1","hashtag2"]},{"1328609226":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328609230, 1328609233, 1328609227, 1328609226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.766504764556885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:54:02.920268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/52/image_13012025_09_52_02_249995_0003.jpg', '/home/pi/Desktop/images/13012025/09/53/image_13012025_09_53_02_737991_0000.jpg', '/home/pi/Desktop/images/13012025/09/53/image_13012025_09_53_02_737991_0001.jpg', '/home/pi/Desktop/images/13012025/09/53/image_13012025_09_53_02_737991_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/52/image_13012025_09_52_02_249995_0003.jpg
/home/pi/Desktop/images/13012025/09/53/image_13012025_09_53_02_737991_0000.jpg
/home/pi/Desktop/images/13012025/09/53/image_13012025_09_53_02_737991_0001.jpg
/home/pi/Desktop/images/13012025/09/53/image_13012025_09_53_02_737991_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328609277","1328609262","1328609265","1328609259"],"photo_ids_order":["1328609259","1328609262","1328609265","1328609277"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0196e6fc79835c2709faefed563a894c.jpg","text":"TemporaryFile(/tmp/multipartBody1109671440748696802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758513200,"filename":"image_13012025_09_53_02_737991_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e4b0f5b93edcc2bfb544320b2a56c08b.jpg","text":"TemporaryFile(/tmp/multipartBody1317182111214755248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758513200,"filename":"image_13012025_09_53_02_737991_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/93d98d385fe617791200f8b0d6147a8b.jpg","text":"TemporaryFile(/tmp/multipartBody4736672069431978094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758513200,"filename":"image_13012025_09_53_02_737991_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cf82f209be65110d94149de307408e1b.jpg","text":"TemporaryFile(/tmp/multipartBody818524436179924593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758513200,"filename":"image_13012025_09_52_02_249995_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328609265","file1":"1328609262","file0":"1328609259","file3":"1328609277"},"map_files_photo_id_array":[{"photo_id":"1328609265","filename":"file2"},{"photo_id":"1328609262","filename":"file1"},{"photo_id":"1328609259","filename":"file0"},{"photo_id":"1328609277","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328609277":["hashtag1","hashtag2"]},{"1328609262":["hashtag1","hashtag2"]},{"1328609265":["hashtag1","hashtag2"]},{"1328609259":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328609277, 1328609262, 1328609265, 1328609259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.007599115371704 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:55:02.563406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/53/image_13012025_09_53_02_737991_0003.jpg', '/home/pi/Desktop/images/13012025/09/54/image_13012025_09_54_02_269984_0000.jpg', '/home/pi/Desktop/images/13012025/09/54/image_13012025_09_54_02_269984_0001.jpg', '/home/pi/Desktop/images/13012025/09/54/image_13012025_09_54_02_269984_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/53/image_13012025_09_53_02_737991_0003.jpg
/home/pi/Desktop/images/13012025/09/54/image_13012025_09_54_02_269984_0000.jpg
/home/pi/Desktop/images/13012025/09/54/image_13012025_09_54_02_269984_0001.jpg
/home/pi/Desktop/images/13012025/09/54/image_13012025_09_54_02_269984_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328609435","1328609429","1328609370","1328609372"],"photo_ids_order":["1328609370","1328609372","1328609429","1328609435"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2c2021b7e9b4aa33f86a248f264d9da4.jpg","text":"TemporaryFile(/tmp/multipartBody3547370706499700144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758572917,"filename":"image_13012025_09_54_02_269984_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0878ab204ab4120116da29a73a7aaefe.jpg","text":"TemporaryFile(/tmp/multipartBody1090378284410986573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758572917,"filename":"image_13012025_09_54_02_269984_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a1de45ebea50cd31d3ab68ea59fc026e.jpg","text":"TemporaryFile(/tmp/multipartBody5119184208011622598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758572917,"filename":"image_13012025_09_53_02_737991_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2bcf0bf99f1b32b0a2835dd2dcdd4033.jpg","text":"TemporaryFile(/tmp/multipartBody7180448096580730908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758572917,"filename":"image_13012025_09_54_02_269984_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328609429","file1":"1328609372","file0":"1328609370","file3":"1328609435"},"map_files_photo_id_array":[{"photo_id":"1328609429","filename":"file2"},{"photo_id":"1328609372","filename":"file1"},{"photo_id":"1328609370","filename":"file0"},{"photo_id":"1328609435","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328609435":["hashtag1","hashtag2"]},{"1328609429":["hashtag1","hashtag2"]},{"1328609370":["hashtag1","hashtag2"]},{"1328609372":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328609435, 1328609429, 1328609370, 1328609372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.22110462188721 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:56:02.126731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/54/image_13012025_09_54_02_269984_0003.jpg', '/home/pi/Desktop/images/13012025/09/55/image_13012025_09_55_02_908620_0000.jpg', '/home/pi/Desktop/images/13012025/09/55/image_13012025_09_55_02_908620_0001.jpg', '/home/pi/Desktop/images/13012025/09/55/image_13012025_09_55_02_908620_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/54/image_13012025_09_54_02_269984_0003.jpg
/home/pi/Desktop/images/13012025/09/55/image_13012025_09_55_02_908620_0000.jpg
/home/pi/Desktop/images/13012025/09/55/image_13012025_09_55_02_908620_0001.jpg
/home/pi/Desktop/images/13012025/09/55/image_13012025_09_55_02_908620_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.838521718978882 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 09:56:21.796933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/54/image_13012025_09_54_02_269984_0003.jpg', '/home/pi/Desktop/images/13012025/09/55/image_13012025_09_55_02_908620_0000.jpg', '/home/pi/Desktop/images/13012025/09/55/image_13012025_09_55_02_908620_0001.jpg', '/home/pi/Desktop/images/13012025/09/55/image_13012025_09_55_02_908620_0002.jpg', '/home/pi/Desktop/images/13012025/09/55/image_13012025_09_55_02_908620_0003.jpg', '/home/pi/Desktop/images/13012025/09/56/image_13012025_09_56_02_500407_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/54/image_13012025_09_54_02_269984_0003.jpg
/home/pi/Desktop/images/13012025/09/55/image_13012025_09_55_02_908620_0000.jpg
/home/pi/Desktop/images/13012025/09/55/image_13012025_09_55_02_908620_0001.jpg
/home/pi/Desktop/images/13012025/09/55/image_13012025_09_55_02_908620_0002.jpg
/home/pi/Desktop/images/13012025/09/55/image_13012025_09_55_02_908620_0003.jpg
/home/pi/Desktop/images/13012025/09/56/image_13012025_09_56_02_500407_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328609461","1328609479","1328609484","1328609487","1328609466","1328609474"],"photo_ids_order":["1328609461","1328609466","1328609474","1328609479","1328609484","1328609487"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7a6778bbf466c5be56300af844109763.jpg","text":"TemporaryFile(/tmp/multipartBody4907601832058939106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758656860,"filename":"image_13012025_09_54_02_269984_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d42e9a6e6128fc4e392e30750043cdc5.jpg","text":"TemporaryFile(/tmp/multipartBody1564681651357830152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758656860,"filename":"image_13012025_09_55_02_908620_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b043345821cb6859581df13e5f684b2c.jpg","text":"TemporaryFile(/tmp/multipartBody5303087494925825044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758656860,"filename":"image_13012025_09_55_02_908620_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4c89321a0d3e12e6440bb4674ac3ee3c.jpg","text":"TemporaryFile(/tmp/multipartBody6667009021151666345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758656860,"filename":"image_13012025_09_56_02_500407_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/16c09a6113f7fd113d28569eac294cd0.jpg","text":"TemporaryFile(/tmp/multipartBody5182648561516624003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758656860,"filename":"image_13012025_09_55_02_908620_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8a6e44918b702eb77210b9990cc741de.jpg","text":"TemporaryFile(/tmp/multipartBody4276681126875063768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758656860,"filename":"image_13012025_09_55_02_908620_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328609474","file1":"1328609466","file0":"1328609461","file4":"1328609484","file5":"1328609487","file3":"1328609479"},"map_files_photo_id_array":[{"photo_id":"1328609487","filename":"file5"},{"photo_id":"1328609474","filename":"file2"},{"photo_id":"1328609484","filename":"file4"},{"photo_id":"1328609466","filename":"file1"},{"photo_id":"1328609461","filename":"file0"},{"photo_id":"1328609479","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328609461":["hashtag1","hashtag2"]},{"1328609479":["hashtag1","hashtag2"]},{"1328609484":["hashtag1","hashtag2"]},{"1328609487":["hashtag1","hashtag2"]},{"1328609466":["hashtag1","hashtag2"]},{"1328609474":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328609461, 1328609479, 1328609484, 1328609487, 1328609466, 1328609474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.91517353057861 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 09:57:22.325648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/56/image_13012025_09_56_02_500407_0001.jpg', '/home/pi/Desktop/images/13012025/09/56/image_13012025_09_56_02_500407_0002.jpg', '/home/pi/Desktop/images/13012025/09/56/image_13012025_09_56_02_500407_0003.jpg', '/home/pi/Desktop/images/13012025/09/57/image_13012025_09_57_02_168266_0000.jpg', '/home/pi/Desktop/images/13012025/09/57/image_13012025_09_57_02_168266_0001.jpg', '/home/pi/Desktop/images/13012025/09/57/image_13012025_09_57_02_168266_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/56/image_13012025_09_56_02_500407_0001.jpg
/home/pi/Desktop/images/13012025/09/56/image_13012025_09_56_02_500407_0002.jpg
/home/pi/Desktop/images/13012025/09/56/image_13012025_09_56_02_500407_0003.jpg
/home/pi/Desktop/images/13012025/09/57/image_13012025_09_57_02_168266_0000.jpg
/home/pi/Desktop/images/13012025/09/57/image_13012025_09_57_02_168266_0001.jpg
/home/pi/Desktop/images/13012025/09/57/image_13012025_09_57_02_168266_0002.jpg
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 09:59:02.668043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/56/image_13012025_09_56_02_500407_0001.jpg', '/home/pi/Desktop/images/13012025/09/56/image_13012025_09_56_02_500407_0002.jpg', '/home/pi/Desktop/images/13012025/09/56/image_13012025_09_56_02_500407_0003.jpg', '/home/pi/Desktop/images/13012025/09/57/image_13012025_09_57_02_168266_0000.jpg', '/home/pi/Desktop/images/13012025/09/57/image_13012025_09_57_02_168266_0001.jpg', '/home/pi/Desktop/images/13012025/09/57/image_13012025_09_57_02_168266_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/56/image_13012025_09_56_02_500407_0001.jpg
/home/pi/Desktop/images/13012025/09/56/image_13012025_09_56_02_500407_0002.jpg
/home/pi/Desktop/images/13012025/09/56/image_13012025_09_56_02_500407_0003.jpg
/home/pi/Desktop/images/13012025/09/57/image_13012025_09_57_02_168266_0000.jpg
/home/pi/Desktop/images/13012025/09/57/image_13012025_09_57_02_168266_0001.jpg
/home/pi/Desktop/images/13012025/09/57/image_13012025_09_57_02_168266_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328609612","1328609606","1328609587","1328609653","1328609578","1328609594"],"photo_ids_order":["1328609578","1328609587","1328609594","1328609606","1328609612","1328609653"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ab5ee6ab10196c0135d5d8e3740be813.jpg","text":"TemporaryFile(/tmp/multipartBody4346333904679396207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758817812,"filename":"image_13012025_09_57_02_168266_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fa109ce784972fd9597fdd701017098a.jpg","text":"TemporaryFile(/tmp/multipartBody797745248827768119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758817812,"filename":"image_13012025_09_57_02_168266_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d9bc244844d7566cc6a8a9d5ddd9091c.jpg","text":"TemporaryFile(/tmp/multipartBody6706633074380511819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758817812,"filename":"image_13012025_09_56_02_500407_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1970f5e01ad5a8f44b6476521bd83283.jpg","text":"TemporaryFile(/tmp/multipartBody5572851834216746572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758817812,"filename":"image_13012025_09_57_02_168266_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/de134469101d16f21da4b0ec4c07b236.jpg","text":"TemporaryFile(/tmp/multipartBody6745732682069888945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758817812,"filename":"image_13012025_09_56_02_500407_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/76e0ad49097a79c46e09589a6d1a5adf.jpg","text":"TemporaryFile(/tmp/multipartBody8525398212944399467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758817812,"filename":"image_13012025_09_56_02_500407_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328609594","file1":"1328609587","file0":"1328609578","file4":"1328609612","file5":"1328609653","file3":"1328609606"},"map_files_photo_id_array":[{"photo_id":"1328609653","filename":"file5"},{"photo_id":"1328609594","filename":"file2"},{"photo_id":"1328609612","filename":"file4"},{"photo_id":"1328609587","filename":"file1"},{"photo_id":"1328609578","filename":"file0"},{"photo_id":"1328609606","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328609612":["hashtag1","hashtag2"]},{"1328609606":["hashtag1","hashtag2"]},{"1328609587":["hashtag1","hashtag2"]},{"1328609653":["hashtag1","hashtag2"]},{"1328609578":["hashtag1","hashtag2"]},{"1328609594":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328609612, 1328609606, 1328609587, 1328609653, 1328609578, 1328609594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.148428440093994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:00:02.703189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/57/image_13012025_09_57_02_168266_0003.jpg', '/home/pi/Desktop/images/13012025/09/58/image_13012025_09_58_02_726586_0000.jpg', '/home/pi/Desktop/images/13012025/09/58/image_13012025_09_58_02_726586_0001.jpg', '/home/pi/Desktop/images/13012025/09/58/image_13012025_09_58_02_726586_0002.jpg', '/home/pi/Desktop/images/13012025/09/58/image_13012025_09_58_02_726586_0003.jpg', '/home/pi/Desktop/images/13012025/09/59/image_13012025_09_59_02_221913_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/57/image_13012025_09_57_02_168266_0003.jpg
/home/pi/Desktop/images/13012025/09/58/image_13012025_09_58_02_726586_0000.jpg
/home/pi/Desktop/images/13012025/09/58/image_13012025_09_58_02_726586_0001.jpg
/home/pi/Desktop/images/13012025/09/58/image_13012025_09_58_02_726586_0002.jpg
/home/pi/Desktop/images/13012025/09/58/image_13012025_09_58_02_726586_0003.jpg
/home/pi/Desktop/images/13012025/09/59/image_13012025_09_59_02_221913_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.577604293823242 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:00:22.375733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/57/image_13012025_09_57_02_168266_0003.jpg', '/home/pi/Desktop/images/13012025/09/58/image_13012025_09_58_02_726586_0000.jpg', '/home/pi/Desktop/images/13012025/09/58/image_13012025_09_58_02_726586_0001.jpg', '/home/pi/Desktop/images/13012025/09/58/image_13012025_09_58_02_726586_0002.jpg', '/home/pi/Desktop/images/13012025/09/58/image_13012025_09_58_02_726586_0003.jpg', '/home/pi/Desktop/images/13012025/09/59/image_13012025_09_59_02_221913_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/57/image_13012025_09_57_02_168266_0003.jpg
/home/pi/Desktop/images/13012025/09/58/image_13012025_09_58_02_726586_0000.jpg
/home/pi/Desktop/images/13012025/09/58/image_13012025_09_58_02_726586_0001.jpg
/home/pi/Desktop/images/13012025/09/58/image_13012025_09_58_02_726586_0002.jpg
/home/pi/Desktop/images/13012025/09/58/image_13012025_09_58_02_726586_0003.jpg
/home/pi/Desktop/images/13012025/09/59/image_13012025_09_59_02_221913_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328609793","1328609796","1328609792","1328609786","1328609789","1328609774"],"photo_ids_order":["1328609774","1328609786","1328609789","1328609792","1328609793","1328609796"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0a963e0275ab465b8c3dc057da579b74.jpg","text":"TemporaryFile(/tmp/multipartBody8860775507798159414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758897285,"filename":"image_13012025_09_58_02_726586_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5d18d025367b91959e8e565585538491.jpg","text":"TemporaryFile(/tmp/multipartBody8209722090707981350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758897285,"filename":"image_13012025_09_59_02_221913_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a7be52a9938768e3d962eaf8e86f063c.jpg","text":"TemporaryFile(/tmp/multipartBody1717740663932571671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758897285,"filename":"image_13012025_09_58_02_726586_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d098fd995ba88a41bbca0e8c8c27ce93.jpg","text":"TemporaryFile(/tmp/multipartBody600118157273200093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758897285,"filename":"image_13012025_09_58_02_726586_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3811644125545fc3e2519fc795a6adac.jpg","text":"TemporaryFile(/tmp/multipartBody2643802303919828404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758897285,"filename":"image_13012025_09_58_02_726586_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8e8866c21c545c3a73e82c6fbd62a19d.jpg","text":"TemporaryFile(/tmp/multipartBody3012620761051839760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758897285,"filename":"image_13012025_09_57_02_168266_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328609789","file1":"1328609786","file0":"1328609774","file4":"1328609793","file5":"1328609796","file3":"1328609792"},"map_files_photo_id_array":[{"photo_id":"1328609796","filename":"file5"},{"photo_id":"1328609789","filename":"file2"},{"photo_id":"1328609793","filename":"file4"},{"photo_id":"1328609786","filename":"file1"},{"photo_id":"1328609774","filename":"file0"},{"photo_id":"1328609792","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328609793":["hashtag1","hashtag2"]},{"1328609796":["hashtag1","hashtag2"]},{"1328609792":["hashtag1","hashtag2"]},{"1328609786":["hashtag1","hashtag2"]},{"1328609789":["hashtag1","hashtag2"]},{"1328609774":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328609793, 1328609796, 1328609792, 1328609786, 1328609789, 1328609774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.3129186630249 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:01:22.523484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/59/image_13012025_09_59_02_221913_0001.jpg', '/home/pi/Desktop/images/13012025/09/59/image_13012025_09_59_02_221913_0002.jpg', '/home/pi/Desktop/images/13012025/09/59/image_13012025_09_59_02_221913_0003.jpg', '/home/pi/Desktop/images/13012025/10/00/image_13012025_10_00_02_504573_0000.jpg', '/home/pi/Desktop/images/13012025/10/00/image_13012025_10_00_02_504573_0001.jpg', '/home/pi/Desktop/images/13012025/10/00/image_13012025_10_00_02_504573_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/09/59/image_13012025_09_59_02_221913_0001.jpg
/home/pi/Desktop/images/13012025/09/59/image_13012025_09_59_02_221913_0002.jpg
/home/pi/Desktop/images/13012025/09/59/image_13012025_09_59_02_221913_0003.jpg
/home/pi/Desktop/images/13012025/10/00/image_13012025_10_00_02_504573_0000.jpg
/home/pi/Desktop/images/13012025/10/00/image_13012025_10_00_02_504573_0001.jpg
/home/pi/Desktop/images/13012025/10/00/image_13012025_10_00_02_504573_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328609846","1328609836","1328609850","1328609844","1328609847","1328609840"],"photo_ids_order":["1328609836","1328609840","1328609844","1328609846","1328609847","1328609850"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d4eb70dd39605d47a5847c63b9b90083.jpg","text":"TemporaryFile(/tmp/multipartBody7541765625224675333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758957397,"filename":"image_13012025_10_00_02_504573_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cb606e11c350e152c9f1c114083d25ec.jpg","text":"TemporaryFile(/tmp/multipartBody6714599655021039793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758957397,"filename":"image_13012025_09_59_02_221913_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bc36cf300372b8e975cf488af504589e.jpg","text":"TemporaryFile(/tmp/multipartBody2402903882321562427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758957397,"filename":"image_13012025_10_00_02_504573_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8b3e4a79f0336cb858086e2060c981e3.jpg","text":"TemporaryFile(/tmp/multipartBody8031434004639527765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758957397,"filename":"image_13012025_09_59_02_221913_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/765c0a699abd6be2e65f1cb8bc410b59.jpg","text":"TemporaryFile(/tmp/multipartBody6095570715920464645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758957397,"filename":"image_13012025_10_00_02_504573_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ae83cea779f9bf3c32a673ef9708e300.jpg","text":"TemporaryFile(/tmp/multipartBody7327872308651311572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736758957397,"filename":"image_13012025_09_59_02_221913_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328609844","file1":"1328609840","file0":"1328609836","file4":"1328609847","file5":"1328609850","file3":"1328609846"},"map_files_photo_id_array":[{"photo_id":"1328609850","filename":"file5"},{"photo_id":"1328609844","filename":"file2"},{"photo_id":"1328609847","filename":"file4"},{"photo_id":"1328609840","filename":"file1"},{"photo_id":"1328609836","filename":"file0"},{"photo_id":"1328609846","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328609846":["hashtag1","hashtag2"]},{"1328609836":["hashtag1","hashtag2"]},{"1328609850":["hashtag1","hashtag2"]},{"1328609844":["hashtag1","hashtag2"]},{"1328609847":["hashtag1","hashtag2"]},{"1328609840":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328609846, 1328609836, 1328609850, 1328609844, 1328609847, 1328609840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.638291358947754 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:02:22.661175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/00/image_13012025_10_00_02_504573_0003.jpg', '/home/pi/Desktop/images/13012025/10/01/image_13012025_10_01_02_730169_0000.jpg', '/home/pi/Desktop/images/13012025/10/01/image_13012025_10_01_02_730169_0001.jpg', '/home/pi/Desktop/images/13012025/10/01/image_13012025_10_01_02_730169_0002.jpg', '/home/pi/Desktop/images/13012025/10/01/image_13012025_10_01_02_730169_0003.jpg', '/home/pi/Desktop/images/13012025/10/02/image_13012025_10_02_02_861848_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/00/image_13012025_10_00_02_504573_0003.jpg
/home/pi/Desktop/images/13012025/10/01/image_13012025_10_01_02_730169_0000.jpg
/home/pi/Desktop/images/13012025/10/01/image_13012025_10_01_02_730169_0001.jpg
/home/pi/Desktop/images/13012025/10/01/image_13012025_10_01_02_730169_0002.jpg
/home/pi/Desktop/images/13012025/10/01/image_13012025_10_01_02_730169_0003.jpg
/home/pi/Desktop/images/13012025/10/02/image_13012025_10_02_02_861848_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328609881","1328609884","1328609887","1328609886","1328609874","1328609870"],"photo_ids_order":["1328609870","1328609874","1328609881","1328609884","1328609886","1328609887"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/52b3f5b5cc413702f1885040ae78ba76.jpg","text":"TemporaryFile(/tmp/multipartBody4556744532239728578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759017619,"filename":"image_13012025_10_01_02_730169_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1490f94266c7b3f8cf36a1afca328322.jpg","text":"TemporaryFile(/tmp/multipartBody7015560984561052530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759017619,"filename":"image_13012025_10_01_02_730169_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9ea8aeb0b57a7c5f926a9dc015eaa2df.jpg","text":"TemporaryFile(/tmp/multipartBody1657347412056442059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759017619,"filename":"image_13012025_10_02_02_861848_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/20a2e7809ab7d0955d6e1511d42765da.jpg","text":"TemporaryFile(/tmp/multipartBody7628500125888950927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759017619,"filename":"image_13012025_10_01_02_730169_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6d2f9f60505ac72349e836faa83aa1e4.jpg","text":"TemporaryFile(/tmp/multipartBody1582502392368757315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759017619,"filename":"image_13012025_10_01_02_730169_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e447d43bb8e5811c17d51f673b877bf4.jpg","text":"TemporaryFile(/tmp/multipartBody7597044343500107299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759017619,"filename":"image_13012025_10_00_02_504573_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328609881","file1":"1328609874","file0":"1328609870","file4":"1328609886","file5":"1328609887","file3":"1328609884"},"map_files_photo_id_array":[{"photo_id":"1328609887","filename":"file5"},{"photo_id":"1328609881","filename":"file2"},{"photo_id":"1328609886","filename":"file4"},{"photo_id":"1328609874","filename":"file1"},{"photo_id":"1328609870","filename":"file0"},{"photo_id":"1328609884","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328609881":["hashtag1","hashtag2"]},{"1328609884":["hashtag1","hashtag2"]},{"1328609887":["hashtag1","hashtag2"]},{"1328609886":["hashtag1","hashtag2"]},{"1328609874":["hashtag1","hashtag2"]},{"1328609870":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328609881, 1328609884, 1328609887, 1328609886, 1328609874, 1328609870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.2042818069458 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:03:21.827128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/02/image_13012025_10_02_02_861848_0001.jpg', '/home/pi/Desktop/images/13012025/10/02/image_13012025_10_02_02_861848_0002.jpg', '/home/pi/Desktop/images/13012025/10/02/image_13012025_10_02_02_861848_0003.jpg', '/home/pi/Desktop/images/13012025/10/03/image_13012025_10_03_02_985556_0000.jpg', '/home/pi/Desktop/images/13012025/10/03/image_13012025_10_03_02_985556_0001.jpg', '/home/pi/Desktop/images/13012025/10/03/image_13012025_10_03_02_985556_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/02/image_13012025_10_02_02_861848_0001.jpg
/home/pi/Desktop/images/13012025/10/02/image_13012025_10_02_02_861848_0002.jpg
/home/pi/Desktop/images/13012025/10/02/image_13012025_10_02_02_861848_0003.jpg
/home/pi/Desktop/images/13012025/10/03/image_13012025_10_03_02_985556_0000.jpg
/home/pi/Desktop/images/13012025/10/03/image_13012025_10_03_02_985556_0001.jpg
/home/pi/Desktop/images/13012025/10/03/image_13012025_10_03_02_985556_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328610746","1328610742","1328610750","1328610744","1328610738","1328610735"],"photo_ids_order":["1328610735","1328610738","1328610742","1328610744","1328610746","1328610750"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cac93e52fc29129ffda5d76d06542175.jpg","text":"TemporaryFile(/tmp/multipartBody4943105465676603419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759076919,"filename":"image_13012025_10_03_02_985556_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4657f53dd3f85469f0df59e670b0723c.jpg","text":"TemporaryFile(/tmp/multipartBody1123206127498908846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759076919,"filename":"image_13012025_10_02_02_861848_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1a2267c6a62013fd9d02f27ed0e2d6d1.jpg","text":"TemporaryFile(/tmp/multipartBody3502776324476671339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759076919,"filename":"image_13012025_10_03_02_985556_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a7542efeda290b82d2bb1faf2b07f831.jpg","text":"TemporaryFile(/tmp/multipartBody4194394720042155964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759076919,"filename":"image_13012025_10_03_02_985556_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5e49e0fdbfb72bf6423f9bdca7ba4fe5.jpg","text":"TemporaryFile(/tmp/multipartBody2443566177534630299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759076919,"filename":"image_13012025_10_02_02_861848_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cf5d4c29c636ac2b88847376f11d97c4.jpg","text":"TemporaryFile(/tmp/multipartBody7009869153690513284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759076919,"filename":"image_13012025_10_02_02_861848_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328610742","file1":"1328610738","file0":"1328610735","file4":"1328610746","file5":"1328610750","file3":"1328610744"},"map_files_photo_id_array":[{"photo_id":"1328610750","filename":"file5"},{"photo_id":"1328610742","filename":"file2"},{"photo_id":"1328610746","filename":"file4"},{"photo_id":"1328610738","filename":"file1"},{"photo_id":"1328610735","filename":"file0"},{"photo_id":"1328610744","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328610746":["hashtag1","hashtag2"]},{"1328610742":["hashtag1","hashtag2"]},{"1328610750":["hashtag1","hashtag2"]},{"1328610744":["hashtag1","hashtag2"]},{"1328610738":["hashtag1","hashtag2"]},{"1328610735":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328610746, 1328610742, 1328610750, 1328610744, 1328610738, 1328610735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.381909132003784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:04:22.081591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/03/image_13012025_10_03_02_985556_0003.jpg', '/home/pi/Desktop/images/13012025/10/04/image_13012025_10_04_02_272338_0000.jpg', '/home/pi/Desktop/images/13012025/10/04/image_13012025_10_04_02_272338_0001.jpg', '/home/pi/Desktop/images/13012025/10/04/image_13012025_10_04_02_272338_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/03/image_13012025_10_03_02_985556_0003.jpg
/home/pi/Desktop/images/13012025/10/04/image_13012025_10_04_02_272338_0000.jpg
/home/pi/Desktop/images/13012025/10/04/image_13012025_10_04_02_272338_0001.jpg
/home/pi/Desktop/images/13012025/10/04/image_13012025_10_04_02_272338_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328611037","1328611089","1328611074","1328611029"],"photo_ids_order":["1328611029","1328611037","1328611074","1328611089"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/37eae9fb1c7f04036e8df9917a357d71.jpg","text":"TemporaryFile(/tmp/multipartBody3141234052928306808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759132730,"filename":"image_13012025_10_04_02_272338_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/edcc5d6097b3f73a995936369c5498d3.jpg","text":"TemporaryFile(/tmp/multipartBody6724798260549649858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759132730,"filename":"image_13012025_10_04_02_272338_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d33fc6fca6c95a906420dbde2fa680d0.jpg","text":"TemporaryFile(/tmp/multipartBody6853705307279567503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759132730,"filename":"image_13012025_10_04_02_272338_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/82065ef8c08cbf7af9477cb23dccff99.jpg","text":"TemporaryFile(/tmp/multipartBody1511526502777053610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759132730,"filename":"image_13012025_10_03_02_985556_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328611074","file1":"1328611037","file0":"1328611029","file3":"1328611089"},"map_files_photo_id_array":[{"photo_id":"1328611074","filename":"file2"},{"photo_id":"1328611037","filename":"file1"},{"photo_id":"1328611029","filename":"file0"},{"photo_id":"1328611089","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328611037":["hashtag1","hashtag2"]},{"1328611089":["hashtag1","hashtag2"]},{"1328611074":["hashtag1","hashtag2"]},{"1328611029":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328611037, 1328611089, 1328611074, 1328611029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.15939927101135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:05:02.649564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:05:22.208053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/04/image_13012025_10_04_02_272338_0003.jpg', '/home/pi/Desktop/images/13012025/10/05/image_13012025_10_05_02_370522_0000.jpg', '/home/pi/Desktop/images/13012025/10/05/image_13012025_10_05_02_370522_0001.jpg', '/home/pi/Desktop/images/13012025/10/05/image_13012025_10_05_02_370522_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/04/image_13012025_10_04_02_272338_0003.jpg
/home/pi/Desktop/images/13012025/10/05/image_13012025_10_05_02_370522_0000.jpg
/home/pi/Desktop/images/13012025/10/05/image_13012025_10_05_02_370522_0001.jpg
/home/pi/Desktop/images/13012025/10/05/image_13012025_10_05_02_370522_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328611297","1328611285","1328611213","1328611292"],"photo_ids_order":["1328611213","1328611285","1328611292","1328611297"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dd21fdcfa505d890a955d41515ffc2be.jpg","text":"TemporaryFile(/tmp/multipartBody8064589658080451305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759192404,"filename":"image_13012025_10_05_02_370522_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cc0576ce78afa8aa023316ef10d58547.jpg","text":"TemporaryFile(/tmp/multipartBody7025158864933142640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759192404,"filename":"image_13012025_10_05_02_370522_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/feb5853fa6de63eaca5e6619e9179783.jpg","text":"TemporaryFile(/tmp/multipartBody9022995162523318385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759192404,"filename":"image_13012025_10_04_02_272338_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/401630272ce800e7c76644e108b263e5.jpg","text":"TemporaryFile(/tmp/multipartBody49375747706173046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759192404,"filename":"image_13012025_10_05_02_370522_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328611292","file1":"1328611285","file0":"1328611213","file3":"1328611297"},"map_files_photo_id_array":[{"photo_id":"1328611292","filename":"file2"},{"photo_id":"1328611285","filename":"file1"},{"photo_id":"1328611213","filename":"file0"},{"photo_id":"1328611297","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328611297":["hashtag1","hashtag2"]},{"1328611285":["hashtag1","hashtag2"]},{"1328611213":["hashtag1","hashtag2"]},{"1328611292":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328611297, 1328611285, 1328611213, 1328611292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.94465494155884 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:06:22.381142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/05/image_13012025_10_05_02_370522_0003.jpg', '/home/pi/Desktop/images/13012025/10/06/image_13012025_10_06_02_503948_0000.jpg', '/home/pi/Desktop/images/13012025/10/06/image_13012025_10_06_02_503948_0001.jpg', '/home/pi/Desktop/images/13012025/10/06/image_13012025_10_06_02_503948_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/05/image_13012025_10_05_02_370522_0003.jpg
/home/pi/Desktop/images/13012025/10/06/image_13012025_10_06_02_503948_0000.jpg
/home/pi/Desktop/images/13012025/10/06/image_13012025_10_06_02_503948_0001.jpg
/home/pi/Desktop/images/13012025/10/06/image_13012025_10_06_02_503948_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328611342","1328611327","1328611338","1328611335"],"photo_ids_order":["1328611327","1328611335","1328611338","1328611342"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2737d7271a3c74956296cf31b879b71a.jpg","text":"TemporaryFile(/tmp/multipartBody6330144800766020688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759252623,"filename":"image_13012025_10_06_02_503948_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/88044a3192e8f240fc78b6d8432e4856.jpg","text":"TemporaryFile(/tmp/multipartBody8356440021941140185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759252623,"filename":"image_13012025_10_05_02_370522_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/51a9e2d039ed7fe21375b99f082f5e36.jpg","text":"TemporaryFile(/tmp/multipartBody3464357211978599014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759252623,"filename":"image_13012025_10_06_02_503948_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1caf9e1a80f542e26aac9ef488a4ea71.jpg","text":"TemporaryFile(/tmp/multipartBody2131236460134932559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759252623,"filename":"image_13012025_10_06_02_503948_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328611338","file1":"1328611335","file0":"1328611327","file3":"1328611342"},"map_files_photo_id_array":[{"photo_id":"1328611338","filename":"file2"},{"photo_id":"1328611335","filename":"file1"},{"photo_id":"1328611327","filename":"file0"},{"photo_id":"1328611342","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328611342":["hashtag1","hashtag2"]},{"1328611327":["hashtag1","hashtag2"]},{"1328611338":["hashtag1","hashtag2"]},{"1328611335":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328611342, 1328611327, 1328611338, 1328611335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.0359251499176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:07:03.159372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:07:22.543840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/06/image_13012025_10_06_02_503948_0003.jpg', '/home/pi/Desktop/images/13012025/10/07/image_13012025_10_07_02_775573_0000.jpg', '/home/pi/Desktop/images/13012025/10/07/image_13012025_10_07_02_775573_0001.jpg', '/home/pi/Desktop/images/13012025/10/07/image_13012025_10_07_02_775573_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/06/image_13012025_10_06_02_503948_0003.jpg
/home/pi/Desktop/images/13012025/10/07/image_13012025_10_07_02_775573_0000.jpg
/home/pi/Desktop/images/13012025/10/07/image_13012025_10_07_02_775573_0001.jpg
/home/pi/Desktop/images/13012025/10/07/image_13012025_10_07_02_775573_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328611384","1328611378","1328611373","1328611382"],"photo_ids_order":["1328611373","1328611378","1328611382","1328611384"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cf4b76aa126f74b5ee7c3f15c563480c.jpg","text":"TemporaryFile(/tmp/multipartBody1626510309149726339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759312771,"filename":"image_13012025_10_07_02_775573_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aa8c9b93ea50cbae673dfec3edd6b1ee.jpg","text":"TemporaryFile(/tmp/multipartBody778706647696622810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759312771,"filename":"image_13012025_10_07_02_775573_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/606f6a88e1fe18bcf0b0099811a24804.jpg","text":"TemporaryFile(/tmp/multipartBody7971976223820481203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759312771,"filename":"image_13012025_10_06_02_503948_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/009057bfb520d7969a636cd402354f30.jpg","text":"TemporaryFile(/tmp/multipartBody713236749853170608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759312771,"filename":"image_13012025_10_07_02_775573_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328611382","file1":"1328611378","file0":"1328611373","file3":"1328611384"},"map_files_photo_id_array":[{"photo_id":"1328611382","filename":"file2"},{"photo_id":"1328611378","filename":"file1"},{"photo_id":"1328611373","filename":"file0"},{"photo_id":"1328611384","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328611384":["hashtag1","hashtag2"]},{"1328611378":["hashtag1","hashtag2"]},{"1328611373":["hashtag1","hashtag2"]},{"1328611382":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328611384, 1328611378, 1328611373, 1328611382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.498403787612915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:08:03.108408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:08:22.702530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/07/image_13012025_10_07_02_775573_0003.jpg', '/home/pi/Desktop/images/13012025/10/08/image_13012025_10_08_02_852217_0000.jpg', '/home/pi/Desktop/images/13012025/10/08/image_13012025_10_08_02_852217_0001.jpg', '/home/pi/Desktop/images/13012025/10/08/image_13012025_10_08_02_852217_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/07/image_13012025_10_07_02_775573_0003.jpg
/home/pi/Desktop/images/13012025/10/08/image_13012025_10_08_02_852217_0000.jpg
/home/pi/Desktop/images/13012025/10/08/image_13012025_10_08_02_852217_0001.jpg
/home/pi/Desktop/images/13012025/10/08/image_13012025_10_08_02_852217_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328611415","1328611408","1328611411","1328611419"],"photo_ids_order":["1328611408","1328611411","1328611415","1328611419"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6d4697ff8525d76ea5ce746d26ef0e66.jpg","text":"TemporaryFile(/tmp/multipartBody8658668073660994366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759373004,"filename":"image_13012025_10_08_02_852217_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e54c459496ea6453c6118d1bc145a6ae.jpg","text":"TemporaryFile(/tmp/multipartBody116488485180416466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759373004,"filename":"image_13012025_10_07_02_775573_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/70698df7f2dbb61d31154662e848a6b0.jpg","text":"TemporaryFile(/tmp/multipartBody7360621183815767315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759373004,"filename":"image_13012025_10_08_02_852217_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5a8573a589fc7a3ff840d95d162dc99a.jpg","text":"TemporaryFile(/tmp/multipartBody1277665674995132966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759373004,"filename":"image_13012025_10_08_02_852217_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328611415","file1":"1328611411","file0":"1328611408","file3":"1328611419"},"map_files_photo_id_array":[{"photo_id":"1328611415","filename":"file2"},{"photo_id":"1328611411","filename":"file1"},{"photo_id":"1328611408","filename":"file0"},{"photo_id":"1328611419","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328611415":["hashtag1","hashtag2"]},{"1328611408":["hashtag1","hashtag2"]},{"1328611411":["hashtag1","hashtag2"]},{"1328611419":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328611415, 1328611408, 1328611411, 1328611419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.57300853729248 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:09:02.401995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:09:21.959525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/08/image_13012025_10_08_02_852217_0003.jpg', '/home/pi/Desktop/images/13012025/10/09/image_13012025_10_09_03_142667_0000.jpg', '/home/pi/Desktop/images/13012025/10/09/image_13012025_10_09_03_142667_0001.jpg', '/home/pi/Desktop/images/13012025/10/09/image_13012025_10_09_03_142667_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/08/image_13012025_10_08_02_852217_0003.jpg
/home/pi/Desktop/images/13012025/10/09/image_13012025_10_09_03_142667_0000.jpg
/home/pi/Desktop/images/13012025/10/09/image_13012025_10_09_03_142667_0001.jpg
/home/pi/Desktop/images/13012025/10/09/image_13012025_10_09_03_142667_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328611498","1328611476","1328611512","1328611515"],"photo_ids_order":["1328611476","1328611498","1328611512","1328611515"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0d612d71721ee7cda559914f114b787c.jpg","text":"TemporaryFile(/tmp/multipartBody2081473746378552919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759432376,"filename":"image_13012025_10_09_03_142667_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c1167771a063e911b1257290153f7d6e.jpg","text":"TemporaryFile(/tmp/multipartBody1271765292443027243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759432376,"filename":"image_13012025_10_08_02_852217_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ffefd3d6a15bd8aeea85706ddf817e2a.jpg","text":"TemporaryFile(/tmp/multipartBody2804261650214780036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759432376,"filename":"image_13012025_10_09_03_142667_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1bb7fbe995baed4005ba39194d0b488c.jpg","text":"TemporaryFile(/tmp/multipartBody1260171458073420446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759432376,"filename":"image_13012025_10_09_03_142667_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328611512","file1":"1328611498","file0":"1328611476","file3":"1328611515"},"map_files_photo_id_array":[{"photo_id":"1328611512","filename":"file2"},{"photo_id":"1328611498","filename":"file1"},{"photo_id":"1328611476","filename":"file0"},{"photo_id":"1328611515","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328611498":["hashtag1","hashtag2"]},{"1328611476":["hashtag1","hashtag2"]},{"1328611512":["hashtag1","hashtag2"]},{"1328611515":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328611498, 1328611476, 1328611512, 1328611515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.07658863067627 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:10:02.600314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:10:22.120401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/09/image_13012025_10_09_03_142667_0003.jpg', '/home/pi/Desktop/images/13012025/10/10/image_13012025_10_10_02_372427_0000.jpg', '/home/pi/Desktop/images/13012025/10/10/image_13012025_10_10_02_372427_0001.jpg', '/home/pi/Desktop/images/13012025/10/10/image_13012025_10_10_02_372427_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/09/image_13012025_10_09_03_142667_0003.jpg
/home/pi/Desktop/images/13012025/10/10/image_13012025_10_10_02_372427_0000.jpg
/home/pi/Desktop/images/13012025/10/10/image_13012025_10_10_02_372427_0001.jpg
/home/pi/Desktop/images/13012025/10/10/image_13012025_10_10_02_372427_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328611601","1328611613","1328611605","1328611608"],"photo_ids_order":["1328611601","1328611605","1328611608","1328611613"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/164f797871a194d39d510f6b7ae90a33.jpg","text":"TemporaryFile(/tmp/multipartBody8082248977530225210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759492379,"filename":"image_13012025_10_09_03_142667_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b7bea521e25d4ab0f7fbc790f0717cd2.jpg","text":"TemporaryFile(/tmp/multipartBody5781311242371730661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759492379,"filename":"image_13012025_10_10_02_372427_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e8bfe03db53f7b8d12ad33418a900f96.jpg","text":"TemporaryFile(/tmp/multipartBody7011852793474844902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759492379,"filename":"image_13012025_10_10_02_372427_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/075ca6ff810f557e2ed1bbd23f323388.jpg","text":"TemporaryFile(/tmp/multipartBody8678391169354516129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759492379,"filename":"image_13012025_10_10_02_372427_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328611608","file1":"1328611605","file0":"1328611601","file3":"1328611613"},"map_files_photo_id_array":[{"photo_id":"1328611608","filename":"file2"},{"photo_id":"1328611605","filename":"file1"},{"photo_id":"1328611601","filename":"file0"},{"photo_id":"1328611613","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328611601":["hashtag1","hashtag2"]},{"1328611613":["hashtag1","hashtag2"]},{"1328611605":["hashtag1","hashtag2"]},{"1328611608":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328611601, 1328611613, 1328611605, 1328611608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.64290452003479 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:11:02.817488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:11:22.374505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/10/image_13012025_10_10_02_372427_0003.jpg', '/home/pi/Desktop/images/13012025/10/11/image_13012025_10_11_02_515636_0000.jpg', '/home/pi/Desktop/images/13012025/10/11/image_13012025_10_11_02_515636_0001.jpg', '/home/pi/Desktop/images/13012025/10/11/image_13012025_10_11_02_515636_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/10/image_13012025_10_10_02_372427_0003.jpg
/home/pi/Desktop/images/13012025/10/11/image_13012025_10_11_02_515636_0000.jpg
/home/pi/Desktop/images/13012025/10/11/image_13012025_10_11_02_515636_0001.jpg
/home/pi/Desktop/images/13012025/10/11/image_13012025_10_11_02_515636_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328611643","1328611637","1328611633","1328611647"],"photo_ids_order":["1328611633","1328611637","1328611643","1328611647"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5165550edd20ccc0cad69376efb2f63c.jpg","text":"TemporaryFile(/tmp/multipartBody340000555857661920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759552712,"filename":"image_13012025_10_11_02_515636_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/884deb58dae9154209133ae059660283.jpg","text":"TemporaryFile(/tmp/multipartBody1554436916444938145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759552712,"filename":"image_13012025_10_11_02_515636_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e4d5694d0d57283c4e7c737afab37b71.jpg","text":"TemporaryFile(/tmp/multipartBody6475704784232222607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759552712,"filename":"image_13012025_10_10_02_372427_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1caaf4ca070c19dc3e242133ac2622d1.jpg","text":"TemporaryFile(/tmp/multipartBody2454329722759541990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759552712,"filename":"image_13012025_10_11_02_515636_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328611643","file1":"1328611637","file0":"1328611633","file3":"1328611647"},"map_files_photo_id_array":[{"photo_id":"1328611643","filename":"file2"},{"photo_id":"1328611637","filename":"file1"},{"photo_id":"1328611633","filename":"file0"},{"photo_id":"1328611647","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328611643":["hashtag1","hashtag2"]},{"1328611637":["hashtag1","hashtag2"]},{"1328611633":["hashtag1","hashtag2"]},{"1328611647":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328611643, 1328611637, 1328611633, 1328611647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.191051721572876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:12:22.937597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/11/image_13012025_10_11_02_515636_0003.jpg', '/home/pi/Desktop/images/13012025/10/12/image_13012025_10_12_02_699149_0000.jpg', '/home/pi/Desktop/images/13012025/10/12/image_13012025_10_12_02_699149_0001.jpg', '/home/pi/Desktop/images/13012025/10/12/image_13012025_10_12_02_699149_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/11/image_13012025_10_11_02_515636_0003.jpg
/home/pi/Desktop/images/13012025/10/12/image_13012025_10_12_02_699149_0000.jpg
/home/pi/Desktop/images/13012025/10/12/image_13012025_10_12_02_699149_0001.jpg
/home/pi/Desktop/images/13012025/10/12/image_13012025_10_12_02_699149_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328611690","1328611663","1328611695","1328611677"],"photo_ids_order":["1328611663","1328611677","1328611690","1328611695"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/09f0e69104e71afbd9468381464b8811.jpg","text":"TemporaryFile(/tmp/multipartBody6771405825569479479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759613024,"filename":"image_13012025_10_12_02_699149_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f25b8ecd7cbd73dac9fb2f7baf94c810.jpg","text":"TemporaryFile(/tmp/multipartBody6658983515239357401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759613024,"filename":"image_13012025_10_11_02_515636_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a78e63b7e5c38f91e77bacf236f98fd8.jpg","text":"TemporaryFile(/tmp/multipartBody4439491829971718144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759613024,"filename":"image_13012025_10_12_02_699149_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2965c2d0c3168da01915ff52ead6cd9b.jpg","text":"TemporaryFile(/tmp/multipartBody324925277950742159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759613024,"filename":"image_13012025_10_12_02_699149_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328611690","file1":"1328611677","file0":"1328611663","file3":"1328611695"},"map_files_photo_id_array":[{"photo_id":"1328611690","filename":"file2"},{"photo_id":"1328611677","filename":"file1"},{"photo_id":"1328611663","filename":"file0"},{"photo_id":"1328611695","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328611690":["hashtag1","hashtag2"]},{"1328611663":["hashtag1","hashtag2"]},{"1328611695":["hashtag1","hashtag2"]},{"1328611677":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328611690, 1328611663, 1328611695, 1328611677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.19109654426575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:13:03.200644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:13:22.684614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/12/image_13012025_10_12_02_699149_0003.jpg', '/home/pi/Desktop/images/13012025/10/13/image_13012025_10_13_02_831159_0000.jpg', '/home/pi/Desktop/images/13012025/10/13/image_13012025_10_13_02_831159_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/12/image_13012025_10_12_02_699149_0003.jpg
/home/pi/Desktop/images/13012025/10/13/image_13012025_10_13_02_831159_0000.jpg
/home/pi/Desktop/images/13012025/10/13/image_13012025_10_13_02_831159_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328611720","1328611728","1328611725"],"photo_ids_order":["1328611720","1328611725","1328611728"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b8f00a3ec8d763248931d58a262de191.jpg","text":"TemporaryFile(/tmp/multipartBody1445674624849334909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759670428,"filename":"image_13012025_10_12_02_699149_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ed9b5fd6673de251051d0ac9a437328a.jpg","text":"TemporaryFile(/tmp/multipartBody1718486421895826368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759670428,"filename":"image_13012025_10_13_02_831159_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3432dbd59867385a184000ddd8ce1adb.jpg","text":"TemporaryFile(/tmp/multipartBody3559142698236457057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759670428,"filename":"image_13012025_10_13_02_831159_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328611728","file1":"1328611725","file0":"1328611720"},"map_files_photo_id_array":[{"photo_id":"1328611728","filename":"file2"},{"photo_id":"1328611725","filename":"file1"},{"photo_id":"1328611720","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328611720":["hashtag1","hashtag2"]},{"1328611728":["hashtag1","hashtag2"]},{"1328611725":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328611720, 1328611728, 1328611725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.96868896484375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:14:02.257534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:14:21.909626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/13/image_13012025_10_13_02_831159_0003.jpg', '/home/pi/Desktop/images/13012025/10/14/image_13012025_10_14_02_995734_0000.jpg', '/home/pi/Desktop/images/13012025/10/14/image_13012025_10_14_02_995734_0001.jpg', '/home/pi/Desktop/images/13012025/10/14/image_13012025_10_14_02_995734_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/13/image_13012025_10_13_02_831159_0003.jpg
/home/pi/Desktop/images/13012025/10/14/image_13012025_10_14_02_995734_0000.jpg
/home/pi/Desktop/images/13012025/10/14/image_13012025_10_14_02_995734_0001.jpg
/home/pi/Desktop/images/13012025/10/14/image_13012025_10_14_02_995734_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328611798","1328611765","1328611779","1328611770"],"photo_ids_order":["1328611765","1328611770","1328611779","1328611798"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/707963931cae1dd7739ac399303d415e.jpg","text":"TemporaryFile(/tmp/multipartBody7639252567515149018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759732199,"filename":"image_13012025_10_14_02_995734_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a6fd9481ab42b554e23003a141afd656.jpg","text":"TemporaryFile(/tmp/multipartBody8154472706176007881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759732199,"filename":"image_13012025_10_13_02_831159_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3ab85037312d75de1e0903409029d547.jpg","text":"TemporaryFile(/tmp/multipartBody3599161143094168679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759732199,"filename":"image_13012025_10_14_02_995734_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7f51e68930e6edfa470ca098665d7eb7.jpg","text":"TemporaryFile(/tmp/multipartBody2722946498245212336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759732199,"filename":"image_13012025_10_14_02_995734_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328611779","file1":"1328611770","file0":"1328611765","file3":"1328611798"},"map_files_photo_id_array":[{"photo_id":"1328611779","filename":"file2"},{"photo_id":"1328611770","filename":"file1"},{"photo_id":"1328611765","filename":"file0"},{"photo_id":"1328611798","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328611798":["hashtag1","hashtag2"]},{"1328611765":["hashtag1","hashtag2"]},{"1328611779":["hashtag1","hashtag2"]},{"1328611770":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328611798, 1328611765, 1328611779, 1328611770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.45720982551575 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:15:22.009931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/14/image_13012025_10_14_02_995734_0003.jpg', '/home/pi/Desktop/images/13012025/10/15/image_13012025_10_15_02_164323_0000.jpg', '/home/pi/Desktop/images/13012025/10/15/image_13012025_10_15_02_164323_0001.jpg', '/home/pi/Desktop/images/13012025/10/15/image_13012025_10_15_02_164323_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/14/image_13012025_10_14_02_995734_0003.jpg
/home/pi/Desktop/images/13012025/10/15/image_13012025_10_15_02_164323_0000.jpg
/home/pi/Desktop/images/13012025/10/15/image_13012025_10_15_02_164323_0001.jpg
/home/pi/Desktop/images/13012025/10/15/image_13012025_10_15_02_164323_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328611936","1328611858","1328611950","1328611925"],"photo_ids_order":["1328611858","1328611925","1328611936","1328611950"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/471b2435848ff0b0ed4b8049a8a834a4.jpg","text":"TemporaryFile(/tmp/multipartBody6097194885256336258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759792152,"filename":"image_13012025_10_15_02_164323_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/98bc2424c842ee0ff7a43488f3b0233c.jpg","text":"TemporaryFile(/tmp/multipartBody4411759331454437347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759792152,"filename":"image_13012025_10_14_02_995734_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8c80d4590d7a208efe1e3cf655ca4bef.jpg","text":"TemporaryFile(/tmp/multipartBody2587619170400032581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759792152,"filename":"image_13012025_10_15_02_164323_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/038a391d8418abb8fb07873ca7b76020.jpg","text":"TemporaryFile(/tmp/multipartBody9161289124233433552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759792152,"filename":"image_13012025_10_15_02_164323_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328611936","file1":"1328611925","file0":"1328611858","file3":"1328611950"},"map_files_photo_id_array":[{"photo_id":"1328611936","filename":"file2"},{"photo_id":"1328611925","filename":"file1"},{"photo_id":"1328611858","filename":"file0"},{"photo_id":"1328611950","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328611936":["hashtag1","hashtag2"]},{"1328611858":["hashtag1","hashtag2"]},{"1328611950":["hashtag1","hashtag2"]},{"1328611925":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328611936, 1328611858, 1328611950, 1328611925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.62478685379028 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:16:02.594740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:16:22.144670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/15/image_13012025_10_15_02_164323_0003.jpg', '/home/pi/Desktop/images/13012025/10/16/image_13012025_10_16_02_364619_0000.jpg', '/home/pi/Desktop/images/13012025/10/16/image_13012025_10_16_02_364619_0001.jpg', '/home/pi/Desktop/images/13012025/10/16/image_13012025_10_16_02_364619_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/15/image_13012025_10_15_02_164323_0003.jpg
/home/pi/Desktop/images/13012025/10/16/image_13012025_10_16_02_364619_0000.jpg
/home/pi/Desktop/images/13012025/10/16/image_13012025_10_16_02_364619_0001.jpg
/home/pi/Desktop/images/13012025/10/16/image_13012025_10_16_02_364619_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328611978","1328611983","1328611988","1328611973"],"photo_ids_order":["1328611973","1328611978","1328611983","1328611988"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/66750c1b9598fea766a92fe30f816f98.jpg","text":"TemporaryFile(/tmp/multipartBody6835632228365791087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759852140,"filename":"image_13012025_10_16_02_364619_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b156f1deb7dd790e66ed240d9cc96d24.jpg","text":"TemporaryFile(/tmp/multipartBody127407489436102980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759852140,"filename":"image_13012025_10_16_02_364619_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f5b7a229398f9e4e0b200ef4e3d548ba.jpg","text":"TemporaryFile(/tmp/multipartBody2015955741574519422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759852140,"filename":"image_13012025_10_16_02_364619_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f1ecfebfd52bf1938306c1868787f87a.jpg","text":"TemporaryFile(/tmp/multipartBody6029435491884559583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759852140,"filename":"image_13012025_10_15_02_164323_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328611983","file1":"1328611978","file0":"1328611973","file3":"1328611988"},"map_files_photo_id_array":[{"photo_id":"1328611983","filename":"file2"},{"photo_id":"1328611978","filename":"file1"},{"photo_id":"1328611973","filename":"file0"},{"photo_id":"1328611988","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328611978":["hashtag1","hashtag2"]},{"1328611983":["hashtag1","hashtag2"]},{"1328611988":["hashtag1","hashtag2"]},{"1328611973":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328611978, 1328611983, 1328611988, 1328611973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.76620054244995 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:17:02.909768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:17:22.304137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/16/image_13012025_10_16_02_364619_0003.jpg', '/home/pi/Desktop/images/13012025/10/17/image_13012025_10_17_02_519120_0000.jpg', '/home/pi/Desktop/images/13012025/10/17/image_13012025_10_17_02_519120_0001.jpg', '/home/pi/Desktop/images/13012025/10/17/image_13012025_10_17_02_519120_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/16/image_13012025_10_16_02_364619_0003.jpg
/home/pi/Desktop/images/13012025/10/17/image_13012025_10_17_02_519120_0000.jpg
/home/pi/Desktop/images/13012025/10/17/image_13012025_10_17_02_519120_0001.jpg
/home/pi/Desktop/images/13012025/10/17/image_13012025_10_17_02_519120_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328612016","1328612001","1328612010","1328612006"],"photo_ids_order":["1328612001","1328612006","1328612010","1328612016"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/534a01e4c3455e5f45c64efb21f36e0f.jpg","text":"TemporaryFile(/tmp/multipartBody3282371071652270056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759912491,"filename":"image_13012025_10_17_02_519120_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0d206f144556a81a08964d87c5c6b5cc.jpg","text":"TemporaryFile(/tmp/multipartBody4258386138682311478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759912491,"filename":"image_13012025_10_16_02_364619_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/72ebbeec47a4680f68a73e5863383b0e.jpg","text":"TemporaryFile(/tmp/multipartBody3963431268725126255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759912491,"filename":"image_13012025_10_17_02_519120_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ed4ea3d7a7be8a33388ffad6ee54931c.jpg","text":"TemporaryFile(/tmp/multipartBody791028209035663488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759912491,"filename":"image_13012025_10_17_02_519120_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328612010","file1":"1328612006","file0":"1328612001","file3":"1328612016"},"map_files_photo_id_array":[{"photo_id":"1328612010","filename":"file2"},{"photo_id":"1328612006","filename":"file1"},{"photo_id":"1328612001","filename":"file0"},{"photo_id":"1328612016","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328612016":["hashtag1","hashtag2"]},{"1328612001":["hashtag1","hashtag2"]},{"1328612010":["hashtag1","hashtag2"]},{"1328612006":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328612016, 1328612001, 1328612010, 1328612006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.47762608528137 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:18:03.038098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:18:22.488522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/17/image_13012025_10_17_02_519120_0003.jpg', '/home/pi/Desktop/images/13012025/10/18/image_13012025_10_18_02_629875_0000.jpg', '/home/pi/Desktop/images/13012025/10/18/image_13012025_10_18_02_629875_0001.jpg', '/home/pi/Desktop/images/13012025/10/18/image_13012025_10_18_02_629875_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/17/image_13012025_10_17_02_519120_0003.jpg
/home/pi/Desktop/images/13012025/10/18/image_13012025_10_18_02_629875_0000.jpg
/home/pi/Desktop/images/13012025/10/18/image_13012025_10_18_02_629875_0001.jpg
/home/pi/Desktop/images/13012025/10/18/image_13012025_10_18_02_629875_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328612050","1328612028","1328612037","1328612054"],"photo_ids_order":["1328612028","1328612037","1328612050","1328612054"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/55bf05a2c0118d57028da66f8ea16864.jpg","text":"TemporaryFile(/tmp/multipartBody6665826277690532621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759972550,"filename":"image_13012025_10_18_02_629875_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6f820fa4f89ec8af3281d95a1763edc7.jpg","text":"TemporaryFile(/tmp/multipartBody708273119639228142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759972550,"filename":"image_13012025_10_17_02_519120_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/efbb5e43b15153bd6397cb25cb0d0fd6.jpg","text":"TemporaryFile(/tmp/multipartBody5543642251563522968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759972550,"filename":"image_13012025_10_18_02_629875_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3a46edd7a9735e49cae7c2f515213996.jpg","text":"TemporaryFile(/tmp/multipartBody8553444819957086302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736759972550,"filename":"image_13012025_10_18_02_629875_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328612050","file1":"1328612037","file0":"1328612028","file3":"1328612054"},"map_files_photo_id_array":[{"photo_id":"1328612050","filename":"file2"},{"photo_id":"1328612037","filename":"file1"},{"photo_id":"1328612028","filename":"file0"},{"photo_id":"1328612054","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328612050":["hashtag1","hashtag2"]},{"1328612028":["hashtag1","hashtag2"]},{"1328612037":["hashtag1","hashtag2"]},{"1328612054":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328612050, 1328612028, 1328612037, 1328612054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.32245063781738 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:19:03.352960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:19:22.776893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/18/image_13012025_10_18_02_629875_0003.jpg', '/home/pi/Desktop/images/13012025/10/19/image_13012025_10_19_02_816370_0000.jpg', '/home/pi/Desktop/images/13012025/10/19/image_13012025_10_19_02_816370_0001.jpg', '/home/pi/Desktop/images/13012025/10/19/image_13012025_10_19_02_816370_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/18/image_13012025_10_18_02_629875_0003.jpg
/home/pi/Desktop/images/13012025/10/19/image_13012025_10_19_02_816370_0000.jpg
/home/pi/Desktop/images/13012025/10/19/image_13012025_10_19_02_816370_0001.jpg
/home/pi/Desktop/images/13012025/10/19/image_13012025_10_19_02_816370_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328613013","1328613006","1328613009","1328613017"],"photo_ids_order":["1328613006","1328613009","1328613013","1328613017"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/094fb56e31a0304c03c30c796fe5a8c8.jpg","text":"TemporaryFile(/tmp/multipartBody2782994443921299149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760032867,"filename":"image_13012025_10_19_02_816370_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f959321f4014d3eef82c6b9451cf2217.jpg","text":"TemporaryFile(/tmp/multipartBody2546437546296176625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760032867,"filename":"image_13012025_10_18_02_629875_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/07a67b0522277300c4825817e332403f.jpg","text":"TemporaryFile(/tmp/multipartBody7126651570789648057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760032867,"filename":"image_13012025_10_19_02_816370_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1bd48ae658f55b92f004e7e8f5a3fda6.jpg","text":"TemporaryFile(/tmp/multipartBody4058799039125724449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760032867,"filename":"image_13012025_10_19_02_816370_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328613013","file1":"1328613009","file0":"1328613006","file3":"1328613017"},"map_files_photo_id_array":[{"photo_id":"1328613013","filename":"file2"},{"photo_id":"1328613009","filename":"file1"},{"photo_id":"1328613006","filename":"file0"},{"photo_id":"1328613017","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328613013":["hashtag1","hashtag2"]},{"1328613006":["hashtag1","hashtag2"]},{"1328613009":["hashtag1","hashtag2"]},{"1328613017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328613013, 1328613006, 1328613009, 1328613017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.58528423309326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:20:21.821318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/19/image_13012025_10_19_02_816370_0003.jpg', '/home/pi/Desktop/images/13012025/10/20/image_13012025_10_20_03_059820_0000.jpg', '/home/pi/Desktop/images/13012025/10/20/image_13012025_10_20_03_059820_0001.jpg', '/home/pi/Desktop/images/13012025/10/20/image_13012025_10_20_03_059820_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/19/image_13012025_10_19_02_816370_0003.jpg
/home/pi/Desktop/images/13012025/10/20/image_13012025_10_20_03_059820_0000.jpg
/home/pi/Desktop/images/13012025/10/20/image_13012025_10_20_03_059820_0001.jpg
/home/pi/Desktop/images/13012025/10/20/image_13012025_10_20_03_059820_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328613498","1328613491","1328613504","1328613116"],"photo_ids_order":["1328613116","1328613491","1328613498","1328613504"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/65b542dbaef26f675a06b85d5ef3c215.jpg","text":"TemporaryFile(/tmp/multipartBody4236723128152020593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760092009,"filename":"image_13012025_10_20_03_059820_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c41a9fa6f9719a7b2b4fde7c2399282b.jpg","text":"TemporaryFile(/tmp/multipartBody2994418841625274192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760092009,"filename":"image_13012025_10_20_03_059820_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/32a62f93c2bcae96318c95b9eec35fbb.jpg","text":"TemporaryFile(/tmp/multipartBody8092552082131718642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760092009,"filename":"image_13012025_10_20_03_059820_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a4e047a67412c72741743d87de9f67ed.jpg","text":"TemporaryFile(/tmp/multipartBody1633333943165349825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760092009,"filename":"image_13012025_10_19_02_816370_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328613498","file1":"1328613491","file0":"1328613116","file3":"1328613504"},"map_files_photo_id_array":[{"photo_id":"1328613498","filename":"file2"},{"photo_id":"1328613491","filename":"file1"},{"photo_id":"1328613116","filename":"file0"},{"photo_id":"1328613504","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328613498":["hashtag1","hashtag2"]},{"1328613491":["hashtag1","hashtag2"]},{"1328613504":["hashtag1","hashtag2"]},{"1328613116":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328613498, 1328613491, 1328613504, 1328613116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.224037647247314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:21:02.569080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:21:22.048335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/20/image_13012025_10_20_03_059820_0003.jpg', '/home/pi/Desktop/images/13012025/10/21/image_13012025_10_21_02_243083_0000.jpg', '/home/pi/Desktop/images/13012025/10/21/image_13012025_10_21_02_243083_0001.jpg', '/home/pi/Desktop/images/13012025/10/21/image_13012025_10_21_02_243083_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/20/image_13012025_10_20_03_059820_0003.jpg
/home/pi/Desktop/images/13012025/10/21/image_13012025_10_21_02_243083_0000.jpg
/home/pi/Desktop/images/13012025/10/21/image_13012025_10_21_02_243083_0001.jpg
/home/pi/Desktop/images/13012025/10/21/image_13012025_10_21_02_243083_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328613639","1328613621","1328613618","1328613626"],"photo_ids_order":["1328613618","1328613621","1328613626","1328613639"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8ba282f31b333679c375bf56d9af12f3.jpg","text":"TemporaryFile(/tmp/multipartBody999168419893865551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760152120,"filename":"image_13012025_10_21_02_243083_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9aa2a869163129c02fd3b53ab5458fa2.jpg","text":"TemporaryFile(/tmp/multipartBody2626411326207070645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760152120,"filename":"image_13012025_10_21_02_243083_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/31f72ee8edb4b044897d9cca63519d2d.jpg","text":"TemporaryFile(/tmp/multipartBody6990439667817556361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760152120,"filename":"image_13012025_10_20_03_059820_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a7379ec0e32db70623801114d981e8be.jpg","text":"TemporaryFile(/tmp/multipartBody8912911786225617794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760152120,"filename":"image_13012025_10_21_02_243083_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328613626","file1":"1328613621","file0":"1328613618","file3":"1328613639"},"map_files_photo_id_array":[{"photo_id":"1328613626","filename":"file2"},{"photo_id":"1328613621","filename":"file1"},{"photo_id":"1328613618","filename":"file0"},{"photo_id":"1328613639","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328613639":["hashtag1","hashtag2"]},{"1328613621":["hashtag1","hashtag2"]},{"1328613618":["hashtag1","hashtag2"]},{"1328613626":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328613639, 1328613621, 1328613618, 1328613626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.98804306983948 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:22:02.555046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:22:22.245791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/21/image_13012025_10_21_02_243083_0003.jpg', '/home/pi/Desktop/images/13012025/10/22/image_13012025_10_22_02_404676_0000.jpg', '/home/pi/Desktop/images/13012025/10/22/image_13012025_10_22_02_404676_0001.jpg', '/home/pi/Desktop/images/13012025/10/22/image_13012025_10_22_02_404676_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/21/image_13012025_10_21_02_243083_0003.jpg
/home/pi/Desktop/images/13012025/10/22/image_13012025_10_22_02_404676_0000.jpg
/home/pi/Desktop/images/13012025/10/22/image_13012025_10_22_02_404676_0001.jpg
/home/pi/Desktop/images/13012025/10/22/image_13012025_10_22_02_404676_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328613675","1328613678","1328613672","1328613682"],"photo_ids_order":["1328613672","1328613675","1328613678","1328613682"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f11a7a350ecbf9b304dbef34c4e5c080.jpg","text":"TemporaryFile(/tmp/multipartBody7636746287867392025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760212528,"filename":"image_13012025_10_22_02_404676_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a9f5dcac9fe31f0c48876e7c9afcd841.jpg","text":"TemporaryFile(/tmp/multipartBody3798849018327180607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760212528,"filename":"image_13012025_10_22_02_404676_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9d74024804686625817f626f4da7938b.jpg","text":"TemporaryFile(/tmp/multipartBody7818178159216113073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760212528,"filename":"image_13012025_10_21_02_243083_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8822dd43e95c535503e7757b2c9acaf5.jpg","text":"TemporaryFile(/tmp/multipartBody80874937810156327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760212528,"filename":"image_13012025_10_22_02_404676_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328613678","file1":"1328613675","file0":"1328613672","file3":"1328613682"},"map_files_photo_id_array":[{"photo_id":"1328613678","filename":"file2"},{"photo_id":"1328613675","filename":"file1"},{"photo_id":"1328613672","filename":"file0"},{"photo_id":"1328613682","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328613675":["hashtag1","hashtag2"]},{"1328613678":["hashtag1","hashtag2"]},{"1328613672":["hashtag1","hashtag2"]},{"1328613682":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328613675, 1328613678, 1328613672, 1328613682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.12624144554138 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:23:02.905205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:23:22.457888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/22/image_13012025_10_22_02_404676_0003.jpg', '/home/pi/Desktop/images/13012025/10/23/image_13012025_10_23_02_555999_0000.jpg', '/home/pi/Desktop/images/13012025/10/23/image_13012025_10_23_02_555999_0001.jpg', '/home/pi/Desktop/images/13012025/10/23/image_13012025_10_23_02_555999_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/22/image_13012025_10_22_02_404676_0003.jpg
/home/pi/Desktop/images/13012025/10/23/image_13012025_10_23_02_555999_0000.jpg
/home/pi/Desktop/images/13012025/10/23/image_13012025_10_23_02_555999_0001.jpg
/home/pi/Desktop/images/13012025/10/23/image_13012025_10_23_02_555999_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328613700","1328613717","1328613705","1328613710"],"photo_ids_order":["1328613700","1328613705","1328613710","1328613717"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bec3845fdbbaff3383ca3e50bd1f5f1a.jpg","text":"TemporaryFile(/tmp/multipartBody3821024763869828635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760272733,"filename":"image_13012025_10_22_02_404676_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e23c11c8e1fbcb9619dc2e778126b9ec.jpg","text":"TemporaryFile(/tmp/multipartBody8710444127417794432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760272733,"filename":"image_13012025_10_23_02_555999_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/991baae0b24de28a0852cf434d4f4cf2.jpg","text":"TemporaryFile(/tmp/multipartBody5505339865267699313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760272733,"filename":"image_13012025_10_23_02_555999_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/532c488c2e89d37eaf3ef9a2db368e19.jpg","text":"TemporaryFile(/tmp/multipartBody6272335041388731196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760272733,"filename":"image_13012025_10_23_02_555999_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328613710","file1":"1328613705","file0":"1328613700","file3":"1328613717"},"map_files_photo_id_array":[{"photo_id":"1328613710","filename":"file2"},{"photo_id":"1328613705","filename":"file1"},{"photo_id":"1328613700","filename":"file0"},{"photo_id":"1328613717","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328613700":["hashtag1","hashtag2"]},{"1328613717":["hashtag1","hashtag2"]},{"1328613705":["hashtag1","hashtag2"]},{"1328613710":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328613700, 1328613717, 1328613705, 1328613710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.484333992004395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:24:03.060316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:24:22.610719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/23/image_13012025_10_23_02_555999_0003.jpg', '/home/pi/Desktop/images/13012025/10/24/image_13012025_10_24_02_697130_0000.jpg', '/home/pi/Desktop/images/13012025/10/24/image_13012025_10_24_02_697130_0001.jpg', '/home/pi/Desktop/images/13012025/10/24/image_13012025_10_24_02_697130_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/23/image_13012025_10_23_02_555999_0003.jpg
/home/pi/Desktop/images/13012025/10/24/image_13012025_10_24_02_697130_0000.jpg
/home/pi/Desktop/images/13012025/10/24/image_13012025_10_24_02_697130_0001.jpg
/home/pi/Desktop/images/13012025/10/24/image_13012025_10_24_02_697130_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328613767","1328613746","1328613772","1328613733"],"photo_ids_order":["1328613733","1328613746","1328613767","1328613772"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3d1e746fe0cc050a6d85603c139c6153.jpg","text":"TemporaryFile(/tmp/multipartBody6922372826384067815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760332824,"filename":"image_13012025_10_24_02_697130_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dc38733acfb3d3a0b74c358fcbdb41c9.jpg","text":"TemporaryFile(/tmp/multipartBody8634329883772499371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760332824,"filename":"image_13012025_10_24_02_697130_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bd7ba5fb0ce013a2524d71f96c283592.jpg","text":"TemporaryFile(/tmp/multipartBody5663097029454396514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760332824,"filename":"image_13012025_10_24_02_697130_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/072f02eabf30a203adb88f995e91034e.jpg","text":"TemporaryFile(/tmp/multipartBody6815769096846570318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760332824,"filename":"image_13012025_10_23_02_555999_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328613767","file1":"1328613746","file0":"1328613733","file3":"1328613772"},"map_files_photo_id_array":[{"photo_id":"1328613767","filename":"file2"},{"photo_id":"1328613746","filename":"file1"},{"photo_id":"1328613733","filename":"file0"},{"photo_id":"1328613772","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328613767":["hashtag1","hashtag2"]},{"1328613746":["hashtag1","hashtag2"]},{"1328613772":["hashtag1","hashtag2"]},{"1328613733":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328613767, 1328613746, 1328613772, 1328613733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.24812030792236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:25:03.392453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:25:22.839376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/24/image_13012025_10_24_02_697130_0003.jpg', '/home/pi/Desktop/images/13012025/10/25/image_13012025_10_25_02_979940_0000.jpg', '/home/pi/Desktop/images/13012025/10/25/image_13012025_10_25_02_979940_0001.jpg', '/home/pi/Desktop/images/13012025/10/25/image_13012025_10_25_02_979940_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/24/image_13012025_10_24_02_697130_0003.jpg
/home/pi/Desktop/images/13012025/10/25/image_13012025_10_25_02_979940_0000.jpg
/home/pi/Desktop/images/13012025/10/25/image_13012025_10_25_02_979940_0001.jpg
/home/pi/Desktop/images/13012025/10/25/image_13012025_10_25_02_979940_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328613795","1328613791","1328613788","1328613784"],"photo_ids_order":["1328613784","1328613788","1328613791","1328613795"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1d234b3703e9e9abd36b9182f27c0189.jpg","text":"TemporaryFile(/tmp/multipartBody622256223782049857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760392887,"filename":"image_13012025_10_25_02_979940_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8f8c2033ba145a215aaf41503d766126.jpg","text":"TemporaryFile(/tmp/multipartBody7974316698800562032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760392887,"filename":"image_13012025_10_25_02_979940_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0a235fce790382db8b3b92b243a4f85a.jpg","text":"TemporaryFile(/tmp/multipartBody7782541683994540271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760392887,"filename":"image_13012025_10_25_02_979940_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/05c2720af5477ce76fa14a7514f864ef.jpg","text":"TemporaryFile(/tmp/multipartBody6765007254885622366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760392887,"filename":"image_13012025_10_24_02_697130_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328613791","file1":"1328613788","file0":"1328613784","file3":"1328613795"},"map_files_photo_id_array":[{"photo_id":"1328613791","filename":"file2"},{"photo_id":"1328613788","filename":"file1"},{"photo_id":"1328613784","filename":"file0"},{"photo_id":"1328613795","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328613795":["hashtag1","hashtag2"]},{"1328613791":["hashtag1","hashtag2"]},{"1328613788":["hashtag1","hashtag2"]},{"1328613784":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328613795, 1328613791, 1328613788, 1328613784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.768165826797485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:26:21.936755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/25/image_13012025_10_25_02_979940_0003.jpg', '/home/pi/Desktop/images/13012025/10/26/image_13012025_10_26_03_175742_0000.jpg', '/home/pi/Desktop/images/13012025/10/26/image_13012025_10_26_03_175742_0001.jpg', '/home/pi/Desktop/images/13012025/10/26/image_13012025_10_26_03_175742_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/25/image_13012025_10_25_02_979940_0003.jpg
/home/pi/Desktop/images/13012025/10/26/image_13012025_10_26_03_175742_0000.jpg
/home/pi/Desktop/images/13012025/10/26/image_13012025_10_26_03_175742_0001.jpg
/home/pi/Desktop/images/13012025/10/26/image_13012025_10_26_03_175742_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328613825","1328613821","1328613815","1328613818"],"photo_ids_order":["1328613815","1328613818","1328613821","1328613825"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4a067004c34549a56e4c3f874602d61e.jpg","text":"TemporaryFile(/tmp/multipartBody6650293238500508455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760452021,"filename":"image_13012025_10_26_03_175742_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7daa4e9fb600c0fc3506814b9c90eb99.jpg","text":"TemporaryFile(/tmp/multipartBody5859242068926065288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760452021,"filename":"image_13012025_10_26_03_175742_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/16870f3ab81b28209fcde8aeba289a83.jpg","text":"TemporaryFile(/tmp/multipartBody6280943015682647040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760452021,"filename":"image_13012025_10_25_02_979940_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aa061dd16f21b3d664123e3242235af1.jpg","text":"TemporaryFile(/tmp/multipartBody1097377586444461690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760452021,"filename":"image_13012025_10_26_03_175742_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328613821","file1":"1328613818","file0":"1328613815","file3":"1328613825"},"map_files_photo_id_array":[{"photo_id":"1328613821","filename":"file2"},{"photo_id":"1328613818","filename":"file1"},{"photo_id":"1328613815","filename":"file0"},{"photo_id":"1328613825","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328613825":["hashtag1","hashtag2"]},{"1328613821":["hashtag1","hashtag2"]},{"1328613815":["hashtag1","hashtag2"]},{"1328613818":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328613825, 1328613821, 1328613815, 1328613818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.72133779525757 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:27:02.806201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:27:22.036788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/26/image_13012025_10_26_03_175742_0003.jpg', '/home/pi/Desktop/images/13012025/10/27/image_13012025_10_27_02_256196_0000.jpg', '/home/pi/Desktop/images/13012025/10/27/image_13012025_10_27_02_256196_0001.jpg', '/home/pi/Desktop/images/13012025/10/27/image_13012025_10_27_02_256196_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/26/image_13012025_10_26_03_175742_0003.jpg
/home/pi/Desktop/images/13012025/10/27/image_13012025_10_27_02_256196_0000.jpg
/home/pi/Desktop/images/13012025/10/27/image_13012025_10_27_02_256196_0001.jpg
/home/pi/Desktop/images/13012025/10/27/image_13012025_10_27_02_256196_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328613840","1328613878","1328613851","1328613845"],"photo_ids_order":["1328613840","1328613845","1328613851","1328613878"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/26d384cb997ecfc309679acc16c91d85.jpg","text":"TemporaryFile(/tmp/multipartBody9020429629058258898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760512231,"filename":"image_13012025_10_26_03_175742_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9a21248c2d6b17c1a630b4739d91f184.jpg","text":"TemporaryFile(/tmp/multipartBody5593824405446820723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760512231,"filename":"image_13012025_10_27_02_256196_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/964a5f305ba40f1361ec7e9f804581be.jpg","text":"TemporaryFile(/tmp/multipartBody3090542827227188824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760512231,"filename":"image_13012025_10_27_02_256196_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/089d828891589529db0cf448771e840c.jpg","text":"TemporaryFile(/tmp/multipartBody5040640309115862209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760512231,"filename":"image_13012025_10_27_02_256196_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328613851","file1":"1328613845","file0":"1328613840","file3":"1328613878"},"map_files_photo_id_array":[{"photo_id":"1328613851","filename":"file2"},{"photo_id":"1328613845","filename":"file1"},{"photo_id":"1328613840","filename":"file0"},{"photo_id":"1328613878","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328613840":["hashtag1","hashtag2"]},{"1328613878":["hashtag1","hashtag2"]},{"1328613851":["hashtag1","hashtag2"]},{"1328613845":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328613840, 1328613878, 1328613851, 1328613845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.10163164138794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:28:22.247344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/27/image_13012025_10_27_02_256196_0003.jpg', '/home/pi/Desktop/images/13012025/10/28/image_13012025_10_28_02_500177_0000.jpg', '/home/pi/Desktop/images/13012025/10/28/image_13012025_10_28_02_500177_0001.jpg', '/home/pi/Desktop/images/13012025/10/28/image_13012025_10_28_02_500177_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/27/image_13012025_10_27_02_256196_0003.jpg
/home/pi/Desktop/images/13012025/10/28/image_13012025_10_28_02_500177_0000.jpg
/home/pi/Desktop/images/13012025/10/28/image_13012025_10_28_02_500177_0001.jpg
/home/pi/Desktop/images/13012025/10/28/image_13012025_10_28_02_500177_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.950876235961914 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 10:28:42.243935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/27/image_13012025_10_27_02_256196_0003.jpg', '/home/pi/Desktop/images/13012025/10/28/image_13012025_10_28_02_500177_0000.jpg', '/home/pi/Desktop/images/13012025/10/28/image_13012025_10_28_02_500177_0001.jpg', '/home/pi/Desktop/images/13012025/10/28/image_13012025_10_28_02_500177_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/27/image_13012025_10_27_02_256196_0003.jpg
/home/pi/Desktop/images/13012025/10/28/image_13012025_10_28_02_500177_0000.jpg
/home/pi/Desktop/images/13012025/10/28/image_13012025_10_28_02_500177_0001.jpg
/home/pi/Desktop/images/13012025/10/28/image_13012025_10_28_02_500177_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328613918","1328613912","1328613906","1328613908"],"photo_ids_order":["1328613906","1328613908","1328613912","1328613918"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/48537dde797b8e048bbb75eac7052bf5.jpg","text":"TemporaryFile(/tmp/multipartBody8227841677011213912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760592601,"filename":"image_13012025_10_28_02_500177_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a6719bfb836cbc95ad2e55a2bf205bfe.jpg","text":"TemporaryFile(/tmp/multipartBody6722208225709403464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760592601,"filename":"image_13012025_10_28_02_500177_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fa5bd9a013cae5dcf9753d0a6bed5c5d.jpg","text":"TemporaryFile(/tmp/multipartBody8361326774021254070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760592601,"filename":"image_13012025_10_27_02_256196_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/49beb11c2a5ff6fd4a986e38afe31165.jpg","text":"TemporaryFile(/tmp/multipartBody5260410448390924188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760592601,"filename":"image_13012025_10_28_02_500177_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328613912","file1":"1328613908","file0":"1328613906","file3":"1328613918"},"map_files_photo_id_array":[{"photo_id":"1328613912","filename":"file2"},{"photo_id":"1328613908","filename":"file1"},{"photo_id":"1328613906","filename":"file0"},{"photo_id":"1328613918","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328613918":["hashtag1","hashtag2"]},{"1328613912":["hashtag1","hashtag2"]},{"1328613906":["hashtag1","hashtag2"]},{"1328613908":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328613918, 1328613912, 1328613906, 1328613908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.358579874038696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:29:22.477978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/28/image_13012025_10_28_02_500177_0003.jpg', '/home/pi/Desktop/images/13012025/10/29/image_13012025_10_29_02_570730_0000.jpg', '/home/pi/Desktop/images/13012025/10/29/image_13012025_10_29_02_570730_0001.jpg', '/home/pi/Desktop/images/13012025/10/29/image_13012025_10_29_02_570730_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/28/image_13012025_10_28_02_500177_0003.jpg
/home/pi/Desktop/images/13012025/10/29/image_13012025_10_29_02_570730_0000.jpg
/home/pi/Desktop/images/13012025/10/29/image_13012025_10_29_02_570730_0001.jpg
/home/pi/Desktop/images/13012025/10/29/image_13012025_10_29_02_570730_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328613942","1328613944","1328613947","1328613938"],"photo_ids_order":["1328613938","1328613942","1328613944","1328613947"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/560f32dcff7e96b895d86240977b443c.jpg","text":"TemporaryFile(/tmp/multipartBody19743608991707224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760632529,"filename":"image_13012025_10_29_02_570730_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bf4c2c1ab2ccc01bcd1a1bee3ce37c3a.jpg","text":"TemporaryFile(/tmp/multipartBody5389488566669314287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760632529,"filename":"image_13012025_10_29_02_570730_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dc6acffecf4a0eee7530fa6198a2cd99.jpg","text":"TemporaryFile(/tmp/multipartBody4926870901479019837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760632529,"filename":"image_13012025_10_29_02_570730_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a430ad87a45bdab13224e5928b716d20.jpg","text":"TemporaryFile(/tmp/multipartBody2012325151219193663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760632529,"filename":"image_13012025_10_28_02_500177_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328613944","file1":"1328613942","file0":"1328613938","file3":"1328613947"},"map_files_photo_id_array":[{"photo_id":"1328613944","filename":"file2"},{"photo_id":"1328613942","filename":"file1"},{"photo_id":"1328613938","filename":"file0"},{"photo_id":"1328613947","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328613942":["hashtag1","hashtag2"]},{"1328613944":["hashtag1","hashtag2"]},{"1328613947":["hashtag1","hashtag2"]},{"1328613938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328613942, 1328613944, 1328613947, 1328613938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.01122260093689 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:30:03.162454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:30:22.752630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/29/image_13012025_10_29_02_570730_0003.jpg', '/home/pi/Desktop/images/13012025/10/30/image_13012025_10_30_02_775929_0000.jpg', '/home/pi/Desktop/images/13012025/10/30/image_13012025_10_30_02_775929_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/29/image_13012025_10_29_02_570730_0003.jpg
/home/pi/Desktop/images/13012025/10/30/image_13012025_10_30_02_775929_0000.jpg
/home/pi/Desktop/images/13012025/10/30/image_13012025_10_30_02_775929_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328613974","1328613968","1328613979"],"photo_ids_order":["1328613968","1328613974","1328613979"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/84c0f5d75a08cce3d1e79e1c8aae334b.jpg","text":"TemporaryFile(/tmp/multipartBody6651908672991297624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760690622,"filename":"image_13012025_10_30_02_775929_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c71f6f2b03c79a0f5f1555273cb34e35.jpg","text":"TemporaryFile(/tmp/multipartBody6987550395813037192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760690622,"filename":"image_13012025_10_29_02_570730_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d67fb368f512e342c501346fc8aeacf9.jpg","text":"TemporaryFile(/tmp/multipartBody8492705807723594509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760690622,"filename":"image_13012025_10_30_02_775929_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328613979","file1":"1328613974","file0":"1328613968"},"map_files_photo_id_array":[{"photo_id":"1328613979","filename":"file2"},{"photo_id":"1328613974","filename":"file1"},{"photo_id":"1328613968","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328613974":["hashtag1","hashtag2"]},{"1328613968":["hashtag1","hashtag2"]},{"1328613979":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328613974, 1328613968, 1328613979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.377979040145874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:31:02.493339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:31:21.945479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/30/image_13012025_10_30_02_775929_0003.jpg', '/home/pi/Desktop/images/13012025/10/31/image_13012025_10_31_03_094863_0000.jpg', '/home/pi/Desktop/images/13012025/10/31/image_13012025_10_31_03_094863_0001.jpg', '/home/pi/Desktop/images/13012025/10/31/image_13012025_10_31_03_094863_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/30/image_13012025_10_30_02_775929_0003.jpg
/home/pi/Desktop/images/13012025/10/31/image_13012025_10_31_03_094863_0000.jpg
/home/pi/Desktop/images/13012025/10/31/image_13012025_10_31_03_094863_0001.jpg
/home/pi/Desktop/images/13012025/10/31/image_13012025_10_31_03_094863_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328614047","1328614058","1328614043","1328614052"],"photo_ids_order":["1328614043","1328614047","1328614052","1328614058"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/957e1ce3345a2754de0929b8d9f6d25c.jpg","text":"TemporaryFile(/tmp/multipartBody2907534397582374451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760752178,"filename":"image_13012025_10_31_03_094863_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d1de45bcc5af117fd166a812b044498f.jpg","text":"TemporaryFile(/tmp/multipartBody7073568357210080105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760752178,"filename":"image_13012025_10_31_03_094863_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2867c38df02fc1494f854f75e136fe53.jpg","text":"TemporaryFile(/tmp/multipartBody8108877809782483327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760752178,"filename":"image_13012025_10_30_02_775929_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e59cc66c8795a0737b1b3f5fb55fa12b.jpg","text":"TemporaryFile(/tmp/multipartBody1216039095810810315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760752178,"filename":"image_13012025_10_31_03_094863_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328614052","file1":"1328614047","file0":"1328614043","file3":"1328614058"},"map_files_photo_id_array":[{"photo_id":"1328614052","filename":"file2"},{"photo_id":"1328614047","filename":"file1"},{"photo_id":"1328614043","filename":"file0"},{"photo_id":"1328614058","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328614047":["hashtag1","hashtag2"]},{"1328614058":["hashtag1","hashtag2"]},{"1328614043":["hashtag1","hashtag2"]},{"1328614052":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328614047, 1328614058, 1328614043, 1328614052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.39282274246216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:32:02.527275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:32:22.054904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/31/image_13012025_10_31_03_094863_0003.jpg', '/home/pi/Desktop/images/13012025/10/32/image_13012025_10_32_02_244478_0000.jpg', '/home/pi/Desktop/images/13012025/10/32/image_13012025_10_32_02_244478_0001.jpg', '/home/pi/Desktop/images/13012025/10/32/image_13012025_10_32_02_244478_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/31/image_13012025_10_31_03_094863_0003.jpg
/home/pi/Desktop/images/13012025/10/32/image_13012025_10_32_02_244478_0000.jpg
/home/pi/Desktop/images/13012025/10/32/image_13012025_10_32_02_244478_0001.jpg
/home/pi/Desktop/images/13012025/10/32/image_13012025_10_32_02_244478_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.822710275650024 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 10:32:42.122783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/31/image_13012025_10_31_03_094863_0003.jpg', '/home/pi/Desktop/images/13012025/10/32/image_13012025_10_32_02_244478_0000.jpg', '/home/pi/Desktop/images/13012025/10/32/image_13012025_10_32_02_244478_0001.jpg', '/home/pi/Desktop/images/13012025/10/32/image_13012025_10_32_02_244478_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/31/image_13012025_10_31_03_094863_0003.jpg
/home/pi/Desktop/images/13012025/10/32/image_13012025_10_32_02_244478_0000.jpg
/home/pi/Desktop/images/13012025/10/32/image_13012025_10_32_02_244478_0001.jpg
/home/pi/Desktop/images/13012025/10/32/image_13012025_10_32_02_244478_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328614094","1328614097","1328614109","1328614102"],"photo_ids_order":["1328614094","1328614097","1328614102","1328614109"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/79bcd97375748a4daffd88e112a6b9bf.jpg","text":"TemporaryFile(/tmp/multipartBody7985729150884612297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760832371,"filename":"image_13012025_10_31_03_094863_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9ce638825743f994b65fbd8964eb9025.jpg","text":"TemporaryFile(/tmp/multipartBody6051918223400525022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760832371,"filename":"image_13012025_10_32_02_244478_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/69ec61f76b35f112ac74ebd9e1b58edd.jpg","text":"TemporaryFile(/tmp/multipartBody2728700030945649586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760832371,"filename":"image_13012025_10_32_02_244478_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/de4a17331ad692ed3a8ab49f0d1b61cb.jpg","text":"TemporaryFile(/tmp/multipartBody6878671969826777355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760832371,"filename":"image_13012025_10_32_02_244478_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328614102","file1":"1328614097","file0":"1328614094","file3":"1328614109"},"map_files_photo_id_array":[{"photo_id":"1328614102","filename":"file2"},{"photo_id":"1328614097","filename":"file1"},{"photo_id":"1328614094","filename":"file0"},{"photo_id":"1328614109","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328614094":["hashtag1","hashtag2"]},{"1328614097":["hashtag1","hashtag2"]},{"1328614109":["hashtag1","hashtag2"]},{"1328614102":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328614094, 1328614097, 1328614109, 1328614102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.8098406791687 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:33:22.324693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/32/image_13012025_10_32_02_244478_0003.jpg', '/home/pi/Desktop/images/13012025/10/33/image_13012025_10_33_02_420288_0000.jpg', '/home/pi/Desktop/images/13012025/10/33/image_13012025_10_33_02_420288_0001.jpg', '/home/pi/Desktop/images/13012025/10/33/image_13012025_10_33_02_420288_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/32/image_13012025_10_32_02_244478_0003.jpg
/home/pi/Desktop/images/13012025/10/33/image_13012025_10_33_02_420288_0000.jpg
/home/pi/Desktop/images/13012025/10/33/image_13012025_10_33_02_420288_0001.jpg
/home/pi/Desktop/images/13012025/10/33/image_13012025_10_33_02_420288_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328615013","1328614253","1328614771","1328614516"],"photo_ids_order":["1328614253","1328614516","1328614771","1328615013"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/220f5f9eaeb5ca996a201f0024774b6f.jpg","text":"TemporaryFile(/tmp/multipartBody8451948981361093292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760872577,"filename":"image_13012025_10_33_02_420288_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6121e6df4d0f21e2c03eb16f28853f6e.jpg","text":"TemporaryFile(/tmp/multipartBody3360779062158612339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760872577,"filename":"image_13012025_10_32_02_244478_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a7e655dcf598031e9713d9e7e3a8cc08.jpg","text":"TemporaryFile(/tmp/multipartBody5065500983101659054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760872577,"filename":"image_13012025_10_33_02_420288_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bd1c106f2b90c7bc473b455a49f55192.jpg","text":"TemporaryFile(/tmp/multipartBody4090447472741530627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760872577,"filename":"image_13012025_10_33_02_420288_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328614771","file1":"1328614516","file0":"1328614253","file3":"1328615013"},"map_files_photo_id_array":[{"photo_id":"1328614771","filename":"file2"},{"photo_id":"1328614516","filename":"file1"},{"photo_id":"1328614253","filename":"file0"},{"photo_id":"1328615013","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328615013":["hashtag1","hashtag2"]},{"1328614253":["hashtag1","hashtag2"]},{"1328614771":["hashtag1","hashtag2"]},{"1328614516":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328615013, 1328614253, 1328614771, 1328614516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.00177192687988 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:34:02.899260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:34:22.471143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/33/image_13012025_10_33_02_420288_0003.jpg', '/home/pi/Desktop/images/13012025/10/34/image_13012025_10_34_02_707994_0000.jpg', '/home/pi/Desktop/images/13012025/10/34/image_13012025_10_34_02_707994_0001.jpg', '/home/pi/Desktop/images/13012025/10/34/image_13012025_10_34_02_707994_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/33/image_13012025_10_33_02_420288_0003.jpg
/home/pi/Desktop/images/13012025/10/34/image_13012025_10_34_02_707994_0000.jpg
/home/pi/Desktop/images/13012025/10/34/image_13012025_10_34_02_707994_0001.jpg
/home/pi/Desktop/images/13012025/10/34/image_13012025_10_34_02_707994_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328615321","1328615111","1328615317","1328615082"],"photo_ids_order":["1328615082","1328615111","1328615317","1328615321"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1e7ea74eac38421e4091a9ff40ae0e79.jpg","text":"TemporaryFile(/tmp/multipartBody3169307652909015930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760932549,"filename":"image_13012025_10_34_02_707994_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5287d86ffb6dcdabff17ae355430f23d.jpg","text":"TemporaryFile(/tmp/multipartBody112413965582747465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760932549,"filename":"image_13012025_10_34_02_707994_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/282a603ba9a9df487ef0ad1b8d4d5fac.jpg","text":"TemporaryFile(/tmp/multipartBody5163818944512710724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760932549,"filename":"image_13012025_10_34_02_707994_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5651b9b751e971f7726854ecad28a309.jpg","text":"TemporaryFile(/tmp/multipartBody4851087212998534346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760932549,"filename":"image_13012025_10_33_02_420288_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328615317","file1":"1328615111","file0":"1328615082","file3":"1328615321"},"map_files_photo_id_array":[{"photo_id":"1328615317","filename":"file2"},{"photo_id":"1328615111","filename":"file1"},{"photo_id":"1328615082","filename":"file0"},{"photo_id":"1328615321","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328615321":["hashtag1","hashtag2"]},{"1328615111":["hashtag1","hashtag2"]},{"1328615317":["hashtag1","hashtag2"]},{"1328615082":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328615321, 1328615111, 1328615317, 1328615082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.03162336349487 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:35:03.236547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:35:22.634585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/34/image_13012025_10_34_02_707994_0003.jpg', '/home/pi/Desktop/images/13012025/10/35/image_13012025_10_35_02_912459_0000.jpg', '/home/pi/Desktop/images/13012025/10/35/image_13012025_10_35_02_912459_0001.jpg', '/home/pi/Desktop/images/13012025/10/35/image_13012025_10_35_02_912459_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/34/image_13012025_10_34_02_707994_0003.jpg
/home/pi/Desktop/images/13012025/10/35/image_13012025_10_35_02_912459_0000.jpg
/home/pi/Desktop/images/13012025/10/35/image_13012025_10_35_02_912459_0001.jpg
/home/pi/Desktop/images/13012025/10/35/image_13012025_10_35_02_912459_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328615511","1328615504","1328615575","1328615497"],"photo_ids_order":["1328615497","1328615504","1328615511","1328615575"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7a4e598b565612aaaeb28e7b8226b5ca.jpg","text":"TemporaryFile(/tmp/multipartBody410710042612027398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760992810,"filename":"image_13012025_10_35_02_912459_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eaca6973c4e4c321718d5ca0ac18192a.jpg","text":"TemporaryFile(/tmp/multipartBody7072336010501392101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760992810,"filename":"image_13012025_10_35_02_912459_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ced65f1881ccd02e1bf7ef712abfb5ae.jpg","text":"TemporaryFile(/tmp/multipartBody1444029183125439721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760992810,"filename":"image_13012025_10_35_02_912459_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1c8464c0d2a6ae000d509c593ddd2060.jpg","text":"TemporaryFile(/tmp/multipartBody6650709178772458142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736760992810,"filename":"image_13012025_10_34_02_707994_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328615511","file1":"1328615504","file0":"1328615497","file3":"1328615575"},"map_files_photo_id_array":[{"photo_id":"1328615511","filename":"file2"},{"photo_id":"1328615504","filename":"file1"},{"photo_id":"1328615497","filename":"file0"},{"photo_id":"1328615575","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328615511":["hashtag1","hashtag2"]},{"1328615504":["hashtag1","hashtag2"]},{"1328615575":["hashtag1","hashtag2"]},{"1328615497":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328615511, 1328615504, 1328615575, 1328615497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.72593450546265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:36:21.859698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/35/image_13012025_10_35_02_912459_0003.jpg', '/home/pi/Desktop/images/13012025/10/36/image_13012025_10_36_03_099393_0000.jpg', '/home/pi/Desktop/images/13012025/10/36/image_13012025_10_36_03_099393_0001.jpg', '/home/pi/Desktop/images/13012025/10/36/image_13012025_10_36_03_099393_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/35/image_13012025_10_35_02_912459_0003.jpg
/home/pi/Desktop/images/13012025/10/36/image_13012025_10_36_03_099393_0000.jpg
/home/pi/Desktop/images/13012025/10/36/image_13012025_10_36_03_099393_0001.jpg
/home/pi/Desktop/images/13012025/10/36/image_13012025_10_36_03_099393_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328615604","1328615599","1328615590","1328615596"],"photo_ids_order":["1328615590","1328615596","1328615599","1328615604"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/626ca65b0fc9f591d346cf787f42aafd.jpg","text":"TemporaryFile(/tmp/multipartBody3333633221545921515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761052178,"filename":"image_13012025_10_36_03_099393_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/55716f3c2c129318cf6e372e1cbc6ddf.jpg","text":"TemporaryFile(/tmp/multipartBody8617373456577364483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761052178,"filename":"image_13012025_10_36_03_099393_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7c15091cb507875f92e764c1ce453aca.jpg","text":"TemporaryFile(/tmp/multipartBody1063570466012828409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761052178,"filename":"image_13012025_10_35_02_912459_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/80df05d35342b414f482f6cff4445aac.jpg","text":"TemporaryFile(/tmp/multipartBody1776781367991413829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761052178,"filename":"image_13012025_10_36_03_099393_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328615599","file1":"1328615596","file0":"1328615590","file3":"1328615604"},"map_files_photo_id_array":[{"photo_id":"1328615599","filename":"file2"},{"photo_id":"1328615596","filename":"file1"},{"photo_id":"1328615590","filename":"file0"},{"photo_id":"1328615604","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328615604":["hashtag1","hashtag2"]},{"1328615599":["hashtag1","hashtag2"]},{"1328615590":["hashtag1","hashtag2"]},{"1328615596":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328615604, 1328615599, 1328615590, 1328615596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.457456827163696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:37:02.609017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:37:22.009677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/36/image_13012025_10_36_03_099393_0003.jpg', '/home/pi/Desktop/images/13012025/10/37/image_13012025_10_37_02_202550_0000.jpg', '/home/pi/Desktop/images/13012025/10/37/image_13012025_10_37_02_202550_0001.jpg', '/home/pi/Desktop/images/13012025/10/37/image_13012025_10_37_02_202550_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/36/image_13012025_10_36_03_099393_0003.jpg
/home/pi/Desktop/images/13012025/10/37/image_13012025_10_37_02_202550_0000.jpg
/home/pi/Desktop/images/13012025/10/37/image_13012025_10_37_02_202550_0001.jpg
/home/pi/Desktop/images/13012025/10/37/image_13012025_10_37_02_202550_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328615681","1328615684","1328615697","1328615727"],"photo_ids_order":["1328615681","1328615684","1328615697","1328615727"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3d98ebcb679d68903c7c211ea08f03ef.jpg","text":"TemporaryFile(/tmp/multipartBody7851505438667915024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761112098,"filename":"image_13012025_10_36_03_099393_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5ab96eaaa94f82b912c4d97055f305eb.jpg","text":"TemporaryFile(/tmp/multipartBody3971842181698464224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761112098,"filename":"image_13012025_10_37_02_202550_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fcaa2aeb8774ad19cada2a814d6de616.jpg","text":"TemporaryFile(/tmp/multipartBody1251079096813666798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761112098,"filename":"image_13012025_10_37_02_202550_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4716bc961461b9c83683892b2641aac9.jpg","text":"TemporaryFile(/tmp/multipartBody3702259291394767214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761112098,"filename":"image_13012025_10_37_02_202550_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328615697","file1":"1328615684","file0":"1328615681","file3":"1328615727"},"map_files_photo_id_array":[{"photo_id":"1328615697","filename":"file2"},{"photo_id":"1328615684","filename":"file1"},{"photo_id":"1328615681","filename":"file0"},{"photo_id":"1328615727","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328615681":["hashtag1","hashtag2"]},{"1328615684":["hashtag1","hashtag2"]},{"1328615697":["hashtag1","hashtag2"]},{"1328615727":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328615681, 1328615684, 1328615697, 1328615727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.32982587814331 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:38:02.716186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:38:22.168007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/37/image_13012025_10_37_02_202550_0003.jpg', '/home/pi/Desktop/images/13012025/10/38/image_13012025_10_38_02_384854_0000.jpg', '/home/pi/Desktop/images/13012025/10/38/image_13012025_10_38_02_384854_0001.jpg', '/home/pi/Desktop/images/13012025/10/38/image_13012025_10_38_02_384854_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/37/image_13012025_10_37_02_202550_0003.jpg
/home/pi/Desktop/images/13012025/10/38/image_13012025_10_38_02_384854_0000.jpg
/home/pi/Desktop/images/13012025/10/38/image_13012025_10_38_02_384854_0001.jpg
/home/pi/Desktop/images/13012025/10/38/image_13012025_10_38_02_384854_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328615771","1328615762","1328615764","1328615767"],"photo_ids_order":["1328615762","1328615764","1328615767","1328615771"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f635d9e74567e0152217aabd64678308.jpg","text":"TemporaryFile(/tmp/multipartBody5579222364460297324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761172281,"filename":"image_13012025_10_38_02_384854_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9c3df3a56a621fc3287947689c277716.jpg","text":"TemporaryFile(/tmp/multipartBody4715148749299365125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761172281,"filename":"image_13012025_10_37_02_202550_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/27fbbb18745f4909ee75d575aa7f8ff2.jpg","text":"TemporaryFile(/tmp/multipartBody3431220911089456957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761172281,"filename":"image_13012025_10_38_02_384854_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8bee1bab390c05c259f6baa5f4f5efc8.jpg","text":"TemporaryFile(/tmp/multipartBody1598784296435028672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761172281,"filename":"image_13012025_10_38_02_384854_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328615767","file1":"1328615764","file0":"1328615762","file3":"1328615771"},"map_files_photo_id_array":[{"photo_id":"1328615767","filename":"file2"},{"photo_id":"1328615764","filename":"file1"},{"photo_id":"1328615762","filename":"file0"},{"photo_id":"1328615771","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328615771":["hashtag1","hashtag2"]},{"1328615762":["hashtag1","hashtag2"]},{"1328615764":["hashtag1","hashtag2"]},{"1328615767":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328615771, 1328615762, 1328615764, 1328615767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.29144906997681 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:39:02.949286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:39:22.306103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/38/image_13012025_10_38_02_384854_0003.jpg', '/home/pi/Desktop/images/13012025/10/39/image_13012025_10_39_02_526611_0000.jpg', '/home/pi/Desktop/images/13012025/10/39/image_13012025_10_39_02_526611_0001.jpg', '/home/pi/Desktop/images/13012025/10/39/image_13012025_10_39_02_526611_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/38/image_13012025_10_38_02_384854_0003.jpg
/home/pi/Desktop/images/13012025/10/39/image_13012025_10_39_02_526611_0000.jpg
/home/pi/Desktop/images/13012025/10/39/image_13012025_10_39_02_526611_0001.jpg
/home/pi/Desktop/images/13012025/10/39/image_13012025_10_39_02_526611_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328615802","1328615786","1328615845","1328615796"],"photo_ids_order":["1328615786","1328615796","1328615802","1328615845"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bfda43483604fb36ccb9451aed49c53c.jpg","text":"TemporaryFile(/tmp/multipartBody6493123932926533533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761232361,"filename":"image_13012025_10_39_02_526611_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/659852a9d106b218928660ab3f298270.jpg","text":"TemporaryFile(/tmp/multipartBody701110566450654049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761232361,"filename":"image_13012025_10_38_02_384854_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c7f164f20bcfa9eebd6002b7ff1177f0.jpg","text":"TemporaryFile(/tmp/multipartBody7403744976836548943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761232361,"filename":"image_13012025_10_39_02_526611_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4baeb1dde9eeb59c6a41ca3d94b3579a.jpg","text":"TemporaryFile(/tmp/multipartBody7976725689874435458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761232361,"filename":"image_13012025_10_39_02_526611_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328615802","file1":"1328615796","file0":"1328615786","file3":"1328615845"},"map_files_photo_id_array":[{"photo_id":"1328615802","filename":"file2"},{"photo_id":"1328615796","filename":"file1"},{"photo_id":"1328615786","filename":"file0"},{"photo_id":"1328615845","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328615802":["hashtag1","hashtag2"]},{"1328615786":["hashtag1","hashtag2"]},{"1328615845":["hashtag1","hashtag2"]},{"1328615796":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328615802, 1328615786, 1328615845, 1328615796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.7247531414032 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:40:03.018068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:40:22.478799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/39/image_13012025_10_39_02_526611_0003.jpg', '/home/pi/Desktop/images/13012025/10/40/image_13012025_10_40_02_677655_0000.jpg', '/home/pi/Desktop/images/13012025/10/40/image_13012025_10_40_02_677655_0001.jpg', '/home/pi/Desktop/images/13012025/10/40/image_13012025_10_40_02_677655_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/39/image_13012025_10_39_02_526611_0003.jpg
/home/pi/Desktop/images/13012025/10/40/image_13012025_10_40_02_677655_0000.jpg
/home/pi/Desktop/images/13012025/10/40/image_13012025_10_40_02_677655_0001.jpg
/home/pi/Desktop/images/13012025/10/40/image_13012025_10_40_02_677655_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.038289785385132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 10:40:42.478029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/39/image_13012025_10_39_02_526611_0003.jpg', '/home/pi/Desktop/images/13012025/10/40/image_13012025_10_40_02_677655_0000.jpg', '/home/pi/Desktop/images/13012025/10/40/image_13012025_10_40_02_677655_0001.jpg', '/home/pi/Desktop/images/13012025/10/40/image_13012025_10_40_02_677655_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/39/image_13012025_10_39_02_526611_0003.jpg
/home/pi/Desktop/images/13012025/10/40/image_13012025_10_40_02_677655_0000.jpg
/home/pi/Desktop/images/13012025/10/40/image_13012025_10_40_02_677655_0001.jpg
/home/pi/Desktop/images/13012025/10/40/image_13012025_10_40_02_677655_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328615936","1328615939","1328615943","1328615946"],"photo_ids_order":["1328615936","1328615939","1328615943","1328615946"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2b9411fd2e17f07155d7e7d59965f4cb.jpg","text":"TemporaryFile(/tmp/multipartBody6734561531184550044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761312924,"filename":"image_13012025_10_39_02_526611_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7a3eb024ea70995f995d7c2ed085ac93.jpg","text":"TemporaryFile(/tmp/multipartBody7606873298004796621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761312924,"filename":"image_13012025_10_40_02_677655_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f408a35a2b5382c72ad7ce920c679d64.jpg","text":"TemporaryFile(/tmp/multipartBody5809204506828344445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761312924,"filename":"image_13012025_10_40_02_677655_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ffefe428c51bd494bca8469e23087ec7.jpg","text":"TemporaryFile(/tmp/multipartBody2982858948603278833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761312924,"filename":"image_13012025_10_40_02_677655_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328615943","file1":"1328615939","file0":"1328615936","file3":"1328615946"},"map_files_photo_id_array":[{"photo_id":"1328615943","filename":"file2"},{"photo_id":"1328615939","filename":"file1"},{"photo_id":"1328615936","filename":"file0"},{"photo_id":"1328615946","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328615936":["hashtag1","hashtag2"]},{"1328615939":["hashtag1","hashtag2"]},{"1328615943":["hashtag1","hashtag2"]},{"1328615946":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328615936, 1328615939, 1328615943, 1328615946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.56623029708862 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 10:41:32.667555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/40/image_13012025_10_40_02_677655_0003.jpg', '/home/pi/Desktop/images/13012025/10/41/image_13012025_10_41_02_886939_0000.jpg', '/home/pi/Desktop/images/13012025/10/41/image_13012025_10_41_02_886939_0001.jpg', '/home/pi/Desktop/images/13012025/10/41/image_13012025_10_41_02_886939_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/40/image_13012025_10_40_02_677655_0003.jpg
/home/pi/Desktop/images/13012025/10/41/image_13012025_10_41_02_886939_0000.jpg
/home/pi/Desktop/images/13012025/10/41/image_13012025_10_41_02_886939_0001.jpg
/home/pi/Desktop/images/13012025/10/41/image_13012025_10_41_02_886939_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328615995","1328615991","1328616003","1328615997"],"photo_ids_order":["1328615991","1328615995","1328615997","1328616003"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aa3d3653ffe38c82fc04888f3d55a280.jpg","text":"TemporaryFile(/tmp/multipartBody5506940853446429539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761362821,"filename":"image_13012025_10_41_02_886939_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a0c01f7b1d354105a94dbb10dd116781.jpg","text":"TemporaryFile(/tmp/multipartBody1660834494818737118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761362821,"filename":"image_13012025_10_40_02_677655_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f748dce55420e3ee2bc035e0aab769ab.jpg","text":"TemporaryFile(/tmp/multipartBody1620317523161288898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761362821,"filename":"image_13012025_10_41_02_886939_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9302b60bb35f84debdd88394d0bad77d.jpg","text":"TemporaryFile(/tmp/multipartBody8404087322605682105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761362821,"filename":"image_13012025_10_41_02_886939_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328615997","file1":"1328615995","file0":"1328615991","file3":"1328616003"},"map_files_photo_id_array":[{"photo_id":"1328615997","filename":"file2"},{"photo_id":"1328615995","filename":"file1"},{"photo_id":"1328615991","filename":"file0"},{"photo_id":"1328616003","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328615995":["hashtag1","hashtag2"]},{"1328615991":["hashtag1","hashtag2"]},{"1328616003":["hashtag1","hashtag2"]},{"1328615997":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328615995, 1328615991, 1328616003, 1328615997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.805806398391724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:42:21.891998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/41/image_13012025_10_41_02_886939_0003.jpg', '/home/pi/Desktop/images/13012025/10/42/image_13012025_10_42_03_003588_0000.jpg', '/home/pi/Desktop/images/13012025/10/42/image_13012025_10_42_03_003588_0001.jpg', '/home/pi/Desktop/images/13012025/10/42/image_13012025_10_42_03_003588_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/41/image_13012025_10_41_02_886939_0003.jpg
/home/pi/Desktop/images/13012025/10/42/image_13012025_10_42_03_003588_0000.jpg
/home/pi/Desktop/images/13012025/10/42/image_13012025_10_42_03_003588_0001.jpg
/home/pi/Desktop/images/13012025/10/42/image_13012025_10_42_03_003588_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328616026","1328616022","1328616030","1328616018"],"photo_ids_order":["1328616018","1328616022","1328616026","1328616030"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a0a5466df83a741ba82d131f68d6220a.jpg","text":"TemporaryFile(/tmp/multipartBody2273336532400480119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761412146,"filename":"image_13012025_10_42_03_003588_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/07d24cdcb567c9f2751ec387e69ad7fc.jpg","text":"TemporaryFile(/tmp/multipartBody51894789794372705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761412146,"filename":"image_13012025_10_42_03_003588_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3fc47f4fd9e6850bd31229ba498a739a.jpg","text":"TemporaryFile(/tmp/multipartBody7663255904936920985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761412146,"filename":"image_13012025_10_42_03_003588_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c3fb8eae68d400ef312ba0fac2de2637.jpg","text":"TemporaryFile(/tmp/multipartBody1164837107071788809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761412146,"filename":"image_13012025_10_41_02_886939_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328616026","file1":"1328616022","file0":"1328616018","file3":"1328616030"},"map_files_photo_id_array":[{"photo_id":"1328616026","filename":"file2"},{"photo_id":"1328616022","filename":"file1"},{"photo_id":"1328616018","filename":"file0"},{"photo_id":"1328616030","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328616026":["hashtag1","hashtag2"]},{"1328616022":["hashtag1","hashtag2"]},{"1328616030":["hashtag1","hashtag2"]},{"1328616018":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328616026, 1328616022, 1328616030, 1328616018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.21161103248596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:43:02.655216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:43:22.021063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/42/image_13012025_10_42_03_003588_0003.jpg', '/home/pi/Desktop/images/13012025/10/43/image_13012025_10_43_02_234126_0000.jpg', '/home/pi/Desktop/images/13012025/10/43/image_13012025_10_43_02_234126_0001.jpg', '/home/pi/Desktop/images/13012025/10/43/image_13012025_10_43_02_234126_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/42/image_13012025_10_42_03_003588_0003.jpg
/home/pi/Desktop/images/13012025/10/43/image_13012025_10_43_02_234126_0000.jpg
/home/pi/Desktop/images/13012025/10/43/image_13012025_10_43_02_234126_0001.jpg
/home/pi/Desktop/images/13012025/10/43/image_13012025_10_43_02_234126_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328616107","1328616082","1328616114","1328616098"],"photo_ids_order":["1328616082","1328616098","1328616107","1328616114"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e5c34037cb3786dbd2688ee2aa4d01ca.jpg","text":"TemporaryFile(/tmp/multipartBody1204413507424998685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761472150,"filename":"image_13012025_10_43_02_234126_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ec97a52967091cff35509f92dc7cebb9.jpg","text":"TemporaryFile(/tmp/multipartBody2123275133962505814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761472150,"filename":"image_13012025_10_42_03_003588_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/784a556483ecca502333c31092f8babd.jpg","text":"TemporaryFile(/tmp/multipartBody4574480049255221684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761472150,"filename":"image_13012025_10_43_02_234126_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3b871170e211288dcea07bef601e71a5.jpg","text":"TemporaryFile(/tmp/multipartBody1992107906017233771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761472150,"filename":"image_13012025_10_43_02_234126_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328616107","file1":"1328616098","file0":"1328616082","file3":"1328616114"},"map_files_photo_id_array":[{"photo_id":"1328616107","filename":"file2"},{"photo_id":"1328616098","filename":"file1"},{"photo_id":"1328616082","filename":"file0"},{"photo_id":"1328616114","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328616107":["hashtag1","hashtag2"]},{"1328616082":["hashtag1","hashtag2"]},{"1328616114":["hashtag1","hashtag2"]},{"1328616098":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328616107, 1328616082, 1328616114, 1328616098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.10023236274719 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:44:22.185805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/43/image_13012025_10_43_02_234126_0003.jpg', '/home/pi/Desktop/images/13012025/10/44/image_13012025_10_44_02_450079_0000.jpg', '/home/pi/Desktop/images/13012025/10/44/image_13012025_10_44_02_450079_0001.jpg', '/home/pi/Desktop/images/13012025/10/44/image_13012025_10_44_02_450079_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/43/image_13012025_10_43_02_234126_0003.jpg
/home/pi/Desktop/images/13012025/10/44/image_13012025_10_44_02_450079_0000.jpg
/home/pi/Desktop/images/13012025/10/44/image_13012025_10_44_02_450079_0001.jpg
/home/pi/Desktop/images/13012025/10/44/image_13012025_10_44_02_450079_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328616290","1328616284","1328616307","1328616315"],"photo_ids_order":["1328616284","1328616290","1328616307","1328616315"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/33be8a8de569dc9d00ee9afe1c2890b1.jpg","text":"TemporaryFile(/tmp/multipartBody3145804798771941157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761532309,"filename":"image_13012025_10_44_02_450079_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6e23d7c0239d93f90f5e1fecf58dc225.jpg","text":"TemporaryFile(/tmp/multipartBody2201812376701366397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761532309,"filename":"image_13012025_10_43_02_234126_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f58d2bcb36eb5f668426fa5ac760c7a6.jpg","text":"TemporaryFile(/tmp/multipartBody7749750778629687829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761532309,"filename":"image_13012025_10_44_02_450079_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7a686423ef10d28bc02aba9ac8735329.jpg","text":"TemporaryFile(/tmp/multipartBody7937454500418127347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761532309,"filename":"image_13012025_10_44_02_450079_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328616307","file1":"1328616290","file0":"1328616284","file3":"1328616315"},"map_files_photo_id_array":[{"photo_id":"1328616307","filename":"file2"},{"photo_id":"1328616290","filename":"file1"},{"photo_id":"1328616284","filename":"file0"},{"photo_id":"1328616315","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328616290":["hashtag1","hashtag2"]},{"1328616284":["hashtag1","hashtag2"]},{"1328616307":["hashtag1","hashtag2"]},{"1328616315":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328616290, 1328616284, 1328616307, 1328616315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.819737672805786 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:45:02.863466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:45:22.297768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/44/image_13012025_10_44_02_450079_0003.jpg', '/home/pi/Desktop/images/13012025/10/45/image_13012025_10_45_02_602894_0000.jpg', '/home/pi/Desktop/images/13012025/10/45/image_13012025_10_45_02_602894_0001.jpg', '/home/pi/Desktop/images/13012025/10/45/image_13012025_10_45_02_602894_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/44/image_13012025_10_44_02_450079_0003.jpg
/home/pi/Desktop/images/13012025/10/45/image_13012025_10_45_02_602894_0000.jpg
/home/pi/Desktop/images/13012025/10/45/image_13012025_10_45_02_602894_0001.jpg
/home/pi/Desktop/images/13012025/10/45/image_13012025_10_45_02_602894_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328616506","1328616407","1328616412","1328616402"],"photo_ids_order":["1328616402","1328616407","1328616412","1328616506"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dddc623764d1d1a5c6bf823d8994bbb2.jpg","text":"TemporaryFile(/tmp/multipartBody5288621743860799774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761592520,"filename":"image_13012025_10_45_02_602894_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a882cb4bb589a1fd806ebbe60b2b884b.jpg","text":"TemporaryFile(/tmp/multipartBody6378928929269230887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761592520,"filename":"image_13012025_10_45_02_602894_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c119f962b258002cfd7af0cb706f4cfb.jpg","text":"TemporaryFile(/tmp/multipartBody8964096785134875222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761592520,"filename":"image_13012025_10_45_02_602894_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/abfaa08a233b7fdb79182c809f882065.jpg","text":"TemporaryFile(/tmp/multipartBody7347585351705346163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761592520,"filename":"image_13012025_10_44_02_450079_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328616412","file1":"1328616407","file0":"1328616402","file3":"1328616506"},"map_files_photo_id_array":[{"photo_id":"1328616412","filename":"file2"},{"photo_id":"1328616407","filename":"file1"},{"photo_id":"1328616402","filename":"file0"},{"photo_id":"1328616506","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328616506":["hashtag1","hashtag2"]},{"1328616407":["hashtag1","hashtag2"]},{"1328616412":["hashtag1","hashtag2"]},{"1328616402":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328616506, 1328616407, 1328616412, 1328616402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.23880887031555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:46:02.874001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:46:22.449315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/45/image_13012025_10_45_02_602894_0003.jpg', '/home/pi/Desktop/images/13012025/10/46/image_13012025_10_46_02_727747_0000.jpg', '/home/pi/Desktop/images/13012025/10/46/image_13012025_10_46_02_727747_0001.jpg', '/home/pi/Desktop/images/13012025/10/46/image_13012025_10_46_02_727747_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/45/image_13012025_10_45_02_602894_0003.jpg
/home/pi/Desktop/images/13012025/10/46/image_13012025_10_46_02_727747_0000.jpg
/home/pi/Desktop/images/13012025/10/46/image_13012025_10_46_02_727747_0001.jpg
/home/pi/Desktop/images/13012025/10/46/image_13012025_10_46_02_727747_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328616638","1328616646","1328616666","1328616659"],"photo_ids_order":["1328616638","1328616646","1328616659","1328616666"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5abf713d66b55e79dbc4ec9b4c8f89a9.jpg","text":"TemporaryFile(/tmp/multipartBody89160014804359040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761652767,"filename":"image_13012025_10_45_02_602894_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ee4d68074fa3915f129ee20365cee933.jpg","text":"TemporaryFile(/tmp/multipartBody1713470269560530392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761652767,"filename":"image_13012025_10_46_02_727747_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cd3049333e204bd4846ff686e349b221.jpg","text":"TemporaryFile(/tmp/multipartBody4668645113639755334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761652767,"filename":"image_13012025_10_46_02_727747_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/76ae01b8c5c01b4a530e2d6afaa5ec38.jpg","text":"TemporaryFile(/tmp/multipartBody7308402683596903526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761652767,"filename":"image_13012025_10_46_02_727747_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328616659","file1":"1328616646","file0":"1328616638","file3":"1328616666"},"map_files_photo_id_array":[{"photo_id":"1328616659","filename":"file2"},{"photo_id":"1328616646","filename":"file1"},{"photo_id":"1328616638","filename":"file0"},{"photo_id":"1328616666","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328616638":["hashtag1","hashtag2"]},{"1328616646":["hashtag1","hashtag2"]},{"1328616666":["hashtag1","hashtag2"]},{"1328616659":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328616638, 1328616646, 1328616666, 1328616659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.186763763427734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:47:22.658226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/46/image_13012025_10_46_02_727747_0003.jpg', '/home/pi/Desktop/images/13012025/10/47/image_13012025_10_47_02_818290_0000.jpg', '/home/pi/Desktop/images/13012025/10/47/image_13012025_10_47_02_818290_0001.jpg', '/home/pi/Desktop/images/13012025/10/47/image_13012025_10_47_02_818290_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/46/image_13012025_10_46_02_727747_0003.jpg
/home/pi/Desktop/images/13012025/10/47/image_13012025_10_47_02_818290_0000.jpg
/home/pi/Desktop/images/13012025/10/47/image_13012025_10_47_02_818290_0001.jpg
/home/pi/Desktop/images/13012025/10/47/image_13012025_10_47_02_818290_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328616730","1328616727","1328616741","1328616735"],"photo_ids_order":["1328616727","1328616730","1328616735","1328616741"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/52d0b586803d92b7b83f71b6e6926957.jpg","text":"TemporaryFile(/tmp/multipartBody5266124694062797392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761712979,"filename":"image_13012025_10_47_02_818290_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e632e4ac7938c9618895e8bc817963fe.jpg","text":"TemporaryFile(/tmp/multipartBody229620568033867875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761712979,"filename":"image_13012025_10_46_02_727747_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4d6bd5d5187ac22b53e42371d7155a91.jpg","text":"TemporaryFile(/tmp/multipartBody6973299781802923295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761712979,"filename":"image_13012025_10_47_02_818290_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9de29e09cd93aac5ad5e3e45f883b677.jpg","text":"TemporaryFile(/tmp/multipartBody4052159953248168418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761712979,"filename":"image_13012025_10_47_02_818290_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328616735","file1":"1328616730","file0":"1328616727","file3":"1328616741"},"map_files_photo_id_array":[{"photo_id":"1328616735","filename":"file2"},{"photo_id":"1328616730","filename":"file1"},{"photo_id":"1328616727","filename":"file0"},{"photo_id":"1328616741","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328616730":["hashtag1","hashtag2"]},{"1328616727":["hashtag1","hashtag2"]},{"1328616741":["hashtag1","hashtag2"]},{"1328616735":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328616730, 1328616727, 1328616741, 1328616735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.63675236701965 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:48:21.913848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/47/image_13012025_10_47_02_818290_0003.jpg', '/home/pi/Desktop/images/13012025/10/48/image_13012025_10_48_02_960603_0000.jpg', '/home/pi/Desktop/images/13012025/10/48/image_13012025_10_48_02_960603_0001.jpg', '/home/pi/Desktop/images/13012025/10/48/image_13012025_10_48_02_960603_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/47/image_13012025_10_47_02_818290_0003.jpg
/home/pi/Desktop/images/13012025/10/48/image_13012025_10_48_02_960603_0000.jpg
/home/pi/Desktop/images/13012025/10/48/image_13012025_10_48_02_960603_0001.jpg
/home/pi/Desktop/images/13012025/10/48/image_13012025_10_48_02_960603_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328616771","1328616777","1328616782","1328616785"],"photo_ids_order":["1328616771","1328616777","1328616782","1328616785"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/975e6facb8f726b05d8cca56d04cd472.jpg","text":"TemporaryFile(/tmp/multipartBody7390336332575368471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761772140,"filename":"image_13012025_10_47_02_818290_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3bb539af78a81a53322e3fc7148eedec.jpg","text":"TemporaryFile(/tmp/multipartBody7254234229910317119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761772140,"filename":"image_13012025_10_48_02_960603_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a3433eef9303a7456e01acb0bd838377.jpg","text":"TemporaryFile(/tmp/multipartBody1576475238932088549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761772140,"filename":"image_13012025_10_48_02_960603_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bdaf6e2232afbd4d7c053be9dd38ad73.jpg","text":"TemporaryFile(/tmp/multipartBody4413449101689877699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761772140,"filename":"image_13012025_10_48_02_960603_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328616782","file1":"1328616777","file0":"1328616771","file3":"1328616785"},"map_files_photo_id_array":[{"photo_id":"1328616782","filename":"file2"},{"photo_id":"1328616777","filename":"file1"},{"photo_id":"1328616771","filename":"file0"},{"photo_id":"1328616785","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328616771":["hashtag1","hashtag2"]},{"1328616777":["hashtag1","hashtag2"]},{"1328616782":["hashtag1","hashtag2"]},{"1328616785":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328616771, 1328616777, 1328616782, 1328616785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.75945830345154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:49:02.768695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:49:22.042771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/48/image_13012025_10_48_02_960603_0003.jpg', '/home/pi/Desktop/images/13012025/10/49/image_13012025_10_49_02_198574_0000.jpg', '/home/pi/Desktop/images/13012025/10/49/image_13012025_10_49_02_198574_0001.jpg', '/home/pi/Desktop/images/13012025/10/49/image_13012025_10_49_02_198574_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/48/image_13012025_10_48_02_960603_0003.jpg
/home/pi/Desktop/images/13012025/10/49/image_13012025_10_49_02_198574_0000.jpg
/home/pi/Desktop/images/13012025/10/49/image_13012025_10_49_02_198574_0001.jpg
/home/pi/Desktop/images/13012025/10/49/image_13012025_10_49_02_198574_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.981903791427612 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 10:49:42.005532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/48/image_13012025_10_48_02_960603_0003.jpg', '/home/pi/Desktop/images/13012025/10/49/image_13012025_10_49_02_198574_0000.jpg', '/home/pi/Desktop/images/13012025/10/49/image_13012025_10_49_02_198574_0001.jpg', '/home/pi/Desktop/images/13012025/10/49/image_13012025_10_49_02_198574_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/48/image_13012025_10_48_02_960603_0003.jpg
/home/pi/Desktop/images/13012025/10/49/image_13012025_10_49_02_198574_0000.jpg
/home/pi/Desktop/images/13012025/10/49/image_13012025_10_49_02_198574_0001.jpg
/home/pi/Desktop/images/13012025/10/49/image_13012025_10_49_02_198574_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328616919","1328616916","1328616924","1328616912"],"photo_ids_order":["1328616912","1328616916","1328616919","1328616924"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8ae5722324b50709b290053d25e61b42.jpg","text":"TemporaryFile(/tmp/multipartBody7229306805466741612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761852412,"filename":"image_13012025_10_49_02_198574_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/308cfa68360b5f10bbfc945903c39a81.jpg","text":"TemporaryFile(/tmp/multipartBody2015293595067941531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761852412,"filename":"image_13012025_10_49_02_198574_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/124f42c2c6752b3ec5e96349c437996e.jpg","text":"TemporaryFile(/tmp/multipartBody701402050433299269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761852412,"filename":"image_13012025_10_49_02_198574_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b0144c959c3b8947f7668a144f9ec151.jpg","text":"TemporaryFile(/tmp/multipartBody6117379883260585525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761852412,"filename":"image_13012025_10_48_02_960603_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328616919","file1":"1328616916","file0":"1328616912","file3":"1328616924"},"map_files_photo_id_array":[{"photo_id":"1328616919","filename":"file2"},{"photo_id":"1328616916","filename":"file1"},{"photo_id":"1328616912","filename":"file0"},{"photo_id":"1328616924","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328616919":["hashtag1","hashtag2"]},{"1328616916":["hashtag1","hashtag2"]},{"1328616924":["hashtag1","hashtag2"]},{"1328616912":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328616919, 1328616916, 1328616924, 1328616912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.02670884132385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:50:22.285854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/49/image_13012025_10_49_02_198574_0003.jpg', '/home/pi/Desktop/images/13012025/10/50/image_13012025_10_50_02_363692_0000.jpg', '/home/pi/Desktop/images/13012025/10/50/image_13012025_10_50_02_363692_0001.jpg', '/home/pi/Desktop/images/13012025/10/50/image_13012025_10_50_02_363692_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/49/image_13012025_10_49_02_198574_0003.jpg
/home/pi/Desktop/images/13012025/10/50/image_13012025_10_50_02_363692_0000.jpg
/home/pi/Desktop/images/13012025/10/50/image_13012025_10_50_02_363692_0001.jpg
/home/pi/Desktop/images/13012025/10/50/image_13012025_10_50_02_363692_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328616938","1328616949","1328616945","1328616942"],"photo_ids_order":["1328616938","1328616942","1328616945","1328616949"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9a281088ece4f56ecfc4a61d4a43ac52.jpg","text":"TemporaryFile(/tmp/multipartBody506377265302886058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761892448,"filename":"image_13012025_10_49_02_198574_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7b5a91d2d1da331fe715ce5bbe50a07c.jpg","text":"TemporaryFile(/tmp/multipartBody350521535510728575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761892448,"filename":"image_13012025_10_50_02_363692_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/98a679516eb3d4fb5d769b5dd9b1a006.jpg","text":"TemporaryFile(/tmp/multipartBody7037742498270497389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761892448,"filename":"image_13012025_10_50_02_363692_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/993ab0d3207ec9390c5b5cb71d2a5920.jpg","text":"TemporaryFile(/tmp/multipartBody3082058155390983719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761892448,"filename":"image_13012025_10_50_02_363692_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328616945","file1":"1328616942","file0":"1328616938","file3":"1328616949"},"map_files_photo_id_array":[{"photo_id":"1328616945","filename":"file2"},{"photo_id":"1328616942","filename":"file1"},{"photo_id":"1328616938","filename":"file0"},{"photo_id":"1328616949","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328616938":["hashtag1","hashtag2"]},{"1328616949":["hashtag1","hashtag2"]},{"1328616945":["hashtag1","hashtag2"]},{"1328616942":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328616938, 1328616949, 1328616945, 1328616942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.76786971092224 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:51:02.971953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:51:22.456936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/50/image_13012025_10_50_02_363692_0003.jpg', '/home/pi/Desktop/images/13012025/10/51/image_13012025_10_51_02_582261_0000.jpg', '/home/pi/Desktop/images/13012025/10/51/image_13012025_10_51_02_582261_0001.jpg', '/home/pi/Desktop/images/13012025/10/51/image_13012025_10_51_02_582261_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/50/image_13012025_10_50_02_363692_0003.jpg
/home/pi/Desktop/images/13012025/10/51/image_13012025_10_51_02_582261_0000.jpg
/home/pi/Desktop/images/13012025/10/51/image_13012025_10_51_02_582261_0001.jpg
/home/pi/Desktop/images/13012025/10/51/image_13012025_10_51_02_582261_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328616999","1328616984","1328616980","1328616977"],"photo_ids_order":["1328616977","1328616980","1328616984","1328616999"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1bfbc91f92280a5421549c18121d6e7a.jpg","text":"TemporaryFile(/tmp/multipartBody1856470895274030222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761952679,"filename":"image_13012025_10_51_02_582261_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/97f96790dae5982115e6c77d0709a8c6.jpg","text":"TemporaryFile(/tmp/multipartBody3058124274724565851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761952679,"filename":"image_13012025_10_51_02_582261_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0ec6b4813ed6d8ad040dfb0027e28a03.jpg","text":"TemporaryFile(/tmp/multipartBody1942611418394704962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761952679,"filename":"image_13012025_10_51_02_582261_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b62cb0821819a125cee77c6a168d17df.jpg","text":"TemporaryFile(/tmp/multipartBody4890936140335504073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736761952679,"filename":"image_13012025_10_50_02_363692_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328616984","file1":"1328616980","file0":"1328616977","file3":"1328616999"},"map_files_photo_id_array":[{"photo_id":"1328616984","filename":"file2"},{"photo_id":"1328616980","filename":"file1"},{"photo_id":"1328616977","filename":"file0"},{"photo_id":"1328616999","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328616999":["hashtag1","hashtag2"]},{"1328616984":["hashtag1","hashtag2"]},{"1328616980":["hashtag1","hashtag2"]},{"1328616977":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328616999, 1328616984, 1328616980, 1328616977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.08081555366516 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:52:22.609378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/51/image_13012025_10_51_02_582261_0003.jpg', '/home/pi/Desktop/images/13012025/10/52/image_13012025_10_52_02_706606_0000.jpg', '/home/pi/Desktop/images/13012025/10/52/image_13012025_10_52_02_706606_0001.jpg', '/home/pi/Desktop/images/13012025/10/52/image_13012025_10_52_02_706606_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/51/image_13012025_10_51_02_582261_0003.jpg
/home/pi/Desktop/images/13012025/10/52/image_13012025_10_52_02_706606_0000.jpg
/home/pi/Desktop/images/13012025/10/52/image_13012025_10_52_02_706606_0001.jpg
/home/pi/Desktop/images/13012025/10/52/image_13012025_10_52_02_706606_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328617080","1328617076","1328617055","1328617052"],"photo_ids_order":["1328617052","1328617055","1328617076","1328617080"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0b2d0ced8123eb12d0dcffc6d6faf851.jpg","text":"TemporaryFile(/tmp/multipartBody2920413032138418763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762012788,"filename":"image_13012025_10_52_02_706606_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0143a256388cb7045f8f5d03ab0f7d5c.jpg","text":"TemporaryFile(/tmp/multipartBody5365028363129422444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762012788,"filename":"image_13012025_10_52_02_706606_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a644ab63464f650414f4b3964f00cd09.jpg","text":"TemporaryFile(/tmp/multipartBody7018384192410626403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762012788,"filename":"image_13012025_10_52_02_706606_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6529a5c2ed8bfac17a2393f9c865d2d8.jpg","text":"TemporaryFile(/tmp/multipartBody6792833227656921634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762012788,"filename":"image_13012025_10_51_02_582261_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328617076","file1":"1328617055","file0":"1328617052","file3":"1328617080"},"map_files_photo_id_array":[{"photo_id":"1328617076","filename":"file2"},{"photo_id":"1328617055","filename":"file1"},{"photo_id":"1328617052","filename":"file0"},{"photo_id":"1328617080","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328617080":["hashtag1","hashtag2"]},{"1328617076":["hashtag1","hashtag2"]},{"1328617055":["hashtag1","hashtag2"]},{"1328617052":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328617080, 1328617076, 1328617055, 1328617052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.725472927093506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:53:03.402927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:53:22.767349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/52/image_13012025_10_52_02_706606_0003.jpg', '/home/pi/Desktop/images/13012025/10/53/image_13012025_10_53_02_957170_0000.jpg', '/home/pi/Desktop/images/13012025/10/53/image_13012025_10_53_02_957170_0001.jpg', '/home/pi/Desktop/images/13012025/10/53/image_13012025_10_53_02_957170_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/52/image_13012025_10_52_02_706606_0003.jpg
/home/pi/Desktop/images/13012025/10/53/image_13012025_10_53_02_957170_0000.jpg
/home/pi/Desktop/images/13012025/10/53/image_13012025_10_53_02_957170_0001.jpg
/home/pi/Desktop/images/13012025/10/53/image_13012025_10_53_02_957170_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328617152","1328617146","1328617134","1328617130"],"photo_ids_order":["1328617130","1328617134","1328617146","1328617152"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a70b0f1892cd6066d8811e8cd376ed98.jpg","text":"TemporaryFile(/tmp/multipartBody2783412481503789210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762072959,"filename":"image_13012025_10_53_02_957170_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8e521e5af02c9a90e28edaa927137ff1.jpg","text":"TemporaryFile(/tmp/multipartBody1616673674885557475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762072959,"filename":"image_13012025_10_53_02_957170_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6cdcda1d3b3732e8f76b19b38e1fe6fa.jpg","text":"TemporaryFile(/tmp/multipartBody8232226452554330742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762072959,"filename":"image_13012025_10_53_02_957170_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b18c9a85a63191858da5ca15993095e3.jpg","text":"TemporaryFile(/tmp/multipartBody42693906463727426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762072959,"filename":"image_13012025_10_52_02_706606_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328617146","file1":"1328617134","file0":"1328617130","file3":"1328617152"},"map_files_photo_id_array":[{"photo_id":"1328617146","filename":"file2"},{"photo_id":"1328617134","filename":"file1"},{"photo_id":"1328617130","filename":"file0"},{"photo_id":"1328617152","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328617152":["hashtag1","hashtag2"]},{"1328617146":["hashtag1","hashtag2"]},{"1328617134":["hashtag1","hashtag2"]},{"1328617130":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328617152, 1328617146, 1328617134, 1328617130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.15228843688965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:54:21.865612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/53/image_13012025_10_53_02_957170_0003.jpg', '/home/pi/Desktop/images/13012025/10/54/image_13012025_10_54_03_077241_0000.jpg', '/home/pi/Desktop/images/13012025/10/54/image_13012025_10_54_03_077241_0001.jpg', '/home/pi/Desktop/images/13012025/10/54/image_13012025_10_54_03_077241_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/53/image_13012025_10_53_02_957170_0003.jpg
/home/pi/Desktop/images/13012025/10/54/image_13012025_10_54_03_077241_0000.jpg
/home/pi/Desktop/images/13012025/10/54/image_13012025_10_54_03_077241_0001.jpg
/home/pi/Desktop/images/13012025/10/54/image_13012025_10_54_03_077241_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.772736310958862 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 10:54:41.957590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/53/image_13012025_10_53_02_957170_0003.jpg', '/home/pi/Desktop/images/13012025/10/54/image_13012025_10_54_03_077241_0000.jpg', '/home/pi/Desktop/images/13012025/10/54/image_13012025_10_54_03_077241_0001.jpg', '/home/pi/Desktop/images/13012025/10/54/image_13012025_10_54_03_077241_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/53/image_13012025_10_53_02_957170_0003.jpg
/home/pi/Desktop/images/13012025/10/54/image_13012025_10_54_03_077241_0000.jpg
/home/pi/Desktop/images/13012025/10/54/image_13012025_10_54_03_077241_0001.jpg
/home/pi/Desktop/images/13012025/10/54/image_13012025_10_54_03_077241_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328617399","1328617405","1328617394","1328617334"],"photo_ids_order":["1328617334","1328617394","1328617399","1328617405"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/66055eb4144ad620cdbdf273f7c12347.jpg","text":"TemporaryFile(/tmp/multipartBody52970373163803757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762152142,"filename":"image_13012025_10_54_03_077241_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5263198419d37840fe9327bea52ca276.jpg","text":"TemporaryFile(/tmp/multipartBody1746949135310522503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762152142,"filename":"image_13012025_10_54_03_077241_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5648c078cf3757bac9440f25e517bda7.jpg","text":"TemporaryFile(/tmp/multipartBody7782949988824469347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762152142,"filename":"image_13012025_10_54_03_077241_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/53ca252c0d7a649ac3c9b8904413e47b.jpg","text":"TemporaryFile(/tmp/multipartBody497355883086290053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762152142,"filename":"image_13012025_10_53_02_957170_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328617399","file1":"1328617394","file0":"1328617334","file3":"1328617405"},"map_files_photo_id_array":[{"photo_id":"1328617399","filename":"file2"},{"photo_id":"1328617394","filename":"file1"},{"photo_id":"1328617334","filename":"file0"},{"photo_id":"1328617405","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328617399":["hashtag1","hashtag2"]},{"1328617405":["hashtag1","hashtag2"]},{"1328617394":["hashtag1","hashtag2"]},{"1328617334":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328617399, 1328617405, 1328617394, 1328617334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.10159492492676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 10:55:32.045926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/54/image_13012025_10_54_03_077241_0003.jpg', '/home/pi/Desktop/images/13012025/10/55/image_13012025_10_55_02_200334_0000.jpg', '/home/pi/Desktop/images/13012025/10/55/image_13012025_10_55_02_200334_0001.jpg', '/home/pi/Desktop/images/13012025/10/55/image_13012025_10_55_02_200334_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/54/image_13012025_10_54_03_077241_0003.jpg
/home/pi/Desktop/images/13012025/10/55/image_13012025_10_55_02_200334_0000.jpg
/home/pi/Desktop/images/13012025/10/55/image_13012025_10_55_02_200334_0001.jpg
/home/pi/Desktop/images/13012025/10/55/image_13012025_10_55_02_200334_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328617444","1328617440","1328617448","1328617436"],"photo_ids_order":["1328617436","1328617440","1328617444","1328617448"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/92bf552cf2b5547d0c7590c64355877a.jpg","text":"TemporaryFile(/tmp/multipartBody7763613580464545759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762202213,"filename":"image_13012025_10_55_02_200334_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/879488e27c76e5546b19cc2024ea634d.jpg","text":"TemporaryFile(/tmp/multipartBody7992834784263832495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762202213,"filename":"image_13012025_10_55_02_200334_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/018e3da3156cd1ec3a47ff85f743c927.jpg","text":"TemporaryFile(/tmp/multipartBody4990203433675529233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762202213,"filename":"image_13012025_10_55_02_200334_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4935e9280044328b382cb844ad6c4932.jpg","text":"TemporaryFile(/tmp/multipartBody9113928241023577789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762202213,"filename":"image_13012025_10_54_03_077241_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328617444","file1":"1328617440","file0":"1328617436","file3":"1328617448"},"map_files_photo_id_array":[{"photo_id":"1328617444","filename":"file2"},{"photo_id":"1328617440","filename":"file1"},{"photo_id":"1328617436","filename":"file0"},{"photo_id":"1328617448","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328617444":["hashtag1","hashtag2"]},{"1328617440":["hashtag1","hashtag2"]},{"1328617448":["hashtag1","hashtag2"]},{"1328617436":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328617444, 1328617440, 1328617448, 1328617436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.23460102081299 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:56:22.373909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/55/image_13012025_10_55_02_200334_0003.jpg', '/home/pi/Desktop/images/13012025/10/56/image_13012025_10_56_02_396748_0000.jpg', '/home/pi/Desktop/images/13012025/10/56/image_13012025_10_56_02_396748_0001.jpg', '/home/pi/Desktop/images/13012025/10/56/image_13012025_10_56_02_396748_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/55/image_13012025_10_55_02_200334_0003.jpg
/home/pi/Desktop/images/13012025/10/56/image_13012025_10_56_02_396748_0000.jpg
/home/pi/Desktop/images/13012025/10/56/image_13012025_10_56_02_396748_0001.jpg
/home/pi/Desktop/images/13012025/10/56/image_13012025_10_56_02_396748_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328617477","1328617465","1328617470","1328617481"],"photo_ids_order":["1328617465","1328617470","1328617477","1328617481"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/23b3c340776ae024b1751617217e82fb.jpg","text":"TemporaryFile(/tmp/multipartBody8773896834260540840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762252502,"filename":"image_13012025_10_56_02_396748_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7c98c65e8b62b64d096283a1c4010bb6.jpg","text":"TemporaryFile(/tmp/multipartBody8548786487991350788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762252502,"filename":"image_13012025_10_55_02_200334_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/685528ea0cd87dfb316c5375cea47bfb.jpg","text":"TemporaryFile(/tmp/multipartBody3897471193927822195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762252502,"filename":"image_13012025_10_56_02_396748_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/26a0535b5bc4f137c7be4218b58e2314.jpg","text":"TemporaryFile(/tmp/multipartBody6989297783354446879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762252502,"filename":"image_13012025_10_56_02_396748_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328617477","file1":"1328617470","file0":"1328617465","file3":"1328617481"},"map_files_photo_id_array":[{"photo_id":"1328617477","filename":"file2"},{"photo_id":"1328617470","filename":"file1"},{"photo_id":"1328617465","filename":"file0"},{"photo_id":"1328617481","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328617477":["hashtag1","hashtag2"]},{"1328617465":["hashtag1","hashtag2"]},{"1328617470":["hashtag1","hashtag2"]},{"1328617481":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328617477, 1328617465, 1328617470, 1328617481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.409300088882446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:57:03.132430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:57:22.488644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/56/image_13012025_10_56_02_396748_0003.jpg', '/home/pi/Desktop/images/13012025/10/57/image_13012025_10_57_02_605656_0000.jpg', '/home/pi/Desktop/images/13012025/10/57/image_13012025_10_57_02_605656_0001.jpg', '/home/pi/Desktop/images/13012025/10/57/image_13012025_10_57_02_605656_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/56/image_13012025_10_56_02_396748_0003.jpg
/home/pi/Desktop/images/13012025/10/57/image_13012025_10_57_02_605656_0000.jpg
/home/pi/Desktop/images/13012025/10/57/image_13012025_10_57_02_605656_0001.jpg
/home/pi/Desktop/images/13012025/10/57/image_13012025_10_57_02_605656_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328617523","1328617519","1328617510","1328617499"],"photo_ids_order":["1328617499","1328617510","1328617519","1328617523"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/33bc9bef50888f05e07a82b33badea4a.jpg","text":"TemporaryFile(/tmp/multipartBody2484769009294133195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762312811,"filename":"image_13012025_10_57_02_605656_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/326327ee8f1a521f5f0d80e943f27c4d.jpg","text":"TemporaryFile(/tmp/multipartBody4570841265577220757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762312811,"filename":"image_13012025_10_57_02_605656_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/250d2feb32f14ebe54b07dd3417d8ea5.jpg","text":"TemporaryFile(/tmp/multipartBody843944809074354755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762312811,"filename":"image_13012025_10_57_02_605656_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/040431bddea6361d44ea533d3cc7be73.jpg","text":"TemporaryFile(/tmp/multipartBody4804043189736016299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762312811,"filename":"image_13012025_10_56_02_396748_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328617519","file1":"1328617510","file0":"1328617499","file3":"1328617523"},"map_files_photo_id_array":[{"photo_id":"1328617519","filename":"file2"},{"photo_id":"1328617510","filename":"file1"},{"photo_id":"1328617499","filename":"file0"},{"photo_id":"1328617523","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328617523":["hashtag1","hashtag2"]},{"1328617519":["hashtag1","hashtag2"]},{"1328617510":["hashtag1","hashtag2"]},{"1328617499":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328617523, 1328617519, 1328617510, 1328617499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.35349225997925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 10:59:02.309320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 10:59:21.777063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/57/image_13012025_10_57_02_605656_0003.jpg', '/home/pi/Desktop/images/13012025/10/58/image_13012025_10_58_02_797264_0000.jpg', '/home/pi/Desktop/images/13012025/10/58/image_13012025_10_58_02_797264_0001.jpg', '/home/pi/Desktop/images/13012025/10/58/image_13012025_10_58_02_797264_0002.jpg', '/home/pi/Desktop/images/13012025/10/58/image_13012025_10_58_02_797264_0003.jpg', '/home/pi/Desktop/images/13012025/10/59/image_13012025_10_59_02_981585_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/57/image_13012025_10_57_02_605656_0003.jpg
/home/pi/Desktop/images/13012025/10/58/image_13012025_10_58_02_797264_0000.jpg
/home/pi/Desktop/images/13012025/10/58/image_13012025_10_58_02_797264_0001.jpg
/home/pi/Desktop/images/13012025/10/58/image_13012025_10_58_02_797264_0002.jpg
/home/pi/Desktop/images/13012025/10/58/image_13012025_10_58_02_797264_0003.jpg
/home/pi/Desktop/images/13012025/10/59/image_13012025_10_59_02_981585_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328617715","1328617654","1328617695","1328617671","1328617859","1328617667"],"photo_ids_order":["1328617654","1328617667","1328617671","1328617695","1328617715","1328617859"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/957dc5277c8f6f4ff76c37a292322c85.jpg","text":"TemporaryFile(/tmp/multipartBody2532934126037245247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762436751,"filename":"image_13012025_10_58_02_797264_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/424092dcbe575a2d325ecabbadcabfc5.jpg","text":"TemporaryFile(/tmp/multipartBody6149310953359866742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762436751,"filename":"image_13012025_10_57_02_605656_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3bd66f3de03691fc246b167959d88650.jpg","text":"TemporaryFile(/tmp/multipartBody1589785411561338764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762436751,"filename":"image_13012025_10_58_02_797264_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/82950a694c8f58f4099b3d413b203882.jpg","text":"TemporaryFile(/tmp/multipartBody8345283138942291959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762436751,"filename":"image_13012025_10_58_02_797264_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/12f8811d0ddd7be80e4c8101cb7c8fb9.jpg","text":"TemporaryFile(/tmp/multipartBody695738052778340157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762436751,"filename":"image_13012025_10_59_02_981585_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9f5ad3c4d9c9c4ec8c8bc925287f59e1.jpg","text":"TemporaryFile(/tmp/multipartBody6219338312819491151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762436751,"filename":"image_13012025_10_58_02_797264_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328617671","file1":"1328617667","file0":"1328617654","file4":"1328617715","file5":"1328617859","file3":"1328617695"},"map_files_photo_id_array":[{"photo_id":"1328617859","filename":"file5"},{"photo_id":"1328617671","filename":"file2"},{"photo_id":"1328617715","filename":"file4"},{"photo_id":"1328617667","filename":"file1"},{"photo_id":"1328617654","filename":"file0"},{"photo_id":"1328617695","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328617715":["hashtag1","hashtag2"]},{"1328617654":["hashtag1","hashtag2"]},{"1328617695":["hashtag1","hashtag2"]},{"1328617671":["hashtag1","hashtag2"]},{"1328617859":["hashtag1","hashtag2"]},{"1328617667":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328617715, 1328617654, 1328617695, 1328617671, 1328617859, 1328617667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.645602226257324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:00:22.064423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/59/image_13012025_10_59_02_981585_0001.jpg', '/home/pi/Desktop/images/13012025/10/59/image_13012025_10_59_02_981585_0002.jpg', '/home/pi/Desktop/images/13012025/10/59/image_13012025_10_59_02_981585_0003.jpg', '/home/pi/Desktop/images/13012025/11/00/image_13012025_11_00_02_152451_0000.jpg', '/home/pi/Desktop/images/13012025/11/00/image_13012025_11_00_02_152451_0001.jpg', '/home/pi/Desktop/images/13012025/11/00/image_13012025_11_00_02_152451_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/10/59/image_13012025_10_59_02_981585_0001.jpg
/home/pi/Desktop/images/13012025/10/59/image_13012025_10_59_02_981585_0002.jpg
/home/pi/Desktop/images/13012025/10/59/image_13012025_10_59_02_981585_0003.jpg
/home/pi/Desktop/images/13012025/11/00/image_13012025_11_00_02_152451_0000.jpg
/home/pi/Desktop/images/13012025/11/00/image_13012025_11_00_02_152451_0001.jpg
/home/pi/Desktop/images/13012025/11/00/image_13012025_11_00_02_152451_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328618107","1328618020","1328617957","1328618016","1328618103","1328618021"],"photo_ids_order":["1328617957","1328618016","1328618020","1328618021","1328618103","1328618107"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/68f554cb0d640527850eb0acdc917827.jpg","text":"TemporaryFile(/tmp/multipartBody3051950682943520413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762497127,"filename":"image_13012025_11_00_02_152451_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d0a3b32f63edeaba459e0aad9e4936a0.jpg","text":"TemporaryFile(/tmp/multipartBody4391186121072115485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762497127,"filename":"image_13012025_10_59_02_981585_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8a653886627899b8eb2f0af7866c4fd3.jpg","text":"TemporaryFile(/tmp/multipartBody4146886976811313972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762497127,"filename":"image_13012025_10_59_02_981585_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0aa08bfaa40744559ad78db09ad1c72e.jpg","text":"TemporaryFile(/tmp/multipartBody2469917520346819857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762497127,"filename":"image_13012025_10_59_02_981585_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f62eeaa3bf7c04082f9c1674e8301836.jpg","text":"TemporaryFile(/tmp/multipartBody7239972265461014375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762497127,"filename":"image_13012025_11_00_02_152451_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d6328dc6ab2f8c8f1f85ea59584f90cf.jpg","text":"TemporaryFile(/tmp/multipartBody2374170799031079066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762497127,"filename":"image_13012025_11_00_02_152451_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328618020","file1":"1328618016","file0":"1328617957","file4":"1328618103","file5":"1328618107","file3":"1328618021"},"map_files_photo_id_array":[{"photo_id":"1328618107","filename":"file5"},{"photo_id":"1328618020","filename":"file2"},{"photo_id":"1328618103","filename":"file4"},{"photo_id":"1328618016","filename":"file1"},{"photo_id":"1328617957","filename":"file0"},{"photo_id":"1328618021","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328618107":["hashtag1","hashtag2"]},{"1328618020":["hashtag1","hashtag2"]},{"1328617957":["hashtag1","hashtag2"]},{"1328618016":["hashtag1","hashtag2"]},{"1328618103":["hashtag1","hashtag2"]},{"1328618021":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328618107, 1328618020, 1328617957, 1328618016, 1328618103, 1328618021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.28190803527832 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:01:22.220158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/00/image_13012025_11_00_02_152451_0003.jpg', '/home/pi/Desktop/images/13012025/11/01/image_13012025_11_01_02_345359_0000.jpg', '/home/pi/Desktop/images/13012025/11/01/image_13012025_11_01_02_345359_0001.jpg', '/home/pi/Desktop/images/13012025/11/01/image_13012025_11_01_02_345359_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/00/image_13012025_11_00_02_152451_0003.jpg
/home/pi/Desktop/images/13012025/11/01/image_13012025_11_01_02_345359_0000.jpg
/home/pi/Desktop/images/13012025/11/01/image_13012025_11_01_02_345359_0001.jpg
/home/pi/Desktop/images/13012025/11/01/image_13012025_11_01_02_345359_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328618170","1328618167","1328618152","1328618172"],"photo_ids_order":["1328618152","1328618167","1328618170","1328618172"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ac8ddf7c09ad1698c03c9422d6462d30.jpg","text":"TemporaryFile(/tmp/multipartBody14441743304288700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762552344,"filename":"image_13012025_11_01_02_345359_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0ea154382922bc9351bd631aa7a913bf.jpg","text":"TemporaryFile(/tmp/multipartBody1102462890334909594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762552344,"filename":"image_13012025_11_01_02_345359_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0d2634be9945974ad407d31c04686423.jpg","text":"TemporaryFile(/tmp/multipartBody511197403795266071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762552344,"filename":"image_13012025_11_00_02_152451_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4bf6eba75644632b9283a53e1af3f5c6.jpg","text":"TemporaryFile(/tmp/multipartBody2673838616949518849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762552344,"filename":"image_13012025_11_01_02_345359_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328618170","file1":"1328618167","file0":"1328618152","file3":"1328618172"},"map_files_photo_id_array":[{"photo_id":"1328618170","filename":"file2"},{"photo_id":"1328618167","filename":"file1"},{"photo_id":"1328618152","filename":"file0"},{"photo_id":"1328618172","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328618170":["hashtag1","hashtag2"]},{"1328618167":["hashtag1","hashtag2"]},{"1328618152":["hashtag1","hashtag2"]},{"1328618172":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328618170, 1328618167, 1328618152, 1328618172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.201120138168335 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:02:02.802910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:02:22.376716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/01/image_13012025_11_01_02_345359_0003.jpg', '/home/pi/Desktop/images/13012025/11/02/image_13012025_11_02_02_564033_0000.jpg', '/home/pi/Desktop/images/13012025/11/02/image_13012025_11_02_02_564033_0001.jpg', '/home/pi/Desktop/images/13012025/11/02/image_13012025_11_02_02_564033_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/01/image_13012025_11_01_02_345359_0003.jpg
/home/pi/Desktop/images/13012025/11/02/image_13012025_11_02_02_564033_0000.jpg
/home/pi/Desktop/images/13012025/11/02/image_13012025_11_02_02_564033_0001.jpg
/home/pi/Desktop/images/13012025/11/02/image_13012025_11_02_02_564033_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.835267543792725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 11:02:42.367669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/01/image_13012025_11_01_02_345359_0003.jpg', '/home/pi/Desktop/images/13012025/11/02/image_13012025_11_02_02_564033_0000.jpg', '/home/pi/Desktop/images/13012025/11/02/image_13012025_11_02_02_564033_0001.jpg', '/home/pi/Desktop/images/13012025/11/02/image_13012025_11_02_02_564033_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/01/image_13012025_11_01_02_345359_0003.jpg
/home/pi/Desktop/images/13012025/11/02/image_13012025_11_02_02_564033_0000.jpg
/home/pi/Desktop/images/13012025/11/02/image_13012025_11_02_02_564033_0001.jpg
/home/pi/Desktop/images/13012025/11/02/image_13012025_11_02_02_564033_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328618763","1328618736","1328618768","1328618762"],"photo_ids_order":["1328618736","1328618762","1328618763","1328618768"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/37f6d598fce217ddc82b9e49070b218b.jpg","text":"TemporaryFile(/tmp/multipartBody2554070937820580652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762632611,"filename":"image_13012025_11_02_02_564033_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6e019ce8676cd021d3e2059b74754f52.jpg","text":"TemporaryFile(/tmp/multipartBody3707451172219280488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762632611,"filename":"image_13012025_11_01_02_345359_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d16b53313c2091b0fa3cfbf282d1afc2.jpg","text":"TemporaryFile(/tmp/multipartBody1122711802408841697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762632611,"filename":"image_13012025_11_02_02_564033_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8c81f1ba07fe5071e602cd1f565c1dde.jpg","text":"TemporaryFile(/tmp/multipartBody3565427535158567903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762632611,"filename":"image_13012025_11_02_02_564033_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328618763","file1":"1328618762","file0":"1328618736","file3":"1328618768"},"map_files_photo_id_array":[{"photo_id":"1328618763","filename":"file2"},{"photo_id":"1328618762","filename":"file1"},{"photo_id":"1328618736","filename":"file0"},{"photo_id":"1328618768","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328618763":["hashtag1","hashtag2"]},{"1328618736":["hashtag1","hashtag2"]},{"1328618768":["hashtag1","hashtag2"]},{"1328618762":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328618763, 1328618736, 1328618768, 1328618762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.077404737472534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:03:22.474014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/02/image_13012025_11_02_02_564033_0003.jpg', '/home/pi/Desktop/images/13012025/11/03/image_13012025_11_03_02_752719_0000.jpg', '/home/pi/Desktop/images/13012025/11/03/image_13012025_11_03_02_752719_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/02/image_13012025_11_02_02_564033_0003.jpg
/home/pi/Desktop/images/13012025/11/03/image_13012025_11_03_02_752719_0000.jpg
/home/pi/Desktop/images/13012025/11/03/image_13012025_11_03_02_752719_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328618804","1328618797","1328618791"],"photo_ids_order":["1328618791","1328618797","1328618804"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9cfdaa852f2250371318273f645ca858.jpg","text":"TemporaryFile(/tmp/multipartBody55872021158547754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762670255,"filename":"image_13012025_11_03_02_752719_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e33bdbb1a0736e0ba47481d386bee32c.jpg","text":"TemporaryFile(/tmp/multipartBody6720426507114890712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762670255,"filename":"image_13012025_11_03_02_752719_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a4ce275148f367c2fd43657620503cad.jpg","text":"TemporaryFile(/tmp/multipartBody4695327018063136417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762670255,"filename":"image_13012025_11_02_02_564033_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328618804","file1":"1328618797","file0":"1328618791"},"map_files_photo_id_array":[{"photo_id":"1328618804","filename":"file2"},{"photo_id":"1328618797","filename":"file1"},{"photo_id":"1328618791","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328618804":["hashtag1","hashtag2"]},{"1328618797":["hashtag1","hashtag2"]},{"1328618791":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328618804, 1328618797, 1328618791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.417782068252563 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:04:03.140397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:04:22.656344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/03/image_13012025_11_03_02_752719_0003.jpg', '/home/pi/Desktop/images/13012025/11/04/image_13012025_11_04_02_969495_0001.jpg', '/home/pi/Desktop/images/13012025/11/04/image_13012025_11_04_02_969495_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/03/image_13012025_11_03_02_752719_0003.jpg
/home/pi/Desktop/images/13012025/11/04/image_13012025_11_04_02_969495_0001.jpg
/home/pi/Desktop/images/13012025/11/04/image_13012025_11_04_02_969495_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328618905","1328618894","1328618900"],"photo_ids_order":["1328618894","1328618900","1328618905"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/38c2fed545b23fccd546a3db2a49f4e3.jpg","text":"TemporaryFile(/tmp/multipartBody6917518324648116308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762730408,"filename":"image_13012025_11_04_02_969495_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0159f83a577415bebfe18ee72f5c4fbb.jpg","text":"TemporaryFile(/tmp/multipartBody5552917426442844344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762730408,"filename":"image_13012025_11_03_02_752719_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1e70b489add59a13bea8755bfce1c986.jpg","text":"TemporaryFile(/tmp/multipartBody5844193596479582449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762730408,"filename":"image_13012025_11_04_02_969495_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328618905","file1":"1328618900","file0":"1328618894"},"map_files_photo_id_array":[{"photo_id":"1328618905","filename":"file2"},{"photo_id":"1328618900","filename":"file1"},{"photo_id":"1328618894","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328618905":["hashtag1","hashtag2"]},{"1328618894":["hashtag1","hashtag2"]},{"1328618900":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328618905, 1328618894, 1328618900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.924112796783447 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:05:02.449162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:05:21.892206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/04/image_13012025_11_04_02_969495_0003.jpg', '/home/pi/Desktop/images/13012025/11/05/image_13012025_11_05_03_075269_0000.jpg', '/home/pi/Desktop/images/13012025/11/05/image_13012025_11_05_03_075269_0001.jpg', '/home/pi/Desktop/images/13012025/11/05/image_13012025_11_05_03_075269_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/04/image_13012025_11_04_02_969495_0003.jpg
/home/pi/Desktop/images/13012025/11/05/image_13012025_11_05_03_075269_0000.jpg
/home/pi/Desktop/images/13012025/11/05/image_13012025_11_05_03_075269_0001.jpg
/home/pi/Desktop/images/13012025/11/05/image_13012025_11_05_03_075269_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328619078","1328619054","1328619071","1328619097"],"photo_ids_order":["1328619054","1328619071","1328619078","1328619097"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/01e9aa9fbddb66a22d58697bb739c925.jpg","text":"TemporaryFile(/tmp/multipartBody8046495931806594828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762792151,"filename":"image_13012025_11_05_03_075269_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f3a924fcf7b6a9f28c1aff00416b690d.jpg","text":"TemporaryFile(/tmp/multipartBody5033040632079984193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762792151,"filename":"image_13012025_11_04_02_969495_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9454d111e747bc5aebe5fbd63a1043ae.jpg","text":"TemporaryFile(/tmp/multipartBody4554011508720865971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762792151,"filename":"image_13012025_11_05_03_075269_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/11abcf278d2b622cd448da82a9f12907.jpg","text":"TemporaryFile(/tmp/multipartBody1811668053808867201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762792151,"filename":"image_13012025_11_05_03_075269_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328619078","file1":"1328619071","file0":"1328619054","file3":"1328619097"},"map_files_photo_id_array":[{"photo_id":"1328619078","filename":"file2"},{"photo_id":"1328619071","filename":"file1"},{"photo_id":"1328619054","filename":"file0"},{"photo_id":"1328619097","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328619078":["hashtag1","hashtag2"]},{"1328619054":["hashtag1","hashtag2"]},{"1328619071":["hashtag1","hashtag2"]},{"1328619097":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328619078, 1328619054, 1328619071, 1328619097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.85788059234619 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:06:02.345641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:06:22.030184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/05/image_13012025_11_05_03_075269_0003.jpg', '/home/pi/Desktop/images/13012025/11/06/image_13012025_11_06_02_262319_0000.jpg', '/home/pi/Desktop/images/13012025/11/06/image_13012025_11_06_02_262319_0001.jpg', '/home/pi/Desktop/images/13012025/11/06/image_13012025_11_06_02_262319_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/05/image_13012025_11_05_03_075269_0003.jpg
/home/pi/Desktop/images/13012025/11/06/image_13012025_11_06_02_262319_0000.jpg
/home/pi/Desktop/images/13012025/11/06/image_13012025_11_06_02_262319_0001.jpg
/home/pi/Desktop/images/13012025/11/06/image_13012025_11_06_02_262319_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.982130527496338 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 11:06:41.972164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/05/image_13012025_11_05_03_075269_0003.jpg', '/home/pi/Desktop/images/13012025/11/06/image_13012025_11_06_02_262319_0000.jpg', '/home/pi/Desktop/images/13012025/11/06/image_13012025_11_06_02_262319_0001.jpg', '/home/pi/Desktop/images/13012025/11/06/image_13012025_11_06_02_262319_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/05/image_13012025_11_05_03_075269_0003.jpg
/home/pi/Desktop/images/13012025/11/06/image_13012025_11_06_02_262319_0000.jpg
/home/pi/Desktop/images/13012025/11/06/image_13012025_11_06_02_262319_0001.jpg
/home/pi/Desktop/images/13012025/11/06/image_13012025_11_06_02_262319_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328619168","1328619162","1328619164","1328619172"],"photo_ids_order":["1328619162","1328619164","1328619168","1328619172"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eeef603da0fa8bf2ab1d22755c2d93d1.jpg","text":"TemporaryFile(/tmp/multipartBody6951220178551584421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762872343,"filename":"image_13012025_11_06_02_262319_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/318f73e236f46fd4f2dfa89a0a36bd6a.jpg","text":"TemporaryFile(/tmp/multipartBody2801858703292271794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762872343,"filename":"image_13012025_11_05_03_075269_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/983856e447e5482bdb9f2c5b677c11e9.jpg","text":"TemporaryFile(/tmp/multipartBody2214430361344436461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762872343,"filename":"image_13012025_11_06_02_262319_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/248c752bd2269dbe7c7c22475a0f50a5.jpg","text":"TemporaryFile(/tmp/multipartBody4959802960801990331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762872343,"filename":"image_13012025_11_06_02_262319_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328619168","file1":"1328619164","file0":"1328619162","file3":"1328619172"},"map_files_photo_id_array":[{"photo_id":"1328619168","filename":"file2"},{"photo_id":"1328619164","filename":"file1"},{"photo_id":"1328619162","filename":"file0"},{"photo_id":"1328619172","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328619168":["hashtag1","hashtag2"]},{"1328619162":["hashtag1","hashtag2"]},{"1328619164":["hashtag1","hashtag2"]},{"1328619172":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328619168, 1328619162, 1328619164, 1328619172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.57740092277527 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:07:22.170079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/06/image_13012025_11_06_02_262319_0003.jpg', '/home/pi/Desktop/images/13012025/11/07/image_13012025_11_07_02_316608_0000.jpg', '/home/pi/Desktop/images/13012025/11/07/image_13012025_11_07_02_316608_0001.jpg', '/home/pi/Desktop/images/13012025/11/07/image_13012025_11_07_02_316608_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/06/image_13012025_11_06_02_262319_0003.jpg
/home/pi/Desktop/images/13012025/11/07/image_13012025_11_07_02_316608_0000.jpg
/home/pi/Desktop/images/13012025/11/07/image_13012025_11_07_02_316608_0001.jpg
/home/pi/Desktop/images/13012025/11/07/image_13012025_11_07_02_316608_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328619195","1328619192","1328619189","1328619199"],"photo_ids_order":["1328619189","1328619192","1328619195","1328619199"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/61289655ae2495cfb0ec9cf7a7e22907.jpg","text":"TemporaryFile(/tmp/multipartBody7763246978516011463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762912434,"filename":"image_13012025_11_07_02_316608_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/29b9ede45008a4803a16b0663345b273.jpg","text":"TemporaryFile(/tmp/multipartBody2580894241123930549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762912434,"filename":"image_13012025_11_07_02_316608_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0e32262c75ae5af3e985a42fb30f5783.jpg","text":"TemporaryFile(/tmp/multipartBody3015824624711269850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762912434,"filename":"image_13012025_11_06_02_262319_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0589d025796237111432e6f39804ecbb.jpg","text":"TemporaryFile(/tmp/multipartBody3744915951165062577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762912434,"filename":"image_13012025_11_07_02_316608_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328619195","file1":"1328619192","file0":"1328619189","file3":"1328619199"},"map_files_photo_id_array":[{"photo_id":"1328619195","filename":"file2"},{"photo_id":"1328619192","filename":"file1"},{"photo_id":"1328619189","filename":"file0"},{"photo_id":"1328619199","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328619195":["hashtag1","hashtag2"]},{"1328619192":["hashtag1","hashtag2"]},{"1328619189":["hashtag1","hashtag2"]},{"1328619199":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328619195, 1328619192, 1328619189, 1328619199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.39116168022156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:08:02.771952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:08:22.441339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/07/image_13012025_11_07_02_316608_0003.jpg', '/home/pi/Desktop/images/13012025/11/08/image_13012025_11_08_02_507466_0000.jpg', '/home/pi/Desktop/images/13012025/11/08/image_13012025_11_08_02_507466_0001.jpg', '/home/pi/Desktop/images/13012025/11/08/image_13012025_11_08_02_507466_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/07/image_13012025_11_07_02_316608_0003.jpg
/home/pi/Desktop/images/13012025/11/08/image_13012025_11_08_02_507466_0000.jpg
/home/pi/Desktop/images/13012025/11/08/image_13012025_11_08_02_507466_0001.jpg
/home/pi/Desktop/images/13012025/11/08/image_13012025_11_08_02_507466_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328619231","1328619234","1328619228","1328619225"],"photo_ids_order":["1328619225","1328619228","1328619231","1328619234"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bfc5b01c73448a53f0e8b6910d034d55.jpg","text":"TemporaryFile(/tmp/multipartBody8736804664210806543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762972693,"filename":"image_13012025_11_08_02_507466_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c2bdd63aef790752eaa975110baaad66.jpg","text":"TemporaryFile(/tmp/multipartBody5686541007535431489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762972693,"filename":"image_13012025_11_08_02_507466_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4e0f612140b5ec9504d6b68dfa23041f.jpg","text":"TemporaryFile(/tmp/multipartBody1394305902096176759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762972693,"filename":"image_13012025_11_08_02_507466_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/700afe75226c748e88309e6cf47efbdf.jpg","text":"TemporaryFile(/tmp/multipartBody1636569959632688280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736762972693,"filename":"image_13012025_11_07_02_316608_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328619231","file1":"1328619228","file0":"1328619225","file3":"1328619234"},"map_files_photo_id_array":[{"photo_id":"1328619231","filename":"file2"},{"photo_id":"1328619228","filename":"file1"},{"photo_id":"1328619225","filename":"file0"},{"photo_id":"1328619234","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328619231":["hashtag1","hashtag2"]},{"1328619234":["hashtag1","hashtag2"]},{"1328619228":["hashtag1","hashtag2"]},{"1328619225":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328619231, 1328619234, 1328619228, 1328619225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.38847756385803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:09:03.111379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:09:22.704808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/08/image_13012025_11_08_02_507466_0003.jpg', '/home/pi/Desktop/images/13012025/11/09/image_13012025_11_09_02_700311_0000.jpg', '/home/pi/Desktop/images/13012025/11/09/image_13012025_11_09_02_700311_0001.jpg', '/home/pi/Desktop/images/13012025/11/09/image_13012025_11_09_02_700311_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/08/image_13012025_11_08_02_507466_0003.jpg
/home/pi/Desktop/images/13012025/11/09/image_13012025_11_09_02_700311_0000.jpg
/home/pi/Desktop/images/13012025/11/09/image_13012025_11_09_02_700311_0001.jpg
/home/pi/Desktop/images/13012025/11/09/image_13012025_11_09_02_700311_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328619267","1328619295","1328619280","1328619262"],"photo_ids_order":["1328619262","1328619267","1328619280","1328619295"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bde6039242a9d5c79bf200423e504908.jpg","text":"TemporaryFile(/tmp/multipartBody7194903243245208312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763032868,"filename":"image_13012025_11_09_02_700311_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/634f1cf7c6bb222e6438da430261dd05.jpg","text":"TemporaryFile(/tmp/multipartBody8882755602941575809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763032868,"filename":"image_13012025_11_09_02_700311_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2b019dd5e3081c568c12d2bb3a94962b.jpg","text":"TemporaryFile(/tmp/multipartBody6267943332385920231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763032868,"filename":"image_13012025_11_09_02_700311_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/013d3f9dc53a17b8390c7e39bd42f6a7.jpg","text":"TemporaryFile(/tmp/multipartBody1584367080478519726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763032868,"filename":"image_13012025_11_08_02_507466_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328619280","file1":"1328619267","file0":"1328619262","file3":"1328619295"},"map_files_photo_id_array":[{"photo_id":"1328619280","filename":"file2"},{"photo_id":"1328619267","filename":"file1"},{"photo_id":"1328619262","filename":"file0"},{"photo_id":"1328619295","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328619267":["hashtag1","hashtag2"]},{"1328619295":["hashtag1","hashtag2"]},{"1328619280":["hashtag1","hashtag2"]},{"1328619262":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328619267, 1328619295, 1328619280, 1328619262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.22485589981079 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:10:03.122144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:10:22.864052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/09/image_13012025_11_09_02_700311_0003.jpg', '/home/pi/Desktop/images/13012025/11/10/image_13012025_11_10_02_923704_0000.jpg', '/home/pi/Desktop/images/13012025/11/10/image_13012025_11_10_02_923704_0001.jpg', '/home/pi/Desktop/images/13012025/11/10/image_13012025_11_10_02_923704_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/09/image_13012025_11_09_02_700311_0003.jpg
/home/pi/Desktop/images/13012025/11/10/image_13012025_11_10_02_923704_0000.jpg
/home/pi/Desktop/images/13012025/11/10/image_13012025_11_10_02_923704_0001.jpg
/home/pi/Desktop/images/13012025/11/10/image_13012025_11_10_02_923704_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328619331","1328619333","1328619327","1328619329"],"photo_ids_order":["1328619327","1328619329","1328619331","1328619333"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6ca89c71ec9501c0ad477478edd13aba.jpg","text":"TemporaryFile(/tmp/multipartBody2606773743861810209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763093092,"filename":"image_13012025_11_10_02_923704_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/528b9c1af5dd26bc794cf6010087c863.jpg","text":"TemporaryFile(/tmp/multipartBody311786393365292532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763093092,"filename":"image_13012025_11_10_02_923704_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/92e0cff3a4b40b9662de24f07c635668.jpg","text":"TemporaryFile(/tmp/multipartBody931025382886885761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763093092,"filename":"image_13012025_11_09_02_700311_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0e4f9f4d57e3a32c2878b3f4551370d4.jpg","text":"TemporaryFile(/tmp/multipartBody4141304738878417303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763093092,"filename":"image_13012025_11_10_02_923704_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328619331","file1":"1328619329","file0":"1328619327","file3":"1328619333"},"map_files_photo_id_array":[{"photo_id":"1328619331","filename":"file2"},{"photo_id":"1328619329","filename":"file1"},{"photo_id":"1328619327","filename":"file0"},{"photo_id":"1328619333","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328619331":["hashtag1","hashtag2"]},{"1328619333":["hashtag1","hashtag2"]},{"1328619327":["hashtag1","hashtag2"]},{"1328619329":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328619331, 1328619333, 1328619327, 1328619329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.266366958618164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:11:02.538209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:11:21.961541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/10/image_13012025_11_10_02_923704_0003.jpg', '/home/pi/Desktop/images/13012025/11/11/image_13012025_11_11_03_136530_0000.jpg', '/home/pi/Desktop/images/13012025/11/11/image_13012025_11_11_03_136530_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/10/image_13012025_11_10_02_923704_0003.jpg
/home/pi/Desktop/images/13012025/11/11/image_13012025_11_11_03_136530_0000.jpg
/home/pi/Desktop/images/13012025/11/11/image_13012025_11_11_03_136530_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328619363","1328619353","1328619358"],"photo_ids_order":["1328619353","1328619358","1328619363"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eb4dee3ad5955c8f78f18af62ea9d75f.jpg","text":"TemporaryFile(/tmp/multipartBody1304092058692618778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763149844,"filename":"image_13012025_11_11_03_136530_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a5ad3fa99850a338d2878abedb35a001.jpg","text":"TemporaryFile(/tmp/multipartBody56089150546967725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763149844,"filename":"image_13012025_11_10_02_923704_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a8a79b2e7def55c1924a2c61fc0cee7d.jpg","text":"TemporaryFile(/tmp/multipartBody4542970509133619910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763149844,"filename":"image_13012025_11_11_03_136530_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328619363","file1":"1328619358","file0":"1328619353"},"map_files_photo_id_array":[{"photo_id":"1328619363","filename":"file2"},{"photo_id":"1328619358","filename":"file1"},{"photo_id":"1328619353","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328619363":["hashtag1","hashtag2"]},{"1328619353":["hashtag1","hashtag2"]},{"1328619358":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328619363, 1328619353, 1328619358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.83945894241333 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:12:02.682625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:12:22.296634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/11/image_13012025_11_11_03_136530_0003.jpg', '/home/pi/Desktop/images/13012025/11/12/image_13012025_11_12_02_287740_0000.jpg', '/home/pi/Desktop/images/13012025/11/12/image_13012025_11_12_02_287740_0001.jpg', '/home/pi/Desktop/images/13012025/11/12/image_13012025_11_12_02_287740_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/11/image_13012025_11_11_03_136530_0003.jpg
/home/pi/Desktop/images/13012025/11/12/image_13012025_11_12_02_287740_0000.jpg
/home/pi/Desktop/images/13012025/11/12/image_13012025_11_12_02_287740_0001.jpg
/home/pi/Desktop/images/13012025/11/12/image_13012025_11_12_02_287740_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328619393","1328619390","1328619405","1328619388"],"photo_ids_order":["1328619388","1328619390","1328619393","1328619405"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/139ba7eb4d5777c4d7ae04c570b661fe.jpg","text":"TemporaryFile(/tmp/multipartBody4509222072608699688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763212504,"filename":"image_13012025_11_12_02_287740_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/108176c9b554d4814ec188fe6a60548d.jpg","text":"TemporaryFile(/tmp/multipartBody2348426680166499857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763212504,"filename":"image_13012025_11_12_02_287740_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1ab99e29f7a4d0ad9628ed742263690b.jpg","text":"TemporaryFile(/tmp/multipartBody5762176219067173752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763212504,"filename":"image_13012025_11_12_02_287740_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/06620074d7421c070c31cbb62df68942.jpg","text":"TemporaryFile(/tmp/multipartBody7910697238951661627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763212504,"filename":"image_13012025_11_11_03_136530_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328619393","file1":"1328619390","file0":"1328619388","file3":"1328619405"},"map_files_photo_id_array":[{"photo_id":"1328619393","filename":"file2"},{"photo_id":"1328619390","filename":"file1"},{"photo_id":"1328619388","filename":"file0"},{"photo_id":"1328619405","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328619393":["hashtag1","hashtag2"]},{"1328619390":["hashtag1","hashtag2"]},{"1328619405":["hashtag1","hashtag2"]},{"1328619388":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328619393, 1328619390, 1328619405, 1328619388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.29308581352234 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:13:22.458265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/12/image_13012025_11_12_02_287740_0003.jpg', '/home/pi/Desktop/images/13012025/11/13/image_13012025_11_13_02_643576_0000.jpg', '/home/pi/Desktop/images/13012025/11/13/image_13012025_11_13_02_643576_0001.jpg', '/home/pi/Desktop/images/13012025/11/13/image_13012025_11_13_02_643576_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/12/image_13012025_11_12_02_287740_0003.jpg
/home/pi/Desktop/images/13012025/11/13/image_13012025_11_13_02_643576_0000.jpg
/home/pi/Desktop/images/13012025/11/13/image_13012025_11_13_02_643576_0001.jpg
/home/pi/Desktop/images/13012025/11/13/image_13012025_11_13_02_643576_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328619438","1328619434","1328619431","1328619436"],"photo_ids_order":["1328619431","1328619434","1328619436","1328619438"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/310431215f5edba5ef3fd2af3339877b.jpg","text":"TemporaryFile(/tmp/multipartBody711931866916734559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763272648,"filename":"image_13012025_11_13_02_643576_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3163be0efebe6f120e8bf409b28d7e6a.jpg","text":"TemporaryFile(/tmp/multipartBody1585872185732936045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763272648,"filename":"image_13012025_11_13_02_643576_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a731de7747474be97fd9059984b1bf1d.jpg","text":"TemporaryFile(/tmp/multipartBody44525846226513102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763272648,"filename":"image_13012025_11_12_02_287740_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/802db963714c3d2266987626049eb7ec.jpg","text":"TemporaryFile(/tmp/multipartBody3761657114873305549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763272648,"filename":"image_13012025_11_13_02_643576_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328619436","file1":"1328619434","file0":"1328619431","file3":"1328619438"},"map_files_photo_id_array":[{"photo_id":"1328619436","filename":"file2"},{"photo_id":"1328619434","filename":"file1"},{"photo_id":"1328619431","filename":"file0"},{"photo_id":"1328619438","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328619438":["hashtag1","hashtag2"]},{"1328619434":["hashtag1","hashtag2"]},{"1328619431":["hashtag1","hashtag2"]},{"1328619436":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328619438, 1328619434, 1328619431, 1328619436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.9815137386322 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:14:02.969502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:14:22.570510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/13/image_13012025_11_13_02_643576_0003.jpg', '/home/pi/Desktop/images/13012025/11/14/image_13012025_11_14_02_803397_0000.jpg', '/home/pi/Desktop/images/13012025/11/14/image_13012025_11_14_02_803397_0001.jpg', '/home/pi/Desktop/images/13012025/11/14/image_13012025_11_14_02_803397_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/13/image_13012025_11_13_02_643576_0003.jpg
/home/pi/Desktop/images/13012025/11/14/image_13012025_11_14_02_803397_0000.jpg
/home/pi/Desktop/images/13012025/11/14/image_13012025_11_14_02_803397_0001.jpg
/home/pi/Desktop/images/13012025/11/14/image_13012025_11_14_02_803397_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328619572","1328619575","1328619512","1328619568"],"photo_ids_order":["1328619512","1328619568","1328619572","1328619575"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b8ce69902a997a81a8eb070b9d9bdf6b.jpg","text":"TemporaryFile(/tmp/multipartBody2368338188408433404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763333015,"filename":"image_13012025_11_14_02_803397_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/29d595c7de5e75b8b8c24b2ee3a2dfca.jpg","text":"TemporaryFile(/tmp/multipartBody839532089012689799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763333015,"filename":"image_13012025_11_14_02_803397_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ae8da5530f76e9a645f3305b98763837.jpg","text":"TemporaryFile(/tmp/multipartBody274633139079804447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763333015,"filename":"image_13012025_11_13_02_643576_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e4a34abe9fd88b28f8d7204650954d69.jpg","text":"TemporaryFile(/tmp/multipartBody8310250318985719394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763333015,"filename":"image_13012025_11_14_02_803397_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328619572","file1":"1328619568","file0":"1328619512","file3":"1328619575"},"map_files_photo_id_array":[{"photo_id":"1328619572","filename":"file2"},{"photo_id":"1328619568","filename":"file1"},{"photo_id":"1328619512","filename":"file0"},{"photo_id":"1328619575","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328619572":["hashtag1","hashtag2"]},{"1328619575":["hashtag1","hashtag2"]},{"1328619512":["hashtag1","hashtag2"]},{"1328619568":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328619572, 1328619575, 1328619512, 1328619568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.51010513305664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:15:02.383394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:15:21.814990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/14/image_13012025_11_14_02_803397_0003.jpg', '/home/pi/Desktop/images/13012025/11/15/image_13012025_11_15_02_899705_0000.jpg', '/home/pi/Desktop/images/13012025/11/15/image_13012025_11_15_02_899705_0001.jpg', '/home/pi/Desktop/images/13012025/11/15/image_13012025_11_15_02_899705_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/14/image_13012025_11_14_02_803397_0003.jpg
/home/pi/Desktop/images/13012025/11/15/image_13012025_11_15_02_899705_0000.jpg
/home/pi/Desktop/images/13012025/11/15/image_13012025_11_15_02_899705_0001.jpg
/home/pi/Desktop/images/13012025/11/15/image_13012025_11_15_02_899705_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328619603","1328619606","1328619609","1328619598"],"photo_ids_order":["1328619598","1328619603","1328619606","1328619609"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c5a6b6d68168f7f3b74c148488f43480.jpg","text":"TemporaryFile(/tmp/multipartBody7397443374889902240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763392076,"filename":"image_13012025_11_15_02_899705_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/23014a04c1280cdfa5a266945a69f71b.jpg","text":"TemporaryFile(/tmp/multipartBody9039281997221460041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763392076,"filename":"image_13012025_11_15_02_899705_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c2a68ae01ba22fcf2bb617d40ad52d61.jpg","text":"TemporaryFile(/tmp/multipartBody5319917032189237747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763392076,"filename":"image_13012025_11_15_02_899705_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7486bd5fed6ebc7f4b5c30b05377c694.jpg","text":"TemporaryFile(/tmp/multipartBody2369511446075957271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763392076,"filename":"image_13012025_11_14_02_803397_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328619606","file1":"1328619603","file0":"1328619598","file3":"1328619609"},"map_files_photo_id_array":[{"photo_id":"1328619606","filename":"file2"},{"photo_id":"1328619603","filename":"file1"},{"photo_id":"1328619598","filename":"file0"},{"photo_id":"1328619609","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328619603":["hashtag1","hashtag2"]},{"1328619606":["hashtag1","hashtag2"]},{"1328619609":["hashtag1","hashtag2"]},{"1328619598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328619603, 1328619606, 1328619609, 1328619598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.532984256744385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:16:02.425697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:16:22.013130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/15/image_13012025_11_15_02_899705_0003.jpg', '/home/pi/Desktop/images/13012025/11/16/image_13012025_11_16_02_168193_0000.jpg', '/home/pi/Desktop/images/13012025/11/16/image_13012025_11_16_02_168193_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/15/image_13012025_11_15_02_899705_0003.jpg
/home/pi/Desktop/images/13012025/11/16/image_13012025_11_16_02_168193_0000.jpg
/home/pi/Desktop/images/13012025/11/16/image_13012025_11_16_02_168193_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328619657","1328619650","1328619655"],"photo_ids_order":["1328619650","1328619655","1328619657"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/35e15cdbff7ffe142816fdbcba70c3b1.jpg","text":"TemporaryFile(/tmp/multipartBody1420671872202731135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763449984,"filename":"image_13012025_11_16_02_168193_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a0d9184ff06e4c8625d63f9735463b3a.jpg","text":"TemporaryFile(/tmp/multipartBody4841697119684351130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763449984,"filename":"image_13012025_11_15_02_899705_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4dd64eaf9204a3c1d458254c4a5bf35b.jpg","text":"TemporaryFile(/tmp/multipartBody3268574190665544553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763449984,"filename":"image_13012025_11_16_02_168193_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328619657","file1":"1328619655","file0":"1328619650"},"map_files_photo_id_array":[{"photo_id":"1328619657","filename":"file2"},{"photo_id":"1328619655","filename":"file1"},{"photo_id":"1328619650","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328619657":["hashtag1","hashtag2"]},{"1328619650":["hashtag1","hashtag2"]},{"1328619655":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328619657, 1328619650, 1328619655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.64307141304016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:17:02.769144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:17:22.186038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/16/image_13012025_11_16_02_168193_0003.jpg', '/home/pi/Desktop/images/13012025/11/17/image_13012025_11_17_02_410988_0000.jpg', '/home/pi/Desktop/images/13012025/11/17/image_13012025_11_17_02_410988_0001.jpg', '/home/pi/Desktop/images/13012025/11/17/image_13012025_11_17_02_410988_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/16/image_13012025_11_16_02_168193_0003.jpg
/home/pi/Desktop/images/13012025/11/17/image_13012025_11_17_02_410988_0000.jpg
/home/pi/Desktop/images/13012025/11/17/image_13012025_11_17_02_410988_0001.jpg
/home/pi/Desktop/images/13012025/11/17/image_13012025_11_17_02_410988_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328619765","1328619767","1328619761","1328619754"],"photo_ids_order":["1328619754","1328619761","1328619765","1328619767"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/883f3fcdeec4a87c899ba4bfc1e03ab7.jpg","text":"TemporaryFile(/tmp/multipartBody3100765274128254065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763512584,"filename":"image_13012025_11_17_02_410988_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/39ed2cf87bdd1907ae5414d5f83118f2.jpg","text":"TemporaryFile(/tmp/multipartBody1161411086176975750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763512584,"filename":"image_13012025_11_17_02_410988_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/480bd4e2e954d10d0466b1d85cbed9a3.jpg","text":"TemporaryFile(/tmp/multipartBody4850315264521354511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763512584,"filename":"image_13012025_11_17_02_410988_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/00606c7864810feef82de69809252088.jpg","text":"TemporaryFile(/tmp/multipartBody6503776883601063126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763512584,"filename":"image_13012025_11_16_02_168193_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328619765","file1":"1328619761","file0":"1328619754","file3":"1328619767"},"map_files_photo_id_array":[{"photo_id":"1328619765","filename":"file2"},{"photo_id":"1328619761","filename":"file1"},{"photo_id":"1328619754","filename":"file0"},{"photo_id":"1328619767","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328619765":["hashtag1","hashtag2"]},{"1328619767":["hashtag1","hashtag2"]},{"1328619761":["hashtag1","hashtag2"]},{"1328619754":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328619765, 1328619767, 1328619761, 1328619754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.43885612487793 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:18:02.833749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:18:22.375598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/17/image_13012025_11_17_02_410988_0003.jpg', '/home/pi/Desktop/images/13012025/11/18/image_13012025_11_18_02_618022_0000.jpg', '/home/pi/Desktop/images/13012025/11/18/image_13012025_11_18_02_618022_0001.jpg', '/home/pi/Desktop/images/13012025/11/18/image_13012025_11_18_02_618022_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/17/image_13012025_11_17_02_410988_0003.jpg
/home/pi/Desktop/images/13012025/11/18/image_13012025_11_18_02_618022_0000.jpg
/home/pi/Desktop/images/13012025/11/18/image_13012025_11_18_02_618022_0001.jpg
/home/pi/Desktop/images/13012025/11/18/image_13012025_11_18_02_618022_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328620618","1328620635","1328620602","1328620394"],"photo_ids_order":["1328620394","1328620602","1328620618","1328620635"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0a87aa6de1aba024c6b40b359aec5cab.jpg","text":"TemporaryFile(/tmp/multipartBody4182614634634110796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763572521,"filename":"image_13012025_11_18_02_618022_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9fd2642484322cc54e9d51036c21d0b9.jpg","text":"TemporaryFile(/tmp/multipartBody2157676675664874039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763572521,"filename":"image_13012025_11_18_02_618022_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/616e68bc2e132c7959219340685f2632.jpg","text":"TemporaryFile(/tmp/multipartBody4601382281250092971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763572521,"filename":"image_13012025_11_18_02_618022_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f4ea12b1311fb3a03254c5f6d47c52f1.jpg","text":"TemporaryFile(/tmp/multipartBody7701649118740974864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763572521,"filename":"image_13012025_11_17_02_410988_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328620618","file1":"1328620602","file0":"1328620394","file3":"1328620635"},"map_files_photo_id_array":[{"photo_id":"1328620618","filename":"file2"},{"photo_id":"1328620602","filename":"file1"},{"photo_id":"1328620394","filename":"file0"},{"photo_id":"1328620635","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328620618":["hashtag1","hashtag2"]},{"1328620635":["hashtag1","hashtag2"]},{"1328620602":["hashtag1","hashtag2"]},{"1328620394":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328620618, 1328620635, 1328620602, 1328620394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.466625690460205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:19:03.042992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:19:22.655929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/18/image_13012025_11_18_02_618022_0003.jpg', '/home/pi/Desktop/images/13012025/11/19/image_13012025_11_19_02_740694_0000.jpg', '/home/pi/Desktop/images/13012025/11/19/image_13012025_11_19_02_740694_0001.jpg', '/home/pi/Desktop/images/13012025/11/19/image_13012025_11_19_02_740694_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/18/image_13012025_11_18_02_618022_0003.jpg
/home/pi/Desktop/images/13012025/11/19/image_13012025_11_19_02_740694_0000.jpg
/home/pi/Desktop/images/13012025/11/19/image_13012025_11_19_02_740694_0001.jpg
/home/pi/Desktop/images/13012025/11/19/image_13012025_11_19_02_740694_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328620983","1328620898","1328620905","1328620940"],"photo_ids_order":["1328620898","1328620905","1328620940","1328620983"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cb53d6d7384e227414cf032879093b08.jpg","text":"TemporaryFile(/tmp/multipartBody209575066275895210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763632690,"filename":"image_13012025_11_19_02_740694_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f08c2210acc053dfe9cc900f4f251e8e.jpg","text":"TemporaryFile(/tmp/multipartBody605307024143127794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763632690,"filename":"image_13012025_11_18_02_618022_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cedb4e6e6b8aac65d12f986fcf17f562.jpg","text":"TemporaryFile(/tmp/multipartBody6564541728755036852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763632690,"filename":"image_13012025_11_19_02_740694_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/564590ca350a5ebd0b0fefcb531c5d1e.jpg","text":"TemporaryFile(/tmp/multipartBody2423654623471986909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763632690,"filename":"image_13012025_11_19_02_740694_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328620940","file1":"1328620905","file0":"1328620898","file3":"1328620983"},"map_files_photo_id_array":[{"photo_id":"1328620940","filename":"file2"},{"photo_id":"1328620905","filename":"file1"},{"photo_id":"1328620898","filename":"file0"},{"photo_id":"1328620983","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328620983":["hashtag1","hashtag2"]},{"1328620898":["hashtag1","hashtag2"]},{"1328620905":["hashtag1","hashtag2"]},{"1328620940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328620983, 1328620898, 1328620905, 1328620940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.61168169975281 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:20:22.780596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/19/image_13012025_11_19_02_740694_0003.jpg', '/home/pi/Desktop/images/13012025/11/20/image_13012025_11_20_02_914870_0000.jpg', '/home/pi/Desktop/images/13012025/11/20/image_13012025_11_20_02_914870_0001.jpg', '/home/pi/Desktop/images/13012025/11/20/image_13012025_11_20_02_914870_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/19/image_13012025_11_19_02_740694_0003.jpg
/home/pi/Desktop/images/13012025/11/20/image_13012025_11_20_02_914870_0000.jpg
/home/pi/Desktop/images/13012025/11/20/image_13012025_11_20_02_914870_0001.jpg
/home/pi/Desktop/images/13012025/11/20/image_13012025_11_20_02_914870_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328621028","1328621030","1328621024","1328621032"],"photo_ids_order":["1328621024","1328621028","1328621030","1328621032"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bbf463af6c06d1bb00ba5133720c679e.jpg","text":"TemporaryFile(/tmp/multipartBody5647059716801534454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763693063,"filename":"image_13012025_11_20_02_914870_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cdcb71f39adef25a96eac337e8be873d.jpg","text":"TemporaryFile(/tmp/multipartBody3135629627273109339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763693063,"filename":"image_13012025_11_20_02_914870_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5629599f60caf45cbdba0363e324b5e2.jpg","text":"TemporaryFile(/tmp/multipartBody1946904224554594705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763693063,"filename":"image_13012025_11_19_02_740694_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9cbb15d81bd880825b6372b1061d69cb.jpg","text":"TemporaryFile(/tmp/multipartBody1312013840653074847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763693063,"filename":"image_13012025_11_20_02_914870_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328621030","file1":"1328621028","file0":"1328621024","file3":"1328621032"},"map_files_photo_id_array":[{"photo_id":"1328621030","filename":"file2"},{"photo_id":"1328621028","filename":"file1"},{"photo_id":"1328621024","filename":"file0"},{"photo_id":"1328621032","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328621028":["hashtag1","hashtag2"]},{"1328621030":["hashtag1","hashtag2"]},{"1328621024":["hashtag1","hashtag2"]},{"1328621032":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328621028, 1328621030, 1328621024, 1328621032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.36676597595215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:21:21.930545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/20/image_13012025_11_20_02_914870_0003.jpg', '/home/pi/Desktop/images/13012025/11/21/image_13012025_11_21_03_110983_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/20/image_13012025_11_20_02_914870_0003.jpg
/home/pi/Desktop/images/13012025/11/21/image_13012025_11_21_03_110983_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328621043","1328621048"],"photo_ids_order":["1328621043","1328621048"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8f5d67754bc335954bdb5218704faa27.jpg","text":"TemporaryFile(/tmp/multipartBody4709787875797888510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763747416,"filename":"image_13012025_11_20_02_914870_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0a9873fba6651ad0eb8f70ae44380f0c.jpg","text":"TemporaryFile(/tmp/multipartBody8303118710863409987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763747416,"filename":"image_13012025_11_21_03_110983_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328621048","file0":"1328621043"},"map_files_photo_id_array":[{"photo_id":"1328621048","filename":"file1"},{"photo_id":"1328621043","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328621043":["hashtag1","hashtag2"]},{"1328621048":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328621043, 1328621048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.99207615852356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 11:21:51.947477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:22:02.472607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:22:22.111983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/21/image_13012025_11_21_03_110983_0001.jpg', '/home/pi/Desktop/images/13012025/11/22/image_13012025_11_22_02_352632_0000.jpg', '/home/pi/Desktop/images/13012025/11/22/image_13012025_11_22_02_352632_0001.jpg', '/home/pi/Desktop/images/13012025/11/22/image_13012025_11_22_02_352632_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/21/image_13012025_11_21_03_110983_0001.jpg
/home/pi/Desktop/images/13012025/11/22/image_13012025_11_22_02_352632_0000.jpg
/home/pi/Desktop/images/13012025/11/22/image_13012025_11_22_02_352632_0001.jpg
/home/pi/Desktop/images/13012025/11/22/image_13012025_11_22_02_352632_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.973492860794067 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 11:22:42.113036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/21/image_13012025_11_21_03_110983_0001.jpg', '/home/pi/Desktop/images/13012025/11/22/image_13012025_11_22_02_352632_0000.jpg', '/home/pi/Desktop/images/13012025/11/22/image_13012025_11_22_02_352632_0001.jpg', '/home/pi/Desktop/images/13012025/11/22/image_13012025_11_22_02_352632_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/21/image_13012025_11_21_03_110983_0001.jpg
/home/pi/Desktop/images/13012025/11/22/image_13012025_11_22_02_352632_0000.jpg
/home/pi/Desktop/images/13012025/11/22/image_13012025_11_22_02_352632_0001.jpg
/home/pi/Desktop/images/13012025/11/22/image_13012025_11_22_02_352632_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328621116","1328621110","1328621112","1328621121"],"photo_ids_order":["1328621110","1328621112","1328621116","1328621121"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c7208e01945efaaa396cf8e7dbb6e5c8.jpg","text":"TemporaryFile(/tmp/multipartBody6866624100335347250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763832487,"filename":"image_13012025_11_22_02_352632_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/926553098d2b9137db454095dcc325aa.jpg","text":"TemporaryFile(/tmp/multipartBody3219297486869129052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763832487,"filename":"image_13012025_11_21_03_110983_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3d1764f9e2189b16a856d3edbc73cd7a.jpg","text":"TemporaryFile(/tmp/multipartBody79980781067987920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763832487,"filename":"image_13012025_11_22_02_352632_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eb7af4ea0c16178f23ae96dc1e1db169.jpg","text":"TemporaryFile(/tmp/multipartBody3508832725327054444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763832487,"filename":"image_13012025_11_22_02_352632_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328621116","file1":"1328621112","file0":"1328621110","file3":"1328621121"},"map_files_photo_id_array":[{"photo_id":"1328621116","filename":"file2"},{"photo_id":"1328621112","filename":"file1"},{"photo_id":"1328621110","filename":"file0"},{"photo_id":"1328621121","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328621116":["hashtag1","hashtag2"]},{"1328621110":["hashtag1","hashtag2"]},{"1328621112":["hashtag1","hashtag2"]},{"1328621121":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328621116, 1328621110, 1328621112, 1328621121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.42369556427002 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 11:23:32.340748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/22/image_13012025_11_22_02_352632_0003.jpg', '/home/pi/Desktop/images/13012025/11/23/image_13012025_11_23_02_472210_0000.jpg', '/home/pi/Desktop/images/13012025/11/23/image_13012025_11_23_02_472210_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/22/image_13012025_11_22_02_352632_0003.jpg
/home/pi/Desktop/images/13012025/11/23/image_13012025_11_23_02_472210_0000.jpg
/home/pi/Desktop/images/13012025/11/23/image_13012025_11_23_02_472210_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.514258623123169 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 11:23:42.291004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/22/image_13012025_11_22_02_352632_0003.jpg', '/home/pi/Desktop/images/13012025/11/23/image_13012025_11_23_02_472210_0000.jpg', '/home/pi/Desktop/images/13012025/11/23/image_13012025_11_23_02_472210_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/22/image_13012025_11_22_02_352632_0003.jpg
/home/pi/Desktop/images/13012025/11/23/image_13012025_11_23_02_472210_0000.jpg
/home/pi/Desktop/images/13012025/11/23/image_13012025_11_23_02_472210_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328621139","1328621138","1328621140"],"photo_ids_order":["1328621138","1328621139","1328621140"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/165654b078f04ccc17ebc2009744fb75.jpg","text":"TemporaryFile(/tmp/multipartBody8707487620426588051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763890199,"filename":"image_13012025_11_23_02_472210_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bb68a5f182bc4958f76d21aca7505ece.jpg","text":"TemporaryFile(/tmp/multipartBody7804070564530568695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763890199,"filename":"image_13012025_11_22_02_352632_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6597e64541d643a98c0c1b60cab53445.jpg","text":"TemporaryFile(/tmp/multipartBody4432857915322206459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763890199,"filename":"image_13012025_11_23_02_472210_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328621140","file1":"1328621139","file0":"1328621138"},"map_files_photo_id_array":[{"photo_id":"1328621140","filename":"file2"},{"photo_id":"1328621139","filename":"file1"},{"photo_id":"1328621138","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328621139":["hashtag1","hashtag2"]},{"1328621138":["hashtag1","hashtag2"]},{"1328621140":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328621139, 1328621138, 1328621140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.27924418449402 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:24:22.947298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/23/image_13012025_11_23_02_472210_0003.jpg', '/home/pi/Desktop/images/13012025/11/24/image_13012025_11_24_02_760672_0000.jpg', '/home/pi/Desktop/images/13012025/11/24/image_13012025_11_24_02_760672_0001.jpg', '/home/pi/Desktop/images/13012025/11/24/image_13012025_11_24_02_760672_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/23/image_13012025_11_23_02_472210_0003.jpg
/home/pi/Desktop/images/13012025/11/24/image_13012025_11_24_02_760672_0000.jpg
/home/pi/Desktop/images/13012025/11/24/image_13012025_11_24_02_760672_0001.jpg
/home/pi/Desktop/images/13012025/11/24/image_13012025_11_24_02_760672_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328621169","1328621174","1328621164","1328621167"],"photo_ids_order":["1328621164","1328621167","1328621169","1328621174"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7bd0d6adf3d4bc09a2b7c9f5300d6a82.jpg","text":"TemporaryFile(/tmp/multipartBody6149026553838312280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763933147,"filename":"image_13012025_11_24_02_760672_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/290cb6d5a1558c5051ac1132397bbb21.jpg","text":"TemporaryFile(/tmp/multipartBody6981019241160616632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763933147,"filename":"image_13012025_11_24_02_760672_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a2e4000e66d0ad2de700ad2adbbe373d.jpg","text":"TemporaryFile(/tmp/multipartBody187199001053235106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763933147,"filename":"image_13012025_11_23_02_472210_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ee73d414fbc04798cde1eca1d7da7fde.jpg","text":"TemporaryFile(/tmp/multipartBody5956832946348997542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763933147,"filename":"image_13012025_11_24_02_760672_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328621169","file1":"1328621167","file0":"1328621164","file3":"1328621174"},"map_files_photo_id_array":[{"photo_id":"1328621169","filename":"file2"},{"photo_id":"1328621167","filename":"file1"},{"photo_id":"1328621164","filename":"file0"},{"photo_id":"1328621174","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328621169":["hashtag1","hashtag2"]},{"1328621174":["hashtag1","hashtag2"]},{"1328621164":["hashtag1","hashtag2"]},{"1328621167":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328621169, 1328621174, 1328621164, 1328621167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.28657531738281 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:25:21.766188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/24/image_13012025_11_24_02_760672_0003.jpg', '/home/pi/Desktop/images/13012025/11/25/image_13012025_11_25_02_970380_0000.jpg', '/home/pi/Desktop/images/13012025/11/25/image_13012025_11_25_02_970380_0001.jpg', '/home/pi/Desktop/images/13012025/11/25/image_13012025_11_25_02_970380_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/24/image_13012025_11_24_02_760672_0003.jpg
/home/pi/Desktop/images/13012025/11/25/image_13012025_11_25_02_970380_0000.jpg
/home/pi/Desktop/images/13012025/11/25/image_13012025_11_25_02_970380_0001.jpg
/home/pi/Desktop/images/13012025/11/25/image_13012025_11_25_02_970380_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328621217","1328621211","1328621205","1328621214"],"photo_ids_order":["1328621205","1328621211","1328621214","1328621217"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/93f5853fdeaf1f947a38b51ceb09bb11.jpg","text":"TemporaryFile(/tmp/multipartBody1875069285893855034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763991966,"filename":"image_13012025_11_25_02_970380_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3f8e11b5e4619597faa418e21d18c0b4.jpg","text":"TemporaryFile(/tmp/multipartBody846436555543678945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763991966,"filename":"image_13012025_11_25_02_970380_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/469a209a78e1e3e58167e884a4de82f0.jpg","text":"TemporaryFile(/tmp/multipartBody6708548626857725885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763991966,"filename":"image_13012025_11_24_02_760672_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d2bf189260a13f3bb20e643b8f1e8a45.jpg","text":"TemporaryFile(/tmp/multipartBody824014632173950591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736763991966,"filename":"image_13012025_11_25_02_970380_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328621214","file1":"1328621211","file0":"1328621205","file3":"1328621217"},"map_files_photo_id_array":[{"photo_id":"1328621214","filename":"file2"},{"photo_id":"1328621211","filename":"file1"},{"photo_id":"1328621205","filename":"file0"},{"photo_id":"1328621217","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328621217":["hashtag1","hashtag2"]},{"1328621211":["hashtag1","hashtag2"]},{"1328621205":["hashtag1","hashtag2"]},{"1328621214":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328621217, 1328621211, 1328621205, 1328621214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.15245985984802 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:26:02.230153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:26:21.896565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/25/image_13012025_11_25_02_970380_0003.jpg', '/home/pi/Desktop/images/13012025/11/26/image_13012025_11_26_02_149993_0000.jpg', '/home/pi/Desktop/images/13012025/11/26/image_13012025_11_26_02_149993_0001.jpg', '/home/pi/Desktop/images/13012025/11/26/image_13012025_11_26_02_149993_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/25/image_13012025_11_25_02_970380_0003.jpg
/home/pi/Desktop/images/13012025/11/26/image_13012025_11_26_02_149993_0000.jpg
/home/pi/Desktop/images/13012025/11/26/image_13012025_11_26_02_149993_0001.jpg
/home/pi/Desktop/images/13012025/11/26/image_13012025_11_26_02_149993_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328621250","1328621252","1328621246","1328621257"],"photo_ids_order":["1328621246","1328621250","1328621252","1328621257"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cdac88a9e3835d58652da7a91d81ac25.jpg","text":"TemporaryFile(/tmp/multipartBody1969406844011717106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764052181,"filename":"image_13012025_11_26_02_149993_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/911cb6332a4ff64c17ef666c3fdcb7ec.jpg","text":"TemporaryFile(/tmp/multipartBody8011178374656789468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764052181,"filename":"image_13012025_11_26_02_149993_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ea10df9f430ac621d9802b3b922b7a93.jpg","text":"TemporaryFile(/tmp/multipartBody869952448161571484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764052181,"filename":"image_13012025_11_25_02_970380_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6e320303338ab03450a7aa1f8fa9447f.jpg","text":"TemporaryFile(/tmp/multipartBody6628048335114289599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764052181,"filename":"image_13012025_11_26_02_149993_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328621252","file1":"1328621250","file0":"1328621246","file3":"1328621257"},"map_files_photo_id_array":[{"photo_id":"1328621252","filename":"file2"},{"photo_id":"1328621250","filename":"file1"},{"photo_id":"1328621246","filename":"file0"},{"photo_id":"1328621257","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328621250":["hashtag1","hashtag2"]},{"1328621252":["hashtag1","hashtag2"]},{"1328621246":["hashtag1","hashtag2"]},{"1328621257":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328621250, 1328621252, 1328621246, 1328621257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.34020471572876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:27:02.735133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:27:22.244914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/26/image_13012025_11_26_02_149993_0003.jpg', '/home/pi/Desktop/images/13012025/11/27/image_13012025_11_27_02_300539_0000.jpg', '/home/pi/Desktop/images/13012025/11/27/image_13012025_11_27_02_300539_0001.jpg', '/home/pi/Desktop/images/13012025/11/27/image_13012025_11_27_02_300539_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/26/image_13012025_11_26_02_149993_0003.jpg
/home/pi/Desktop/images/13012025/11/27/image_13012025_11_27_02_300539_0000.jpg
/home/pi/Desktop/images/13012025/11/27/image_13012025_11_27_02_300539_0001.jpg
/home/pi/Desktop/images/13012025/11/27/image_13012025_11_27_02_300539_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328621381","1328621375","1328621348","1328621326"],"photo_ids_order":["1328621326","1328621348","1328621375","1328621381"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3090e377724e6b3f2854c523d3709cd4.jpg","text":"TemporaryFile(/tmp/multipartBody4539289567936982136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764112445,"filename":"image_13012025_11_27_02_300539_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d3e8d5a039e09c936a6db95be559f03f.jpg","text":"TemporaryFile(/tmp/multipartBody5902382888511765467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764112445,"filename":"image_13012025_11_27_02_300539_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d2d7e11dc17c39e118fe37abc6dbfa93.jpg","text":"TemporaryFile(/tmp/multipartBody520987455471271126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764112445,"filename":"image_13012025_11_27_02_300539_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/215b6425cb2eefaa30bc103042c475cb.jpg","text":"TemporaryFile(/tmp/multipartBody3460010543731447609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764112445,"filename":"image_13012025_11_26_02_149993_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328621375","file1":"1328621348","file0":"1328621326","file3":"1328621381"},"map_files_photo_id_array":[{"photo_id":"1328621375","filename":"file2"},{"photo_id":"1328621348","filename":"file1"},{"photo_id":"1328621326","filename":"file0"},{"photo_id":"1328621381","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328621381":["hashtag1","hashtag2"]},{"1328621375":["hashtag1","hashtag2"]},{"1328621348":["hashtag1","hashtag2"]},{"1328621326":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328621381, 1328621375, 1328621348, 1328621326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.19114017486572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:28:02.779954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:28:22.303847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/27/image_13012025_11_27_02_300539_0003.jpg', '/home/pi/Desktop/images/13012025/11/28/image_13012025_11_28_02_425686_0000.jpg', '/home/pi/Desktop/images/13012025/11/28/image_13012025_11_28_02_425686_0001.jpg', '/home/pi/Desktop/images/13012025/11/28/image_13012025_11_28_02_425686_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/27/image_13012025_11_27_02_300539_0003.jpg
/home/pi/Desktop/images/13012025/11/28/image_13012025_11_28_02_425686_0000.jpg
/home/pi/Desktop/images/13012025/11/28/image_13012025_11_28_02_425686_0001.jpg
/home/pi/Desktop/images/13012025/11/28/image_13012025_11_28_02_425686_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328621428","1328621467","1328621464","1328621431"],"photo_ids_order":["1328621428","1328621431","1328621464","1328621467"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a2dbc2bc3f6b5e64a611c8812e1bca2c.jpg","text":"TemporaryFile(/tmp/multipartBody4272495835374190900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764172513,"filename":"image_13012025_11_27_02_300539_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8fdaa4e21a19c62909553508d4419a17.jpg","text":"TemporaryFile(/tmp/multipartBody6618475423090713365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764172513,"filename":"image_13012025_11_28_02_425686_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/08d3209108137687788e4fc9e7a8e794.jpg","text":"TemporaryFile(/tmp/multipartBody369554568546599103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764172513,"filename":"image_13012025_11_28_02_425686_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4ab6d0c3389f9f6d995047af7bcfcd1a.jpg","text":"TemporaryFile(/tmp/multipartBody6400795387179940745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764172513,"filename":"image_13012025_11_28_02_425686_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328621464","file1":"1328621431","file0":"1328621428","file3":"1328621467"},"map_files_photo_id_array":[{"photo_id":"1328621464","filename":"file2"},{"photo_id":"1328621431","filename":"file1"},{"photo_id":"1328621428","filename":"file0"},{"photo_id":"1328621467","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328621428":["hashtag1","hashtag2"]},{"1328621467":["hashtag1","hashtag2"]},{"1328621464":["hashtag1","hashtag2"]},{"1328621431":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328621428, 1328621467, 1328621464, 1328621431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.743722677230835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:29:03.167543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:29:22.563796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/28/image_13012025_11_28_02_425686_0003.jpg', '/home/pi/Desktop/images/13012025/11/29/image_13012025_11_29_02_673371_0000.jpg', '/home/pi/Desktop/images/13012025/11/29/image_13012025_11_29_02_673371_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/28/image_13012025_11_28_02_425686_0003.jpg
/home/pi/Desktop/images/13012025/11/29/image_13012025_11_29_02_673371_0000.jpg
/home/pi/Desktop/images/13012025/11/29/image_13012025_11_29_02_673371_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328621535","1328621523","1328621531"],"photo_ids_order":["1328621523","1328621531","1328621535"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/958dd3ad00eb7c9852c619e45598a39d.jpg","text":"TemporaryFile(/tmp/multipartBody8031664661098218665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764230426,"filename":"image_13012025_11_29_02_673371_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e99a2280a697bc442f4684fb154d7089.jpg","text":"TemporaryFile(/tmp/multipartBody3215731439322486650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764230426,"filename":"image_13012025_11_28_02_425686_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e55a9119eaeef8c3f33e301212daeb6c.jpg","text":"TemporaryFile(/tmp/multipartBody7488185110806175366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764230426,"filename":"image_13012025_11_29_02_673371_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328621535","file1":"1328621531","file0":"1328621523"},"map_files_photo_id_array":[{"photo_id":"1328621535","filename":"file2"},{"photo_id":"1328621531","filename":"file1"},{"photo_id":"1328621523","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328621535":["hashtag1","hashtag2"]},{"1328621523":["hashtag1","hashtag2"]},{"1328621531":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328621535, 1328621523, 1328621531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.52573251724243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:30:03.074045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:30:22.689516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/29/image_13012025_11_29_02_673371_0003.jpg', '/home/pi/Desktop/images/13012025/11/30/image_13012025_11_30_02_782242_0000.jpg', '/home/pi/Desktop/images/13012025/11/30/image_13012025_11_30_02_782242_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/29/image_13012025_11_29_02_673371_0003.jpg
/home/pi/Desktop/images/13012025/11/30/image_13012025_11_30_02_782242_0000.jpg
/home/pi/Desktop/images/13012025/11/30/image_13012025_11_30_02_782242_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328621556","1328621561","1328621558"],"photo_ids_order":["1328621556","1328621558","1328621561"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4b66a67904a5443467e25c42987710bc.jpg","text":"TemporaryFile(/tmp/multipartBody7576857297594614004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764290532,"filename":"image_13012025_11_29_02_673371_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5447210766d3bd7c19aa83e895c81639.jpg","text":"TemporaryFile(/tmp/multipartBody7425304412098379780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764290532,"filename":"image_13012025_11_30_02_782242_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a76ba2ed29aa975644c071b9629fea24.jpg","text":"TemporaryFile(/tmp/multipartBody8448968945155714772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764290532,"filename":"image_13012025_11_30_02_782242_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328621561","file1":"1328621558","file0":"1328621556"},"map_files_photo_id_array":[{"photo_id":"1328621561","filename":"file2"},{"photo_id":"1328621558","filename":"file1"},{"photo_id":"1328621556","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328621556":["hashtag1","hashtag2"]},{"1328621561":["hashtag1","hashtag2"]},{"1328621558":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328621556, 1328621561, 1328621558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.171762228012085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:31:02.276723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:31:21.890264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/30/image_13012025_11_30_02_782242_0003.jpg', '/home/pi/Desktop/images/13012025/11/31/image_13012025_11_31_02_984915_0000.jpg', '/home/pi/Desktop/images/13012025/11/31/image_13012025_11_31_02_984915_0001.jpg', '/home/pi/Desktop/images/13012025/11/31/image_13012025_11_31_02_984915_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/30/image_13012025_11_30_02_782242_0003.jpg
/home/pi/Desktop/images/13012025/11/31/image_13012025_11_31_02_984915_0000.jpg
/home/pi/Desktop/images/13012025/11/31/image_13012025_11_31_02_984915_0001.jpg
/home/pi/Desktop/images/13012025/11/31/image_13012025_11_31_02_984915_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328621643","1328621675","1328621663","1328621636"],"photo_ids_order":["1328621636","1328621643","1328621663","1328621675"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bb2462343e4a214ad5cffb25d551a71f.jpg","text":"TemporaryFile(/tmp/multipartBody8808316079618883720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764352060,"filename":"image_13012025_11_31_02_984915_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/952d40a9102e929078a9383d61e0aa1e.jpg","text":"TemporaryFile(/tmp/multipartBody5993343759742106573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764352060,"filename":"image_13012025_11_31_02_984915_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/270b303dd874985dbc2590d15e73355b.jpg","text":"TemporaryFile(/tmp/multipartBody6803613915342070185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764352060,"filename":"image_13012025_11_31_02_984915_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/02f356d4607a8442a8408cc5d21e567c.jpg","text":"TemporaryFile(/tmp/multipartBody1070011660527501464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764352060,"filename":"image_13012025_11_30_02_782242_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328621663","file1":"1328621643","file0":"1328621636","file3":"1328621675"},"map_files_photo_id_array":[{"photo_id":"1328621663","filename":"file2"},{"photo_id":"1328621643","filename":"file1"},{"photo_id":"1328621636","filename":"file0"},{"photo_id":"1328621675","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328621643":["hashtag1","hashtag2"]},{"1328621675":["hashtag1","hashtag2"]},{"1328621663":["hashtag1","hashtag2"]},{"1328621636":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328621643, 1328621675, 1328621663, 1328621636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.01157855987549 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:32:02.367198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:32:22.021372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/31/image_13012025_11_31_02_984915_0003.jpg', '/home/pi/Desktop/images/13012025/11/32/image_13012025_11_32_02_177606_0000.jpg', '/home/pi/Desktop/images/13012025/11/32/image_13012025_11_32_02_177606_0001.jpg', '/home/pi/Desktop/images/13012025/11/32/image_13012025_11_32_02_177606_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/31/image_13012025_11_31_02_984915_0003.jpg
/home/pi/Desktop/images/13012025/11/32/image_13012025_11_32_02_177606_0000.jpg
/home/pi/Desktop/images/13012025/11/32/image_13012025_11_32_02_177606_0001.jpg
/home/pi/Desktop/images/13012025/11/32/image_13012025_11_32_02_177606_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328622054","1328622056","1328622085","1328622061"],"photo_ids_order":["1328622054","1328622056","1328622061","1328622085"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/62689cba046cc0449b11f7a04b0b015f.jpg","text":"TemporaryFile(/tmp/multipartBody1213304418338223051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764412245,"filename":"image_13012025_11_31_02_984915_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3d5fe758e1295fedf5394979f5bfab34.jpg","text":"TemporaryFile(/tmp/multipartBody6035850052201361001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764412245,"filename":"image_13012025_11_32_02_177606_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d44fae8e5682afad6e9d5f05448756b0.jpg","text":"TemporaryFile(/tmp/multipartBody5456708304547240631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764412245,"filename":"image_13012025_11_32_02_177606_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/558f23cfbb756acee5b0c63f5ff646ef.jpg","text":"TemporaryFile(/tmp/multipartBody1506678643876548895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764412245,"filename":"image_13012025_11_32_02_177606_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328622061","file1":"1328622056","file0":"1328622054","file3":"1328622085"},"map_files_photo_id_array":[{"photo_id":"1328622061","filename":"file2"},{"photo_id":"1328622056","filename":"file1"},{"photo_id":"1328622054","filename":"file0"},{"photo_id":"1328622085","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328622054":["hashtag1","hashtag2"]},{"1328622056":["hashtag1","hashtag2"]},{"1328622085":["hashtag1","hashtag2"]},{"1328622061":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328622054, 1328622056, 1328622085, 1328622061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.99101519584656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:33:02.958737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:33:22.233483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/32/image_13012025_11_32_02_177606_0003.jpg', '/home/pi/Desktop/images/13012025/11/33/image_13012025_11_33_02_363677_0000.jpg', '/home/pi/Desktop/images/13012025/11/33/image_13012025_11_33_02_363677_0001.jpg', '/home/pi/Desktop/images/13012025/11/33/image_13012025_11_33_02_363677_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/32/image_13012025_11_32_02_177606_0003.jpg
/home/pi/Desktop/images/13012025/11/33/image_13012025_11_33_02_363677_0000.jpg
/home/pi/Desktop/images/13012025/11/33/image_13012025_11_33_02_363677_0001.jpg
/home/pi/Desktop/images/13012025/11/33/image_13012025_11_33_02_363677_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328622246","1328622249","1328622241","1328622238"],"photo_ids_order":["1328622238","1328622241","1328622246","1328622249"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e1bcb6472f05765abae1cc0a43855be0.jpg","text":"TemporaryFile(/tmp/multipartBody4062538503554083690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764472464,"filename":"image_13012025_11_33_02_363677_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/251b7af246d0839c568142d7cbe7430b.jpg","text":"TemporaryFile(/tmp/multipartBody5349305872165244887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764472464,"filename":"image_13012025_11_33_02_363677_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d243d4df08c356c4f8e3da5d39f42d04.jpg","text":"TemporaryFile(/tmp/multipartBody9147426431172606506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764472464,"filename":"image_13012025_11_33_02_363677_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a418cfe3e2cd7b8ba0e254706f710c67.jpg","text":"TemporaryFile(/tmp/multipartBody8677050714237227671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764472464,"filename":"image_13012025_11_32_02_177606_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328622246","file1":"1328622241","file0":"1328622238","file3":"1328622249"},"map_files_photo_id_array":[{"photo_id":"1328622246","filename":"file2"},{"photo_id":"1328622241","filename":"file1"},{"photo_id":"1328622238","filename":"file0"},{"photo_id":"1328622249","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328622246":["hashtag1","hashtag2"]},{"1328622249":["hashtag1","hashtag2"]},{"1328622241":["hashtag1","hashtag2"]},{"1328622238":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328622246, 1328622249, 1328622241, 1328622238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.08590245246887 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:34:02.918184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:34:22.388427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/33/image_13012025_11_33_02_363677_0003.jpg', '/home/pi/Desktop/images/13012025/11/34/image_13012025_11_34_02_608325_0000.jpg', '/home/pi/Desktop/images/13012025/11/34/image_13012025_11_34_02_608325_0001.jpg', '/home/pi/Desktop/images/13012025/11/34/image_13012025_11_34_02_608325_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/33/image_13012025_11_33_02_363677_0003.jpg
/home/pi/Desktop/images/13012025/11/34/image_13012025_11_34_02_608325_0000.jpg
/home/pi/Desktop/images/13012025/11/34/image_13012025_11_34_02_608325_0001.jpg
/home/pi/Desktop/images/13012025/11/34/image_13012025_11_34_02_608325_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328622309","1328622299","1328622303","1328622306"],"photo_ids_order":["1328622299","1328622303","1328622306","1328622309"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5f782285d39a6a33c493a75eaf9ee95b.jpg","text":"TemporaryFile(/tmp/multipartBody8089726994073196288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764532536,"filename":"image_13012025_11_34_02_608325_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/15dacfa0348e6949353181c173c95d79.jpg","text":"TemporaryFile(/tmp/multipartBody7884773853222675434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764532536,"filename":"image_13012025_11_33_02_363677_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/51b659edf36ede4cd6eba26d4b6160cc.jpg","text":"TemporaryFile(/tmp/multipartBody6114350078234859455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764532536,"filename":"image_13012025_11_34_02_608325_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ed154f07f7812b0118fa37b6cb227eec.jpg","text":"TemporaryFile(/tmp/multipartBody9062185397146232239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764532536,"filename":"image_13012025_11_34_02_608325_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328622306","file1":"1328622303","file0":"1328622299","file3":"1328622309"},"map_files_photo_id_array":[{"photo_id":"1328622306","filename":"file2"},{"photo_id":"1328622303","filename":"file1"},{"photo_id":"1328622299","filename":"file0"},{"photo_id":"1328622309","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328622309":["hashtag1","hashtag2"]},{"1328622299":["hashtag1","hashtag2"]},{"1328622303":["hashtag1","hashtag2"]},{"1328622306":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328622309, 1328622299, 1328622303, 1328622306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.85725545883179 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:35:22.522280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/34/image_13012025_11_34_02_608325_0003.jpg', '/home/pi/Desktop/images/13012025/11/35/image_13012025_11_35_02_809260_0000.jpg', '/home/pi/Desktop/images/13012025/11/35/image_13012025_11_35_02_809260_0001.jpg', '/home/pi/Desktop/images/13012025/11/35/image_13012025_11_35_02_809260_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/34/image_13012025_11_34_02_608325_0003.jpg
/home/pi/Desktop/images/13012025/11/35/image_13012025_11_35_02_809260_0000.jpg
/home/pi/Desktop/images/13012025/11/35/image_13012025_11_35_02_809260_0001.jpg
/home/pi/Desktop/images/13012025/11/35/image_13012025_11_35_02_809260_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328622339","1328622330","1328622326","1328622334"],"photo_ids_order":["1328622326","1328622330","1328622334","1328622339"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/73e239dbd40d085484776a4d8a6fd835.jpg","text":"TemporaryFile(/tmp/multipartBody4981004115511892061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764592691,"filename":"image_13012025_11_35_02_809260_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/db1f60e83a22169a1067f87af22fd842.jpg","text":"TemporaryFile(/tmp/multipartBody2866302364591379746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764592691,"filename":"image_13012025_11_35_02_809260_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dca2a81d0ba8ba4d405fbf797298d8f9.jpg","text":"TemporaryFile(/tmp/multipartBody3460783727666513215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764592691,"filename":"image_13012025_11_34_02_608325_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e56299af9df3de3d02c9ba5b560e5a5f.jpg","text":"TemporaryFile(/tmp/multipartBody2470194328200148434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764592691,"filename":"image_13012025_11_35_02_809260_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328622334","file1":"1328622330","file0":"1328622326","file3":"1328622339"},"map_files_photo_id_array":[{"photo_id":"1328622334","filename":"file2"},{"photo_id":"1328622330","filename":"file1"},{"photo_id":"1328622326","filename":"file0"},{"photo_id":"1328622339","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328622339":["hashtag1","hashtag2"]},{"1328622330":["hashtag1","hashtag2"]},{"1328622326":["hashtag1","hashtag2"]},{"1328622334":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328622339, 1328622330, 1328622326, 1328622334)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.74886775016785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:36:22.754788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/35/image_13012025_11_35_02_809260_0003.jpg', '/home/pi/Desktop/images/13012025/11/36/image_13012025_11_36_02_962745_0000.jpg', '/home/pi/Desktop/images/13012025/11/36/image_13012025_11_36_02_962745_0001.jpg', '/home/pi/Desktop/images/13012025/11/36/image_13012025_11_36_02_962745_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/35/image_13012025_11_35_02_809260_0003.jpg
/home/pi/Desktop/images/13012025/11/36/image_13012025_11_36_02_962745_0000.jpg
/home/pi/Desktop/images/13012025/11/36/image_13012025_11_36_02_962745_0001.jpg
/home/pi/Desktop/images/13012025/11/36/image_13012025_11_36_02_962745_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328622367","1328622355","1328622358","1328622363"],"photo_ids_order":["1328622355","1328622358","1328622363","1328622367"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9d1030804a4eedb182c21e2bc8374a4c.jpg","text":"TemporaryFile(/tmp/multipartBody2111611704181709671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764653037,"filename":"image_13012025_11_36_02_962745_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ee42b69e08f7f1effb22c0248efbc006.jpg","text":"TemporaryFile(/tmp/multipartBody2312271078974203478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764653037,"filename":"image_13012025_11_35_02_809260_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7c3ebd3e012e79dd108457474b9b19ae.jpg","text":"TemporaryFile(/tmp/multipartBody673290775728246537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764653037,"filename":"image_13012025_11_36_02_962745_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/05178c642f2bdf1b92c6583bbd36344d.jpg","text":"TemporaryFile(/tmp/multipartBody4832444307422912110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764653037,"filename":"image_13012025_11_36_02_962745_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328622363","file1":"1328622358","file0":"1328622355","file3":"1328622367"},"map_files_photo_id_array":[{"photo_id":"1328622363","filename":"file2"},{"photo_id":"1328622358","filename":"file1"},{"photo_id":"1328622355","filename":"file0"},{"photo_id":"1328622367","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328622367":["hashtag1","hashtag2"]},{"1328622355":["hashtag1","hashtag2"]},{"1328622358":["hashtag1","hashtag2"]},{"1328622363":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328622367, 1328622355, 1328622358, 1328622363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.400331020355225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:37:02.658646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:37:21.957941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/36/image_13012025_11_36_02_962745_0003.jpg', '/home/pi/Desktop/images/13012025/11/37/image_13012025_11_37_03_083085_0000.jpg', '/home/pi/Desktop/images/13012025/11/37/image_13012025_11_37_03_083085_0001.jpg', '/home/pi/Desktop/images/13012025/11/37/image_13012025_11_37_03_083085_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/36/image_13012025_11_36_02_962745_0003.jpg
/home/pi/Desktop/images/13012025/11/37/image_13012025_11_37_03_083085_0000.jpg
/home/pi/Desktop/images/13012025/11/37/image_13012025_11_37_03_083085_0001.jpg
/home/pi/Desktop/images/13012025/11/37/image_13012025_11_37_03_083085_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328622387","1328622449","1328622391","1328622403"],"photo_ids_order":["1328622387","1328622391","1328622403","1328622449"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7390edb03c59d2d8f797e72075b880ab.jpg","text":"TemporaryFile(/tmp/multipartBody4810575145916599895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764712314,"filename":"image_13012025_11_36_02_962745_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/970b5339d56b3743f376b63683bd7fbe.jpg","text":"TemporaryFile(/tmp/multipartBody1481516424546575477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764712314,"filename":"image_13012025_11_37_03_083085_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8d0848c732f3431f0d13069e05edf922.jpg","text":"TemporaryFile(/tmp/multipartBody2212127903224408280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764712314,"filename":"image_13012025_11_37_03_083085_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/75d2bbed25fb5b9720dbe41b394a1078.jpg","text":"TemporaryFile(/tmp/multipartBody3066645345686105554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764712314,"filename":"image_13012025_11_37_03_083085_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328622403","file1":"1328622391","file0":"1328622387","file3":"1328622449"},"map_files_photo_id_array":[{"photo_id":"1328622403","filename":"file2"},{"photo_id":"1328622391","filename":"file1"},{"photo_id":"1328622387","filename":"file0"},{"photo_id":"1328622449","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328622387":["hashtag1","hashtag2"]},{"1328622449":["hashtag1","hashtag2"]},{"1328622391":["hashtag1","hashtag2"]},{"1328622403":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328622387, 1328622449, 1328622391, 1328622403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.703845739364624 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:38:02.545153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:38:22.191412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/37/image_13012025_11_37_03_083085_0003.jpg', '/home/pi/Desktop/images/13012025/11/38/image_13012025_11_38_02_393248_0000.jpg', '/home/pi/Desktop/images/13012025/11/38/image_13012025_11_38_02_393248_0001.jpg', '/home/pi/Desktop/images/13012025/11/38/image_13012025_11_38_02_393248_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/37/image_13012025_11_37_03_083085_0003.jpg
/home/pi/Desktop/images/13012025/11/38/image_13012025_11_38_02_393248_0000.jpg
/home/pi/Desktop/images/13012025/11/38/image_13012025_11_38_02_393248_0001.jpg
/home/pi/Desktop/images/13012025/11/38/image_13012025_11_38_02_393248_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328622488","1328622496","1328622490","1328622493"],"photo_ids_order":["1328622488","1328622490","1328622493","1328622496"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6010e335d365c29800a5edbd885e8531.jpg","text":"TemporaryFile(/tmp/multipartBody6233965507553517185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764772364,"filename":"image_13012025_11_37_03_083085_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/031780988bf9d697086e508e66d3f6a4.jpg","text":"TemporaryFile(/tmp/multipartBody6434471284139267818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764772364,"filename":"image_13012025_11_38_02_393248_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a6414b9ed494c4ebe6c983b0221cfa06.jpg","text":"TemporaryFile(/tmp/multipartBody6445395321415783067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764772364,"filename":"image_13012025_11_38_02_393248_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/49d86cd79b0578d187894273d6d962c4.jpg","text":"TemporaryFile(/tmp/multipartBody6966863898625453250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764772364,"filename":"image_13012025_11_38_02_393248_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328622493","file1":"1328622490","file0":"1328622488","file3":"1328622496"},"map_files_photo_id_array":[{"photo_id":"1328622493","filename":"file2"},{"photo_id":"1328622490","filename":"file1"},{"photo_id":"1328622488","filename":"file0"},{"photo_id":"1328622496","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328622488":["hashtag1","hashtag2"]},{"1328622496":["hashtag1","hashtag2"]},{"1328622490":["hashtag1","hashtag2"]},{"1328622493":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328622488, 1328622496, 1328622490, 1328622493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.41561555862427 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:39:22.365704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/38/image_13012025_11_38_02_393248_0003.jpg', '/home/pi/Desktop/images/13012025/11/39/image_13012025_11_39_02_451433_0000.jpg', '/home/pi/Desktop/images/13012025/11/39/image_13012025_11_39_02_451433_0001.jpg', '/home/pi/Desktop/images/13012025/11/39/image_13012025_11_39_02_451433_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/38/image_13012025_11_38_02_393248_0003.jpg
/home/pi/Desktop/images/13012025/11/39/image_13012025_11_39_02_451433_0000.jpg
/home/pi/Desktop/images/13012025/11/39/image_13012025_11_39_02_451433_0001.jpg
/home/pi/Desktop/images/13012025/11/39/image_13012025_11_39_02_451433_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328622522","1328622516","1328622536","1328622518"],"photo_ids_order":["1328622516","1328622518","1328622522","1328622536"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/581ad4d31c4e85807cd6103cc82d3af3.jpg","text":"TemporaryFile(/tmp/multipartBody6989765658567360759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764832695,"filename":"image_13012025_11_39_02_451433_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8e05af35dfacb165844221e4e667a658.jpg","text":"TemporaryFile(/tmp/multipartBody3942993018736576500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764832695,"filename":"image_13012025_11_38_02_393248_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e987b873a8fa83c6e87c836ddfe914e7.jpg","text":"TemporaryFile(/tmp/multipartBody718147551032847965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764832695,"filename":"image_13012025_11_39_02_451433_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/17ebe89b136eb96f052e3fa9ed67af27.jpg","text":"TemporaryFile(/tmp/multipartBody4743168210717984902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764832695,"filename":"image_13012025_11_39_02_451433_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328622522","file1":"1328622518","file0":"1328622516","file3":"1328622536"},"map_files_photo_id_array":[{"photo_id":"1328622522","filename":"file2"},{"photo_id":"1328622518","filename":"file1"},{"photo_id":"1328622516","filename":"file0"},{"photo_id":"1328622536","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328622522":["hashtag1","hashtag2"]},{"1328622516":["hashtag1","hashtag2"]},{"1328622536":["hashtag1","hashtag2"]},{"1328622518":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328622522, 1328622516, 1328622536, 1328622518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.985891342163086 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:40:22.522601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/39/image_13012025_11_39_02_451433_0003.jpg', '/home/pi/Desktop/images/13012025/11/40/image_13012025_11_40_02_664576_0000.jpg', '/home/pi/Desktop/images/13012025/11/40/image_13012025_11_40_02_664576_0001.jpg', '/home/pi/Desktop/images/13012025/11/40/image_13012025_11_40_02_664576_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/39/image_13012025_11_39_02_451433_0003.jpg
/home/pi/Desktop/images/13012025/11/40/image_13012025_11_40_02_664576_0000.jpg
/home/pi/Desktop/images/13012025/11/40/image_13012025_11_40_02_664576_0001.jpg
/home/pi/Desktop/images/13012025/11/40/image_13012025_11_40_02_664576_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328622729","1328622723","1328622732","1328622726"],"photo_ids_order":["1328622723","1328622726","1328622729","1328622732"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/76f160a67ad64ff6554b373cad0d73be.jpg","text":"TemporaryFile(/tmp/multipartBody2057307237422170132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764892816,"filename":"image_13012025_11_40_02_664576_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/80be68faa9e8af365d15093f9b2ef4ed.jpg","text":"TemporaryFile(/tmp/multipartBody2900689418823614361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764892816,"filename":"image_13012025_11_39_02_451433_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/90571b0e48e4dfd5aa1fe67c7f763bff.jpg","text":"TemporaryFile(/tmp/multipartBody5308772859252678865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764892816,"filename":"image_13012025_11_40_02_664576_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7e4c464d2d46c89aa0be44606e58000f.jpg","text":"TemporaryFile(/tmp/multipartBody476845876409534840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764892816,"filename":"image_13012025_11_40_02_664576_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328622729","file1":"1328622726","file0":"1328622723","file3":"1328622732"},"map_files_photo_id_array":[{"photo_id":"1328622729","filename":"file2"},{"photo_id":"1328622726","filename":"file1"},{"photo_id":"1328622723","filename":"file0"},{"photo_id":"1328622732","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328622729":["hashtag1","hashtag2"]},{"1328622723":["hashtag1","hashtag2"]},{"1328622732":["hashtag1","hashtag2"]},{"1328622726":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328622729, 1328622723, 1328622732, 1328622726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.69120121002197 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:41:03.335251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:41:22.662539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/40/image_13012025_11_40_02_664576_0003.jpg', '/home/pi/Desktop/images/13012025/11/41/image_13012025_11_41_02_905698_0000.jpg', '/home/pi/Desktop/images/13012025/11/41/image_13012025_11_41_02_905698_0001.jpg', '/home/pi/Desktop/images/13012025/11/41/image_13012025_11_41_02_905698_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/40/image_13012025_11_40_02_664576_0003.jpg
/home/pi/Desktop/images/13012025/11/41/image_13012025_11_41_02_905698_0000.jpg
/home/pi/Desktop/images/13012025/11/41/image_13012025_11_41_02_905698_0001.jpg
/home/pi/Desktop/images/13012025/11/41/image_13012025_11_41_02_905698_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328622776","1328622758","1328622761","1328622774"],"photo_ids_order":["1328622758","1328622761","1328622774","1328622776"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/74c0121f26ed2b2cb9649d3161912e1b.jpg","text":"TemporaryFile(/tmp/multipartBody5170569878583776926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764952888,"filename":"image_13012025_11_41_02_905698_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b64bffa17793b6cd6a580d6342a0e8bb.jpg","text":"TemporaryFile(/tmp/multipartBody557452203966931858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764952888,"filename":"image_13012025_11_40_02_664576_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9ba5d865f65821559934265cfb3876b7.jpg","text":"TemporaryFile(/tmp/multipartBody2991044654260013415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764952888,"filename":"image_13012025_11_41_02_905698_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6da2ac8833b5e7c6048eb760e80a665a.jpg","text":"TemporaryFile(/tmp/multipartBody7196150981544386917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736764952888,"filename":"image_13012025_11_41_02_905698_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328622774","file1":"1328622761","file0":"1328622758","file3":"1328622776"},"map_files_photo_id_array":[{"photo_id":"1328622774","filename":"file2"},{"photo_id":"1328622761","filename":"file1"},{"photo_id":"1328622758","filename":"file0"},{"photo_id":"1328622776","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328622776":["hashtag1","hashtag2"]},{"1328622758":["hashtag1","hashtag2"]},{"1328622761":["hashtag1","hashtag2"]},{"1328622774":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328622776, 1328622758, 1328622761, 1328622774)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 38.75303387641907 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:42:21.887142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/41/image_13012025_11_41_02_905698_0003.jpg', '/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0000.jpg', '/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0001.jpg', '/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/41/image_13012025_11_41_02_905698_0003.jpg
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0000.jpg
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0001.jpg
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328622801","1328622880","1328622868","1328622865"],"photo_ids_order":["1328622801","1328622865","1328622868","1328622880"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e924bf6f1d89c352121fe55a9deb8134.jpg","text":"TemporaryFile(/tmp/multipartBody419777262461028849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736765012195,"filename":"image_13012025_11_41_02_905698_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d403eab09849fa26d62b1a45acbec66d.jpg","text":"TemporaryFile(/tmp/multipartBody3622688485077648012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736765012195,"filename":"image_13012025_11_42_03_036513_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a6d79657c39d8cf52236b1a1939fdbda.jpg","text":"TemporaryFile(/tmp/multipartBody8058975701180884676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736765012195,"filename":"image_13012025_11_42_03_036513_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5a77e90bf39edc2d543dd30d0612cb7d.jpg","text":"TemporaryFile(/tmp/multipartBody538003974168251587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736765012195,"filename":"image_13012025_11_42_03_036513_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328622868","file1":"1328622865","file0":"1328622801","file3":"1328622880"},"map_files_photo_id_array":[{"photo_id":"1328622868","filename":"file2"},{"photo_id":"1328622865","filename":"file1"},{"photo_id":"1328622801","filename":"file0"},{"photo_id":"1328622880","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328622801":["hashtag1","hashtag2"]},{"1328622880":["hashtag1","hashtag2"]},{"1328622868":["hashtag1","hashtag2"]},{"1328622865":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328622801, 1328622880, 1328622868, 1328622865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.62521147727966 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:43:21.998223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 ('Connection aborted.', OSError("(104, 'ECONNRESET')"))
cannot unpack non-iterable int object
time to upload: 34.39152812957764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:44:02.578228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551b750>: Failed to establish a new connection: [Errno 111] Connection refused'))
cannot unpack non-iterable int object
time to upload: 0.2470409870147705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:44:22.169442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e8a30>: Failed to establish a new connection: [Errno 111] Connection refused'))
cannot unpack non-iterable int object
time to upload: 0.21925902366638184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 11:44:32.195412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dc970>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 5.610466003417969 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 11:44:42.151703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558d930>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.0903162956237793 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 11:44:52.144010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54de970>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.333399534225464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:45:02.905803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a29b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.6493980884552 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:45:22.432957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b89b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.002357006072998 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 11:45:32.331867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5507a50>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.30338978767395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 11:45:42.345366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55179d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 1.6104638576507568 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 11:45:52.316801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55529b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.119550943374634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:46:02.882045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d39b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 0.993828296661377 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:46:22.512882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54929d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 1.1240348815917969 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 11:46:32.475359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54ffa10>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.3219337463378906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 11:46:42.521757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5502990>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.3560597896575928 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 11:46:52.462508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f0970>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.17546010017395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:47:03.217988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5541a30>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.2202067375183105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:47:22.752690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557d9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 0.8861405849456787 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 11:47:32.628218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5498950>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.331296443939209 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 11:47:42.725706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55879f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 0.3528785705566406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 11:47:52.628987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54d6a50>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 1.891035556793213 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:48:02.303786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb549c9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.415879964828491 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:48:21.871471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54b29b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.249251127243042 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 11:48:31.784380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55729b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 1.8570702075958252 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 11:48:41.872892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554b990>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 1.928757667541504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 11:48:51.846658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb552c9b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.0351827144622803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:49:02.758880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556a950>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.323679208755493 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:49:22.189382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e59d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.8933115005493164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 11:49:32.012919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54f1330>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.3899970054626465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 11:49:42.109376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55509b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.374133348464966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 11:49:52.015031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb551ba30>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 0.5879578590393066 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:50:02.602428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e8a30>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.5614805221557617 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:50:22.238506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55182b0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 1.72640061378479 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 11:50:32.216958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558a970>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 0.6272923946380615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 11:50:42.213702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb550a8f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 0.3105943202972412 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 11:50:52.210771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb553b9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 3.354480504989624 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:51:03.019789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb554aa30>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.9464991092681885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:51:22.410564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54e4930>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.996030569076538 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 11:51:32.419026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb55119d0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 0.9876141548156738 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 11:51:42.425432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5509a10>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 1.7815589904785156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 11:51:52.401589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb557a990>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 1.965852975845337 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:52:03.121981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb558a9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.3655502796173096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:52:22.647288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dc8f0>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 0.9213004112243652 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 11:52:32.633828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54dfa10>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 1.8152005672454834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 11:52:42.580444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556f910>: Failed to establish a new connection: [Errno 113] No route to host'))
cannot unpack non-iterable int object
time to upload: 2.268325090408325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 11:52:52.677920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.241715908050537 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:53:21.845035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.93765139579773 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 11:53:41.851550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.078124046325684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:54:02.387989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.124689817428589 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:54:22.129452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.099270343780518 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 11:54:42.047683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.073800086975098 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:55:02.810746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_03_036513_0003.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0000.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0001.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0002.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_02_254246_0003.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328623902","1328623865","1328623910","1328623808","1328623900","1328623896"],"photo_ids_order":["1328623808","1328623865","1328623896","1328623900","1328623902","1328623910"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c741b06e4d0f7cabed5bc4a26088d06d.jpg","text":"TemporaryFile(/tmp/multipartBody8808134429145374354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736765777846,"filename":"image_13012025_11_43_02_254246_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/def341df8190f10d7d7062084c911da3.jpg","text":"TemporaryFile(/tmp/multipartBody2969336003639006846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736765777846,"filename":"image_13012025_11_43_02_254246_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/56811d9e8f34a6715ffc25513ea39965.jpg","text":"TemporaryFile(/tmp/multipartBody1412921555339617554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736765777846,"filename":"image_13012025_11_44_02_419114_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/09a74842be56574986b1c94e6fdf6c2f.jpg","text":"TemporaryFile(/tmp/multipartBody8992073369257237308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736765777846,"filename":"image_13012025_11_42_03_036513_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9da4d284dc48ac3bdd9bfbdc95a6adbf.jpg","text":"TemporaryFile(/tmp/multipartBody2264574001693562367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736765777846,"filename":"image_13012025_11_43_02_254246_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/234c4b020e11d4380dc063d5603b76b8.jpg","text":"TemporaryFile(/tmp/multipartBody3223176682168897238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736765777846,"filename":"image_13012025_11_43_02_254246_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328623896","file1":"1328623865","file0":"1328623808","file4":"1328623902","file5":"1328623910","file3":"1328623900"},"map_files_photo_id_array":[{"photo_id":"1328623910","filename":"file5"},{"photo_id":"1328623896","filename":"file2"},{"photo_id":"1328623902","filename":"file4"},{"photo_id":"1328623865","filename":"file1"},{"photo_id":"1328623808","filename":"file0"},{"photo_id":"1328623900","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328623902":["hashtag1","hashtag2"]},{"1328623865":["hashtag1","hashtag2"]},{"1328623910":["hashtag1","hashtag2"]},{"1328623808":["hashtag1","hashtag2"]},{"1328623900":["hashtag1","hashtag2"]},{"1328623896":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328623902, 1328623865, 1328623910, 1328623808, 1328623900, 1328623896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.12983250617981 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:56:02.836956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0001.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0002.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0003.jpg', '/home/pi/Desktop/images/13012025/11/45/image_13012025_11_45_02_596433_0000.jpg', '/home/pi/Desktop/images/13012025/11/45/image_13012025_11_45_02_596433_0001.jpg', '/home/pi/Desktop/images/13012025/11/45/image_13012025_11_45_02_596433_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0001.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0002.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0003.jpg
/home/pi/Desktop/images/13012025/11/45/image_13012025_11_45_02_596433_0000.jpg
/home/pi/Desktop/images/13012025/11/45/image_13012025_11_45_02_596433_0001.jpg
/home/pi/Desktop/images/13012025/11/45/image_13012025_11_45_02_596433_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.67051362991333 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:56:22.438033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0001.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0002.jpg', '/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0003.jpg', '/home/pi/Desktop/images/13012025/11/45/image_13012025_11_45_02_596433_0000.jpg', '/home/pi/Desktop/images/13012025/11/45/image_13012025_11_45_02_596433_0001.jpg', '/home/pi/Desktop/images/13012025/11/45/image_13012025_11_45_02_596433_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0001.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0002.jpg
/home/pi/Desktop/images/13012025/11/44/image_13012025_11_44_02_419114_0003.jpg
/home/pi/Desktop/images/13012025/11/45/image_13012025_11_45_02_596433_0000.jpg
/home/pi/Desktop/images/13012025/11/45/image_13012025_11_45_02_596433_0001.jpg
/home/pi/Desktop/images/13012025/11/45/image_13012025_11_45_02_596433_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328624141","1328624193","1328624172","1328624175","1328624220","1328624192"],"photo_ids_order":["1328624141","1328624172","1328624175","1328624192","1328624193","1328624220"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/851612c4a3e773b3270253f63fb9783d.jpg","text":"TemporaryFile(/tmp/multipartBody2396464616471746087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736765857458,"filename":"image_13012025_11_44_02_419114_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cbc7943a63240c1072f054c6291e48d8.jpg","text":"TemporaryFile(/tmp/multipartBody3304593982552893980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736765857458,"filename":"image_13012025_11_45_02_596433_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/41867b1242817a21ac5004837cdf2f63.jpg","text":"TemporaryFile(/tmp/multipartBody8562992022920030798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736765857458,"filename":"image_13012025_11_44_02_419114_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d5360d9a9ee5aa72390edffb00f78f6e.jpg","text":"TemporaryFile(/tmp/multipartBody7800172261268983436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736765857458,"filename":"image_13012025_11_44_02_419114_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cd6974a0c5dd68454af98d5f590a83db.jpg","text":"TemporaryFile(/tmp/multipartBody6349188535159897368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736765857458,"filename":"image_13012025_11_45_02_596433_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e3e4e40a033166ac5b154364610f2bb2.jpg","text":"TemporaryFile(/tmp/multipartBody8294718523557431571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736765857458,"filename":"image_13012025_11_45_02_596433_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328624175","file1":"1328624172","file0":"1328624141","file4":"1328624193","file5":"1328624220","file3":"1328624192"},"map_files_photo_id_array":[{"photo_id":"1328624220","filename":"file5"},{"photo_id":"1328624175","filename":"file2"},{"photo_id":"1328624193","filename":"file4"},{"photo_id":"1328624172","filename":"file1"},{"photo_id":"1328624141","filename":"file0"},{"photo_id":"1328624192","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328624141":["hashtag1","hashtag2"]},{"1328624193":["hashtag1","hashtag2"]},{"1328624172":["hashtag1","hashtag2"]},{"1328624175":["hashtag1","hashtag2"]},{"1328624220":["hashtag1","hashtag2"]},{"1328624192":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328624141, 1328624193, 1328624172, 1328624175, 1328624220, 1328624192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.195627212524414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 11:57:22.616599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/45/image_13012025_11_45_02_596433_0003.jpg', '/home/pi/Desktop/images/13012025/11/46/image_13012025_11_46_02_723043_0000.jpg', '/home/pi/Desktop/images/13012025/11/46/image_13012025_11_46_02_723043_0001.jpg', '/home/pi/Desktop/images/13012025/11/46/image_13012025_11_46_02_723043_0002.jpg', '/home/pi/Desktop/images/13012025/11/46/image_13012025_11_46_02_723043_0003.jpg', '/home/pi/Desktop/images/13012025/11/47/image_13012025_11_47_02_923357_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/45/image_13012025_11_45_02_596433_0003.jpg
/home/pi/Desktop/images/13012025/11/46/image_13012025_11_46_02_723043_0000.jpg
/home/pi/Desktop/images/13012025/11/46/image_13012025_11_46_02_723043_0001.jpg
/home/pi/Desktop/images/13012025/11/46/image_13012025_11_46_02_723043_0002.jpg
/home/pi/Desktop/images/13012025/11/46/image_13012025_11_46_02_723043_0003.jpg
/home/pi/Desktop/images/13012025/11/47/image_13012025_11_47_02_923357_0000.jpg
 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 : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 11:59:02.441181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/45/image_13012025_11_45_02_596433_0003.jpg', '/home/pi/Desktop/images/13012025/11/46/image_13012025_11_46_02_723043_0000.jpg', '/home/pi/Desktop/images/13012025/11/46/image_13012025_11_46_02_723043_0001.jpg', '/home/pi/Desktop/images/13012025/11/46/image_13012025_11_46_02_723043_0002.jpg', '/home/pi/Desktop/images/13012025/11/46/image_13012025_11_46_02_723043_0003.jpg', '/home/pi/Desktop/images/13012025/11/47/image_13012025_11_47_02_923357_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/45/image_13012025_11_45_02_596433_0003.jpg
/home/pi/Desktop/images/13012025/11/46/image_13012025_11_46_02_723043_0000.jpg
/home/pi/Desktop/images/13012025/11/46/image_13012025_11_46_02_723043_0001.jpg
/home/pi/Desktop/images/13012025/11/46/image_13012025_11_46_02_723043_0002.jpg
/home/pi/Desktop/images/13012025/11/46/image_13012025_11_46_02_723043_0003.jpg
/home/pi/Desktop/images/13012025/11/47/image_13012025_11_47_02_923357_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328624371","1328624365","1328624382","1328624379","1328624375","1328624378"],"photo_ids_order":["1328624365","1328624371","1328624375","1328624378","1328624379","1328624382"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6f9af1b0fa7eb8fc13e8501020dafba0.jpg","text":"TemporaryFile(/tmp/multipartBody4251168825917528224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766017344,"filename":"image_13012025_11_46_02_723043_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bad2523fe80ae726cebea80032438f18.jpg","text":"TemporaryFile(/tmp/multipartBody454534438457913750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766017344,"filename":"image_13012025_11_45_02_596433_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ea6ea02cccbf56b84fc806b82e833116.jpg","text":"TemporaryFile(/tmp/multipartBody6244207713811262022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766017344,"filename":"image_13012025_11_47_02_923357_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cab2e5a713970030727eb776e92075dc.jpg","text":"TemporaryFile(/tmp/multipartBody6316823330629751468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766017344,"filename":"image_13012025_11_46_02_723043_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f87518989c4b94bfa39ebd146e1024b8.jpg","text":"TemporaryFile(/tmp/multipartBody4987535257355062666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766017344,"filename":"image_13012025_11_46_02_723043_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e16904d634dc781dce40f9f6da024c7b.jpg","text":"TemporaryFile(/tmp/multipartBody1085133866944573443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766017344,"filename":"image_13012025_11_46_02_723043_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328624375","file1":"1328624371","file0":"1328624365","file4":"1328624379","file5":"1328624382","file3":"1328624378"},"map_files_photo_id_array":[{"photo_id":"1328624382","filename":"file5"},{"photo_id":"1328624375","filename":"file2"},{"photo_id":"1328624379","filename":"file4"},{"photo_id":"1328624371","filename":"file1"},{"photo_id":"1328624365","filename":"file0"},{"photo_id":"1328624378","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328624371":["hashtag1","hashtag2"]},{"1328624365":["hashtag1","hashtag2"]},{"1328624382":["hashtag1","hashtag2"]},{"1328624379":["hashtag1","hashtag2"]},{"1328624375":["hashtag1","hashtag2"]},{"1328624378":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328624371, 1328624365, 1328624382, 1328624379, 1328624375, 1328624378)","result":[],"list_datou_current":[]}'
Result OK !
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 12:01:20.779128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/45/image_13012025_11_45_02_596433_0003.jpg', '/home/pi/Desktop/images/13012025/11/46/image_13012025_11_46_02_723043_0000.jpg', '/home/pi/Desktop/images/13012025/11/46/image_13012025_11_46_02_723043_0001.jpg', '/home/pi/Desktop/images/13012025/11/46/image_13012025_11_46_02_723043_0002.jpg', '/home/pi/Desktop/images/13012025/11/46/image_13012025_11_46_02_723043_0003.jpg', '/home/pi/Desktop/images/13012025/11/47/image_13012025_11_47_02_923357_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/45/image_13012025_11_45_02_596433_0003.jpg
/home/pi/Desktop/images/13012025/11/46/image_13012025_11_46_02_723043_0000.jpg
/home/pi/Desktop/images/13012025/11/46/image_13012025_11_46_02_723043_0001.jpg
/home/pi/Desktop/images/13012025/11/46/image_13012025_11_46_02_723043_0002.jpg
/home/pi/Desktop/images/13012025/11/46/image_13012025_11_46_02_723043_0003.jpg
/home/pi/Desktop/images/13012025/11/47/image_13012025_11_47_02_923357_0000.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328624686","1328624737","1328624682","1328624745","1328624715","1328624690"],"photo_ids_order":["1328624682","1328624686","1328624690","1328624715","1328624737","1328624745"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f95f0fe5b63548df23499dfb6a678062.jpg","text":"TemporaryFile(/tmp/multipartBody5900640485585329535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766156708,"filename":"image_13012025_11_46_02_723043_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f2544eb2c7bd8eaa72bfba50ad28aa8d.jpg","text":"TemporaryFile(/tmp/multipartBody3652013786687061525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766156708,"filename":"image_13012025_11_46_02_723043_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/20f0ad2df4a92af08885011dea992eba.jpg","text":"TemporaryFile(/tmp/multipartBody1618239573206292875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766156708,"filename":"image_13012025_11_45_02_596433_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d20dd25ab445bec5d375bb12b2b69600.jpg","text":"TemporaryFile(/tmp/multipartBody8356758261679441888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766156708,"filename":"image_13012025_11_47_02_923357_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1d10f362f5875180522bdb7ce9fb6045.jpg","text":"TemporaryFile(/tmp/multipartBody3072492735835549367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766156708,"filename":"image_13012025_11_46_02_723043_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aae6bda7d9d5941c91ba2f10da293436.jpg","text":"TemporaryFile(/tmp/multipartBody225459857492952656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766156708,"filename":"image_13012025_11_46_02_723043_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328624690","file1":"1328624686","file0":"1328624682","file4":"1328624737","file5":"1328624745","file3":"1328624715"},"map_files_photo_id_array":[{"photo_id":"1328624745","filename":"file5"},{"photo_id":"1328624690","filename":"file2"},{"photo_id":"1328624737","filename":"file4"},{"photo_id":"1328624686","filename":"file1"},{"photo_id":"1328624682","filename":"file0"},{"photo_id":"1328624715","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328624686":["hashtag1","hashtag2"]},{"1328624737":["hashtag1","hashtag2"]},{"1328624682":["hashtag1","hashtag2"]},{"1328624745":["hashtag1","hashtag2"]},{"1328624715":["hashtag1","hashtag2"]},{"1328624690":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328624686, 1328624737, 1328624682, 1328624745, 1328624715, 1328624690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.0688316822052 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:02:22.093155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/47/image_13012025_11_47_02_923357_0001.jpg', '/home/pi/Desktop/images/13012025/11/47/image_13012025_11_47_02_923357_0002.jpg', '/home/pi/Desktop/images/13012025/11/47/image_13012025_11_47_02_923357_0003.jpg', '/home/pi/Desktop/images/13012025/11/48/image_13012025_11_48_03_080025_0000.jpg', '/home/pi/Desktop/images/13012025/11/48/image_13012025_11_48_03_080025_0001.jpg', '/home/pi/Desktop/images/13012025/11/48/image_13012025_11_48_03_080025_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/47/image_13012025_11_47_02_923357_0001.jpg
/home/pi/Desktop/images/13012025/11/47/image_13012025_11_47_02_923357_0002.jpg
/home/pi/Desktop/images/13012025/11/47/image_13012025_11_47_02_923357_0003.jpg
/home/pi/Desktop/images/13012025/11/48/image_13012025_11_48_03_080025_0000.jpg
/home/pi/Desktop/images/13012025/11/48/image_13012025_11_48_03_080025_0001.jpg
/home/pi/Desktop/images/13012025/11/48/image_13012025_11_48_03_080025_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328625172","1328625183","1328625300","1328625318","1328625176","1328625350"],"photo_ids_order":["1328625172","1328625176","1328625183","1328625300","1328625318","1328625350"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c48656638f38cfe4c38d29cd440419e9.jpg","text":"TemporaryFile(/tmp/multipartBody8157060211133914270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766217639,"filename":"image_13012025_11_47_02_923357_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/336f9666f91508a76fe394e1c17ed1c7.jpg","text":"TemporaryFile(/tmp/multipartBody5887239930590717759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766217639,"filename":"image_13012025_11_47_02_923357_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b46a1c4ea7ce32331071e196af17d2ec.jpg","text":"TemporaryFile(/tmp/multipartBody8654977735620092396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766217639,"filename":"image_13012025_11_48_03_080025_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f584865da7abf11785ed64ca7acbf0a1.jpg","text":"TemporaryFile(/tmp/multipartBody7342564341517097097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766217639,"filename":"image_13012025_11_48_03_080025_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3f7730e7c504c66c9e0f9d09406e2683.jpg","text":"TemporaryFile(/tmp/multipartBody6455183523774495272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766217639,"filename":"image_13012025_11_47_02_923357_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b3ac6d1844a2c0d8c31e35a1d7c0022c.jpg","text":"TemporaryFile(/tmp/multipartBody3453076325702717598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766217639,"filename":"image_13012025_11_48_03_080025_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328625183","file1":"1328625176","file0":"1328625172","file4":"1328625318","file5":"1328625350","file3":"1328625300"},"map_files_photo_id_array":[{"photo_id":"1328625350","filename":"file5"},{"photo_id":"1328625183","filename":"file2"},{"photo_id":"1328625318","filename":"file4"},{"photo_id":"1328625176","filename":"file1"},{"photo_id":"1328625172","filename":"file0"},{"photo_id":"1328625300","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328625172":["hashtag1","hashtag2"]},{"1328625183":["hashtag1","hashtag2"]},{"1328625300":["hashtag1","hashtag2"]},{"1328625318":["hashtag1","hashtag2"]},{"1328625176":["hashtag1","hashtag2"]},{"1328625350":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328625172, 1328625183, 1328625300, 1328625318, 1328625176, 1328625350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.00015735626221 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:03:22.291372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/48/image_13012025_11_48_03_080025_0003.jpg', '/home/pi/Desktop/images/13012025/11/49/image_13012025_11_49_02_195807_0000.jpg', '/home/pi/Desktop/images/13012025/11/49/image_13012025_11_49_02_195807_0001.jpg', '/home/pi/Desktop/images/13012025/11/49/image_13012025_11_49_02_195807_0002.jpg', '/home/pi/Desktop/images/13012025/11/49/image_13012025_11_49_02_195807_0003.jpg', '/home/pi/Desktop/images/13012025/11/50/image_13012025_11_50_02_387619_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/48/image_13012025_11_48_03_080025_0003.jpg
/home/pi/Desktop/images/13012025/11/49/image_13012025_11_49_02_195807_0000.jpg
/home/pi/Desktop/images/13012025/11/49/image_13012025_11_49_02_195807_0001.jpg
/home/pi/Desktop/images/13012025/11/49/image_13012025_11_49_02_195807_0002.jpg
/home/pi/Desktop/images/13012025/11/49/image_13012025_11_49_02_195807_0003.jpg
/home/pi/Desktop/images/13012025/11/50/image_13012025_11_50_02_387619_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328625376","1328625367","1328625384","1328625371","1328625395","1328625374"],"photo_ids_order":["1328625367","1328625371","1328625374","1328625376","1328625384","1328625395"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c9414246cc82f7fb5c0ec1fac01f588c.jpg","text":"TemporaryFile(/tmp/multipartBody6462748868033820467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766277469,"filename":"image_13012025_11_49_02_195807_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b49f08b32888ddbd37a3bf01a9fde6c6.jpg","text":"TemporaryFile(/tmp/multipartBody9112807967549583648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766277469,"filename":"image_13012025_11_48_03_080025_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9f92d36f6c64eb6a02e52148338e9c7f.jpg","text":"TemporaryFile(/tmp/multipartBody5636403848831554639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766277469,"filename":"image_13012025_11_49_02_195807_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/271f101e8ee2c1368d4f90a9407b2832.jpg","text":"TemporaryFile(/tmp/multipartBody4606161839800526672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766277469,"filename":"image_13012025_11_49_02_195807_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4bd1b12bc70f7d968790c9c4a0b7b10b.jpg","text":"TemporaryFile(/tmp/multipartBody3261574010322654660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766277469,"filename":"image_13012025_11_50_02_387619_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a3c8da4de8b2295f686d4a9b52f178b9.jpg","text":"TemporaryFile(/tmp/multipartBody154998325873666878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766277469,"filename":"image_13012025_11_49_02_195807_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328625374","file1":"1328625371","file0":"1328625367","file4":"1328625384","file5":"1328625395","file3":"1328625376"},"map_files_photo_id_array":[{"photo_id":"1328625395","filename":"file5"},{"photo_id":"1328625374","filename":"file2"},{"photo_id":"1328625384","filename":"file4"},{"photo_id":"1328625371","filename":"file1"},{"photo_id":"1328625367","filename":"file0"},{"photo_id":"1328625376","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328625376":["hashtag1","hashtag2"]},{"1328625367":["hashtag1","hashtag2"]},{"1328625384":["hashtag1","hashtag2"]},{"1328625371":["hashtag1","hashtag2"]},{"1328625395":["hashtag1","hashtag2"]},{"1328625374":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328625376, 1328625367, 1328625384, 1328625371, 1328625395, 1328625374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.87807774543762 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:04:22.340481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/50/image_13012025_11_50_02_387619_0001.jpg', '/home/pi/Desktop/images/13012025/11/50/image_13012025_11_50_02_387619_0002.jpg', '/home/pi/Desktop/images/13012025/11/50/image_13012025_11_50_02_387619_0003.jpg', '/home/pi/Desktop/images/13012025/11/51/image_13012025_11_51_02_652936_0000.jpg', '/home/pi/Desktop/images/13012025/11/51/image_13012025_11_51_02_652936_0002.jpg', '/home/pi/Desktop/images/13012025/11/51/image_13012025_11_51_02_652936_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/50/image_13012025_11_50_02_387619_0001.jpg
/home/pi/Desktop/images/13012025/11/50/image_13012025_11_50_02_387619_0002.jpg
/home/pi/Desktop/images/13012025/11/50/image_13012025_11_50_02_387619_0003.jpg
/home/pi/Desktop/images/13012025/11/51/image_13012025_11_51_02_652936_0000.jpg
/home/pi/Desktop/images/13012025/11/51/image_13012025_11_51_02_652936_0002.jpg
/home/pi/Desktop/images/13012025/11/51/image_13012025_11_51_02_652936_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328625413","1328625418","1328625423","1328625411","1328625420","1328625416"],"photo_ids_order":["1328625411","1328625413","1328625416","1328625418","1328625420","1328625423"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f6749e0b9b2f0582ff5e522658f3c18b.jpg","text":"TemporaryFile(/tmp/multipartBody3237477759483615515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766337395,"filename":"image_13012025_11_50_02_387619_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/020cf29a2dddd1f138f2c789570c0079.jpg","text":"TemporaryFile(/tmp/multipartBody5114030736463836274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766337395,"filename":"image_13012025_11_51_02_652936_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b2cbbd229cd00f9f3469d3a101edb2cd.jpg","text":"TemporaryFile(/tmp/multipartBody3253411316171513720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766337395,"filename":"image_13012025_11_51_02_652936_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/82fa41194647fe4c920d4a1316dad7f4.jpg","text":"TemporaryFile(/tmp/multipartBody6599316502559944464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766337395,"filename":"image_13012025_11_50_02_387619_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2422c1dd1eb0b57c1059dff87f66e285.jpg","text":"TemporaryFile(/tmp/multipartBody7941751734587859694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766337395,"filename":"image_13012025_11_51_02_652936_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/73dfdff64c5c941654c5f5d28a699f19.jpg","text":"TemporaryFile(/tmp/multipartBody4886096527987856789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766337395,"filename":"image_13012025_11_50_02_387619_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328625416","file1":"1328625413","file0":"1328625411","file4":"1328625420","file5":"1328625423","file3":"1328625418"},"map_files_photo_id_array":[{"photo_id":"1328625423","filename":"file5"},{"photo_id":"1328625416","filename":"file2"},{"photo_id":"1328625420","filename":"file4"},{"photo_id":"1328625413","filename":"file1"},{"photo_id":"1328625411","filename":"file0"},{"photo_id":"1328625418","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328625413":["hashtag1","hashtag2"]},{"1328625418":["hashtag1","hashtag2"]},{"1328625423":["hashtag1","hashtag2"]},{"1328625411":["hashtag1","hashtag2"]},{"1328625420":["hashtag1","hashtag2"]},{"1328625416":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328625413, 1328625418, 1328625423, 1328625411, 1328625420, 1328625416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.79374313354492 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:05:22.583019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/52/image_13012025_11_52_02_752902_0000.jpg', '/home/pi/Desktop/images/13012025/11/52/image_13012025_11_52_02_752902_0001.jpg', '/home/pi/Desktop/images/13012025/11/52/image_13012025_11_52_02_752902_0002.jpg', '/home/pi/Desktop/images/13012025/11/52/image_13012025_11_52_02_752902_0003.jpg', '/home/pi/Desktop/images/13012025/11/53/image_13012025_11_53_03_002464_0000.jpg', '/home/pi/Desktop/images/13012025/11/53/image_13012025_11_53_03_002464_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/52/image_13012025_11_52_02_752902_0000.jpg
/home/pi/Desktop/images/13012025/11/52/image_13012025_11_52_02_752902_0001.jpg
/home/pi/Desktop/images/13012025/11/52/image_13012025_11_52_02_752902_0002.jpg
/home/pi/Desktop/images/13012025/11/52/image_13012025_11_52_02_752902_0003.jpg
/home/pi/Desktop/images/13012025/11/53/image_13012025_11_53_03_002464_0000.jpg
/home/pi/Desktop/images/13012025/11/53/image_13012025_11_53_03_002464_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328625451","1328625445","1328625483","1328625456","1328625479","1328625470"],"photo_ids_order":["1328625445","1328625451","1328625456","1328625470","1328625479","1328625483"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/48586a70cb910f83e3cc5a1682ca11b8.jpg","text":"TemporaryFile(/tmp/multipartBody8058541607124686047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766397456,"filename":"image_13012025_11_52_02_752902_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1e9ddcc18f01419fac23f931cdcb8249.jpg","text":"TemporaryFile(/tmp/multipartBody6620849757512282718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766397456,"filename":"image_13012025_11_52_02_752902_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/849d3bc7ecb3237692a936e44aaa1c17.jpg","text":"TemporaryFile(/tmp/multipartBody4079189151272032466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766397456,"filename":"image_13012025_11_53_03_002464_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f61fabbc5a8534b4f56995a416bc3a7c.jpg","text":"TemporaryFile(/tmp/multipartBody944397193592289886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766397456,"filename":"image_13012025_11_52_02_752902_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4e3e16d3348e06b76efb3a59e9f45e4c.jpg","text":"TemporaryFile(/tmp/multipartBody7611077073014546110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766397456,"filename":"image_13012025_11_53_03_002464_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5c0e12f975dd0c5c07d35b2e427d31cb.jpg","text":"TemporaryFile(/tmp/multipartBody8777605248596330056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766397456,"filename":"image_13012025_11_52_02_752902_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328625456","file1":"1328625451","file0":"1328625445","file4":"1328625479","file5":"1328625483","file3":"1328625470"},"map_files_photo_id_array":[{"photo_id":"1328625483","filename":"file5"},{"photo_id":"1328625456","filename":"file2"},{"photo_id":"1328625479","filename":"file4"},{"photo_id":"1328625451","filename":"file1"},{"photo_id":"1328625445","filename":"file0"},{"photo_id":"1328625470","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328625451":["hashtag1","hashtag2"]},{"1328625445":["hashtag1","hashtag2"]},{"1328625483":["hashtag1","hashtag2"]},{"1328625456":["hashtag1","hashtag2"]},{"1328625479":["hashtag1","hashtag2"]},{"1328625470":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328625451, 1328625445, 1328625483, 1328625456, 1328625479, 1328625470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.51962375640869 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 12:06:32.752293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/53/image_13012025_11_53_03_002464_0002.jpg', '/home/pi/Desktop/images/13012025/11/53/image_13012025_11_53_03_002464_0003.jpg', '/home/pi/Desktop/images/13012025/11/54/image_13012025_11_54_02_288995_0000.jpg', '/home/pi/Desktop/images/13012025/11/54/image_13012025_11_54_02_288995_0001.jpg', '/home/pi/Desktop/images/13012025/11/54/image_13012025_11_54_02_288995_0002.jpg', '/home/pi/Desktop/images/13012025/11/54/image_13012025_11_54_02_288995_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/53/image_13012025_11_53_03_002464_0002.jpg
/home/pi/Desktop/images/13012025/11/53/image_13012025_11_53_03_002464_0003.jpg
/home/pi/Desktop/images/13012025/11/54/image_13012025_11_54_02_288995_0000.jpg
/home/pi/Desktop/images/13012025/11/54/image_13012025_11_54_02_288995_0001.jpg
/home/pi/Desktop/images/13012025/11/54/image_13012025_11_54_02_288995_0002.jpg
/home/pi/Desktop/images/13012025/11/54/image_13012025_11_54_02_288995_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328625571","1328625565","1328625550","1328625523","1328625558","1328625575"],"photo_ids_order":["1328625523","1328625550","1328625558","1328625565","1328625571","1328625575"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5c4afa44f7f158e9f25b71d4cd4a9aa5.jpg","text":"TemporaryFile(/tmp/multipartBody8852150822141413788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766467794,"filename":"image_13012025_11_54_02_288995_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b2520887a4f28d12c2ee7684a41e8748.jpg","text":"TemporaryFile(/tmp/multipartBody2956044698810123534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766467794,"filename":"image_13012025_11_54_02_288995_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/678846800e50a1d15d0d2587e35e37a6.jpg","text":"TemporaryFile(/tmp/multipartBody6241796814436093713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766467794,"filename":"image_13012025_11_53_03_002464_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0b02fcc790642b82e50d155cc284f787.jpg","text":"TemporaryFile(/tmp/multipartBody1045630259274900592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766467794,"filename":"image_13012025_11_53_03_002464_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8669c31e1c89e0e1c8d15c0f2b1b88ec.jpg","text":"TemporaryFile(/tmp/multipartBody4546399210210176702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766467794,"filename":"image_13012025_11_54_02_288995_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/30265bf04465814a4021dbaf246522be.jpg","text":"TemporaryFile(/tmp/multipartBody6513687180899768094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766467794,"filename":"image_13012025_11_54_02_288995_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328625558","file1":"1328625550","file0":"1328625523","file4":"1328625571","file5":"1328625575","file3":"1328625565"},"map_files_photo_id_array":[{"photo_id":"1328625575","filename":"file5"},{"photo_id":"1328625558","filename":"file2"},{"photo_id":"1328625571","filename":"file4"},{"photo_id":"1328625550","filename":"file1"},{"photo_id":"1328625523","filename":"file0"},{"photo_id":"1328625565","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328625571":["hashtag1","hashtag2"]},{"1328625565":["hashtag1","hashtag2"]},{"1328625550":["hashtag1","hashtag2"]},{"1328625523":["hashtag1","hashtag2"]},{"1328625558":["hashtag1","hashtag2"]},{"1328625575":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328625571, 1328625565, 1328625550, 1328625523, 1328625558, 1328625575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.43811058998108 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 12:07:31.920030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/55/image_13012025_11_55_02_456419_0000.jpg', '/home/pi/Desktop/images/13012025/11/55/image_13012025_11_55_02_456419_0001.jpg', '/home/pi/Desktop/images/13012025/11/55/image_13012025_11_55_02_456419_0002.jpg', '/home/pi/Desktop/images/13012025/11/56/image_13012025_11_56_02_610790_0000.jpg', '/home/pi/Desktop/images/13012025/11/56/image_13012025_11_56_02_610790_0001.jpg', '/home/pi/Desktop/images/13012025/11/56/image_13012025_11_56_02_610790_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/55/image_13012025_11_55_02_456419_0000.jpg
/home/pi/Desktop/images/13012025/11/55/image_13012025_11_55_02_456419_0001.jpg
/home/pi/Desktop/images/13012025/11/55/image_13012025_11_55_02_456419_0002.jpg
/home/pi/Desktop/images/13012025/11/56/image_13012025_11_56_02_610790_0000.jpg
/home/pi/Desktop/images/13012025/11/56/image_13012025_11_56_02_610790_0001.jpg
/home/pi/Desktop/images/13012025/11/56/image_13012025_11_56_02_610790_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.728076696395874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 12:07:51.927659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/55/image_13012025_11_55_02_456419_0000.jpg', '/home/pi/Desktop/images/13012025/11/55/image_13012025_11_55_02_456419_0001.jpg', '/home/pi/Desktop/images/13012025/11/55/image_13012025_11_55_02_456419_0002.jpg', '/home/pi/Desktop/images/13012025/11/56/image_13012025_11_56_02_610790_0000.jpg', '/home/pi/Desktop/images/13012025/11/56/image_13012025_11_56_02_610790_0001.jpg', '/home/pi/Desktop/images/13012025/11/56/image_13012025_11_56_02_610790_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/55/image_13012025_11_55_02_456419_0000.jpg
/home/pi/Desktop/images/13012025/11/55/image_13012025_11_55_02_456419_0001.jpg
/home/pi/Desktop/images/13012025/11/55/image_13012025_11_55_02_456419_0002.jpg
/home/pi/Desktop/images/13012025/11/56/image_13012025_11_56_02_610790_0000.jpg
/home/pi/Desktop/images/13012025/11/56/image_13012025_11_56_02_610790_0001.jpg
/home/pi/Desktop/images/13012025/11/56/image_13012025_11_56_02_610790_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328625652","1328625628","1328625642","1328625671","1328625728","1328625617"],"photo_ids_order":["1328625617","1328625628","1328625642","1328625652","1328625671","1328625728"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2e6279a7093dcadcc7028123d8d61906.jpg","text":"TemporaryFile(/tmp/multipartBody3337707892336837471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766546935,"filename":"image_13012025_11_56_02_610790_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/49727fdd10840126d6715c8fb0677e08.jpg","text":"TemporaryFile(/tmp/multipartBody6432778975699956629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766546935,"filename":"image_13012025_11_55_02_456419_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/854050b20e54ce66d0620c1907d64df2.jpg","text":"TemporaryFile(/tmp/multipartBody6296890199626897800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766546935,"filename":"image_13012025_11_55_02_456419_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fa4034d6b9ecfddfb67e209711d44867.jpg","text":"TemporaryFile(/tmp/multipartBody7628088106632965879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766546935,"filename":"image_13012025_11_56_02_610790_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8ea7f7963641bd253eb9b403fb0b4f4a.jpg","text":"TemporaryFile(/tmp/multipartBody4583836926948156374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766546935,"filename":"image_13012025_11_56_02_610790_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6e18f030d8ec2528a2bba69854efcc94.jpg","text":"TemporaryFile(/tmp/multipartBody5990527081030130838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766546935,"filename":"image_13012025_11_55_02_456419_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328625642","file1":"1328625628","file0":"1328625617","file4":"1328625671","file5":"1328625728","file3":"1328625652"},"map_files_photo_id_array":[{"photo_id":"1328625728","filename":"file5"},{"photo_id":"1328625642","filename":"file2"},{"photo_id":"1328625671","filename":"file4"},{"photo_id":"1328625628","filename":"file1"},{"photo_id":"1328625617","filename":"file0"},{"photo_id":"1328625652","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328625652":["hashtag1","hashtag2"]},{"1328625628":["hashtag1","hashtag2"]},{"1328625642":["hashtag1","hashtag2"]},{"1328625671":["hashtag1","hashtag2"]},{"1328625728":["hashtag1","hashtag2"]},{"1328625617":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328625652, 1328625628, 1328625642, 1328625671, 1328625728, 1328625617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.775768518447876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 12:08:52.096515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/56/image_13012025_11_56_02_610790_0003.jpg', '/home/pi/Desktop/images/13012025/11/57/image_13012025_11_57_02_783610_0000.jpg', '/home/pi/Desktop/images/13012025/11/57/image_13012025_11_57_02_783610_0002.jpg', '/home/pi/Desktop/images/13012025/11/57/image_13012025_11_57_02_783610_0003.jpg', '/home/pi/Desktop/images/13012025/11/58/image_13012025_11_58_03_029747_0000.jpg', '/home/pi/Desktop/images/13012025/11/58/image_13012025_11_58_03_029747_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/56/image_13012025_11_56_02_610790_0003.jpg
/home/pi/Desktop/images/13012025/11/57/image_13012025_11_57_02_783610_0000.jpg
/home/pi/Desktop/images/13012025/11/57/image_13012025_11_57_02_783610_0002.jpg
/home/pi/Desktop/images/13012025/11/57/image_13012025_11_57_02_783610_0003.jpg
/home/pi/Desktop/images/13012025/11/58/image_13012025_11_58_03_029747_0000.jpg
/home/pi/Desktop/images/13012025/11/58/image_13012025_11_58_03_029747_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328625835","1328625829","1328625778","1328625832","1328625774","1328625825"],"photo_ids_order":["1328625774","1328625778","1328625825","1328625829","1328625832","1328625835"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/18e670fa60c5fc0675fb3cbc4b2b21d3.jpg","text":"TemporaryFile(/tmp/multipartBody4042964964865386176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766607513,"filename":"image_13012025_11_58_03_029747_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c4d7033bdaa8ae3108757ffca323cea4.jpg","text":"TemporaryFile(/tmp/multipartBody3261000385725408034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766607513,"filename":"image_13012025_11_57_02_783610_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e2cf60fadb16342f6229cfa8d6640ba8.jpg","text":"TemporaryFile(/tmp/multipartBody378740686667509774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766607513,"filename":"image_13012025_11_57_02_783610_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a399a37ade14ef84622268a099024f6e.jpg","text":"TemporaryFile(/tmp/multipartBody2395338307139270248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766607513,"filename":"image_13012025_11_58_03_029747_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3d5da4523f0fb7484b2cda479a995bcb.jpg","text":"TemporaryFile(/tmp/multipartBody2174193607922947220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766607513,"filename":"image_13012025_11_56_02_610790_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e1bb68630511a971e5e06baa7a892edd.jpg","text":"TemporaryFile(/tmp/multipartBody4745777416980044177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766607513,"filename":"image_13012025_11_57_02_783610_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328625825","file1":"1328625778","file0":"1328625774","file4":"1328625832","file5":"1328625835","file3":"1328625829"},"map_files_photo_id_array":[{"photo_id":"1328625835","filename":"file5"},{"photo_id":"1328625825","filename":"file2"},{"photo_id":"1328625832","filename":"file4"},{"photo_id":"1328625778","filename":"file1"},{"photo_id":"1328625774","filename":"file0"},{"photo_id":"1328625829","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328625835":["hashtag1","hashtag2"]},{"1328625829":["hashtag1","hashtag2"]},{"1328625778":["hashtag1","hashtag2"]},{"1328625832":["hashtag1","hashtag2"]},{"1328625774":["hashtag1","hashtag2"]},{"1328625825":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328625835, 1328625829, 1328625778, 1328625832, 1328625774, 1328625825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.88736605644226 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 12:10:02.910665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/58/image_13012025_11_58_03_029747_0002.jpg', '/home/pi/Desktop/images/13012025/11/58/image_13012025_11_58_03_029747_0003.jpg', '/home/pi/Desktop/images/13012025/11/59/image_13012025_11_59_02_198242_0000.jpg', '/home/pi/Desktop/images/13012025/11/59/image_13012025_11_59_02_198242_0001.jpg', '/home/pi/Desktop/images/13012025/11/59/image_13012025_11_59_02_198242_0002.jpg', '/home/pi/Desktop/images/13012025/11/59/image_13012025_11_59_02_198242_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/11/58/image_13012025_11_58_03_029747_0002.jpg
/home/pi/Desktop/images/13012025/11/58/image_13012025_11_58_03_029747_0003.jpg
/home/pi/Desktop/images/13012025/11/59/image_13012025_11_59_02_198242_0000.jpg
/home/pi/Desktop/images/13012025/11/59/image_13012025_11_59_02_198242_0001.jpg
/home/pi/Desktop/images/13012025/11/59/image_13012025_11_59_02_198242_0002.jpg
/home/pi/Desktop/images/13012025/11/59/image_13012025_11_59_02_198242_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328625880","1328625859","1328625891","1328625864","1328625887","1328625883"],"photo_ids_order":["1328625859","1328625864","1328625880","1328625883","1328625887","1328625891"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1c1d525489c0785115afab34b37ef529.jpg","text":"TemporaryFile(/tmp/multipartBody4683737054400218301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766678015,"filename":"image_13012025_11_59_02_198242_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/68b706c62d5184ce991ab132c6a21a3f.jpg","text":"TemporaryFile(/tmp/multipartBody5360007948095498016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766678015,"filename":"image_13012025_11_58_03_029747_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e4b6a0f710da54793e07bc78df80ad53.jpg","text":"TemporaryFile(/tmp/multipartBody485527924882833757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766678015,"filename":"image_13012025_11_59_02_198242_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d618545152778981f9040823078eed7b.jpg","text":"TemporaryFile(/tmp/multipartBody4272127112220406869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766678015,"filename":"image_13012025_11_58_03_029747_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/939b1a06469ba0a795280de615b4eb80.jpg","text":"TemporaryFile(/tmp/multipartBody576132222479418396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766678015,"filename":"image_13012025_11_59_02_198242_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/907948fe260f4f91c9b8ea7849603a17.jpg","text":"TemporaryFile(/tmp/multipartBody4925314412444898961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766678015,"filename":"image_13012025_11_59_02_198242_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328625880","file1":"1328625864","file0":"1328625859","file4":"1328625887","file5":"1328625891","file3":"1328625883"},"map_files_photo_id_array":[{"photo_id":"1328625891","filename":"file5"},{"photo_id":"1328625880","filename":"file2"},{"photo_id":"1328625887","filename":"file4"},{"photo_id":"1328625864","filename":"file1"},{"photo_id":"1328625859","filename":"file0"},{"photo_id":"1328625883","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328625880":["hashtag1","hashtag2"]},{"1328625859":["hashtag1","hashtag2"]},{"1328625891":["hashtag1","hashtag2"]},{"1328625864":["hashtag1","hashtag2"]},{"1328625887":["hashtag1","hashtag2"]},{"1328625883":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328625880, 1328625859, 1328625891, 1328625864, 1328625887, 1328625883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.340967416763306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 12:11:03.210475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/00/image_13012025_12_00_02_392597_0000.jpg', '/home/pi/Desktop/images/13012025/12/00/image_13012025_12_00_02_392597_0001.jpg', '/home/pi/Desktop/images/13012025/12/00/image_13012025_12_00_02_392597_0002.jpg', '/home/pi/Desktop/images/13012025/12/00/image_13012025_12_00_02_392597_0003.jpg', '/home/pi/Desktop/images/13012025/12/02/image_13012025_12_02_19_169960_0000.jpg', '/home/pi/Desktop/images/13012025/12/02/image_13012025_12_02_19_169960_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/00/image_13012025_12_00_02_392597_0000.jpg
/home/pi/Desktop/images/13012025/12/00/image_13012025_12_00_02_392597_0001.jpg
/home/pi/Desktop/images/13012025/12/00/image_13012025_12_00_02_392597_0002.jpg
/home/pi/Desktop/images/13012025/12/00/image_13012025_12_00_02_392597_0003.jpg
/home/pi/Desktop/images/13012025/12/02/image_13012025_12_02_19_169960_0000.jpg
/home/pi/Desktop/images/13012025/12/02/image_13012025_12_02_19_169960_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.693430662155151 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:11:22.659052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/00/image_13012025_12_00_02_392597_0000.jpg', '/home/pi/Desktop/images/13012025/12/00/image_13012025_12_00_02_392597_0001.jpg', '/home/pi/Desktop/images/13012025/12/00/image_13012025_12_00_02_392597_0002.jpg', '/home/pi/Desktop/images/13012025/12/00/image_13012025_12_00_02_392597_0003.jpg', '/home/pi/Desktop/images/13012025/12/02/image_13012025_12_02_19_169960_0000.jpg', '/home/pi/Desktop/images/13012025/12/02/image_13012025_12_02_19_169960_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/00/image_13012025_12_00_02_392597_0000.jpg
/home/pi/Desktop/images/13012025/12/00/image_13012025_12_00_02_392597_0001.jpg
/home/pi/Desktop/images/13012025/12/00/image_13012025_12_00_02_392597_0002.jpg
/home/pi/Desktop/images/13012025/12/00/image_13012025_12_00_02_392597_0003.jpg
/home/pi/Desktop/images/13012025/12/02/image_13012025_12_02_19_169960_0000.jpg
/home/pi/Desktop/images/13012025/12/02/image_13012025_12_02_19_169960_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328625952","1328625940","1328625922","1328625936","1328625918","1328625959"],"photo_ids_order":["1328625918","1328625922","1328625936","1328625940","1328625952","1328625959"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/64b76fdeead254dccf28f9533c57963e.jpg","text":"TemporaryFile(/tmp/multipartBody754196932818921660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766757748,"filename":"image_13012025_12_02_19_169960_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/926ee6107341198c000955a3dc422e12.jpg","text":"TemporaryFile(/tmp/multipartBody2762839611484412653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766757748,"filename":"image_13012025_12_00_02_392597_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/773cb8c669c6adfd69f2e3c89242fb66.jpg","text":"TemporaryFile(/tmp/multipartBody512309887735239573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766757748,"filename":"image_13012025_12_00_02_392597_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c70ff2cef6da87a2830541ea644f695f.jpg","text":"TemporaryFile(/tmp/multipartBody8467499227224730468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766757748,"filename":"image_13012025_12_00_02_392597_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/21d9f936a9a95cb86620d7807a9f1517.jpg","text":"TemporaryFile(/tmp/multipartBody7837152156518769247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766757748,"filename":"image_13012025_12_00_02_392597_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8f8d301f657a7a39ff698b9287f7a434.jpg","text":"TemporaryFile(/tmp/multipartBody3830794386588050624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766757748,"filename":"image_13012025_12_02_19_169960_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328625936","file1":"1328625922","file0":"1328625918","file4":"1328625952","file5":"1328625959","file3":"1328625940"},"map_files_photo_id_array":[{"photo_id":"1328625959","filename":"file5"},{"photo_id":"1328625936","filename":"file2"},{"photo_id":"1328625952","filename":"file4"},{"photo_id":"1328625922","filename":"file1"},{"photo_id":"1328625918","filename":"file0"},{"photo_id":"1328625940","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328625952":["hashtag1","hashtag2"]},{"1328625940":["hashtag1","hashtag2"]},{"1328625922":["hashtag1","hashtag2"]},{"1328625936":["hashtag1","hashtag2"]},{"1328625918":["hashtag1","hashtag2"]},{"1328625959":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328625952, 1328625940, 1328625922, 1328625936, 1328625918, 1328625959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.31776189804077 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:12:23.256118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/02/image_13012025_12_02_19_169960_0002.jpg', '/home/pi/Desktop/images/13012025/12/02/image_13012025_12_02_19_169960_0003.jpg', '/home/pi/Desktop/images/13012025/12/04/image_13012025_12_04_02_608863_0000.jpg', '/home/pi/Desktop/images/13012025/12/04/image_13012025_12_04_02_608863_0001.jpg', '/home/pi/Desktop/images/13012025/12/04/image_13012025_12_04_02_608863_0002.jpg', '/home/pi/Desktop/images/13012025/12/04/image_13012025_12_04_02_608863_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/02/image_13012025_12_02_19_169960_0002.jpg
/home/pi/Desktop/images/13012025/12/02/image_13012025_12_02_19_169960_0003.jpg
/home/pi/Desktop/images/13012025/12/04/image_13012025_12_04_02_608863_0000.jpg
/home/pi/Desktop/images/13012025/12/04/image_13012025_12_04_02_608863_0001.jpg
/home/pi/Desktop/images/13012025/12/04/image_13012025_12_04_02_608863_0002.jpg
/home/pi/Desktop/images/13012025/12/04/image_13012025_12_04_02_608863_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328626107","1328626101","1328626088","1328625977","1328626096","1328626093"],"photo_ids_order":["1328625977","1328626088","1328626093","1328626096","1328626101","1328626107"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2aa9cbbd57ec4a82b595bb68b4073dba.jpg","text":"TemporaryFile(/tmp/multipartBody8246760325555138221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766818509,"filename":"image_13012025_12_04_02_608863_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1aba213c37c06ba05d2990b1d0a1d5a9.jpg","text":"TemporaryFile(/tmp/multipartBody8967159568070909166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766818509,"filename":"image_13012025_12_04_02_608863_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b872904acf11fcd8fd766e8aafc6047d.jpg","text":"TemporaryFile(/tmp/multipartBody43471374662000501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766818509,"filename":"image_13012025_12_02_19_169960_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/98406924ba147dc65cd0d20b105903d7.jpg","text":"TemporaryFile(/tmp/multipartBody6447727975434846023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766818509,"filename":"image_13012025_12_02_19_169960_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/81b185f3f4616fcaee9e6aa1075a0eb3.jpg","text":"TemporaryFile(/tmp/multipartBody2216825654295183264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766818509,"filename":"image_13012025_12_04_02_608863_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/72f41f5d8dadc896914dbbefab40fc4a.jpg","text":"TemporaryFile(/tmp/multipartBody2628991200840671984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766818509,"filename":"image_13012025_12_04_02_608863_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328626093","file1":"1328626088","file0":"1328625977","file4":"1328626101","file5":"1328626107","file3":"1328626096"},"map_files_photo_id_array":[{"photo_id":"1328626107","filename":"file5"},{"photo_id":"1328626093","filename":"file2"},{"photo_id":"1328626101","filename":"file4"},{"photo_id":"1328626088","filename":"file1"},{"photo_id":"1328625977","filename":"file0"},{"photo_id":"1328626096","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328626107":["hashtag1","hashtag2"]},{"1328626101":["hashtag1","hashtag2"]},{"1328626088":["hashtag1","hashtag2"]},{"1328625977":["hashtag1","hashtag2"]},{"1328626096":["hashtag1","hashtag2"]},{"1328626093":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328626107, 1328626101, 1328626088, 1328625977, 1328626096, 1328626093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.990988969802856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:13:22.011949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/05/image_13012025_12_05_02_702701_0000.jpg', '/home/pi/Desktop/images/13012025/12/05/image_13012025_12_05_02_702701_0001.jpg', '/home/pi/Desktop/images/13012025/12/05/image_13012025_12_05_02_702701_0002.jpg', '/home/pi/Desktop/images/13012025/12/05/image_13012025_12_05_02_702701_0003.jpg', '/home/pi/Desktop/images/13012025/12/06/image_13012025_12_06_02_856517_0000.jpg', '/home/pi/Desktop/images/13012025/12/06/image_13012025_12_06_02_856517_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/05/image_13012025_12_05_02_702701_0000.jpg
/home/pi/Desktop/images/13012025/12/05/image_13012025_12_05_02_702701_0001.jpg
/home/pi/Desktop/images/13012025/12/05/image_13012025_12_05_02_702701_0002.jpg
/home/pi/Desktop/images/13012025/12/05/image_13012025_12_05_02_702701_0003.jpg
/home/pi/Desktop/images/13012025/12/06/image_13012025_12_06_02_856517_0000.jpg
/home/pi/Desktop/images/13012025/12/06/image_13012025_12_06_02_856517_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328626182","1328626175","1328626160","1328626162","1328626165","1328626159"],"photo_ids_order":["1328626159","1328626160","1328626162","1328626165","1328626175","1328626182"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3656748ccf3968e6d45044ca44086ef2.jpg","text":"TemporaryFile(/tmp/multipartBody4467917112342739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766877168,"filename":"image_13012025_12_06_02_856517_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b6d8fe80ba9c527838490d243eca7c5e.jpg","text":"TemporaryFile(/tmp/multipartBody2855370166119199323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766877168,"filename":"image_13012025_12_06_02_856517_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/262d2a7b22fdd3987dbb5a66a7867c00.jpg","text":"TemporaryFile(/tmp/multipartBody899257702707368672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766877168,"filename":"image_13012025_12_05_02_702701_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8f3605dcfb7d11b126006df499964f95.jpg","text":"TemporaryFile(/tmp/multipartBody5668324210047792831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766877168,"filename":"image_13012025_12_05_02_702701_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0ecba3f0361bb7cf0a2f034230b6e60e.jpg","text":"TemporaryFile(/tmp/multipartBody4479293704804717684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766877168,"filename":"image_13012025_12_05_02_702701_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0726777c332ab355a1708af2d34d3628.jpg","text":"TemporaryFile(/tmp/multipartBody7078405391365974397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766877168,"filename":"image_13012025_12_05_02_702701_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328626162","file1":"1328626160","file0":"1328626159","file4":"1328626175","file5":"1328626182","file3":"1328626165"},"map_files_photo_id_array":[{"photo_id":"1328626182","filename":"file5"},{"photo_id":"1328626162","filename":"file2"},{"photo_id":"1328626175","filename":"file4"},{"photo_id":"1328626160","filename":"file1"},{"photo_id":"1328626159","filename":"file0"},{"photo_id":"1328626165","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328626182":["hashtag1","hashtag2"]},{"1328626175":["hashtag1","hashtag2"]},{"1328626160":["hashtag1","hashtag2"]},{"1328626162":["hashtag1","hashtag2"]},{"1328626165":["hashtag1","hashtag2"]},{"1328626159":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328626182, 1328626175, 1328626160, 1328626162, 1328626165, 1328626159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.86638307571411 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:14:22.201482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/06/image_13012025_12_06_02_856517_0002.jpg', '/home/pi/Desktop/images/13012025/12/06/image_13012025_12_06_02_856517_0003.jpg', '/home/pi/Desktop/images/13012025/12/07/image_13012025_12_07_03_062909_0000.jpg', '/home/pi/Desktop/images/13012025/12/07/image_13012025_12_07_03_062909_0001.jpg', '/home/pi/Desktop/images/13012025/12/07/image_13012025_12_07_03_062909_0002.jpg', '/home/pi/Desktop/images/13012025/12/07/image_13012025_12_07_03_062909_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/06/image_13012025_12_06_02_856517_0002.jpg
/home/pi/Desktop/images/13012025/12/06/image_13012025_12_06_02_856517_0003.jpg
/home/pi/Desktop/images/13012025/12/07/image_13012025_12_07_03_062909_0000.jpg
/home/pi/Desktop/images/13012025/12/07/image_13012025_12_07_03_062909_0001.jpg
/home/pi/Desktop/images/13012025/12/07/image_13012025_12_07_03_062909_0002.jpg
/home/pi/Desktop/images/13012025/12/07/image_13012025_12_07_03_062909_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328626246","1328626242","1328626236","1328626230","1328626250","1328626244"],"photo_ids_order":["1328626230","1328626236","1328626242","1328626244","1328626246","1328626250"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/df751ac58cb6c31b32f3d273530c7a7b.jpg","text":"TemporaryFile(/tmp/multipartBody7210292794217470160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766937321,"filename":"image_13012025_12_07_03_062909_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/60a33d1bb981060f0b3514d3e3ef151b.jpg","text":"TemporaryFile(/tmp/multipartBody1807827778507082502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766937321,"filename":"image_13012025_12_07_03_062909_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/92c97de4c3e7ab46e7829a55e3735255.jpg","text":"TemporaryFile(/tmp/multipartBody4721081748308270233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766937321,"filename":"image_13012025_12_06_02_856517_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7e709a13934d1e99ad705d0c65f82f68.jpg","text":"TemporaryFile(/tmp/multipartBody9011873875372280508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766937321,"filename":"image_13012025_12_06_02_856517_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0ae5aff457c2e7d19661e05a6e99cb38.jpg","text":"TemporaryFile(/tmp/multipartBody8166494499704976992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766937321,"filename":"image_13012025_12_07_03_062909_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c6df953e1c3e70d7de854edce6fe7475.jpg","text":"TemporaryFile(/tmp/multipartBody1013124687220088388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736766937321,"filename":"image_13012025_12_07_03_062909_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328626242","file1":"1328626236","file0":"1328626230","file4":"1328626246","file5":"1328626250","file3":"1328626244"},"map_files_photo_id_array":[{"photo_id":"1328626250","filename":"file5"},{"photo_id":"1328626242","filename":"file2"},{"photo_id":"1328626246","filename":"file4"},{"photo_id":"1328626236","filename":"file1"},{"photo_id":"1328626230","filename":"file0"},{"photo_id":"1328626244","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328626246":["hashtag1","hashtag2"]},{"1328626242":["hashtag1","hashtag2"]},{"1328626236":["hashtag1","hashtag2"]},{"1328626230":["hashtag1","hashtag2"]},{"1328626250":["hashtag1","hashtag2"]},{"1328626244":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328626246, 1328626242, 1328626236, 1328626230, 1328626250, 1328626244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.534212589263916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 12:15:32.351574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/08/image_13012025_12_08_02_274023_0000.jpg', '/home/pi/Desktop/images/13012025/12/08/image_13012025_12_08_02_274023_0001.jpg', '/home/pi/Desktop/images/13012025/12/08/image_13012025_12_08_02_274023_0002.jpg', '/home/pi/Desktop/images/13012025/12/08/image_13012025_12_08_02_274023_0003.jpg', '/home/pi/Desktop/images/13012025/12/09/image_13012025_12_09_02_451862_0000.jpg', '/home/pi/Desktop/images/13012025/12/09/image_13012025_12_09_02_451862_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/08/image_13012025_12_08_02_274023_0000.jpg
/home/pi/Desktop/images/13012025/12/08/image_13012025_12_08_02_274023_0001.jpg
/home/pi/Desktop/images/13012025/12/08/image_13012025_12_08_02_274023_0002.jpg
/home/pi/Desktop/images/13012025/12/08/image_13012025_12_08_02_274023_0003.jpg
/home/pi/Desktop/images/13012025/12/09/image_13012025_12_09_02_451862_0000.jpg
/home/pi/Desktop/images/13012025/12/09/image_13012025_12_09_02_451862_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328626269","1328626284","1328626277","1328626286","1328626280","1328626274"],"photo_ids_order":["1328626269","1328626274","1328626277","1328626280","1328626284","1328626286"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ba0b3425caf98bf89c376a11584e44ed.jpg","text":"TemporaryFile(/tmp/multipartBody5848868313495625852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767007606,"filename":"image_13012025_12_08_02_274023_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bc39ae1803dffcb02af0bac87fb7c55a.jpg","text":"TemporaryFile(/tmp/multipartBody1399294229120257226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767007606,"filename":"image_13012025_12_09_02_451862_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b0d3c8f6f232a7167a53fbc675db54bf.jpg","text":"TemporaryFile(/tmp/multipartBody4292020980896301421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767007606,"filename":"image_13012025_12_08_02_274023_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/37b63065c730f527a2ac2100f6a2bd18.jpg","text":"TemporaryFile(/tmp/multipartBody8893140982127250329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767007606,"filename":"image_13012025_12_09_02_451862_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e679e473aadb68ddaaf2f8444e142b4d.jpg","text":"TemporaryFile(/tmp/multipartBody4130701753547802698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767007606,"filename":"image_13012025_12_08_02_274023_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7ec5b6aa405c4ca31aa71208f3a46520.jpg","text":"TemporaryFile(/tmp/multipartBody5015187078502434286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767007606,"filename":"image_13012025_12_08_02_274023_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328626277","file1":"1328626274","file0":"1328626269","file4":"1328626284","file5":"1328626286","file3":"1328626280"},"map_files_photo_id_array":[{"photo_id":"1328626286","filename":"file5"},{"photo_id":"1328626277","filename":"file2"},{"photo_id":"1328626284","filename":"file4"},{"photo_id":"1328626274","filename":"file1"},{"photo_id":"1328626269","filename":"file0"},{"photo_id":"1328626280","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328626269":["hashtag1","hashtag2"]},{"1328626284":["hashtag1","hashtag2"]},{"1328626277":["hashtag1","hashtag2"]},{"1328626286":["hashtag1","hashtag2"]},{"1328626280":["hashtag1","hashtag2"]},{"1328626274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328626269, 1328626284, 1328626277, 1328626286, 1328626280, 1328626274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.45073318481445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 12:16:42.593798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/09/image_13012025_12_09_02_451862_0002.jpg', '/home/pi/Desktop/images/13012025/12/09/image_13012025_12_09_02_451862_0003.jpg', '/home/pi/Desktop/images/13012025/12/10/image_13012025_12_10_02_630021_0000.jpg', '/home/pi/Desktop/images/13012025/12/10/image_13012025_12_10_02_630021_0001.jpg', '/home/pi/Desktop/images/13012025/12/10/image_13012025_12_10_02_630021_0002.jpg', '/home/pi/Desktop/images/13012025/12/10/image_13012025_12_10_02_630021_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/09/image_13012025_12_09_02_451862_0002.jpg
/home/pi/Desktop/images/13012025/12/09/image_13012025_12_09_02_451862_0003.jpg
/home/pi/Desktop/images/13012025/12/10/image_13012025_12_10_02_630021_0000.jpg
/home/pi/Desktop/images/13012025/12/10/image_13012025_12_10_02_630021_0001.jpg
/home/pi/Desktop/images/13012025/12/10/image_13012025_12_10_02_630021_0002.jpg
/home/pi/Desktop/images/13012025/12/10/image_13012025_12_10_02_630021_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.720249652862549 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 12:17:03.291895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/09/image_13012025_12_09_02_451862_0002.jpg', '/home/pi/Desktop/images/13012025/12/09/image_13012025_12_09_02_451862_0003.jpg', '/home/pi/Desktop/images/13012025/12/10/image_13012025_12_10_02_630021_0000.jpg', '/home/pi/Desktop/images/13012025/12/10/image_13012025_12_10_02_630021_0001.jpg', '/home/pi/Desktop/images/13012025/12/10/image_13012025_12_10_02_630021_0002.jpg', '/home/pi/Desktop/images/13012025/12/10/image_13012025_12_10_02_630021_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/09/image_13012025_12_09_02_451862_0002.jpg
/home/pi/Desktop/images/13012025/12/09/image_13012025_12_09_02_451862_0003.jpg
/home/pi/Desktop/images/13012025/12/10/image_13012025_12_10_02_630021_0000.jpg
/home/pi/Desktop/images/13012025/12/10/image_13012025_12_10_02_630021_0001.jpg
/home/pi/Desktop/images/13012025/12/10/image_13012025_12_10_02_630021_0002.jpg
/home/pi/Desktop/images/13012025/12/10/image_13012025_12_10_02_630021_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328626371","1328626397","1328626415","1328626360","1328626384","1328626357"],"photo_ids_order":["1328626357","1328626360","1328626371","1328626384","1328626397","1328626415"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b888afcd998f2717bdf19137045822e6.jpg","text":"TemporaryFile(/tmp/multipartBody1515233810079265016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767098490,"filename":"image_13012025_12_10_02_630021_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/825437149dd094c2582b918a064577bc.jpg","text":"TemporaryFile(/tmp/multipartBody244144590422454798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767098490,"filename":"image_13012025_12_10_02_630021_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/848be7c3ea1813941b0059ff93bb5157.jpg","text":"TemporaryFile(/tmp/multipartBody2022322750372501061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767098490,"filename":"image_13012025_12_10_02_630021_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f1baf946836c23b2b28af48b4e55c112.jpg","text":"TemporaryFile(/tmp/multipartBody668088929293320318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767098490,"filename":"image_13012025_12_09_02_451862_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dcb35f79873f18ba07ac7cbc2a9daef7.jpg","text":"TemporaryFile(/tmp/multipartBody3660357264791794422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767098490,"filename":"image_13012025_12_10_02_630021_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/51cd38d3a9bd31f870c97d7cc059bd5a.jpg","text":"TemporaryFile(/tmp/multipartBody3443092913112552681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767098490,"filename":"image_13012025_12_09_02_451862_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328626371","file1":"1328626360","file0":"1328626357","file4":"1328626397","file5":"1328626415","file3":"1328626384"},"map_files_photo_id_array":[{"photo_id":"1328626415","filename":"file5"},{"photo_id":"1328626371","filename":"file2"},{"photo_id":"1328626397","filename":"file4"},{"photo_id":"1328626360","filename":"file1"},{"photo_id":"1328626357","filename":"file0"},{"photo_id":"1328626384","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328626371":["hashtag1","hashtag2"]},{"1328626397":["hashtag1","hashtag2"]},{"1328626415":["hashtag1","hashtag2"]},{"1328626360":["hashtag1","hashtag2"]},{"1328626384":["hashtag1","hashtag2"]},{"1328626357":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328626371, 1328626397, 1328626415, 1328626360, 1328626384, 1328626357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.744492292404175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 12:18:02.229642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/11/image_13012025_12_11_02_828156_0000.jpg', '/home/pi/Desktop/images/13012025/12/11/image_13012025_12_11_02_828156_0001.jpg', '/home/pi/Desktop/images/13012025/12/11/image_13012025_12_11_02_828156_0002.jpg', '/home/pi/Desktop/images/13012025/12/11/image_13012025_12_11_02_828156_0003.jpg', '/home/pi/Desktop/images/13012025/12/12/image_13012025_12_12_02_977140_0000.jpg', '/home/pi/Desktop/images/13012025/12/12/image_13012025_12_12_02_977140_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/11/image_13012025_12_11_02_828156_0000.jpg
/home/pi/Desktop/images/13012025/12/11/image_13012025_12_11_02_828156_0001.jpg
/home/pi/Desktop/images/13012025/12/11/image_13012025_12_11_02_828156_0002.jpg
/home/pi/Desktop/images/13012025/12/11/image_13012025_12_11_02_828156_0003.jpg
/home/pi/Desktop/images/13012025/12/12/image_13012025_12_12_02_977140_0000.jpg
/home/pi/Desktop/images/13012025/12/12/image_13012025_12_12_02_977140_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328626516","1328626519","1328626521","1328626526","1328626523","1328626534"],"photo_ids_order":["1328626516","1328626519","1328626521","1328626523","1328626526","1328626534"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/44b15ef06d7298154de7788b5307b507.jpg","text":"TemporaryFile(/tmp/multipartBody7895316555855955795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767157238,"filename":"image_13012025_12_11_02_828156_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/76f5c7aa0f9f5373a35e2e04fea1ba6e.jpg","text":"TemporaryFile(/tmp/multipartBody86123576490759441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767157238,"filename":"image_13012025_12_11_02_828156_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3efbe84abfcffb32d4767c5dcf5e25de.jpg","text":"TemporaryFile(/tmp/multipartBody1804886277178739597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767157238,"filename":"image_13012025_12_11_02_828156_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5a5f5220bec91fa15989bbd49638ed6c.jpg","text":"TemporaryFile(/tmp/multipartBody2378338294344134813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767157238,"filename":"image_13012025_12_12_02_977140_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/feb2f08fd560cd09615b0079773add96.jpg","text":"TemporaryFile(/tmp/multipartBody8920951046764262464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767157238,"filename":"image_13012025_12_11_02_828156_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9dd7b26c074e2578570df2bdb66a2af5.jpg","text":"TemporaryFile(/tmp/multipartBody3566209988750433786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767157238,"filename":"image_13012025_12_12_02_977140_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328626521","file1":"1328626519","file0":"1328626516","file4":"1328626526","file5":"1328626534","file3":"1328626523"},"map_files_photo_id_array":[{"photo_id":"1328626534","filename":"file5"},{"photo_id":"1328626521","filename":"file2"},{"photo_id":"1328626526","filename":"file4"},{"photo_id":"1328626519","filename":"file1"},{"photo_id":"1328626516","filename":"file0"},{"photo_id":"1328626523","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328626516":["hashtag1","hashtag2"]},{"1328626519":["hashtag1","hashtag2"]},{"1328626521":["hashtag1","hashtag2"]},{"1328626526":["hashtag1","hashtag2"]},{"1328626523":["hashtag1","hashtag2"]},{"1328626534":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328626516, 1328626519, 1328626521, 1328626526, 1328626523, 1328626534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.52368497848511 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 12:19:02.574125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/12/image_13012025_12_12_02_977140_0002.jpg', '/home/pi/Desktop/images/13012025/12/12/image_13012025_12_12_02_977140_0003.jpg', '/home/pi/Desktop/images/13012025/12/13/image_13012025_12_13_03_127037_0000.jpg', '/home/pi/Desktop/images/13012025/12/13/image_13012025_12_13_03_127037_0001.jpg', '/home/pi/Desktop/images/13012025/12/13/image_13012025_12_13_03_127037_0002.jpg', '/home/pi/Desktop/images/13012025/12/13/image_13012025_12_13_03_127037_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/12/image_13012025_12_12_02_977140_0002.jpg
/home/pi/Desktop/images/13012025/12/12/image_13012025_12_12_02_977140_0003.jpg
/home/pi/Desktop/images/13012025/12/13/image_13012025_12_13_03_127037_0000.jpg
/home/pi/Desktop/images/13012025/12/13/image_13012025_12_13_03_127037_0001.jpg
/home/pi/Desktop/images/13012025/12/13/image_13012025_12_13_03_127037_0002.jpg
/home/pi/Desktop/images/13012025/12/13/image_13012025_12_13_03_127037_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.573543548583984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:19:21.947042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/12/image_13012025_12_12_02_977140_0002.jpg', '/home/pi/Desktop/images/13012025/12/12/image_13012025_12_12_02_977140_0003.jpg', '/home/pi/Desktop/images/13012025/12/13/image_13012025_12_13_03_127037_0000.jpg', '/home/pi/Desktop/images/13012025/12/13/image_13012025_12_13_03_127037_0001.jpg', '/home/pi/Desktop/images/13012025/12/13/image_13012025_12_13_03_127037_0002.jpg', '/home/pi/Desktop/images/13012025/12/13/image_13012025_12_13_03_127037_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/12/image_13012025_12_12_02_977140_0002.jpg
/home/pi/Desktop/images/13012025/12/12/image_13012025_12_12_02_977140_0003.jpg
/home/pi/Desktop/images/13012025/12/13/image_13012025_12_13_03_127037_0000.jpg
/home/pi/Desktop/images/13012025/12/13/image_13012025_12_13_03_127037_0001.jpg
/home/pi/Desktop/images/13012025/12/13/image_13012025_12_13_03_127037_0002.jpg
/home/pi/Desktop/images/13012025/12/13/image_13012025_12_13_03_127037_0003.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328627228","1328627135","1328627129","1328627152","1328627146","1328627140"],"photo_ids_order":["1328627129","1328627135","1328627140","1328627146","1328627152","1328627228"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7f07d2448435fdf5b5f82c514f984ca5.jpg","text":"TemporaryFile(/tmp/multipartBody3875011962044907057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767236852,"filename":"image_13012025_12_13_03_127037_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c21d02cd0207f6ae41ced83ae79c5611.jpg","text":"TemporaryFile(/tmp/multipartBody300587495168121799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767236852,"filename":"image_13012025_12_12_02_977140_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b21cc64c94f7daa0fe5017f44b4fd51b.jpg","text":"TemporaryFile(/tmp/multipartBody1771407325801791332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767236852,"filename":"image_13012025_12_12_02_977140_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fd47625683366782407d56bbf6b0d3cb.jpg","text":"TemporaryFile(/tmp/multipartBody3706997224950293976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767236852,"filename":"image_13012025_12_13_03_127037_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7def6e21d7ee95875470a4abede8d75b.jpg","text":"TemporaryFile(/tmp/multipartBody5498044766781390924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767236852,"filename":"image_13012025_12_13_03_127037_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3a40fad4972855bfa5f347cb291cff3a.jpg","text":"TemporaryFile(/tmp/multipartBody3836984600871563916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767236852,"filename":"image_13012025_12_13_03_127037_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328627140","file1":"1328627135","file0":"1328627129","file4":"1328627152","file5":"1328627228","file3":"1328627146"},"map_files_photo_id_array":[{"photo_id":"1328627228","filename":"file5"},{"photo_id":"1328627140","filename":"file2"},{"photo_id":"1328627152","filename":"file4"},{"photo_id":"1328627135","filename":"file1"},{"photo_id":"1328627129","filename":"file0"},{"photo_id":"1328627146","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328627228":["hashtag1","hashtag2"]},{"1328627135":["hashtag1","hashtag2"]},{"1328627129":["hashtag1","hashtag2"]},{"1328627152":["hashtag1","hashtag2"]},{"1328627146":["hashtag1","hashtag2"]},{"1328627140":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328627228, 1328627135, 1328627129, 1328627152, 1328627146, 1328627140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.49214053153992 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 12:20:32.123961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/14/image_13012025_12_14_02_384013_0000.jpg', '/home/pi/Desktop/images/13012025/12/14/image_13012025_12_14_02_384013_0001.jpg', '/home/pi/Desktop/images/13012025/12/14/image_13012025_12_14_02_384013_0002.jpg', '/home/pi/Desktop/images/13012025/12/14/image_13012025_12_14_02_384013_0003.jpg', '/home/pi/Desktop/images/13012025/12/15/image_13012025_12_15_02_507325_0000.jpg', '/home/pi/Desktop/images/13012025/12/15/image_13012025_12_15_02_507325_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/14/image_13012025_12_14_02_384013_0000.jpg
/home/pi/Desktop/images/13012025/12/14/image_13012025_12_14_02_384013_0001.jpg
/home/pi/Desktop/images/13012025/12/14/image_13012025_12_14_02_384013_0002.jpg
/home/pi/Desktop/images/13012025/12/14/image_13012025_12_14_02_384013_0003.jpg
/home/pi/Desktop/images/13012025/12/15/image_13012025_12_15_02_507325_0000.jpg
/home/pi/Desktop/images/13012025/12/15/image_13012025_12_15_02_507325_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328627448","1328627418","1328627474","1328627465","1328627446","1328627461"],"photo_ids_order":["1328627418","1328627446","1328627448","1328627461","1328627465","1328627474"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e069aeabae05e64c1ac7e8683f491592.jpg","text":"TemporaryFile(/tmp/multipartBody670234202559258915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767307030,"filename":"image_13012025_12_14_02_384013_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9ab6cf4585003b581cd7d46a1305a5d4.jpg","text":"TemporaryFile(/tmp/multipartBody6816122878127916804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767307030,"filename":"image_13012025_12_14_02_384013_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fec1e9d0d2f290b21689f11cc8129664.jpg","text":"TemporaryFile(/tmp/multipartBody2403134707110307011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767307030,"filename":"image_13012025_12_15_02_507325_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c8a917752aa88309fb15a814cd5567ca.jpg","text":"TemporaryFile(/tmp/multipartBody3368742927543095428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767307030,"filename":"image_13012025_12_15_02_507325_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a614b1ccd492cbac842bf8c3dfaaba3c.jpg","text":"TemporaryFile(/tmp/multipartBody1696239034168836287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767307030,"filename":"image_13012025_12_14_02_384013_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/478fe6767c6c07eb007f2196d88bd686.jpg","text":"TemporaryFile(/tmp/multipartBody1711422661688615975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767307030,"filename":"image_13012025_12_14_02_384013_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328627448","file1":"1328627446","file0":"1328627418","file4":"1328627465","file5":"1328627474","file3":"1328627461"},"map_files_photo_id_array":[{"photo_id":"1328627474","filename":"file5"},{"photo_id":"1328627448","filename":"file2"},{"photo_id":"1328627465","filename":"file4"},{"photo_id":"1328627446","filename":"file1"},{"photo_id":"1328627418","filename":"file0"},{"photo_id":"1328627461","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328627448":["hashtag1","hashtag2"]},{"1328627418":["hashtag1","hashtag2"]},{"1328627474":["hashtag1","hashtag2"]},{"1328627465":["hashtag1","hashtag2"]},{"1328627446":["hashtag1","hashtag2"]},{"1328627461":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328627448, 1328627418, 1328627474, 1328627465, 1328627446, 1328627461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.07114553451538 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 12:21:42.302625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/15/image_13012025_12_15_02_507325_0002.jpg', '/home/pi/Desktop/images/13012025/12/15/image_13012025_12_15_02_507325_0003.jpg', '/home/pi/Desktop/images/13012025/12/16/image_13012025_12_16_02_684673_0000.jpg', '/home/pi/Desktop/images/13012025/12/16/image_13012025_12_16_02_684673_0001.jpg', '/home/pi/Desktop/images/13012025/12/16/image_13012025_12_16_02_684673_0002.jpg', '/home/pi/Desktop/images/13012025/12/16/image_13012025_12_16_02_684673_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/15/image_13012025_12_15_02_507325_0002.jpg
/home/pi/Desktop/images/13012025/12/15/image_13012025_12_15_02_507325_0003.jpg
/home/pi/Desktop/images/13012025/12/16/image_13012025_12_16_02_684673_0000.jpg
/home/pi/Desktop/images/13012025/12/16/image_13012025_12_16_02_684673_0001.jpg
/home/pi/Desktop/images/13012025/12/16/image_13012025_12_16_02_684673_0002.jpg
/home/pi/Desktop/images/13012025/12/16/image_13012025_12_16_02_684673_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328627512","1328627535","1328627540","1328627528","1328627533","1328627536"],"photo_ids_order":["1328627512","1328627528","1328627533","1328627535","1328627536","1328627540"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f2367dc907dcfcb75d11311889b1ea8b.jpg","text":"TemporaryFile(/tmp/multipartBody8071622061332315645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767377076,"filename":"image_13012025_12_15_02_507325_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4492ef65f63a0918f64c33d7ebba1265.jpg","text":"TemporaryFile(/tmp/multipartBody1724761953752789967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767377076,"filename":"image_13012025_12_16_02_684673_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c55762b1c715eae0398907c654b1b103.jpg","text":"TemporaryFile(/tmp/multipartBody9135082473929869790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767377076,"filename":"image_13012025_12_16_02_684673_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ebd48817683918ccb5d16d92a05775ab.jpg","text":"TemporaryFile(/tmp/multipartBody4540381286822439285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767377076,"filename":"image_13012025_12_15_02_507325_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/48ecbfa5bb35d95615eec065e43bcb23.jpg","text":"TemporaryFile(/tmp/multipartBody8121090670353109853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767377076,"filename":"image_13012025_12_16_02_684673_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/68d350447b393f06ee97e9646c6e0c59.jpg","text":"TemporaryFile(/tmp/multipartBody6003611364921033566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767377076,"filename":"image_13012025_12_16_02_684673_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328627533","file1":"1328627528","file0":"1328627512","file4":"1328627536","file5":"1328627540","file3":"1328627535"},"map_files_photo_id_array":[{"photo_id":"1328627540","filename":"file5"},{"photo_id":"1328627533","filename":"file2"},{"photo_id":"1328627536","filename":"file4"},{"photo_id":"1328627528","filename":"file1"},{"photo_id":"1328627512","filename":"file0"},{"photo_id":"1328627535","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328627512":["hashtag1","hashtag2"]},{"1328627535":["hashtag1","hashtag2"]},{"1328627540":["hashtag1","hashtag2"]},{"1328627528":["hashtag1","hashtag2"]},{"1328627533":["hashtag1","hashtag2"]},{"1328627536":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328627512, 1328627535, 1328627540, 1328627528, 1328627533, 1328627536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.74844813346863 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 12:22:42.513256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/17/image_13012025_12_17_02_867774_0000.jpg', '/home/pi/Desktop/images/13012025/12/17/image_13012025_12_17_02_867774_0001.jpg', '/home/pi/Desktop/images/13012025/12/17/image_13012025_12_17_02_867774_0002.jpg', '/home/pi/Desktop/images/13012025/12/17/image_13012025_12_17_02_867774_0003.jpg', '/home/pi/Desktop/images/13012025/12/18/image_13012025_12_18_03_020364_0000.jpg', '/home/pi/Desktop/images/13012025/12/18/image_13012025_12_18_03_020364_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/17/image_13012025_12_17_02_867774_0000.jpg
/home/pi/Desktop/images/13012025/12/17/image_13012025_12_17_02_867774_0001.jpg
/home/pi/Desktop/images/13012025/12/17/image_13012025_12_17_02_867774_0002.jpg
/home/pi/Desktop/images/13012025/12/17/image_13012025_12_17_02_867774_0003.jpg
/home/pi/Desktop/images/13012025/12/18/image_13012025_12_18_03_020364_0000.jpg
/home/pi/Desktop/images/13012025/12/18/image_13012025_12_18_03_020364_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.555343389511108 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 12:23:03.241869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/17/image_13012025_12_17_02_867774_0000.jpg', '/home/pi/Desktop/images/13012025/12/17/image_13012025_12_17_02_867774_0001.jpg', '/home/pi/Desktop/images/13012025/12/17/image_13012025_12_17_02_867774_0002.jpg', '/home/pi/Desktop/images/13012025/12/17/image_13012025_12_17_02_867774_0003.jpg', '/home/pi/Desktop/images/13012025/12/18/image_13012025_12_18_03_020364_0000.jpg', '/home/pi/Desktop/images/13012025/12/18/image_13012025_12_18_03_020364_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/17/image_13012025_12_17_02_867774_0000.jpg
/home/pi/Desktop/images/13012025/12/17/image_13012025_12_17_02_867774_0001.jpg
/home/pi/Desktop/images/13012025/12/17/image_13012025_12_17_02_867774_0002.jpg
/home/pi/Desktop/images/13012025/12/17/image_13012025_12_17_02_867774_0003.jpg
/home/pi/Desktop/images/13012025/12/18/image_13012025_12_18_03_020364_0000.jpg
/home/pi/Desktop/images/13012025/12/18/image_13012025_12_18_03_020364_0001.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328627611","1328627598","1328627607","1328627603","1328627600","1328627593"],"photo_ids_order":["1328627593","1328627598","1328627600","1328627603","1328627607","1328627611"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/37d20c8e0834414d1ea63af48b73c47e.jpg","text":"TemporaryFile(/tmp/multipartBody7200254384866515082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767458265,"filename":"image_13012025_12_18_03_020364_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b95e7d60485b042e1d209562d4b4cbdd.jpg","text":"TemporaryFile(/tmp/multipartBody5892774178428223376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767458265,"filename":"image_13012025_12_17_02_867774_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/752420f09f575437637ca40f595da627.jpg","text":"TemporaryFile(/tmp/multipartBody2595597680318893029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767458265,"filename":"image_13012025_12_18_03_020364_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aa8e270cdfdb0f12fc5fa1613f8c825e.jpg","text":"TemporaryFile(/tmp/multipartBody7665437411099259744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767458265,"filename":"image_13012025_12_17_02_867774_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4b35de1008b5813fa7de6635b3c1b197.jpg","text":"TemporaryFile(/tmp/multipartBody6629502488460778644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767458265,"filename":"image_13012025_12_17_02_867774_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/14a2be0e493e0e7efc97fdd3e11d53a8.jpg","text":"TemporaryFile(/tmp/multipartBody2426403391933739071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767458265,"filename":"image_13012025_12_17_02_867774_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328627600","file1":"1328627598","file0":"1328627593","file4":"1328627607","file5":"1328627611","file3":"1328627603"},"map_files_photo_id_array":[{"photo_id":"1328627611","filename":"file5"},{"photo_id":"1328627600","filename":"file2"},{"photo_id":"1328627607","filename":"file4"},{"photo_id":"1328627598","filename":"file1"},{"photo_id":"1328627593","filename":"file0"},{"photo_id":"1328627603","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328627611":["hashtag1","hashtag2"]},{"1328627598":["hashtag1","hashtag2"]},{"1328627607":["hashtag1","hashtag2"]},{"1328627603":["hashtag1","hashtag2"]},{"1328627600":["hashtag1","hashtag2"]},{"1328627593":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328627611, 1328627598, 1328627607, 1328627603, 1328627600, 1328627593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.37146282196045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:24:21.892085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/18/image_13012025_12_18_03_020364_0002.jpg', '/home/pi/Desktop/images/13012025/12/18/image_13012025_12_18_03_020364_0003.jpg', '/home/pi/Desktop/images/13012025/12/19/image_13012025_12_19_02_279561_0000.jpg', '/home/pi/Desktop/images/13012025/12/19/image_13012025_12_19_02_279561_0001.jpg', '/home/pi/Desktop/images/13012025/12/19/image_13012025_12_19_02_279561_0002.jpg', '/home/pi/Desktop/images/13012025/12/19/image_13012025_12_19_02_279561_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/18/image_13012025_12_18_03_020364_0002.jpg
/home/pi/Desktop/images/13012025/12/18/image_13012025_12_18_03_020364_0003.jpg
/home/pi/Desktop/images/13012025/12/19/image_13012025_12_19_02_279561_0000.jpg
/home/pi/Desktop/images/13012025/12/19/image_13012025_12_19_02_279561_0001.jpg
/home/pi/Desktop/images/13012025/12/19/image_13012025_12_19_02_279561_0002.jpg
/home/pi/Desktop/images/13012025/12/19/image_13012025_12_19_02_279561_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328627625","1328627648","1328627644","1328627641","1328627635","1328627629"],"photo_ids_order":["1328627625","1328627629","1328627635","1328627641","1328627644","1328627648"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eb19c30b8718cb41f24150dd7a33315e.jpg","text":"TemporaryFile(/tmp/multipartBody2421731458166940844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767536699,"filename":"image_13012025_12_18_03_020364_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ee6505b2b399742a3622b772f1c20e61.jpg","text":"TemporaryFile(/tmp/multipartBody2429735254665804680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767536699,"filename":"image_13012025_12_19_02_279561_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ec748bca960dfacd219dd24fa370501f.jpg","text":"TemporaryFile(/tmp/multipartBody6109208609540001215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767536699,"filename":"image_13012025_12_19_02_279561_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/193654295c10587e08cac9909baea09a.jpg","text":"TemporaryFile(/tmp/multipartBody6118418072293604755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767536699,"filename":"image_13012025_12_19_02_279561_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d55b910dcc9bcf7e914699da718f7975.jpg","text":"TemporaryFile(/tmp/multipartBody6768348411453849506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767536699,"filename":"image_13012025_12_19_02_279561_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f7407009272043fb48bcaeca5fe7a6d1.jpg","text":"TemporaryFile(/tmp/multipartBody35354784890729334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767536699,"filename":"image_13012025_12_18_03_020364_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328627635","file1":"1328627629","file0":"1328627625","file4":"1328627644","file5":"1328627648","file3":"1328627641"},"map_files_photo_id_array":[{"photo_id":"1328627648","filename":"file5"},{"photo_id":"1328627635","filename":"file2"},{"photo_id":"1328627644","filename":"file4"},{"photo_id":"1328627629","filename":"file1"},{"photo_id":"1328627625","filename":"file0"},{"photo_id":"1328627641","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328627625":["hashtag1","hashtag2"]},{"1328627648":["hashtag1","hashtag2"]},{"1328627644":["hashtag1","hashtag2"]},{"1328627641":["hashtag1","hashtag2"]},{"1328627635":["hashtag1","hashtag2"]},{"1328627629":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328627625, 1328627648, 1328627644, 1328627641, 1328627635, 1328627629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.7362334728241 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:25:22.146068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/20/image_13012025_12_20_02_284912_0000.jpg', '/home/pi/Desktop/images/13012025/12/20/image_13012025_12_20_02_284912_0001.jpg', '/home/pi/Desktop/images/13012025/12/20/image_13012025_12_20_02_284912_0002.jpg', '/home/pi/Desktop/images/13012025/12/20/image_13012025_12_20_02_284912_0003.jpg', '/home/pi/Desktop/images/13012025/12/21/image_13012025_12_21_02_481680_0000.jpg', '/home/pi/Desktop/images/13012025/12/21/image_13012025_12_21_02_481680_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/20/image_13012025_12_20_02_284912_0000.jpg
/home/pi/Desktop/images/13012025/12/20/image_13012025_12_20_02_284912_0001.jpg
/home/pi/Desktop/images/13012025/12/20/image_13012025_12_20_02_284912_0002.jpg
/home/pi/Desktop/images/13012025/12/20/image_13012025_12_20_02_284912_0003.jpg
/home/pi/Desktop/images/13012025/12/21/image_13012025_12_21_02_481680_0000.jpg
/home/pi/Desktop/images/13012025/12/21/image_13012025_12_21_02_481680_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328627704","1328627730","1328627753","1328627807","1328627746","1328627713"],"photo_ids_order":["1328627704","1328627713","1328627730","1328627746","1328627753","1328627807"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9adeb68e7cd6263630ea2318f01464d8.jpg","text":"TemporaryFile(/tmp/multipartBody280395231829579487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767596905,"filename":"image_13012025_12_20_02_284912_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/41830f262f2b35fba7a7793742641491.jpg","text":"TemporaryFile(/tmp/multipartBody948257695857098713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767596905,"filename":"image_13012025_12_20_02_284912_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ec9557b98fc863783b8338f44cc07017.jpg","text":"TemporaryFile(/tmp/multipartBody8806675482261647209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767596905,"filename":"image_13012025_12_21_02_481680_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/26930916a7940ecb81ec9caf2a0e66be.jpg","text":"TemporaryFile(/tmp/multipartBody2154120971489317994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767596905,"filename":"image_13012025_12_21_02_481680_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5a4190b1ef5b7878ecdc6f4774e873af.jpg","text":"TemporaryFile(/tmp/multipartBody9160203528092078859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767596905,"filename":"image_13012025_12_20_02_284912_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e682e75e53780263f35f6b51a22ee512.jpg","text":"TemporaryFile(/tmp/multipartBody4496617443670291883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767596905,"filename":"image_13012025_12_20_02_284912_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328627730","file1":"1328627713","file0":"1328627704","file4":"1328627753","file5":"1328627807","file3":"1328627746"},"map_files_photo_id_array":[{"photo_id":"1328627807","filename":"file5"},{"photo_id":"1328627730","filename":"file2"},{"photo_id":"1328627753","filename":"file4"},{"photo_id":"1328627713","filename":"file1"},{"photo_id":"1328627704","filename":"file0"},{"photo_id":"1328627746","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328627704":["hashtag1","hashtag2"]},{"1328627730":["hashtag1","hashtag2"]},{"1328627753":["hashtag1","hashtag2"]},{"1328627807":["hashtag1","hashtag2"]},{"1328627746":["hashtag1","hashtag2"]},{"1328627713":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328627704, 1328627730, 1328627753, 1328627807, 1328627746, 1328627713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.69040584564209 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:26:22.234350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/21/image_13012025_12_21_02_481680_0002.jpg', '/home/pi/Desktop/images/13012025/12/21/image_13012025_12_21_02_481680_0003.jpg', '/home/pi/Desktop/images/13012025/12/22/image_13012025_12_22_02_689351_0000.jpg', '/home/pi/Desktop/images/13012025/12/22/image_13012025_12_22_02_689351_0001.jpg', '/home/pi/Desktop/images/13012025/12/22/image_13012025_12_22_02_689351_0002.jpg', '/home/pi/Desktop/images/13012025/12/22/image_13012025_12_22_02_689351_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/21/image_13012025_12_21_02_481680_0002.jpg
/home/pi/Desktop/images/13012025/12/21/image_13012025_12_21_02_481680_0003.jpg
/home/pi/Desktop/images/13012025/12/22/image_13012025_12_22_02_689351_0000.jpg
/home/pi/Desktop/images/13012025/12/22/image_13012025_12_22_02_689351_0001.jpg
/home/pi/Desktop/images/13012025/12/22/image_13012025_12_22_02_689351_0002.jpg
/home/pi/Desktop/images/13012025/12/22/image_13012025_12_22_02_689351_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328627856","1328627835","1328627828","1328627842","1328627845","1328627839"],"photo_ids_order":["1328627828","1328627835","1328627839","1328627842","1328627845","1328627856"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/011b95b111e1baec3648f32316d7f49b.jpg","text":"TemporaryFile(/tmp/multipartBody6421595326987278723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767657060,"filename":"image_13012025_12_22_02_689351_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e17243c54f8284cda1f04dfb9025ff9c.jpg","text":"TemporaryFile(/tmp/multipartBody8583501930340915040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767657060,"filename":"image_13012025_12_21_02_481680_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4018e1a1ec581a87f1d90302ff5a92c1.jpg","text":"TemporaryFile(/tmp/multipartBody7135692035592927267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767657060,"filename":"image_13012025_12_21_02_481680_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/69f3041f5c80d5cb1e68e03efc2ca896.jpg","text":"TemporaryFile(/tmp/multipartBody7373858228226148108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767657060,"filename":"image_13012025_12_22_02_689351_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8a12d0855d4835a1bb5df0e8774d79b9.jpg","text":"TemporaryFile(/tmp/multipartBody4212738240515330630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767657060,"filename":"image_13012025_12_22_02_689351_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2a3894f2cc2d0595cc53b9853bde6589.jpg","text":"TemporaryFile(/tmp/multipartBody4388564633599897639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767657060,"filename":"image_13012025_12_22_02_689351_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328627839","file1":"1328627835","file0":"1328627828","file4":"1328627845","file5":"1328627856","file3":"1328627842"},"map_files_photo_id_array":[{"photo_id":"1328627856","filename":"file5"},{"photo_id":"1328627839","filename":"file2"},{"photo_id":"1328627845","filename":"file4"},{"photo_id":"1328627835","filename":"file1"},{"photo_id":"1328627828","filename":"file0"},{"photo_id":"1328627842","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328627856":["hashtag1","hashtag2"]},{"1328627835":["hashtag1","hashtag2"]},{"1328627828":["hashtag1","hashtag2"]},{"1328627842":["hashtag1","hashtag2"]},{"1328627845":["hashtag1","hashtag2"]},{"1328627839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328627856, 1328627835, 1328627828, 1328627842, 1328627845, 1328627839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.74968910217285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:27:22.466790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/23/image_13012025_12_23_02_866816_0000.jpg', '/home/pi/Desktop/images/13012025/12/23/image_13012025_12_23_02_866816_0001.jpg', '/home/pi/Desktop/images/13012025/12/23/image_13012025_12_23_02_866816_0002.jpg', '/home/pi/Desktop/images/13012025/12/23/image_13012025_12_23_02_866816_0003.jpg', '/home/pi/Desktop/images/13012025/12/24/image_13012025_12_24_03_031387_0000.jpg', '/home/pi/Desktop/images/13012025/12/24/image_13012025_12_24_03_031387_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/23/image_13012025_12_23_02_866816_0000.jpg
/home/pi/Desktop/images/13012025/12/23/image_13012025_12_23_02_866816_0001.jpg
/home/pi/Desktop/images/13012025/12/23/image_13012025_12_23_02_866816_0002.jpg
/home/pi/Desktop/images/13012025/12/23/image_13012025_12_23_02_866816_0003.jpg
/home/pi/Desktop/images/13012025/12/24/image_13012025_12_24_03_031387_0000.jpg
/home/pi/Desktop/images/13012025/12/24/image_13012025_12_24_03_031387_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328627886","1328627894","1328627897","1328627882","1328627891","1328627875"],"photo_ids_order":["1328627875","1328627882","1328627886","1328627891","1328627894","1328627897"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/de5416d183fb06a178cc6b69e042e5fe.jpg","text":"TemporaryFile(/tmp/multipartBody6816171601404684288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767717351,"filename":"image_13012025_12_23_02_866816_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dffef2b4a46d01327981e32df3a90949.jpg","text":"TemporaryFile(/tmp/multipartBody2313181193359638714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767717351,"filename":"image_13012025_12_24_03_031387_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/77a3136dea9fc9f523614734c3f9ead4.jpg","text":"TemporaryFile(/tmp/multipartBody2455311914680158930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767717351,"filename":"image_13012025_12_24_03_031387_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/89573c40f249af287e99858b4ace1ce4.jpg","text":"TemporaryFile(/tmp/multipartBody3513829778333157620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767717351,"filename":"image_13012025_12_23_02_866816_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b5241fa43a7b49b38f59b14e8323fcd3.jpg","text":"TemporaryFile(/tmp/multipartBody8605042880808696423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767717351,"filename":"image_13012025_12_23_02_866816_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0b5414f706fa6683ed2f07eab0df8d1f.jpg","text":"TemporaryFile(/tmp/multipartBody575502726428977287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767717351,"filename":"image_13012025_12_23_02_866816_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328627886","file1":"1328627882","file0":"1328627875","file4":"1328627894","file5":"1328627897","file3":"1328627891"},"map_files_photo_id_array":[{"photo_id":"1328627897","filename":"file5"},{"photo_id":"1328627886","filename":"file2"},{"photo_id":"1328627894","filename":"file4"},{"photo_id":"1328627882","filename":"file1"},{"photo_id":"1328627875","filename":"file0"},{"photo_id":"1328627891","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328627886":["hashtag1","hashtag2"]},{"1328627894":["hashtag1","hashtag2"]},{"1328627897":["hashtag1","hashtag2"]},{"1328627882":["hashtag1","hashtag2"]},{"1328627891":["hashtag1","hashtag2"]},{"1328627875":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328627886, 1328627894, 1328627897, 1328627882, 1328627891, 1328627875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.9391086101532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:28:22.702019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/24/image_13012025_12_24_03_031387_0002.jpg', '/home/pi/Desktop/images/13012025/12/24/image_13012025_12_24_03_031387_0003.jpg', '/home/pi/Desktop/images/13012025/12/25/image_13012025_12_25_02_265429_0000.jpg', '/home/pi/Desktop/images/13012025/12/25/image_13012025_12_25_02_265429_0002.jpg', '/home/pi/Desktop/images/13012025/12/25/image_13012025_12_25_02_265429_0003.jpg', '/home/pi/Desktop/images/13012025/12/26/image_13012025_12_26_02_529452_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/24/image_13012025_12_24_03_031387_0002.jpg
/home/pi/Desktop/images/13012025/12/24/image_13012025_12_24_03_031387_0003.jpg
/home/pi/Desktop/images/13012025/12/25/image_13012025_12_25_02_265429_0000.jpg
/home/pi/Desktop/images/13012025/12/25/image_13012025_12_25_02_265429_0002.jpg
/home/pi/Desktop/images/13012025/12/25/image_13012025_12_25_02_265429_0003.jpg
/home/pi/Desktop/images/13012025/12/26/image_13012025_12_26_02_529452_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328627952","1328627955","1328627916","1328627919","1328627939","1328627927"],"photo_ids_order":["1328627916","1328627919","1328627927","1328627939","1328627952","1328627955"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d8fdc57ab5f3f068377121aa4368547b.jpg","text":"TemporaryFile(/tmp/multipartBody6515440387840930202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767777533,"filename":"image_13012025_12_25_02_265429_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a65c104ff39739f06a20ad7d6454d02a.jpg","text":"TemporaryFile(/tmp/multipartBody7234075620459767036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767777533,"filename":"image_13012025_12_26_02_529452_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5f5477b342e6aefcb6bec5c024604765.jpg","text":"TemporaryFile(/tmp/multipartBody2540528220118611754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767777533,"filename":"image_13012025_12_24_03_031387_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6a27c60a85e5b25ebfb06a17d9891c4d.jpg","text":"TemporaryFile(/tmp/multipartBody759523007490002461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767777533,"filename":"image_13012025_12_24_03_031387_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f851aa7e93a88f33d71e1f1a63065d0f.jpg","text":"TemporaryFile(/tmp/multipartBody1833728624336646187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767777533,"filename":"image_13012025_12_25_02_265429_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/74a88adda27c90e7f83f6e00ffc4779e.jpg","text":"TemporaryFile(/tmp/multipartBody6356535234242669016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767777533,"filename":"image_13012025_12_25_02_265429_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328627927","file1":"1328627919","file0":"1328627916","file4":"1328627952","file5":"1328627955","file3":"1328627939"},"map_files_photo_id_array":[{"photo_id":"1328627955","filename":"file5"},{"photo_id":"1328627927","filename":"file2"},{"photo_id":"1328627952","filename":"file4"},{"photo_id":"1328627919","filename":"file1"},{"photo_id":"1328627916","filename":"file0"},{"photo_id":"1328627939","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328627952":["hashtag1","hashtag2"]},{"1328627955":["hashtag1","hashtag2"]},{"1328627916":["hashtag1","hashtag2"]},{"1328627919":["hashtag1","hashtag2"]},{"1328627939":["hashtag1","hashtag2"]},{"1328627927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328627952, 1328627955, 1328627916, 1328627919, 1328627939, 1328627927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.37386679649353 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:29:21.810138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/26/image_13012025_12_26_02_529452_0001.jpg', '/home/pi/Desktop/images/13012025/12/26/image_13012025_12_26_02_529452_0002.jpg', '/home/pi/Desktop/images/13012025/12/26/image_13012025_12_26_02_529452_0003.jpg', '/home/pi/Desktop/images/13012025/12/27/image_13012025_12_27_02_603085_0001.jpg', '/home/pi/Desktop/images/13012025/12/27/image_13012025_12_27_02_603085_0002.jpg', '/home/pi/Desktop/images/13012025/12/27/image_13012025_12_27_02_603085_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/26/image_13012025_12_26_02_529452_0001.jpg
/home/pi/Desktop/images/13012025/12/26/image_13012025_12_26_02_529452_0002.jpg
/home/pi/Desktop/images/13012025/12/26/image_13012025_12_26_02_529452_0003.jpg
/home/pi/Desktop/images/13012025/12/27/image_13012025_12_27_02_603085_0001.jpg
/home/pi/Desktop/images/13012025/12/27/image_13012025_12_27_02_603085_0002.jpg
/home/pi/Desktop/images/13012025/12/27/image_13012025_12_27_02_603085_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328628246","1328628048","1328628201","1328628214","1328628145","1328627983"],"photo_ids_order":["1328627983","1328628048","1328628145","1328628201","1328628214","1328628246"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e043ed611209f75f1a04635766753092.jpg","text":"TemporaryFile(/tmp/multipartBody4488966935022798480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767836424,"filename":"image_13012025_12_27_02_603085_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e37b0c5e3b041558d4e8dd5bde86c6c9.jpg","text":"TemporaryFile(/tmp/multipartBody2879491077336311444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767836424,"filename":"image_13012025_12_26_02_529452_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9a858637ea71985145ad20551e276959.jpg","text":"TemporaryFile(/tmp/multipartBody7249323899769762661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767836424,"filename":"image_13012025_12_27_02_603085_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2e888e02e1f9202be46de70b610dbf70.jpg","text":"TemporaryFile(/tmp/multipartBody3961904640395737578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767836424,"filename":"image_13012025_12_27_02_603085_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e399dec47f7d082f71d771edff894a58.jpg","text":"TemporaryFile(/tmp/multipartBody1750721711221117815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767836424,"filename":"image_13012025_12_26_02_529452_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6766e7aeac8758685c3321463f641267.jpg","text":"TemporaryFile(/tmp/multipartBody4035530025059197619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767836424,"filename":"image_13012025_12_26_02_529452_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328628145","file1":"1328628048","file0":"1328627983","file4":"1328628214","file5":"1328628246","file3":"1328628201"},"map_files_photo_id_array":[{"photo_id":"1328628246","filename":"file5"},{"photo_id":"1328628145","filename":"file2"},{"photo_id":"1328628214","filename":"file4"},{"photo_id":"1328628048","filename":"file1"},{"photo_id":"1328627983","filename":"file0"},{"photo_id":"1328628201","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328628246":["hashtag1","hashtag2"]},{"1328628048":["hashtag1","hashtag2"]},{"1328628201":["hashtag1","hashtag2"]},{"1328628214":["hashtag1","hashtag2"]},{"1328628145":["hashtag1","hashtag2"]},{"1328627983":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328628246, 1328628048, 1328628201, 1328628214, 1328628145, 1328627983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.560043811798096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:30:22.034787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/28/image_13012025_12_28_02_857858_0000.jpg', '/home/pi/Desktop/images/13012025/12/28/image_13012025_12_28_02_857858_0001.jpg', '/home/pi/Desktop/images/13012025/12/28/image_13012025_12_28_02_857858_0002.jpg', '/home/pi/Desktop/images/13012025/12/28/image_13012025_12_28_02_857858_0003.jpg', '/home/pi/Desktop/images/13012025/12/29/image_13012025_12_29_03_091330_0000.jpg', '/home/pi/Desktop/images/13012025/12/29/image_13012025_12_29_03_091330_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/28/image_13012025_12_28_02_857858_0000.jpg
/home/pi/Desktop/images/13012025/12/28/image_13012025_12_28_02_857858_0001.jpg
/home/pi/Desktop/images/13012025/12/28/image_13012025_12_28_02_857858_0002.jpg
/home/pi/Desktop/images/13012025/12/28/image_13012025_12_28_02_857858_0003.jpg
/home/pi/Desktop/images/13012025/12/29/image_13012025_12_29_03_091330_0000.jpg
/home/pi/Desktop/images/13012025/12/29/image_13012025_12_29_03_091330_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328628351","1328628365","1328628334","1328628343","1328628372","1328628360"],"photo_ids_order":["1328628334","1328628343","1328628351","1328628360","1328628365","1328628372"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8e0ec248e0ead11d9d777abaf9884a9b.jpg","text":"TemporaryFile(/tmp/multipartBody7727367276517061882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767896464,"filename":"image_13012025_12_28_02_857858_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/155b4269fc64bab205f4fba90c80375f.jpg","text":"TemporaryFile(/tmp/multipartBody1045474978980518173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767896464,"filename":"image_13012025_12_29_03_091330_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1d7a0b301801eda9c83f6c8439640e23.jpg","text":"TemporaryFile(/tmp/multipartBody3490967395924170367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767896464,"filename":"image_13012025_12_28_02_857858_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/63efb0beb5b558f269fabc293c4b413c.jpg","text":"TemporaryFile(/tmp/multipartBody2583449204233194060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767896464,"filename":"image_13012025_12_28_02_857858_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7f5f4dbb0107fa43db5275fcf0fc3d68.jpg","text":"TemporaryFile(/tmp/multipartBody6793559107177129202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767896464,"filename":"image_13012025_12_29_03_091330_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/956cff6f578db1e595e50d2673cf63db.jpg","text":"TemporaryFile(/tmp/multipartBody2556763368757136558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767896464,"filename":"image_13012025_12_28_02_857858_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328628351","file1":"1328628343","file0":"1328628334","file4":"1328628365","file5":"1328628372","file3":"1328628360"},"map_files_photo_id_array":[{"photo_id":"1328628372","filename":"file5"},{"photo_id":"1328628351","filename":"file2"},{"photo_id":"1328628365","filename":"file4"},{"photo_id":"1328628343","filename":"file1"},{"photo_id":"1328628334","filename":"file0"},{"photo_id":"1328628360","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328628351":["hashtag1","hashtag2"]},{"1328628365":["hashtag1","hashtag2"]},{"1328628334":["hashtag1","hashtag2"]},{"1328628343":["hashtag1","hashtag2"]},{"1328628372":["hashtag1","hashtag2"]},{"1328628360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328628351, 1328628365, 1328628334, 1328628343, 1328628372, 1328628360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.84550714492798 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:31:22.347111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/29/image_13012025_12_29_03_091330_0002.jpg', '/home/pi/Desktop/images/13012025/12/29/image_13012025_12_29_03_091330_0003.jpg', '/home/pi/Desktop/images/13012025/12/30/image_13012025_12_30_02_212674_0000.jpg', '/home/pi/Desktop/images/13012025/12/30/image_13012025_12_30_02_212674_0001.jpg', '/home/pi/Desktop/images/13012025/12/30/image_13012025_12_30_02_212674_0002.jpg', '/home/pi/Desktop/images/13012025/12/30/image_13012025_12_30_02_212674_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/29/image_13012025_12_29_03_091330_0002.jpg
/home/pi/Desktop/images/13012025/12/29/image_13012025_12_29_03_091330_0003.jpg
/home/pi/Desktop/images/13012025/12/30/image_13012025_12_30_02_212674_0000.jpg
/home/pi/Desktop/images/13012025/12/30/image_13012025_12_30_02_212674_0001.jpg
/home/pi/Desktop/images/13012025/12/30/image_13012025_12_30_02_212674_0002.jpg
/home/pi/Desktop/images/13012025/12/30/image_13012025_12_30_02_212674_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328628411","1328628398","1328628402","1328628431","1328628409","1328628435"],"photo_ids_order":["1328628398","1328628402","1328628409","1328628411","1328628431","1328628435"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/569c93c6cbef222762c1df4b9a1d10e1.jpg","text":"TemporaryFile(/tmp/multipartBody8538710655400525189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767956877,"filename":"image_13012025_12_30_02_212674_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8f46c511c8eb6f5690649cbeeba564c6.jpg","text":"TemporaryFile(/tmp/multipartBody490643088773102391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767956877,"filename":"image_13012025_12_29_03_091330_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2acac86c5c8ae85e2753cd01b09cdce6.jpg","text":"TemporaryFile(/tmp/multipartBody2675864993331697956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767956877,"filename":"image_13012025_12_29_03_091330_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3047803c72c003957cc3ef3586466dfa.jpg","text":"TemporaryFile(/tmp/multipartBody2305026178671977464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767956877,"filename":"image_13012025_12_30_02_212674_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ea62c627bd3ae83dda7bf24c91f9335d.jpg","text":"TemporaryFile(/tmp/multipartBody3862600508870953889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767956877,"filename":"image_13012025_12_30_02_212674_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9106de5058cb04bfb518fca551cc2927.jpg","text":"TemporaryFile(/tmp/multipartBody6832754212850851063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736767956877,"filename":"image_13012025_12_30_02_212674_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328628409","file1":"1328628402","file0":"1328628398","file4":"1328628431","file5":"1328628435","file3":"1328628411"},"map_files_photo_id_array":[{"photo_id":"1328628435","filename":"file5"},{"photo_id":"1328628409","filename":"file2"},{"photo_id":"1328628431","filename":"file4"},{"photo_id":"1328628402","filename":"file1"},{"photo_id":"1328628398","filename":"file0"},{"photo_id":"1328628411","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328628411":["hashtag1","hashtag2"]},{"1328628398":["hashtag1","hashtag2"]},{"1328628402":["hashtag1","hashtag2"]},{"1328628431":["hashtag1","hashtag2"]},{"1328628409":["hashtag1","hashtag2"]},{"1328628435":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328628411, 1328628398, 1328628402, 1328628431, 1328628409, 1328628435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.60764002799988 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:32:22.456082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/31/image_13012025_12_31_02_405711_0000.jpg', '/home/pi/Desktop/images/13012025/12/31/image_13012025_12_31_02_405711_0001.jpg', '/home/pi/Desktop/images/13012025/12/31/image_13012025_12_31_02_405711_0002.jpg', '/home/pi/Desktop/images/13012025/12/31/image_13012025_12_31_02_405711_0003.jpg', '/home/pi/Desktop/images/13012025/12/32/image_13012025_12_32_02_735264_0000.jpg', '/home/pi/Desktop/images/13012025/12/32/image_13012025_12_32_02_735264_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/31/image_13012025_12_31_02_405711_0000.jpg
/home/pi/Desktop/images/13012025/12/31/image_13012025_12_31_02_405711_0001.jpg
/home/pi/Desktop/images/13012025/12/31/image_13012025_12_31_02_405711_0002.jpg
/home/pi/Desktop/images/13012025/12/31/image_13012025_12_31_02_405711_0003.jpg
/home/pi/Desktop/images/13012025/12/32/image_13012025_12_32_02_735264_0000.jpg
/home/pi/Desktop/images/13012025/12/32/image_13012025_12_32_02_735264_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328628912","1328628590","1328628917","1328628851","1328628455","1328628712"],"photo_ids_order":["1328628455","1328628590","1328628712","1328628851","1328628912","1328628917"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f08e3fced46994a967b76aa02677f57c.jpg","text":"TemporaryFile(/tmp/multipartBody2896111896898245682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768017046,"filename":"image_13012025_12_32_02_735264_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5883e2b50949027930f165bafb94d94d.jpg","text":"TemporaryFile(/tmp/multipartBody4248401113363142965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768017046,"filename":"image_13012025_12_31_02_405711_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dfcf34a8207b1226dd1c6b190506c45f.jpg","text":"TemporaryFile(/tmp/multipartBody7579793453006384014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768017046,"filename":"image_13012025_12_32_02_735264_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/591272e4b99a23204cf5e4d66082f620.jpg","text":"TemporaryFile(/tmp/multipartBody7257077187835248365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768017046,"filename":"image_13012025_12_31_02_405711_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1d41b0199480db5ce2b3131dc06ba0a1.jpg","text":"TemporaryFile(/tmp/multipartBody1872150580437828126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768017046,"filename":"image_13012025_12_31_02_405711_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4860f09d48234bbf278ed094fff48649.jpg","text":"TemporaryFile(/tmp/multipartBody5090177147582821322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768017046,"filename":"image_13012025_12_31_02_405711_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328628712","file1":"1328628590","file0":"1328628455","file4":"1328628912","file5":"1328628917","file3":"1328628851"},"map_files_photo_id_array":[{"photo_id":"1328628917","filename":"file5"},{"photo_id":"1328628712","filename":"file2"},{"photo_id":"1328628912","filename":"file4"},{"photo_id":"1328628590","filename":"file1"},{"photo_id":"1328628455","filename":"file0"},{"photo_id":"1328628851","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328628912":["hashtag1","hashtag2"]},{"1328628590":["hashtag1","hashtag2"]},{"1328628917":["hashtag1","hashtag2"]},{"1328628851":["hashtag1","hashtag2"]},{"1328628455":["hashtag1","hashtag2"]},{"1328628712":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328628912, 1328628590, 1328628917, 1328628851, 1328628455, 1328628712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.069241762161255 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:33:22.695223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/32/image_13012025_12_32_02_735264_0002.jpg', '/home/pi/Desktop/images/13012025/12/32/image_13012025_12_32_02_735264_0003.jpg', '/home/pi/Desktop/images/13012025/12/33/image_13012025_12_33_02_857917_0000.jpg', '/home/pi/Desktop/images/13012025/12/33/image_13012025_12_33_02_857917_0001.jpg', '/home/pi/Desktop/images/13012025/12/33/image_13012025_12_33_02_857917_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/32/image_13012025_12_32_02_735264_0002.jpg
/home/pi/Desktop/images/13012025/12/32/image_13012025_12_32_02_735264_0003.jpg
/home/pi/Desktop/images/13012025/12/33/image_13012025_12_33_02_857917_0000.jpg
/home/pi/Desktop/images/13012025/12/33/image_13012025_12_33_02_857917_0001.jpg
/home/pi/Desktop/images/13012025/12/33/image_13012025_12_33_02_857917_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328629094","1328629048","1328629098","1328629158","1328629050"],"photo_ids_order":["1328629048","1328629050","1328629094","1328629098","1328629158"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ace04cb929b18eee774424d5238fe973.jpg","text":"TemporaryFile(/tmp/multipartBody4923423233579276224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768075042,"filename":"image_13012025_12_33_02_857917_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dda974c0dbf2d53e7e255ba236911e00.jpg","text":"TemporaryFile(/tmp/multipartBody788830239967679631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768075042,"filename":"image_13012025_12_32_02_735264_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4da577b1a4d19877b0af3c462d418fa0.jpg","text":"TemporaryFile(/tmp/multipartBody4127203737077622541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768075042,"filename":"image_13012025_12_33_02_857917_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1f60d1a27dcfde700a8bcdf745b35c08.jpg","text":"TemporaryFile(/tmp/multipartBody8814556839839502242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768075042,"filename":"image_13012025_12_33_02_857917_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fdd1c3c78493adc6c8c4e266ad106eca.jpg","text":"TemporaryFile(/tmp/multipartBody306734327959016329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768075042,"filename":"image_13012025_12_32_02_735264_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328629094","file1":"1328629050","file0":"1328629048","file4":"1328629158","file3":"1328629098"},"map_files_photo_id_array":[{"photo_id":"1328629094","filename":"file2"},{"photo_id":"1328629158","filename":"file4"},{"photo_id":"1328629050","filename":"file1"},{"photo_id":"1328629048","filename":"file0"},{"photo_id":"1328629098","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328629094":["hashtag1","hashtag2"]},{"1328629048":["hashtag1","hashtag2"]},{"1328629098":["hashtag1","hashtag2"]},{"1328629158":["hashtag1","hashtag2"]},{"1328629050":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328629094, 1328629048, 1328629098, 1328629158, 1328629050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 48.06942057609558 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:34:21.829661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/33/image_13012025_12_33_02_857917_0003.jpg', '/home/pi/Desktop/images/13012025/12/34/image_13012025_12_34_03_034112_0000.jpg', '/home/pi/Desktop/images/13012025/12/34/image_13012025_12_34_03_034112_0001.jpg', '/home/pi/Desktop/images/13012025/12/34/image_13012025_12_34_03_034112_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/33/image_13012025_12_33_02_857917_0003.jpg
/home/pi/Desktop/images/13012025/12/34/image_13012025_12_34_03_034112_0000.jpg
/home/pi/Desktop/images/13012025/12/34/image_13012025_12_34_03_034112_0001.jpg
/home/pi/Desktop/images/13012025/12/34/image_13012025_12_34_03_034112_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328629265","1328629241","1328629252","1328629222"],"photo_ids_order":["1328629222","1328629241","1328629252","1328629265"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0948637a7155f9d26024d18b686bee80.jpg","text":"TemporaryFile(/tmp/multipartBody6629059138069571198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768131925,"filename":"image_13012025_12_34_03_034112_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/154e6d8ecbf4d9a851a0da908991681e.jpg","text":"TemporaryFile(/tmp/multipartBody5716170407065428774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768131925,"filename":"image_13012025_12_34_03_034112_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ac9440da250b39b51eb87107913e6bda.jpg","text":"TemporaryFile(/tmp/multipartBody3861079663495892604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768131925,"filename":"image_13012025_12_34_03_034112_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/07d989360721645efab81911721d78a1.jpg","text":"TemporaryFile(/tmp/multipartBody1449485409359194498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768131925,"filename":"image_13012025_12_33_02_857917_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328629252","file1":"1328629241","file0":"1328629222","file3":"1328629265"},"map_files_photo_id_array":[{"photo_id":"1328629252","filename":"file2"},{"photo_id":"1328629241","filename":"file1"},{"photo_id":"1328629222","filename":"file0"},{"photo_id":"1328629265","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328629265":["hashtag1","hashtag2"]},{"1328629241":["hashtag1","hashtag2"]},{"1328629252":["hashtag1","hashtag2"]},{"1328629222":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328629265, 1328629241, 1328629252, 1328629222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.30532431602478 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:35:22.000810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/34/image_13012025_12_34_03_034112_0003.jpg', '/home/pi/Desktop/images/13012025/12/35/image_13012025_12_35_02_194186_0000.jpg', '/home/pi/Desktop/images/13012025/12/35/image_13012025_12_35_02_194186_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/34/image_13012025_12_34_03_034112_0003.jpg
/home/pi/Desktop/images/13012025/12/35/image_13012025_12_35_02_194186_0000.jpg
/home/pi/Desktop/images/13012025/12/35/image_13012025_12_35_02_194186_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328629364","1328629374","1328629368"],"photo_ids_order":["1328629364","1328629368","1328629374"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8a6693a14eaca0ca50b8391d9077a4d9.jpg","text":"TemporaryFile(/tmp/multipartBody6022884696069702195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768189787,"filename":"image_13012025_12_34_03_034112_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ed49e99da70612cc3dea85de30fde3a8.jpg","text":"TemporaryFile(/tmp/multipartBody3498223585393623861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768189787,"filename":"image_13012025_12_35_02_194186_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3ba0bfe59d123f952d23e2874cdb63a9.jpg","text":"TemporaryFile(/tmp/multipartBody6218321363026729243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768189787,"filename":"image_13012025_12_35_02_194186_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328629374","file1":"1328629368","file0":"1328629364"},"map_files_photo_id_array":[{"photo_id":"1328629374","filename":"file2"},{"photo_id":"1328629368","filename":"file1"},{"photo_id":"1328629364","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328629364":["hashtag1","hashtag2"]},{"1328629374":["hashtag1","hashtag2"]},{"1328629368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328629364, 1328629374, 1328629368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.906647443771362 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 12:36:02.608167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:36:22.217742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/35/image_13012025_12_35_02_194186_0002.jpg', '/home/pi/Desktop/images/13012025/12/36/image_13012025_12_36_02_369240_0000.jpg', '/home/pi/Desktop/images/13012025/12/36/image_13012025_12_36_02_369240_0001.jpg', '/home/pi/Desktop/images/13012025/12/36/image_13012025_12_36_02_369240_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/35/image_13012025_12_35_02_194186_0002.jpg
/home/pi/Desktop/images/13012025/12/36/image_13012025_12_36_02_369240_0000.jpg
/home/pi/Desktop/images/13012025/12/36/image_13012025_12_36_02_369240_0001.jpg
/home/pi/Desktop/images/13012025/12/36/image_13012025_12_36_02_369240_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328629475","1328629479","1328629470","1328629467"],"photo_ids_order":["1328629467","1328629470","1328629475","1328629479"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ab94651668ee0c44c2d5a453b673c0d2.jpg","text":"TemporaryFile(/tmp/multipartBody2307220136304187906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768252379,"filename":"image_13012025_12_36_02_369240_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/42ac6483217eec081328a135bccbe59f.jpg","text":"TemporaryFile(/tmp/multipartBody8721537930095966226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768252379,"filename":"image_13012025_12_36_02_369240_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f8c87955605c3cb096dc9b4e88c33ecf.jpg","text":"TemporaryFile(/tmp/multipartBody6366574045845383122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768252379,"filename":"image_13012025_12_36_02_369240_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/006c6ee2f06613fa511f9a340c878c78.jpg","text":"TemporaryFile(/tmp/multipartBody3170997099131241642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768252379,"filename":"image_13012025_12_35_02_194186_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328629475","file1":"1328629470","file0":"1328629467","file3":"1328629479"},"map_files_photo_id_array":[{"photo_id":"1328629475","filename":"file2"},{"photo_id":"1328629470","filename":"file1"},{"photo_id":"1328629467","filename":"file0"},{"photo_id":"1328629479","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328629475":["hashtag1","hashtag2"]},{"1328629479":["hashtag1","hashtag2"]},{"1328629470":["hashtag1","hashtag2"]},{"1328629467":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328629475, 1328629479, 1328629470, 1328629467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.99170398712158 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:37:22.391728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/36/image_13012025_12_36_02_369240_0003.jpg', '/home/pi/Desktop/images/13012025/12/37/image_13012025_12_37_02_630853_0000.jpg', '/home/pi/Desktop/images/13012025/12/37/image_13012025_12_37_02_630853_0001.jpg', '/home/pi/Desktop/images/13012025/12/37/image_13012025_12_37_02_630853_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/36/image_13012025_12_36_02_369240_0003.jpg
/home/pi/Desktop/images/13012025/12/37/image_13012025_12_37_02_630853_0000.jpg
/home/pi/Desktop/images/13012025/12/37/image_13012025_12_37_02_630853_0001.jpg
/home/pi/Desktop/images/13012025/12/37/image_13012025_12_37_02_630853_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328629512","1328629523","1328629519","1328629515"],"photo_ids_order":["1328629512","1328629515","1328629519","1328629523"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/95d0173bcb2014d04f18162aaaa93087.jpg","text":"TemporaryFile(/tmp/multipartBody4537756985463094976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768312713,"filename":"image_13012025_12_36_02_369240_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2c184775e6f9174109a007d2e7229b1d.jpg","text":"TemporaryFile(/tmp/multipartBody591267556642725283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768312713,"filename":"image_13012025_12_37_02_630853_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9fa0ec472432869fbb3d4cfa6368af28.jpg","text":"TemporaryFile(/tmp/multipartBody1661693942044578241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768312713,"filename":"image_13012025_12_37_02_630853_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7e5078223b812670dad77caa1cda6115.jpg","text":"TemporaryFile(/tmp/multipartBody2273767782026003567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768312713,"filename":"image_13012025_12_37_02_630853_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328629519","file1":"1328629515","file0":"1328629512","file3":"1328629523"},"map_files_photo_id_array":[{"photo_id":"1328629519","filename":"file2"},{"photo_id":"1328629515","filename":"file1"},{"photo_id":"1328629512","filename":"file0"},{"photo_id":"1328629523","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328629512":["hashtag1","hashtag2"]},{"1328629523":["hashtag1","hashtag2"]},{"1328629519":["hashtag1","hashtag2"]},{"1328629515":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328629512, 1328629523, 1328629519, 1328629515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.69849610328674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:38:22.646262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/37/image_13012025_12_37_02_630853_0003.jpg', '/home/pi/Desktop/images/13012025/12/38/image_13012025_12_38_02_700564_0000.jpg', '/home/pi/Desktop/images/13012025/12/38/image_13012025_12_38_02_700564_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/37/image_13012025_12_37_02_630853_0003.jpg
/home/pi/Desktop/images/13012025/12/38/image_13012025_12_38_02_700564_0000.jpg
/home/pi/Desktop/images/13012025/12/38/image_13012025_12_38_02_700564_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328629550","1328629553","1328629557"],"photo_ids_order":["1328629550","1328629553","1328629557"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/836e9a7e6bcde3053766959801a5a98e.jpg","text":"TemporaryFile(/tmp/multipartBody2616557842618986676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768370259,"filename":"image_13012025_12_37_02_630853_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/be8b1dac6360e7768798b9f0261a8998.jpg","text":"TemporaryFile(/tmp/multipartBody2771770191376800872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768370259,"filename":"image_13012025_12_38_02_700564_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/970f3a3a039655d3a2852fb2be56a6c6.jpg","text":"TemporaryFile(/tmp/multipartBody5621436523573587913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768370259,"filename":"image_13012025_12_38_02_700564_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328629557","file1":"1328629553","file0":"1328629550"},"map_files_photo_id_array":[{"photo_id":"1328629557","filename":"file2"},{"photo_id":"1328629553","filename":"file1"},{"photo_id":"1328629550","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328629550":["hashtag1","hashtag2"]},{"1328629553":["hashtag1","hashtag2"]},{"1328629557":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328629550, 1328629553, 1328629557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.32298994064331 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 12:39:03.260164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:39:22.722525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/38/image_13012025_12_38_02_700564_0003.jpg', '/home/pi/Desktop/images/13012025/12/39/image_13012025_12_39_02_888174_0000.jpg', '/home/pi/Desktop/images/13012025/12/39/image_13012025_12_39_02_888174_0001.jpg', '/home/pi/Desktop/images/13012025/12/39/image_13012025_12_39_02_888174_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/38/image_13012025_12_38_02_700564_0003.jpg
/home/pi/Desktop/images/13012025/12/39/image_13012025_12_39_02_888174_0000.jpg
/home/pi/Desktop/images/13012025/12/39/image_13012025_12_39_02_888174_0001.jpg
/home/pi/Desktop/images/13012025/12/39/image_13012025_12_39_02_888174_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328629619","1328629616","1328629627","1328629623"],"photo_ids_order":["1328629616","1328629619","1328629623","1328629627"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c1e4c0165f7e3684cb55e5c4a928a773.jpg","text":"TemporaryFile(/tmp/multipartBody8178306364875665845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768432840,"filename":"image_13012025_12_39_02_888174_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8d02ae8324c82625b09bf513bebe8ccf.jpg","text":"TemporaryFile(/tmp/multipartBody8468742248560309354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768432840,"filename":"image_13012025_12_38_02_700564_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0c76148a0acedb12c4c8d4f4a37dbeeb.jpg","text":"TemporaryFile(/tmp/multipartBody4446080381897129102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768432840,"filename":"image_13012025_12_39_02_888174_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d1cd467ed9b96421b6068b06961a6878.jpg","text":"TemporaryFile(/tmp/multipartBody6286154559848292517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768432840,"filename":"image_13012025_12_39_02_888174_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328629623","file1":"1328629619","file0":"1328629616","file3":"1328629627"},"map_files_photo_id_array":[{"photo_id":"1328629623","filename":"file2"},{"photo_id":"1328629619","filename":"file1"},{"photo_id":"1328629616","filename":"file0"},{"photo_id":"1328629627","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328629619":["hashtag1","hashtag2"]},{"1328629616":["hashtag1","hashtag2"]},{"1328629627":["hashtag1","hashtag2"]},{"1328629623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328629619, 1328629616, 1328629627, 1328629623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.8149209022522 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:40:22.004482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/39/image_13012025_12_39_02_888174_0003.jpg', '/home/pi/Desktop/images/13012025/12/40/image_13012025_12_40_03_085924_0000.jpg', '/home/pi/Desktop/images/13012025/12/40/image_13012025_12_40_03_085924_0001.jpg', '/home/pi/Desktop/images/13012025/12/40/image_13012025_12_40_03_085924_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/39/image_13012025_12_39_02_888174_0003.jpg
/home/pi/Desktop/images/13012025/12/40/image_13012025_12_40_03_085924_0000.jpg
/home/pi/Desktop/images/13012025/12/40/image_13012025_12_40_03_085924_0001.jpg
/home/pi/Desktop/images/13012025/12/40/image_13012025_12_40_03_085924_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328629693","1328629689","1328629707","1328629716"],"photo_ids_order":["1328629689","1328629693","1328629707","1328629716"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fb9e6ee6d48f7cddb4faa02aff651ec0.jpg","text":"TemporaryFile(/tmp/multipartBody3982827293975901946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768492059,"filename":"image_13012025_12_40_03_085924_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0146fd2f8dd0fd0cfc49d4fd62711cc1.jpg","text":"TemporaryFile(/tmp/multipartBody3705002812140406748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768492059,"filename":"image_13012025_12_39_02_888174_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/99410065ee55f21adbcf952458ed5c34.jpg","text":"TemporaryFile(/tmp/multipartBody4999753439148319097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768492059,"filename":"image_13012025_12_40_03_085924_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/23dba07caf209fb96b30fa79bb170b84.jpg","text":"TemporaryFile(/tmp/multipartBody7296658441579500934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768492059,"filename":"image_13012025_12_40_03_085924_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328629707","file1":"1328629693","file0":"1328629689","file3":"1328629716"},"map_files_photo_id_array":[{"photo_id":"1328629707","filename":"file2"},{"photo_id":"1328629693","filename":"file1"},{"photo_id":"1328629689","filename":"file0"},{"photo_id":"1328629716","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328629693":["hashtag1","hashtag2"]},{"1328629689":["hashtag1","hashtag2"]},{"1328629707":["hashtag1","hashtag2"]},{"1328629716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328629693, 1328629689, 1328629707, 1328629716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.273353576660156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:41:22.078966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/40/image_13012025_12_40_03_085924_0003.jpg', '/home/pi/Desktop/images/13012025/12/41/image_13012025_12_41_02_314067_0000.jpg', '/home/pi/Desktop/images/13012025/12/41/image_13012025_12_41_02_314067_0001.jpg', '/home/pi/Desktop/images/13012025/12/41/image_13012025_12_41_02_314067_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/40/image_13012025_12_40_03_085924_0003.jpg
/home/pi/Desktop/images/13012025/12/41/image_13012025_12_41_02_314067_0000.jpg
/home/pi/Desktop/images/13012025/12/41/image_13012025_12_41_02_314067_0001.jpg
/home/pi/Desktop/images/13012025/12/41/image_13012025_12_41_02_314067_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328629817","1328629813","1328629807","1328629800"],"photo_ids_order":["1328629800","1328629807","1328629813","1328629817"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6a9095158b137b64f755b878ffab701b.jpg","text":"TemporaryFile(/tmp/multipartBody3270298385060785909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768552276,"filename":"image_13012025_12_41_02_314067_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e6baede7c101dbbf3006fafc66967cd8.jpg","text":"TemporaryFile(/tmp/multipartBody1370601607621960702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768552276,"filename":"image_13012025_12_41_02_314067_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c828090a1176849137e0ba434b4ddb39.jpg","text":"TemporaryFile(/tmp/multipartBody5608160638915735847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768552276,"filename":"image_13012025_12_41_02_314067_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/060362f78e788b4653c49713b2a97434.jpg","text":"TemporaryFile(/tmp/multipartBody1228861923773402748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768552276,"filename":"image_13012025_12_40_03_085924_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328629813","file1":"1328629807","file0":"1328629800","file3":"1328629817"},"map_files_photo_id_array":[{"photo_id":"1328629813","filename":"file2"},{"photo_id":"1328629807","filename":"file1"},{"photo_id":"1328629800","filename":"file0"},{"photo_id":"1328629817","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328629817":["hashtag1","hashtag2"]},{"1328629813":["hashtag1","hashtag2"]},{"1328629807":["hashtag1","hashtag2"]},{"1328629800":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328629817, 1328629813, 1328629807, 1328629800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.0175347328186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:42:22.260799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/41/image_13012025_12_41_02_314067_0003.jpg', '/home/pi/Desktop/images/13012025/12/42/image_13012025_12_42_02_403985_0000.jpg', '/home/pi/Desktop/images/13012025/12/42/image_13012025_12_42_02_403985_0001.jpg', '/home/pi/Desktop/images/13012025/12/42/image_13012025_12_42_02_403985_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/41/image_13012025_12_41_02_314067_0003.jpg
/home/pi/Desktop/images/13012025/12/42/image_13012025_12_42_02_403985_0000.jpg
/home/pi/Desktop/images/13012025/12/42/image_13012025_12_42_02_403985_0001.jpg
/home/pi/Desktop/images/13012025/12/42/image_13012025_12_42_02_403985_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328629859","1328629853","1328629847","1328629840"],"photo_ids_order":["1328629840","1328629847","1328629853","1328629859"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/df75d44458aee61603fc7ccfbdb7eb7c.jpg","text":"TemporaryFile(/tmp/multipartBody2519069062707004168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768612240,"filename":"image_13012025_12_42_02_403985_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/99ee831584b15bc05c6e66a593ad831a.jpg","text":"TemporaryFile(/tmp/multipartBody7271967605518182795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768612240,"filename":"image_13012025_12_42_02_403985_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4e1db017515a35c658c8f77cf413e8cc.jpg","text":"TemporaryFile(/tmp/multipartBody3135290512206689108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768612240,"filename":"image_13012025_12_42_02_403985_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5688f82a84ad9dcea98ef4b1cf194e80.jpg","text":"TemporaryFile(/tmp/multipartBody2016856948755693848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768612240,"filename":"image_13012025_12_41_02_314067_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328629853","file1":"1328629847","file0":"1328629840","file3":"1328629859"},"map_files_photo_id_array":[{"photo_id":"1328629853","filename":"file2"},{"photo_id":"1328629847","filename":"file1"},{"photo_id":"1328629840","filename":"file0"},{"photo_id":"1328629859","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328629859":["hashtag1","hashtag2"]},{"1328629853":["hashtag1","hashtag2"]},{"1328629847":["hashtag1","hashtag2"]},{"1328629840":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328629859, 1328629853, 1328629847, 1328629840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.33945369720459 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:43:22.490263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/42/image_13012025_12_42_02_403985_0003.jpg', '/home/pi/Desktop/images/13012025/12/43/image_13012025_12_43_02_598641_0000.jpg', '/home/pi/Desktop/images/13012025/12/43/image_13012025_12_43_02_598641_0001.jpg', '/home/pi/Desktop/images/13012025/12/43/image_13012025_12_43_02_598641_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/42/image_13012025_12_42_02_403985_0003.jpg
/home/pi/Desktop/images/13012025/12/43/image_13012025_12_43_02_598641_0000.jpg
/home/pi/Desktop/images/13012025/12/43/image_13012025_12_43_02_598641_0001.jpg
/home/pi/Desktop/images/13012025/12/43/image_13012025_12_43_02_598641_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.041191101074219 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 12:43:42.449537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/42/image_13012025_12_42_02_403985_0003.jpg', '/home/pi/Desktop/images/13012025/12/43/image_13012025_12_43_02_598641_0000.jpg', '/home/pi/Desktop/images/13012025/12/43/image_13012025_12_43_02_598641_0001.jpg', '/home/pi/Desktop/images/13012025/12/43/image_13012025_12_43_02_598641_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/42/image_13012025_12_42_02_403985_0003.jpg
/home/pi/Desktop/images/13012025/12/43/image_13012025_12_43_02_598641_0000.jpg
/home/pi/Desktop/images/13012025/12/43/image_13012025_12_43_02_598641_0001.jpg
/home/pi/Desktop/images/13012025/12/43/image_13012025_12_43_02_598641_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328629901","1328629910","1328629897","1328629906"],"photo_ids_order":["1328629897","1328629901","1328629906","1328629910"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/520d346563dc09da1cab009d58dea4a9.jpg","text":"TemporaryFile(/tmp/multipartBody4170562255950086309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768692882,"filename":"image_13012025_12_43_02_598641_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a2c3f60d0f1eda5ee1e9c439764d9118.jpg","text":"TemporaryFile(/tmp/multipartBody5116362475357915533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768692882,"filename":"image_13012025_12_43_02_598641_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7fa30db549d49a5f9cc24cb5cf6ed53b.jpg","text":"TemporaryFile(/tmp/multipartBody166018671000414171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768692882,"filename":"image_13012025_12_42_02_403985_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fefa7449d9537f7623f03c3e2a3b5a9b.jpg","text":"TemporaryFile(/tmp/multipartBody8097502900061636533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768692882,"filename":"image_13012025_12_43_02_598641_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328629906","file1":"1328629901","file0":"1328629897","file3":"1328629910"},"map_files_photo_id_array":[{"photo_id":"1328629906","filename":"file2"},{"photo_id":"1328629901","filename":"file1"},{"photo_id":"1328629897","filename":"file0"},{"photo_id":"1328629910","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328629901":["hashtag1","hashtag2"]},{"1328629910":["hashtag1","hashtag2"]},{"1328629897":["hashtag1","hashtag2"]},{"1328629906":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328629901, 1328629910, 1328629897, 1328629906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.47521638870239 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 12:44:32.648656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/43/image_13012025_12_43_02_598641_0003.jpg', '/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_02_796743_0000.jpg', '/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_02_796743_0001.jpg', '/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_02_796743_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/43/image_13012025_12_43_02_598641_0003.jpg
/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_02_796743_0000.jpg
/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_02_796743_0001.jpg
/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_02_796743_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.79750370979309 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 12:44:52.666939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/43/image_13012025_12_43_02_598641_0003.jpg', '/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_02_796743_0000.jpg', '/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_02_796743_0001.jpg', '/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_02_796743_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/43/image_13012025_12_43_02_598641_0003.jpg
/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_02_796743_0000.jpg
/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_02_796743_0001.jpg
/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_02_796743_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328630025","1328630019","1328630027","1328630023"],"photo_ids_order":["1328630019","1328630023","1328630025","1328630027"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/32e860e508a0266d11b7ab10f749b1ab.jpg","text":"TemporaryFile(/tmp/multipartBody486946206384447265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768762890,"filename":"image_13012025_12_44_02_796743_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c73b4a59844bd6c7813006dfe33a0be0.jpg","text":"TemporaryFile(/tmp/multipartBody8349089295249350671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768762890,"filename":"image_13012025_12_43_02_598641_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cd6b7eceedc4d3321c00aa4607ab45a2.jpg","text":"TemporaryFile(/tmp/multipartBody5473749160246760248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768762890,"filename":"image_13012025_12_44_02_796743_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/54813d821a72fd512b66143cc7c3baa3.jpg","text":"TemporaryFile(/tmp/multipartBody7155056839295300563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768762890,"filename":"image_13012025_12_44_02_796743_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328630025","file1":"1328630023","file0":"1328630019","file3":"1328630027"},"map_files_photo_id_array":[{"photo_id":"1328630025","filename":"file2"},{"photo_id":"1328630023","filename":"file1"},{"photo_id":"1328630019","filename":"file0"},{"photo_id":"1328630027","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328630025":["hashtag1","hashtag2"]},{"1328630019":["hashtag1","hashtag2"]},{"1328630027":["hashtag1","hashtag2"]},{"1328630023":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328630025, 1328630019, 1328630027, 1328630023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.872541666030884 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 12:45:31.823485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_02_796743_0003.jpg', '/home/pi/Desktop/images/13012025/12/45/image_13012025_12_45_03_040595_0000.jpg', '/home/pi/Desktop/images/13012025/12/45/image_13012025_12_45_03_040595_0001.jpg', '/home/pi/Desktop/images/13012025/12/45/image_13012025_12_45_03_040595_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_02_796743_0003.jpg
/home/pi/Desktop/images/13012025/12/45/image_13012025_12_45_03_040595_0000.jpg
/home/pi/Desktop/images/13012025/12/45/image_13012025_12_45_03_040595_0001.jpg
/home/pi/Desktop/images/13012025/12/45/image_13012025_12_45_03_040595_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328630052","1328630045","1328630048","1328630041"],"photo_ids_order":["1328630041","1328630045","1328630048","1328630052"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/626972b5dad29dbb8aa8b70d56fd9141.jpg","text":"TemporaryFile(/tmp/multipartBody4974925191982994581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768801965,"filename":"image_13012025_12_45_03_040595_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/20f6c5fc5273a859f2cb2addc84a5651.jpg","text":"TemporaryFile(/tmp/multipartBody1243682825543415242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768801965,"filename":"image_13012025_12_45_03_040595_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1ac85632fa7ec6da5b8b53fd10a94849.jpg","text":"TemporaryFile(/tmp/multipartBody2202409137434210590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768801965,"filename":"image_13012025_12_45_03_040595_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9285055efc7def24b5acca32f11fee6e.jpg","text":"TemporaryFile(/tmp/multipartBody6294515497621948906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768801965,"filename":"image_13012025_12_44_02_796743_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328630048","file1":"1328630045","file0":"1328630041","file3":"1328630052"},"map_files_photo_id_array":[{"photo_id":"1328630048","filename":"file2"},{"photo_id":"1328630045","filename":"file1"},{"photo_id":"1328630041","filename":"file0"},{"photo_id":"1328630052","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328630052":["hashtag1","hashtag2"]},{"1328630045":["hashtag1","hashtag2"]},{"1328630048":["hashtag1","hashtag2"]},{"1328630041":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328630052, 1328630045, 1328630048, 1328630041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.57704019546509 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:46:21.943307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/45/image_13012025_12_45_03_040595_0003.jpg', '/home/pi/Desktop/images/13012025/12/46/image_13012025_12_46_02_270160_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/45/image_13012025_12_45_03_040595_0003.jpg
/home/pi/Desktop/images/13012025/12/46/image_13012025_12_46_02_270160_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328630119","1328630122"],"photo_ids_order":["1328630119","1328630122"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/47d777da4a2931300e5a21812039365c.jpg","text":"TemporaryFile(/tmp/multipartBody6439332378547519070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768847310,"filename":"image_13012025_12_45_03_040595_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e221547357da7d01856b7268a58acc40.jpg","text":"TemporaryFile(/tmp/multipartBody1126115684973316948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768847310,"filename":"image_13012025_12_46_02_270160_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328630122","file0":"1328630119"},"map_files_photo_id_array":[{"photo_id":"1328630122","filename":"file1"},{"photo_id":"1328630119","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328630119":["hashtag1","hashtag2"]},{"1328630122":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328630119, 1328630122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.61847949028015 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 12:46:51.951007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 12:47:02.782879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:47:22.142650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/46/image_13012025_12_46_02_270160_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/46/image_13012025_12_46_02_270160_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328630153"],"photo_id":"1328630153","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ce8d926a087c2abcce398a7c3cf07d01.jpg","text":"TemporaryFile(/tmp/multipartBody3530473720857454257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768905157,"filename":"image_13012025_12_46_02_270160_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1328630153"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1328630153"}],"hashtags":[],"portfolio_id":"19538744","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.343429327011108 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 12:47:42.117541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 12:47:52.150469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 12:48:02.796162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:48:22.353169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/47/image_13012025_12_47_02_361406_0001.jpg', '/home/pi/Desktop/images/13012025/12/48/image_13012025_12_48_02_566521_0001.jpg', '/home/pi/Desktop/images/13012025/12/48/image_13012025_12_48_02_566521_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/47/image_13012025_12_47_02_361406_0001.jpg
/home/pi/Desktop/images/13012025/12/48/image_13012025_12_48_02_566521_0001.jpg
/home/pi/Desktop/images/13012025/12/48/image_13012025_12_48_02_566521_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328630202","1328630198","1328630187"],"photo_ids_order":["1328630187","1328630198","1328630202"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/96734cf7c34b98bc4cfa522ea992378c.jpg","text":"TemporaryFile(/tmp/multipartBody334251448811044755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768970049,"filename":"image_13012025_12_48_02_566521_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c8059215d7bccd67c10f5234e1cf1a8a.jpg","text":"TemporaryFile(/tmp/multipartBody6574818449305924088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768970049,"filename":"image_13012025_12_48_02_566521_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ecbdc13dfeddddb4104753b3e29bf9e4.jpg","text":"TemporaryFile(/tmp/multipartBody7161535687095584448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736768970049,"filename":"image_13012025_12_47_02_361406_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328630202","file1":"1328630198","file0":"1328630187"},"map_files_photo_id_array":[{"photo_id":"1328630202","filename":"file2"},{"photo_id":"1328630198","filename":"file1"},{"photo_id":"1328630187","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328630202":["hashtag1","hashtag2"]},{"1328630198":["hashtag1","hashtag2"]},{"1328630187":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328630202, 1328630198, 1328630187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.783003091812134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 12:49:03.224136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:49:22.570677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/48/image_13012025_12_48_02_566521_0003.jpg', '/home/pi/Desktop/images/13012025/12/49/image_13012025_12_49_02_763741_0001.jpg', '/home/pi/Desktop/images/13012025/12/49/image_13012025_12_49_02_763741_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/48/image_13012025_12_48_02_566521_0003.jpg
/home/pi/Desktop/images/13012025/12/49/image_13012025_12_49_02_763741_0001.jpg
/home/pi/Desktop/images/13012025/12/49/image_13012025_12_49_02_763741_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328630273","1328630269","1328630257"],"photo_ids_order":["1328630257","1328630269","1328630273"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/70aba846a18fcc0e6ff08952a58583e7.jpg","text":"TemporaryFile(/tmp/multipartBody5308522480375250469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769030288,"filename":"image_13012025_12_49_02_763741_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/87ef66496f4d9e1627a92e65720d89aa.jpg","text":"TemporaryFile(/tmp/multipartBody4593359677549628745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769030288,"filename":"image_13012025_12_49_02_763741_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1313e39a16dfdfe575996ac6532a0ea7.jpg","text":"TemporaryFile(/tmp/multipartBody7896233499652137055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769030288,"filename":"image_13012025_12_48_02_566521_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328630273","file1":"1328630269","file0":"1328630257"},"map_files_photo_id_array":[{"photo_id":"1328630273","filename":"file2"},{"photo_id":"1328630269","filename":"file1"},{"photo_id":"1328630257","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328630273":["hashtag1","hashtag2"]},{"1328630269":["hashtag1","hashtag2"]},{"1328630257":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328630273, 1328630269, 1328630257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.515037775039673 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 12:50:03.263812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:50:22.735296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/49/image_13012025_12_49_02_763741_0003.jpg', '/home/pi/Desktop/images/13012025/12/50/image_13012025_12_50_02_900251_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/49/image_13012025_12_49_02_763741_0003.jpg
/home/pi/Desktop/images/13012025/12/50/image_13012025_12_50_02_900251_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328630306","1328630309"],"photo_ids_order":["1328630306","1328630309"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/98fde1b685c2069d6a6999debe8f3ed4.jpg","text":"TemporaryFile(/tmp/multipartBody9078833345263378207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769088091,"filename":"image_13012025_12_49_02_763741_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7eb72047c992b67862c6295e2c822e4c.jpg","text":"TemporaryFile(/tmp/multipartBody2403809245832959917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769088091,"filename":"image_13012025_12_50_02_900251_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328630309","file0":"1328630306"},"map_files_photo_id_array":[{"photo_id":"1328630309","filename":"file1"},{"photo_id":"1328630306","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328630306":["hashtag1","hashtag2"]},{"1328630309":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328630306, 1328630309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.373443126678467 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 12:50:52.676220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 12:51:02.522144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:51:21.914200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/50/image_13012025_12_50_02_900251_0002.jpg', '/home/pi/Desktop/images/13012025/12/51/image_13012025_12_51_03_084016_0000.jpg', '/home/pi/Desktop/images/13012025/12/51/image_13012025_12_51_03_084016_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/50/image_13012025_12_50_02_900251_0002.jpg
/home/pi/Desktop/images/13012025/12/51/image_13012025_12_51_03_084016_0000.jpg
/home/pi/Desktop/images/13012025/12/51/image_13012025_12_51_03_084016_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328630347","1328630338","1328630358"],"photo_ids_order":["1328630338","1328630347","1328630358"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8d68e9775975bb074b88285dc7561d18.jpg","text":"TemporaryFile(/tmp/multipartBody3556944438732342329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769149628,"filename":"image_13012025_12_51_03_084016_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cf7c9d1ae23235fea9a17eba9d477752.jpg","text":"TemporaryFile(/tmp/multipartBody1937335084087270474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769149628,"filename":"image_13012025_12_50_02_900251_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/53140098538d6c5a7658f289f2180a0f.jpg","text":"TemporaryFile(/tmp/multipartBody5366581088495927492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769149628,"filename":"image_13012025_12_51_03_084016_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328630358","file1":"1328630347","file0":"1328630338"},"map_files_photo_id_array":[{"photo_id":"1328630358","filename":"file2"},{"photo_id":"1328630347","filename":"file1"},{"photo_id":"1328630338","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328630347":["hashtag1","hashtag2"]},{"1328630338":["hashtag1","hashtag2"]},{"1328630358":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328630347, 1328630338, 1328630358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.029303789138794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 12:52:02.605361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:52:22.135364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/51/image_13012025_12_51_03_084016_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/51/image_13012025_12_51_03_084016_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328630412"],"photo_id":"1328630412","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d52f6341e2ce1952eabf1f81a97ed7b5.jpg","text":"TemporaryFile(/tmp/multipartBody6543640581988943861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769205152,"filename":"image_13012025_12_51_03_084016_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1328630412"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1328630412"}],"hashtags":[],"portfolio_id":"19538744","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.461347818374634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 12:52:42.143252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 12:52:52.054901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 12:53:02.827144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:53:22.269808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/52/image_13012025_12_52_02_243539_0002.jpg', '/home/pi/Desktop/images/13012025/12/53/image_13012025_12_53_02_448334_0000.jpg', '/home/pi/Desktop/images/13012025/12/53/image_13012025_12_53_02_448334_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/52/image_13012025_12_52_02_243539_0002.jpg
/home/pi/Desktop/images/13012025/12/53/image_13012025_12_53_02_448334_0000.jpg
/home/pi/Desktop/images/13012025/12/53/image_13012025_12_53_02_448334_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328630483","1328630477","1328630488"],"photo_ids_order":["1328630477","1328630483","1328630488"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ef711cbd8a6ac75d1a1b5354efb308c2.jpg","text":"TemporaryFile(/tmp/multipartBody1997921917878813332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769269987,"filename":"image_13012025_12_53_02_448334_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/20b00a1d0ab6024af9545fd01c0389d8.jpg","text":"TemporaryFile(/tmp/multipartBody7740684238975578325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769269987,"filename":"image_13012025_12_52_02_243539_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/821262c340c89df42be3c3135f83c8be.jpg","text":"TemporaryFile(/tmp/multipartBody8522847907465302131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769269987,"filename":"image_13012025_12_53_02_448334_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328630488","file1":"1328630483","file0":"1328630477"},"map_files_photo_id_array":[{"photo_id":"1328630488","filename":"file2"},{"photo_id":"1328630483","filename":"file1"},{"photo_id":"1328630477","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328630483":["hashtag1","hashtag2"]},{"1328630477":["hashtag1","hashtag2"]},{"1328630488":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328630483, 1328630477, 1328630488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.51260495185852 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 12:54:02.848603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:54:22.513273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/53/image_13012025_12_53_02_448334_0002.jpg', '/home/pi/Desktop/images/13012025/12/54/image_13012025_12_54_02_579845_0000.jpg', '/home/pi/Desktop/images/13012025/12/54/image_13012025_12_54_02_579845_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/53/image_13012025_12_53_02_448334_0002.jpg
/home/pi/Desktop/images/13012025/12/54/image_13012025_12_54_02_579845_0000.jpg
/home/pi/Desktop/images/13012025/12/54/image_13012025_12_54_02_579845_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328630526","1328630517","1328630539"],"photo_ids_order":["1328630517","1328630526","1328630539"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c1fe7a62a493ccca47fdebfe978f4015.jpg","text":"TemporaryFile(/tmp/multipartBody897722562567720943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769330226,"filename":"image_13012025_12_54_02_579845_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/157b531851a883c96990f5b7a9961302.jpg","text":"TemporaryFile(/tmp/multipartBody3249644087551933893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769330226,"filename":"image_13012025_12_53_02_448334_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fefa4db83c8a1f0440e770de4876c8d6.jpg","text":"TemporaryFile(/tmp/multipartBody2103947781893178865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769330226,"filename":"image_13012025_12_54_02_579845_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328630539","file1":"1328630526","file0":"1328630517"},"map_files_photo_id_array":[{"photo_id":"1328630539","filename":"file2"},{"photo_id":"1328630526","filename":"file1"},{"photo_id":"1328630517","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328630526":["hashtag1","hashtag2"]},{"1328630517":["hashtag1","hashtag2"]},{"1328630539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328630526, 1328630517, 1328630539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.16894841194153 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 12:55:03.283620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:55:22.575978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/54/image_13012025_12_54_02_579845_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/54/image_13012025_12_54_02_579845_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328630560"],"photo_id":"1328630560","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/53d0481c4cfa26a0fccbd59c1b1413ea.jpg","text":"TemporaryFile(/tmp/multipartBody8110097280237691008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769385594,"filename":"image_13012025_12_54_02_579845_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1328630560"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1328630560"}],"hashtags":[],"portfolio_id":"19538744","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.44800853729248 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 12:55:42.728326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 12:55:52.621086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 12:56:02.217018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:56:21.918643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/55/image_13012025_12_55_02_868326_0000.jpg', '/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_03_119752_0001.jpg', '/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_03_119752_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/55/image_13012025_12_55_02_868326_0000.jpg
/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_03_119752_0001.jpg
/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_03_119752_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.294072389602661 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 12:56:31.789768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/55/image_13012025_12_55_02_868326_0000.jpg', '/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_03_119752_0001.jpg', '/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_03_119752_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/55/image_13012025_12_55_02_868326_0000.jpg
/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_03_119752_0001.jpg
/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_03_119752_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328630615","1328630602","1328630611"],"photo_ids_order":["1328630602","1328630611","1328630615"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e82b05b4fa72e709de47f1048a1a2a44.jpg","text":"TemporaryFile(/tmp/multipartBody5063091465216182592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769459498,"filename":"image_13012025_12_56_03_119752_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b8d0a21064aaf1ae3ba6bf2518a48655.jpg","text":"TemporaryFile(/tmp/multipartBody2160133224247786462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769459498,"filename":"image_13012025_12_55_02_868326_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4536ddba65b5c665d9904fbcd7b8761a.jpg","text":"TemporaryFile(/tmp/multipartBody1065395513663170641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769459498,"filename":"image_13012025_12_56_03_119752_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328630615","file1":"1328630611","file0":"1328630602"},"map_files_photo_id_array":[{"photo_id":"1328630615","filename":"file2"},{"photo_id":"1328630611","filename":"file1"},{"photo_id":"1328630602","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328630615":["hashtag1","hashtag2"]},{"1328630602":["hashtag1","hashtag2"]},{"1328630611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328630615, 1328630602, 1328630611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.72429919242859 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 12:57:22.100106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_03_119752_0003.jpg', '/home/pi/Desktop/images/13012025/12/57/image_13012025_12_57_02_194316_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_03_119752_0003.jpg
/home/pi/Desktop/images/13012025/12/57/image_13012025_12_57_02_194316_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328630642","1328630645"],"photo_ids_order":["1328630642","1328630645"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7804722912b486bebc77fba9ca9c733f.jpg","text":"TemporaryFile(/tmp/multipartBody7911623633834599357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769507470,"filename":"image_13012025_12_56_03_119752_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7786665cee6c21be35433462dada364c.jpg","text":"TemporaryFile(/tmp/multipartBody2322739803475888181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769507470,"filename":"image_13012025_12_57_02_194316_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328630645","file0":"1328630642"},"map_files_photo_id_array":[{"photo_id":"1328630645","filename":"file1"},{"photo_id":"1328630642","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328630642":["hashtag1","hashtag2"]},{"1328630645":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328630642, 1328630645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.430272579193115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 12:57:51.974710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 12:59:02.908372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/57/image_13012025_12_57_02_194316_0002.jpg', '/home/pi/Desktop/images/13012025/12/58/image_13012025_12_58_02_419105_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/57/image_13012025_12_57_02_194316_0002.jpg
/home/pi/Desktop/images/13012025/12/58/image_13012025_12_58_02_419105_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328630718","1328630710"],"photo_ids_order":["1328630710","1328630718"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bf472edc0c31a892b8916ec545cc3a98.jpg","text":"TemporaryFile(/tmp/multipartBody5672908383570101098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769608325,"filename":"image_13012025_12_58_02_419105_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/99453d14adfc83bcfbaba760eaf90f95.jpg","text":"TemporaryFile(/tmp/multipartBody159100669198678190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769608325,"filename":"image_13012025_12_57_02_194316_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328630718","file0":"1328630710"},"map_files_photo_id_array":[{"photo_id":"1328630718","filename":"file1"},{"photo_id":"1328630710","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328630718":["hashtag1","hashtag2"]},{"1328630710":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328630718, 1328630710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.308342695236206 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 12:59:32.388364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/58/image_13012025_12_58_02_419105_0003.jpg', '/home/pi/Desktop/images/13012025/12/59/image_13012025_12_59_02_581625_0000.jpg', '/home/pi/Desktop/images/13012025/12/59/image_13012025_12_59_02_581625_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/58/image_13012025_12_58_02_419105_0003.jpg
/home/pi/Desktop/images/13012025/12/59/image_13012025_12_59_02_581625_0000.jpg
/home/pi/Desktop/images/13012025/12/59/image_13012025_12_59_02_581625_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328630765","1328630762","1328630758"],"photo_ids_order":["1328630758","1328630762","1328630765"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e37678cf1df99fd2c9a94b2ad3e22285.jpg","text":"TemporaryFile(/tmp/multipartBody2125946061202301364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769640079,"filename":"image_13012025_12_59_02_581625_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dc698f34e793750e99548015d5283763.jpg","text":"TemporaryFile(/tmp/multipartBody6471443596588966718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769640079,"filename":"image_13012025_12_59_02_581625_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cc2df7d22bde8407cf36a03ea9c973fd.jpg","text":"TemporaryFile(/tmp/multipartBody7238162680562610061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769640079,"filename":"image_13012025_12_58_02_419105_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328630765","file1":"1328630762","file0":"1328630758"},"map_files_photo_id_array":[{"photo_id":"1328630765","filename":"file2"},{"photo_id":"1328630762","filename":"file1"},{"photo_id":"1328630758","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328630765":["hashtag1","hashtag2"]},{"1328630762":["hashtag1","hashtag2"]},{"1328630758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328630765, 1328630762, 1328630758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.82534384727478 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:00:22.728448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/59/image_13012025_12_59_02_581625_0003.jpg', '/home/pi/Desktop/images/13012025/13/00/image_13012025_13_00_02_757466_0000.jpg', '/home/pi/Desktop/images/13012025/13/00/image_13012025_13_00_02_757466_0001.jpg', '/home/pi/Desktop/images/13012025/13/00/image_13012025_13_00_02_757466_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/12/59/image_13012025_12_59_02_581625_0003.jpg
/home/pi/Desktop/images/13012025/13/00/image_13012025_13_00_02_757466_0000.jpg
/home/pi/Desktop/images/13012025/13/00/image_13012025_13_00_02_757466_0001.jpg
/home/pi/Desktop/images/13012025/13/00/image_13012025_13_00_02_757466_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328630795","1328630789","1328630804","1328630782"],"photo_ids_order":["1328630782","1328630789","1328630795","1328630804"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/16cb00ad4058f70019b07c0405181c2c.jpg","text":"TemporaryFile(/tmp/multipartBody2647893678277320669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769692802,"filename":"image_13012025_13_00_02_757466_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/774c83844db844178bbb4d5281e77d53.jpg","text":"TemporaryFile(/tmp/multipartBody9203933638081846272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769692802,"filename":"image_13012025_13_00_02_757466_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d1460d39cc765c4752ac58bea4352611.jpg","text":"TemporaryFile(/tmp/multipartBody1397898693103761257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769692802,"filename":"image_13012025_13_00_02_757466_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f820789d5b2c4b705d20a8b13491b255.jpg","text":"TemporaryFile(/tmp/multipartBody7594151981789134734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769692802,"filename":"image_13012025_12_59_02_581625_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328630795","file1":"1328630789","file0":"1328630782","file3":"1328630804"},"map_files_photo_id_array":[{"photo_id":"1328630795","filename":"file2"},{"photo_id":"1328630789","filename":"file1"},{"photo_id":"1328630782","filename":"file0"},{"photo_id":"1328630804","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328630795":["hashtag1","hashtag2"]},{"1328630789":["hashtag1","hashtag2"]},{"1328630804":["hashtag1","hashtag2"]},{"1328630782":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328630795, 1328630789, 1328630804, 1328630782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.784584045410156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:01:21.826337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/00/image_13012025_13_00_02_757466_0003.jpg', '/home/pi/Desktop/images/13012025/13/01/image_13012025_13_01_02_989056_0000.jpg', '/home/pi/Desktop/images/13012025/13/01/image_13012025_13_01_02_989056_0001.jpg', '/home/pi/Desktop/images/13012025/13/01/image_13012025_13_01_02_989056_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/00/image_13012025_13_00_02_757466_0003.jpg
/home/pi/Desktop/images/13012025/13/01/image_13012025_13_01_02_989056_0000.jpg
/home/pi/Desktop/images/13012025/13/01/image_13012025_13_01_02_989056_0001.jpg
/home/pi/Desktop/images/13012025/13/01/image_13012025_13_01_02_989056_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328630867","1328630831","1328630849","1328630914"],"photo_ids_order":["1328630831","1328630849","1328630867","1328630914"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a982370e1b8d9725fccbdb8162f5bb1d.jpg","text":"TemporaryFile(/tmp/multipartBody7236943353526063282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769751968,"filename":"image_13012025_13_01_02_989056_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/10610aa1ed4407d4c20fc5cda1529ef8.jpg","text":"TemporaryFile(/tmp/multipartBody3982064119468812301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769751968,"filename":"image_13012025_13_00_02_757466_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/32d4aa10e5d28e5e773db5ed43663a96.jpg","text":"TemporaryFile(/tmp/multipartBody2282612859800871273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769751968,"filename":"image_13012025_13_01_02_989056_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fbd9af26e48f8be50085a5ebcfce700c.jpg","text":"TemporaryFile(/tmp/multipartBody1205073021507871140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769751968,"filename":"image_13012025_13_01_02_989056_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328630867","file1":"1328630849","file0":"1328630831","file3":"1328630914"},"map_files_photo_id_array":[{"photo_id":"1328630867","filename":"file2"},{"photo_id":"1328630849","filename":"file1"},{"photo_id":"1328630831","filename":"file0"},{"photo_id":"1328630914","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328630867":["hashtag1","hashtag2"]},{"1328630831":["hashtag1","hashtag2"]},{"1328630849":["hashtag1","hashtag2"]},{"1328630914":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328630867, 1328630831, 1328630849, 1328630914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.8106849193573 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:02:22.052664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/01/image_13012025_13_01_02_989056_0003.jpg', '/home/pi/Desktop/images/13012025/13/02/image_13012025_13_02_02_131124_0000.jpg', '/home/pi/Desktop/images/13012025/13/02/image_13012025_13_02_02_131124_0001.jpg', '/home/pi/Desktop/images/13012025/13/02/image_13012025_13_02_02_131124_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/01/image_13012025_13_01_02_989056_0003.jpg
/home/pi/Desktop/images/13012025/13/02/image_13012025_13_02_02_131124_0000.jpg
/home/pi/Desktop/images/13012025/13/02/image_13012025_13_02_02_131124_0001.jpg
/home/pi/Desktop/images/13012025/13/02/image_13012025_13_02_02_131124_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328630936","1328630941","1328630938","1328630934"],"photo_ids_order":["1328630934","1328630936","1328630938","1328630941"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bde6426d3b21007cc60d495e618ac9dd.jpg","text":"TemporaryFile(/tmp/multipartBody3416266629271819235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769812309,"filename":"image_13012025_13_02_02_131124_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/469bdf5722e7c4fac06fac6f93686149.jpg","text":"TemporaryFile(/tmp/multipartBody5954089975661736577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769812309,"filename":"image_13012025_13_02_02_131124_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/68cd4bdad7871a8235ac3d6a85d2f1e6.jpg","text":"TemporaryFile(/tmp/multipartBody6749014044661606140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769812309,"filename":"image_13012025_13_02_02_131124_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9b00d3e97430ec59d997bb18a2298720.jpg","text":"TemporaryFile(/tmp/multipartBody7974969021270557861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769812309,"filename":"image_13012025_13_01_02_989056_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328630938","file1":"1328630936","file0":"1328630934","file3":"1328630941"},"map_files_photo_id_array":[{"photo_id":"1328630938","filename":"file2"},{"photo_id":"1328630936","filename":"file1"},{"photo_id":"1328630934","filename":"file0"},{"photo_id":"1328630941","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328630936":["hashtag1","hashtag2"]},{"1328630941":["hashtag1","hashtag2"]},{"1328630938":["hashtag1","hashtag2"]},{"1328630934":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328630936, 1328630941, 1328630938, 1328630934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.27898168563843 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 13:03:02.645368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:03:22.129602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/02/image_13012025_13_02_02_131124_0003.jpg', '/home/pi/Desktop/images/13012025/13/03/image_13012025_13_03_02_376967_0000.jpg', '/home/pi/Desktop/images/13012025/13/03/image_13012025_13_03_02_376967_0001.jpg', '/home/pi/Desktop/images/13012025/13/03/image_13012025_13_03_02_376967_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/02/image_13012025_13_02_02_131124_0003.jpg
/home/pi/Desktop/images/13012025/13/03/image_13012025_13_03_02_376967_0000.jpg
/home/pi/Desktop/images/13012025/13/03/image_13012025_13_03_02_376967_0001.jpg
/home/pi/Desktop/images/13012025/13/03/image_13012025_13_03_02_376967_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328630963","1328630960","1328630988","1328630976"],"photo_ids_order":["1328630960","1328630963","1328630976","1328630988"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/af145e3d3bebd4324d7c6147df909c01.jpg","text":"TemporaryFile(/tmp/multipartBody7388935278039475670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769872511,"filename":"image_13012025_13_03_02_376967_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f3c04ca474652b30072513c150f6647b.jpg","text":"TemporaryFile(/tmp/multipartBody3359294579358543623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769872511,"filename":"image_13012025_13_02_02_131124_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2d6ccb599875e0cca5310f384101e7d7.jpg","text":"TemporaryFile(/tmp/multipartBody1213833515134281414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769872511,"filename":"image_13012025_13_03_02_376967_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dc5a5d106dcb886f04e5b1f0b7959971.jpg","text":"TemporaryFile(/tmp/multipartBody2739882557769769564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769872511,"filename":"image_13012025_13_03_02_376967_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328630976","file1":"1328630963","file0":"1328630960","file3":"1328630988"},"map_files_photo_id_array":[{"photo_id":"1328630976","filename":"file2"},{"photo_id":"1328630963","filename":"file1"},{"photo_id":"1328630960","filename":"file0"},{"photo_id":"1328630988","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328630963":["hashtag1","hashtag2"]},{"1328630960":["hashtag1","hashtag2"]},{"1328630988":["hashtag1","hashtag2"]},{"1328630976":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328630963, 1328630960, 1328630988, 1328630976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.23381948471069 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 13:04:02.678928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:04:22.311845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/03/image_13012025_13_03_02_376967_0003.jpg', '/home/pi/Desktop/images/13012025/13/04/image_13012025_13_04_02_467939_0000.jpg', '/home/pi/Desktop/images/13012025/13/04/image_13012025_13_04_02_467939_0001.jpg', '/home/pi/Desktop/images/13012025/13/04/image_13012025_13_04_02_467939_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/03/image_13012025_13_03_02_376967_0003.jpg
/home/pi/Desktop/images/13012025/13/04/image_13012025_13_04_02_467939_0000.jpg
/home/pi/Desktop/images/13012025/13/04/image_13012025_13_04_02_467939_0001.jpg
/home/pi/Desktop/images/13012025/13/04/image_13012025_13_04_02_467939_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328631386","1328631592","1328631107","1328631831"],"photo_ids_order":["1328631107","1328631386","1328631592","1328631831"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1eaad15a256fa6e8e2496a1240017e19.jpg","text":"TemporaryFile(/tmp/multipartBody9145575226366613802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769932515,"filename":"image_13012025_13_04_02_467939_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/acba58abdd5e5e72fde89874c9737688.jpg","text":"TemporaryFile(/tmp/multipartBody3078037697696548885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769932515,"filename":"image_13012025_13_04_02_467939_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/08369a75d98e16387bf5fc6a3f536e85.jpg","text":"TemporaryFile(/tmp/multipartBody4107541415741996456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769932515,"filename":"image_13012025_13_03_02_376967_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/821438e25e1116f51ee74a14b6d44075.jpg","text":"TemporaryFile(/tmp/multipartBody7602383279614794697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769932515,"filename":"image_13012025_13_04_02_467939_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328631592","file1":"1328631386","file0":"1328631107","file3":"1328631831"},"map_files_photo_id_array":[{"photo_id":"1328631592","filename":"file2"},{"photo_id":"1328631386","filename":"file1"},{"photo_id":"1328631107","filename":"file0"},{"photo_id":"1328631831","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328631386":["hashtag1","hashtag2"]},{"1328631592":["hashtag1","hashtag2"]},{"1328631107":["hashtag1","hashtag2"]},{"1328631831":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328631386, 1328631592, 1328631107, 1328631831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.553807735443115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 13:05:03.187176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:05:22.572511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/04/image_13012025_13_04_02_467939_0003.jpg', '/home/pi/Desktop/images/13012025/13/05/image_13012025_13_05_02_604702_0000.jpg', '/home/pi/Desktop/images/13012025/13/05/image_13012025_13_05_02_604702_0001.jpg', '/home/pi/Desktop/images/13012025/13/05/image_13012025_13_05_02_604702_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/04/image_13012025_13_04_02_467939_0003.jpg
/home/pi/Desktop/images/13012025/13/05/image_13012025_13_05_02_604702_0000.jpg
/home/pi/Desktop/images/13012025/13/05/image_13012025_13_05_02_604702_0001.jpg
/home/pi/Desktop/images/13012025/13/05/image_13012025_13_05_02_604702_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328632084","1328632105","1328632133","1328631887"],"photo_ids_order":["1328631887","1328632084","1328632105","1328632133"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2d3f7581385066cbb1f031274c274280.jpg","text":"TemporaryFile(/tmp/multipartBody3756520672326829269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769992905,"filename":"image_13012025_13_05_02_604702_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/380087bf0a09179da7f42f2f561b9ef2.jpg","text":"TemporaryFile(/tmp/multipartBody5139040620305004262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769992905,"filename":"image_13012025_13_05_02_604702_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b6a27e8e5c3ac56922d334cb7ad970fa.jpg","text":"TemporaryFile(/tmp/multipartBody8329492036321018196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769992905,"filename":"image_13012025_13_05_02_604702_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e29c8e8caabb83d351083259f755f447.jpg","text":"TemporaryFile(/tmp/multipartBody1507285693892795487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736769992905,"filename":"image_13012025_13_04_02_467939_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328632105","file1":"1328632084","file0":"1328631887","file3":"1328632133"},"map_files_photo_id_array":[{"photo_id":"1328632105","filename":"file2"},{"photo_id":"1328632084","filename":"file1"},{"photo_id":"1328631887","filename":"file0"},{"photo_id":"1328632133","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328632084":["hashtag1","hashtag2"]},{"1328632105":["hashtag1","hashtag2"]},{"1328632133":["hashtag1","hashtag2"]},{"1328631887":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328632084, 1328632105, 1328632133, 1328631887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.22217631340027 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:06:21.838456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/05/image_13012025_13_05_02_604702_0003.jpg', '/home/pi/Desktop/images/13012025/13/06/image_13012025_13_06_02_845699_0000.jpg', '/home/pi/Desktop/images/13012025/13/06/image_13012025_13_06_02_845699_0001.jpg', '/home/pi/Desktop/images/13012025/13/06/image_13012025_13_06_02_845699_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/05/image_13012025_13_05_02_604702_0003.jpg
/home/pi/Desktop/images/13012025/13/06/image_13012025_13_06_02_845699_0000.jpg
/home/pi/Desktop/images/13012025/13/06/image_13012025_13_06_02_845699_0001.jpg
/home/pi/Desktop/images/13012025/13/06/image_13012025_13_06_02_845699_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.622010469436646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 13:06:41.837926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/05/image_13012025_13_05_02_604702_0003.jpg', '/home/pi/Desktop/images/13012025/13/06/image_13012025_13_06_02_845699_0000.jpg', '/home/pi/Desktop/images/13012025/13/06/image_13012025_13_06_02_845699_0001.jpg', '/home/pi/Desktop/images/13012025/13/06/image_13012025_13_06_02_845699_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/05/image_13012025_13_05_02_604702_0003.jpg
/home/pi/Desktop/images/13012025/13/06/image_13012025_13_06_02_845699_0000.jpg
/home/pi/Desktop/images/13012025/13/06/image_13012025_13_06_02_845699_0001.jpg
/home/pi/Desktop/images/13012025/13/06/image_13012025_13_06_02_845699_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328632217","1328632226","1328632228","1328632222"],"photo_ids_order":["1328632217","1328632222","1328632226","1328632228"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/96dd587826fbbf7c90cd63c6da3b1292.jpg","text":"TemporaryFile(/tmp/multipartBody6063458458210294485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770071869,"filename":"image_13012025_13_05_02_604702_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cb551c67d4dd06516b12e09178fe5df4.jpg","text":"TemporaryFile(/tmp/multipartBody2246136850862186981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770071869,"filename":"image_13012025_13_06_02_845699_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8d93da0899d2f3374ba615ad44630700.jpg","text":"TemporaryFile(/tmp/multipartBody6155600544241651838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770071869,"filename":"image_13012025_13_06_02_845699_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/00fe8422ed2b69c2cd8d42d34e37ec88.jpg","text":"TemporaryFile(/tmp/multipartBody3431598745186969540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770071869,"filename":"image_13012025_13_06_02_845699_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328632226","file1":"1328632222","file0":"1328632217","file3":"1328632228"},"map_files_photo_id_array":[{"photo_id":"1328632226","filename":"file2"},{"photo_id":"1328632222","filename":"file1"},{"photo_id":"1328632217","filename":"file0"},{"photo_id":"1328632228","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328632217":["hashtag1","hashtag2"]},{"1328632226":["hashtag1","hashtag2"]},{"1328632228":["hashtag1","hashtag2"]},{"1328632222":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328632217, 1328632226, 1328632228, 1328632222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.78236532211304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:07:22.061863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/06/image_13012025_13_06_02_845699_0003.jpg', '/home/pi/Desktop/images/13012025/13/07/image_13012025_13_07_02_275306_0000.jpg', '/home/pi/Desktop/images/13012025/13/07/image_13012025_13_07_02_275306_0001.jpg', '/home/pi/Desktop/images/13012025/13/07/image_13012025_13_07_02_275306_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/06/image_13012025_13_06_02_845699_0003.jpg
/home/pi/Desktop/images/13012025/13/07/image_13012025_13_07_02_275306_0000.jpg
/home/pi/Desktop/images/13012025/13/07/image_13012025_13_07_02_275306_0001.jpg
/home/pi/Desktop/images/13012025/13/07/image_13012025_13_07_02_275306_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328632252","1328632242","1328632239","1328632247"],"photo_ids_order":["1328632239","1328632242","1328632247","1328632252"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/53e3ba978e0f9a4b439ecc752a1feba7.jpg","text":"TemporaryFile(/tmp/multipartBody6443271246651184772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770112233,"filename":"image_13012025_13_07_02_275306_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/21b7baf573e4d45f8f0304d17f77389b.jpg","text":"TemporaryFile(/tmp/multipartBody5951108777630116747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770112233,"filename":"image_13012025_13_07_02_275306_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2b8b56e6c496386bfd198ff2d4aafb49.jpg","text":"TemporaryFile(/tmp/multipartBody520373852634265675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770112233,"filename":"image_13012025_13_06_02_845699_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/32c71a650dbe99240624355e755410ec.jpg","text":"TemporaryFile(/tmp/multipartBody5422572943298464185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770112233,"filename":"image_13012025_13_07_02_275306_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328632247","file1":"1328632242","file0":"1328632239","file3":"1328632252"},"map_files_photo_id_array":[{"photo_id":"1328632247","filename":"file2"},{"photo_id":"1328632242","filename":"file1"},{"photo_id":"1328632239","filename":"file0"},{"photo_id":"1328632252","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328632252":["hashtag1","hashtag2"]},{"1328632242":["hashtag1","hashtag2"]},{"1328632239":["hashtag1","hashtag2"]},{"1328632247":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328632252, 1328632242, 1328632239, 1328632247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.40186619758606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 13:08:02.536343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:08:22.218575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/07/image_13012025_13_07_02_275306_0003.jpg', '/home/pi/Desktop/images/13012025/13/08/image_13012025_13_08_02_362650_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/07/image_13012025_13_07_02_275306_0003.jpg
/home/pi/Desktop/images/13012025/13/08/image_13012025_13_08_02_362650_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328632279","1328632283"],"photo_ids_order":["1328632279","1328632283"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7b517f8d51a94fbdf1ac07e20b974116.jpg","text":"TemporaryFile(/tmp/multipartBody6468906500817479203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770167688,"filename":"image_13012025_13_07_02_275306_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/496368ded35f74f7b04c144efd7869dc.jpg","text":"TemporaryFile(/tmp/multipartBody8411576967500120314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770167688,"filename":"image_13012025_13_08_02_362650_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328632283","file0":"1328632279"},"map_files_photo_id_array":[{"photo_id":"1328632283","filename":"file1"},{"photo_id":"1328632279","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328632279":["hashtag1","hashtag2"]},{"1328632283":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328632279, 1328632283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.189281225204468 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 13:08:52.114423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 13:09:02.950039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:09:22.310610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/08/image_13012025_13_08_02_362650_0003.jpg', '/home/pi/Desktop/images/13012025/13/09/image_13012025_13_09_02_588653_0000.jpg', '/home/pi/Desktop/images/13012025/13/09/image_13012025_13_09_02_588653_0001.jpg', '/home/pi/Desktop/images/13012025/13/09/image_13012025_13_09_02_588653_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/08/image_13012025_13_08_02_362650_0003.jpg
/home/pi/Desktop/images/13012025/13/09/image_13012025_13_09_02_588653_0000.jpg
/home/pi/Desktop/images/13012025/13/09/image_13012025_13_09_02_588653_0001.jpg
/home/pi/Desktop/images/13012025/13/09/image_13012025_13_09_02_588653_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328632406","1328632400","1328632410","1328632413"],"photo_ids_order":["1328632400","1328632406","1328632410","1328632413"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2337ec386ec0d03b2d339eac6417877d.jpg","text":"TemporaryFile(/tmp/multipartBody3666011235668289621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770232541,"filename":"image_13012025_13_09_02_588653_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0abae117f7bb690a6bef33d774de2a97.jpg","text":"TemporaryFile(/tmp/multipartBody7060670936801202978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770232541,"filename":"image_13012025_13_08_02_362650_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/28d222da91ff8b9fdea005657e91e275.jpg","text":"TemporaryFile(/tmp/multipartBody4709231922253504021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770232541,"filename":"image_13012025_13_09_02_588653_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/98058b44e6ec5ba48baf4badfe019721.jpg","text":"TemporaryFile(/tmp/multipartBody2300521486737048108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770232541,"filename":"image_13012025_13_09_02_588653_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328632410","file1":"1328632406","file0":"1328632400","file3":"1328632413"},"map_files_photo_id_array":[{"photo_id":"1328632410","filename":"file2"},{"photo_id":"1328632406","filename":"file1"},{"photo_id":"1328632400","filename":"file0"},{"photo_id":"1328632413","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328632406":["hashtag1","hashtag2"]},{"1328632400":["hashtag1","hashtag2"]},{"1328632410":["hashtag1","hashtag2"]},{"1328632413":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328632406, 1328632400, 1328632410, 1328632413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.807254791259766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:10:22.552002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/09/image_13012025_13_09_02_588653_0003.jpg', '/home/pi/Desktop/images/13012025/13/10/image_13012025_13_10_02_661468_0000.jpg', '/home/pi/Desktop/images/13012025/13/10/image_13012025_13_10_02_661468_0001.jpg', '/home/pi/Desktop/images/13012025/13/10/image_13012025_13_10_02_661468_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/09/image_13012025_13_09_02_588653_0003.jpg
/home/pi/Desktop/images/13012025/13/10/image_13012025_13_10_02_661468_0000.jpg
/home/pi/Desktop/images/13012025/13/10/image_13012025_13_10_02_661468_0001.jpg
/home/pi/Desktop/images/13012025/13/10/image_13012025_13_10_02_661468_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.89786958694458 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 13:10:42.567901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/09/image_13012025_13_09_02_588653_0003.jpg', '/home/pi/Desktop/images/13012025/13/10/image_13012025_13_10_02_661468_0000.jpg', '/home/pi/Desktop/images/13012025/13/10/image_13012025_13_10_02_661468_0001.jpg', '/home/pi/Desktop/images/13012025/13/10/image_13012025_13_10_02_661468_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/09/image_13012025_13_09_02_588653_0003.jpg
/home/pi/Desktop/images/13012025/13/10/image_13012025_13_10_02_661468_0000.jpg
/home/pi/Desktop/images/13012025/13/10/image_13012025_13_10_02_661468_0001.jpg
/home/pi/Desktop/images/13012025/13/10/image_13012025_13_10_02_661468_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328632525","1328632528","1328632530","1328632523"],"photo_ids_order":["1328632523","1328632525","1328632528","1328632530"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5fecce581952bb6d07d2fec733f4c8fd.jpg","text":"TemporaryFile(/tmp/multipartBody4900375521542024604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770312853,"filename":"image_13012025_13_10_02_661468_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0008bca8ce9e56ab533a5c426fd361e9.jpg","text":"TemporaryFile(/tmp/multipartBody4797570881786211475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770312853,"filename":"image_13012025_13_10_02_661468_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e04a8941772e6043d163dfbb437a77ca.jpg","text":"TemporaryFile(/tmp/multipartBody2777161415833247068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770312853,"filename":"image_13012025_13_10_02_661468_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2228ddcc7ee6a92d1ff19eb9d13b56d4.jpg","text":"TemporaryFile(/tmp/multipartBody5049774252217774360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770312853,"filename":"image_13012025_13_09_02_588653_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328632528","file1":"1328632525","file0":"1328632523","file3":"1328632530"},"map_files_photo_id_array":[{"photo_id":"1328632528","filename":"file2"},{"photo_id":"1328632525","filename":"file1"},{"photo_id":"1328632523","filename":"file0"},{"photo_id":"1328632530","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328632525":["hashtag1","hashtag2"]},{"1328632528":["hashtag1","hashtag2"]},{"1328632530":["hashtag1","hashtag2"]},{"1328632523":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328632525, 1328632528, 1328632530, 1328632523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.07392072677612 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:11:22.668805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/10/image_13012025_13_10_02_661468_0003.jpg', '/home/pi/Desktop/images/13012025/13/11/image_13012025_13_11_02_885554_0000.jpg', '/home/pi/Desktop/images/13012025/13/11/image_13012025_13_11_02_885554_0001.jpg', '/home/pi/Desktop/images/13012025/13/11/image_13012025_13_11_02_885554_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/10/image_13012025_13_10_02_661468_0003.jpg
/home/pi/Desktop/images/13012025/13/11/image_13012025_13_11_02_885554_0000.jpg
/home/pi/Desktop/images/13012025/13/11/image_13012025_13_11_02_885554_0001.jpg
/home/pi/Desktop/images/13012025/13/11/image_13012025_13_11_02_885554_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328632553","1328632546","1328632542","1328632550"],"photo_ids_order":["1328632542","1328632546","1328632550","1328632553"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5681b52babde89419c520dc900735c1f.jpg","text":"TemporaryFile(/tmp/multipartBody1768486972286814755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770352778,"filename":"image_13012025_13_11_02_885554_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fe34d4fc1928c452e96025d8939d16b2.jpg","text":"TemporaryFile(/tmp/multipartBody2306264062120857439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770352778,"filename":"image_13012025_13_11_02_885554_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/88dab7914f14a7a4a28f6f0a1c4c0984.jpg","text":"TemporaryFile(/tmp/multipartBody7185806186486578344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770352778,"filename":"image_13012025_13_10_02_661468_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c361f2712260bb95cf16f86ef5ab9bed.jpg","text":"TemporaryFile(/tmp/multipartBody5746514858160564635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770352778,"filename":"image_13012025_13_11_02_885554_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328632550","file1":"1328632546","file0":"1328632542","file3":"1328632553"},"map_files_photo_id_array":[{"photo_id":"1328632550","filename":"file2"},{"photo_id":"1328632546","filename":"file1"},{"photo_id":"1328632542","filename":"file0"},{"photo_id":"1328632553","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328632553":["hashtag1","hashtag2"]},{"1328632546":["hashtag1","hashtag2"]},{"1328632542":["hashtag1","hashtag2"]},{"1328632550":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328632553, 1328632546, 1328632542, 1328632550)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 38.78519296646118 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:12:21.901415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/11/image_13012025_13_11_02_885554_0003.jpg', '/home/pi/Desktop/images/13012025/13/12/image_13012025_13_12_03_098660_0000.jpg', '/home/pi/Desktop/images/13012025/13/12/image_13012025_13_12_03_098660_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/11/image_13012025_13_11_02_885554_0003.jpg
/home/pi/Desktop/images/13012025/13/12/image_13012025_13_12_03_098660_0000.jpg
/home/pi/Desktop/images/13012025/13/12/image_13012025_13_12_03_098660_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328632745","1328632747","1328632742"],"photo_ids_order":["1328632742","1328632745","1328632747"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2a465a2066d8bdadda24b90fb3e55534.jpg","text":"TemporaryFile(/tmp/multipartBody6078712818018867019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770409745,"filename":"image_13012025_13_12_03_098660_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d4b44529f2c23eb1f8265576c53cc12b.jpg","text":"TemporaryFile(/tmp/multipartBody3974338347495685404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770409745,"filename":"image_13012025_13_12_03_098660_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/71e502794a6bd06aca0a262717b8a646.jpg","text":"TemporaryFile(/tmp/multipartBody8256783384693676194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770409745,"filename":"image_13012025_13_11_02_885554_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328632747","file1":"1328632745","file0":"1328632742"},"map_files_photo_id_array":[{"photo_id":"1328632747","filename":"file2"},{"photo_id":"1328632745","filename":"file1"},{"photo_id":"1328632742","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328632745":["hashtag1","hashtag2"]},{"1328632747":["hashtag1","hashtag2"]},{"1328632742":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328632745, 1328632747, 1328632742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.55856204032898 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 13:13:02.777170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:13:22.298596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/12/image_13012025_13_12_03_098660_0002.jpg', '/home/pi/Desktop/images/13012025/13/13/image_13012025_13_13_02_217385_0000.jpg', '/home/pi/Desktop/images/13012025/13/13/image_13012025_13_13_02_217385_0001.jpg', '/home/pi/Desktop/images/13012025/13/13/image_13012025_13_13_02_217385_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/12/image_13012025_13_12_03_098660_0002.jpg
/home/pi/Desktop/images/13012025/13/13/image_13012025_13_13_02_217385_0000.jpg
/home/pi/Desktop/images/13012025/13/13/image_13012025_13_13_02_217385_0001.jpg
/home/pi/Desktop/images/13012025/13/13/image_13012025_13_13_02_217385_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328632795","1328632788","1328632797","1328632776"],"photo_ids_order":["1328632776","1328632788","1328632795","1328632797"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/31c96cb5e495c415a7a64ca18e90175a.jpg","text":"TemporaryFile(/tmp/multipartBody314794254300424300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770472511,"filename":"image_13012025_13_13_02_217385_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/38a8425ebbc03bc9fafc985c2b1d1203.jpg","text":"TemporaryFile(/tmp/multipartBody1694971733480929064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770472511,"filename":"image_13012025_13_13_02_217385_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d8509d6a64315b94c3569434e93fe16f.jpg","text":"TemporaryFile(/tmp/multipartBody2286340948782893088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770472511,"filename":"image_13012025_13_13_02_217385_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9a359f0663e2d63c0cf90df830f46210.jpg","text":"TemporaryFile(/tmp/multipartBody8977125531424314467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770472511,"filename":"image_13012025_13_12_03_098660_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328632795","file1":"1328632788","file0":"1328632776","file3":"1328632797"},"map_files_photo_id_array":[{"photo_id":"1328632795","filename":"file2"},{"photo_id":"1328632788","filename":"file1"},{"photo_id":"1328632776","filename":"file0"},{"photo_id":"1328632797","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328632795":["hashtag1","hashtag2"]},{"1328632788":["hashtag1","hashtag2"]},{"1328632797":["hashtag1","hashtag2"]},{"1328632776":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328632795, 1328632788, 1328632797, 1328632776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.922916650772095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 13:14:02.651026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:14:22.201107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/13/image_13012025_13_13_02_217385_0003.jpg', '/home/pi/Desktop/images/13012025/13/14/image_13012025_13_14_02_416138_0000.jpg', '/home/pi/Desktop/images/13012025/13/14/image_13012025_13_14_02_416138_0001.jpg', '/home/pi/Desktop/images/13012025/13/14/image_13012025_13_14_02_416138_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/13/image_13012025_13_13_02_217385_0003.jpg
/home/pi/Desktop/images/13012025/13/14/image_13012025_13_14_02_416138_0000.jpg
/home/pi/Desktop/images/13012025/13/14/image_13012025_13_14_02_416138_0001.jpg
/home/pi/Desktop/images/13012025/13/14/image_13012025_13_14_02_416138_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328632931","1328632933","1328632927","1328632935"],"photo_ids_order":["1328632927","1328632931","1328632933","1328632935"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1120c91d20da21bfc9aa159e1c2827da.jpg","text":"TemporaryFile(/tmp/multipartBody6360568072437263030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770532256,"filename":"image_13012025_13_14_02_416138_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b88a026cacd4ec620cfe6b84f5542cb9.jpg","text":"TemporaryFile(/tmp/multipartBody5419649759191875501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770532256,"filename":"image_13012025_13_14_02_416138_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ecc739a5bd036e4bbb539d2dce74c3a3.jpg","text":"TemporaryFile(/tmp/multipartBody190155689021274871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770532256,"filename":"image_13012025_13_13_02_217385_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/79b82a63e6191a0ecf3e7eb0d0ed94d4.jpg","text":"TemporaryFile(/tmp/multipartBody6555296299029926227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770532256,"filename":"image_13012025_13_14_02_416138_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328632933","file1":"1328632931","file0":"1328632927","file3":"1328632935"},"map_files_photo_id_array":[{"photo_id":"1328632933","filename":"file2"},{"photo_id":"1328632931","filename":"file1"},{"photo_id":"1328632927","filename":"file0"},{"photo_id":"1328632935","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328632931":["hashtag1","hashtag2"]},{"1328632933":["hashtag1","hashtag2"]},{"1328632927":["hashtag1","hashtag2"]},{"1328632935":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328632931, 1328632933, 1328632927, 1328632935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.54239892959595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:15:22.503022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/14/image_13012025_13_14_02_416138_0003.jpg', '/home/pi/Desktop/images/13012025/13/15/image_13012025_13_15_02_559264_0000.jpg', '/home/pi/Desktop/images/13012025/13/15/image_13012025_13_15_02_559264_0001.jpg', '/home/pi/Desktop/images/13012025/13/15/image_13012025_13_15_02_559264_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/14/image_13012025_13_14_02_416138_0003.jpg
/home/pi/Desktop/images/13012025/13/15/image_13012025_13_15_02_559264_0000.jpg
/home/pi/Desktop/images/13012025/13/15/image_13012025_13_15_02_559264_0001.jpg
/home/pi/Desktop/images/13012025/13/15/image_13012025_13_15_02_559264_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328632960","1328632963","1328632954","1328632958"],"photo_ids_order":["1328632954","1328632958","1328632960","1328632963"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/71ff61e29fbde41d7c1717e57a20d206.jpg","text":"TemporaryFile(/tmp/multipartBody5786296502379460920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770592532,"filename":"image_13012025_13_15_02_559264_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a104f93b480edcbd129e144eac5ac673.jpg","text":"TemporaryFile(/tmp/multipartBody2938587270479973870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770592532,"filename":"image_13012025_13_15_02_559264_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0b582fac3f4aca2244556528b2e5765f.jpg","text":"TemporaryFile(/tmp/multipartBody7238139955888372788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770592532,"filename":"image_13012025_13_14_02_416138_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2fcff25c45099d2c6595c67a5ec23c1c.jpg","text":"TemporaryFile(/tmp/multipartBody6766108559126006501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770592532,"filename":"image_13012025_13_15_02_559264_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328632960","file1":"1328632958","file0":"1328632954","file3":"1328632963"},"map_files_photo_id_array":[{"photo_id":"1328632960","filename":"file2"},{"photo_id":"1328632958","filename":"file1"},{"photo_id":"1328632954","filename":"file0"},{"photo_id":"1328632963","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328632960":["hashtag1","hashtag2"]},{"1328632963":["hashtag1","hashtag2"]},{"1328632954":["hashtag1","hashtag2"]},{"1328632958":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328632960, 1328632963, 1328632954, 1328632958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.20735478401184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 13:16:03.105345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:16:22.686681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/15/image_13012025_13_15_02_559264_0003.jpg', '/home/pi/Desktop/images/13012025/13/16/image_13012025_13_16_02_804951_0000.jpg', '/home/pi/Desktop/images/13012025/13/16/image_13012025_13_16_02_804951_0001.jpg', '/home/pi/Desktop/images/13012025/13/16/image_13012025_13_16_02_804951_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/15/image_13012025_13_15_02_559264_0003.jpg
/home/pi/Desktop/images/13012025/13/16/image_13012025_13_16_02_804951_0000.jpg
/home/pi/Desktop/images/13012025/13/16/image_13012025_13_16_02_804951_0001.jpg
/home/pi/Desktop/images/13012025/13/16/image_13012025_13_16_02_804951_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328633005","1328632983","1328633001","1328632991"],"photo_ids_order":["1328632983","1328632991","1328633001","1328633005"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3869e8eaba0a2061296bb48bb30f43dd.jpg","text":"TemporaryFile(/tmp/multipartBody7740428364392882257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770652861,"filename":"image_13012025_13_16_02_804951_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/09904d8f1d4c38e88f80ffabded632d4.jpg","text":"TemporaryFile(/tmp/multipartBody4120086730597818972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770652861,"filename":"image_13012025_13_15_02_559264_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6d0f935d69bdb8589223ff91cc3fee54.jpg","text":"TemporaryFile(/tmp/multipartBody1628083521689879171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770652861,"filename":"image_13012025_13_16_02_804951_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b117fd2f4d5d30038d359a3c617ae1f1.jpg","text":"TemporaryFile(/tmp/multipartBody5653991083667132188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770652861,"filename":"image_13012025_13_16_02_804951_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328633001","file1":"1328632991","file0":"1328632983","file3":"1328633005"},"map_files_photo_id_array":[{"photo_id":"1328633001","filename":"file2"},{"photo_id":"1328632991","filename":"file1"},{"photo_id":"1328632983","filename":"file0"},{"photo_id":"1328633005","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328633005":["hashtag1","hashtag2"]},{"1328632983":["hashtag1","hashtag2"]},{"1328633001":["hashtag1","hashtag2"]},{"1328632991":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328633005, 1328632983, 1328633001, 1328632991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.36410164833069 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:17:21.873451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/16/image_13012025_13_16_02_804951_0003.jpg', '/home/pi/Desktop/images/13012025/13/17/image_13012025_13_17_03_054698_0000.jpg', '/home/pi/Desktop/images/13012025/13/17/image_13012025_13_17_03_054698_0001.jpg', '/home/pi/Desktop/images/13012025/13/17/image_13012025_13_17_03_054698_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/16/image_13012025_13_16_02_804951_0003.jpg
/home/pi/Desktop/images/13012025/13/17/image_13012025_13_17_03_054698_0000.jpg
/home/pi/Desktop/images/13012025/13/17/image_13012025_13_17_03_054698_0001.jpg
/home/pi/Desktop/images/13012025/13/17/image_13012025_13_17_03_054698_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328633023","1328633035","1328633027","1328633030"],"photo_ids_order":["1328633023","1328633027","1328633030","1328633035"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eab9d5963066997a8bc51480c67df42d.jpg","text":"TemporaryFile(/tmp/multipartBody4439517233017647019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770711937,"filename":"image_13012025_13_16_02_804951_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/615d7249182097e87e98b4feee0cd87b.jpg","text":"TemporaryFile(/tmp/multipartBody2336084795273040361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770711937,"filename":"image_13012025_13_17_03_054698_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2878369d0ad12e8558209365d72084e1.jpg","text":"TemporaryFile(/tmp/multipartBody3380534572888037962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770711937,"filename":"image_13012025_13_17_03_054698_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/66bb8ff69788879493a4326b5f5ba8e3.jpg","text":"TemporaryFile(/tmp/multipartBody6310396209881982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770711937,"filename":"image_13012025_13_17_03_054698_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328633030","file1":"1328633027","file0":"1328633023","file3":"1328633035"},"map_files_photo_id_array":[{"photo_id":"1328633030","filename":"file2"},{"photo_id":"1328633027","filename":"file1"},{"photo_id":"1328633023","filename":"file0"},{"photo_id":"1328633035","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328633023":["hashtag1","hashtag2"]},{"1328633035":["hashtag1","hashtag2"]},{"1328633027":["hashtag1","hashtag2"]},{"1328633030":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328633023, 1328633035, 1328633027, 1328633030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.0416374206543 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 13:18:02.568792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:18:22.056357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/17/image_13012025_13_17_03_054698_0003.jpg', '/home/pi/Desktop/images/13012025/13/18/image_13012025_13_18_02_213152_0000.jpg', '/home/pi/Desktop/images/13012025/13/18/image_13012025_13_18_02_213152_0001.jpg', '/home/pi/Desktop/images/13012025/13/18/image_13012025_13_18_02_213152_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/17/image_13012025_13_17_03_054698_0003.jpg
/home/pi/Desktop/images/13012025/13/18/image_13012025_13_18_02_213152_0000.jpg
/home/pi/Desktop/images/13012025/13/18/image_13012025_13_18_02_213152_0001.jpg
/home/pi/Desktop/images/13012025/13/18/image_13012025_13_18_02_213152_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328633053","1328633049","1328633063","1328633057"],"photo_ids_order":["1328633049","1328633053","1328633057","1328633063"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/af9c9344647073300978d1dc83071c3c.jpg","text":"TemporaryFile(/tmp/multipartBody4484592291035827594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770772324,"filename":"image_13012025_13_18_02_213152_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/16870d93e7f1f451cbf5a4112717e443.jpg","text":"TemporaryFile(/tmp/multipartBody9121533395336761675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770772324,"filename":"image_13012025_13_17_03_054698_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cabcb2062417509b21e88b1c0f2b442d.jpg","text":"TemporaryFile(/tmp/multipartBody4146549620921809203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770772324,"filename":"image_13012025_13_18_02_213152_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b877b142cb4715bb23a97619a5f6f2c6.jpg","text":"TemporaryFile(/tmp/multipartBody4925632956078837269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770772324,"filename":"image_13012025_13_18_02_213152_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328633057","file1":"1328633053","file0":"1328633049","file3":"1328633063"},"map_files_photo_id_array":[{"photo_id":"1328633057","filename":"file2"},{"photo_id":"1328633053","filename":"file1"},{"photo_id":"1328633049","filename":"file0"},{"photo_id":"1328633063","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328633053":["hashtag1","hashtag2"]},{"1328633049":["hashtag1","hashtag2"]},{"1328633063":["hashtag1","hashtag2"]},{"1328633057":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328633053, 1328633049, 1328633063, 1328633057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.689035415649414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 13:19:02.990652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:19:22.305097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/18/image_13012025_13_18_02_213152_0003.jpg', '/home/pi/Desktop/images/13012025/13/19/image_13012025_13_19_02_407114_0001.jpg', '/home/pi/Desktop/images/13012025/13/19/image_13012025_13_19_02_407114_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/18/image_13012025_13_18_02_213152_0003.jpg
/home/pi/Desktop/images/13012025/13/19/image_13012025_13_19_02_407114_0001.jpg
/home/pi/Desktop/images/13012025/13/19/image_13012025_13_19_02_407114_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328633495","1328633768","1328633249"],"photo_ids_order":["1328633249","1328633495","1328633768"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3bdb65c76331949c52aa473d3830a695.jpg","text":"TemporaryFile(/tmp/multipartBody2820121212657701862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770830022,"filename":"image_13012025_13_19_02_407114_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/135f23c63308aa6ddedb432782e596c6.jpg","text":"TemporaryFile(/tmp/multipartBody8147244908896727319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770830022,"filename":"image_13012025_13_19_02_407114_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d57ea8df1af5e1e10e4b39f6e644f753.jpg","text":"TemporaryFile(/tmp/multipartBody6203856442536018237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770830022,"filename":"image_13012025_13_18_02_213152_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328633768","file1":"1328633495","file0":"1328633249"},"map_files_photo_id_array":[{"photo_id":"1328633768","filename":"file2"},{"photo_id":"1328633495","filename":"file1"},{"photo_id":"1328633249","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328633495":["hashtag1","hashtag2"]},{"1328633768":["hashtag1","hashtag2"]},{"1328633249":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328633495, 1328633768, 1328633249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.53478693962097 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 13:20:02.844521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:20:22.437897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/19/image_13012025_13_19_02_407114_0003.jpg', '/home/pi/Desktop/images/13012025/13/20/image_13012025_13_20_02_574110_0000.jpg', '/home/pi/Desktop/images/13012025/13/20/image_13012025_13_20_02_574110_0001.jpg', '/home/pi/Desktop/images/13012025/13/20/image_13012025_13_20_02_574110_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/19/image_13012025_13_19_02_407114_0003.jpg
/home/pi/Desktop/images/13012025/13/20/image_13012025_13_20_02_574110_0000.jpg
/home/pi/Desktop/images/13012025/13/20/image_13012025_13_20_02_574110_0001.jpg
/home/pi/Desktop/images/13012025/13/20/image_13012025_13_20_02_574110_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328634115","1328634069","1328634018","1328634062"],"photo_ids_order":["1328634018","1328634062","1328634069","1328634115"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1272548e454c52c0fd647e31fb409f3a.jpg","text":"TemporaryFile(/tmp/multipartBody2803006589837230142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770892707,"filename":"image_13012025_13_20_02_574110_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/11a7472f11b6d7bfc3502e5fa9d1694a.jpg","text":"TemporaryFile(/tmp/multipartBody3108441626482679523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770892707,"filename":"image_13012025_13_20_02_574110_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a29542794c8da6aaa8a096806a72b6ba.jpg","text":"TemporaryFile(/tmp/multipartBody4043143252794662264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770892707,"filename":"image_13012025_13_19_02_407114_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8e962b8d4fb13c0980e4d829f109866c.jpg","text":"TemporaryFile(/tmp/multipartBody6044524145291415614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770892707,"filename":"image_13012025_13_20_02_574110_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328634069","file1":"1328634062","file0":"1328634018","file3":"1328634115"},"map_files_photo_id_array":[{"photo_id":"1328634069","filename":"file2"},{"photo_id":"1328634062","filename":"file1"},{"photo_id":"1328634018","filename":"file0"},{"photo_id":"1328634115","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328634115":["hashtag1","hashtag2"]},{"1328634069":["hashtag1","hashtag2"]},{"1328634018":["hashtag1","hashtag2"]},{"1328634062":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328634115, 1328634069, 1328634018, 1328634062)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.75543928146362 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:21:22.599505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/20/image_13012025_13_20_02_574110_0003.jpg', '/home/pi/Desktop/images/13012025/13/21/image_13012025_13_21_02_756619_0000.jpg', '/home/pi/Desktop/images/13012025/13/21/image_13012025_13_21_02_756619_0001.jpg', '/home/pi/Desktop/images/13012025/13/21/image_13012025_13_21_02_756619_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/20/image_13012025_13_20_02_574110_0003.jpg
/home/pi/Desktop/images/13012025/13/21/image_13012025_13_21_02_756619_0000.jpg
/home/pi/Desktop/images/13012025/13/21/image_13012025_13_21_02_756619_0001.jpg
/home/pi/Desktop/images/13012025/13/21/image_13012025_13_21_02_756619_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328634225","1328634228","1328634236","1328634232"],"photo_ids_order":["1328634225","1328634228","1328634232","1328634236"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/244d1fdeacdcee59c710726b4ae5ba0f.jpg","text":"TemporaryFile(/tmp/multipartBody730205553124655358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770952833,"filename":"image_13012025_13_20_02_574110_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c242b92f732ad79b6b61ba20592ecd29.jpg","text":"TemporaryFile(/tmp/multipartBody8797317413729956286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770952833,"filename":"image_13012025_13_21_02_756619_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c9b481a21e19ba7c2cbc51674db1444a.jpg","text":"TemporaryFile(/tmp/multipartBody8490339365777232186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770952833,"filename":"image_13012025_13_21_02_756619_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/af7e19daa0d5e537c6db99f2c6fe63c7.jpg","text":"TemporaryFile(/tmp/multipartBody6521410029174731504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736770952833,"filename":"image_13012025_13_21_02_756619_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328634232","file1":"1328634228","file0":"1328634225","file3":"1328634236"},"map_files_photo_id_array":[{"photo_id":"1328634232","filename":"file2"},{"photo_id":"1328634228","filename":"file1"},{"photo_id":"1328634225","filename":"file0"},{"photo_id":"1328634236","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328634225":["hashtag1","hashtag2"]},{"1328634228":["hashtag1","hashtag2"]},{"1328634236":["hashtag1","hashtag2"]},{"1328634232":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328634225, 1328634228, 1328634236, 1328634232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.27852773666382 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 13:22:03.102275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:22:22.693747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/21/image_13012025_13_21_02_756619_0003.jpg', '/home/pi/Desktop/images/13012025/13/22/image_13012025_13_22_02_907640_0000.jpg', '/home/pi/Desktop/images/13012025/13/22/image_13012025_13_22_02_907640_0001.jpg', '/home/pi/Desktop/images/13012025/13/22/image_13012025_13_22_02_907640_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/21/image_13012025_13_21_02_756619_0003.jpg
/home/pi/Desktop/images/13012025/13/22/image_13012025_13_22_02_907640_0000.jpg
/home/pi/Desktop/images/13012025/13/22/image_13012025_13_22_02_907640_0001.jpg
/home/pi/Desktop/images/13012025/13/22/image_13012025_13_22_02_907640_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.93515658378601 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 13:22:42.689497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/21/image_13012025_13_21_02_756619_0003.jpg', '/home/pi/Desktop/images/13012025/13/22/image_13012025_13_22_02_907640_0000.jpg', '/home/pi/Desktop/images/13012025/13/22/image_13012025_13_22_02_907640_0001.jpg', '/home/pi/Desktop/images/13012025/13/22/image_13012025_13_22_02_907640_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/21/image_13012025_13_21_02_756619_0003.jpg
/home/pi/Desktop/images/13012025/13/22/image_13012025_13_22_02_907640_0000.jpg
/home/pi/Desktop/images/13012025/13/22/image_13012025_13_22_02_907640_0001.jpg
/home/pi/Desktop/images/13012025/13/22/image_13012025_13_22_02_907640_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328634318","1328634311","1328634305","1328634308"],"photo_ids_order":["1328634305","1328634308","1328634311","1328634318"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/04fd541b0a12476f45825b761e40010e.jpg","text":"TemporaryFile(/tmp/multipartBody7434123125408719415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771033118,"filename":"image_13012025_13_22_02_907640_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ec1e71f10a9da97fddd399a0488fdda1.jpg","text":"TemporaryFile(/tmp/multipartBody1276531173893444348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771033118,"filename":"image_13012025_13_22_02_907640_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0722f44c0adab449b9f81de59ddd1dae.jpg","text":"TemporaryFile(/tmp/multipartBody1296844867445049554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771033118,"filename":"image_13012025_13_21_02_756619_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/35a547e3102cffb336b4ca29846dcdb8.jpg","text":"TemporaryFile(/tmp/multipartBody3480285002227709930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771033118,"filename":"image_13012025_13_22_02_907640_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328634311","file1":"1328634308","file0":"1328634305","file3":"1328634318"},"map_files_photo_id_array":[{"photo_id":"1328634311","filename":"file2"},{"photo_id":"1328634308","filename":"file1"},{"photo_id":"1328634305","filename":"file0"},{"photo_id":"1328634318","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328634318":["hashtag1","hashtag2"]},{"1328634311":["hashtag1","hashtag2"]},{"1328634305":["hashtag1","hashtag2"]},{"1328634308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328634318, 1328634311, 1328634305, 1328634308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.313071966171265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 13:23:31.909834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/22/image_13012025_13_22_02_907640_0003.jpg', '/home/pi/Desktop/images/13012025/13/23/image_13012025_13_23_03_032559_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/22/image_13012025_13_22_02_907640_0003.jpg
/home/pi/Desktop/images/13012025/13/23/image_13012025_13_23_03_032559_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328634337","1328634331"],"photo_ids_order":["1328634331","1328634337"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c3a7ee204f86267fbc5a9b0265881fa2.jpg","text":"TemporaryFile(/tmp/multipartBody6356171028318007457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771077328,"filename":"image_13012025_13_23_03_032559_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/50724fbc88491128dbf529351bc57e23.jpg","text":"TemporaryFile(/tmp/multipartBody2426753437199497126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771077328,"filename":"image_13012025_13_22_02_907640_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328634337","file0":"1328634331"},"map_files_photo_id_array":[{"photo_id":"1328634337","filename":"file1"},{"photo_id":"1328634331","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328634337":["hashtag1","hashtag2"]},{"1328634331":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328634337, 1328634331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.640947580337524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 13:24:02.546313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:24:22.156567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/23/image_13012025_13_23_03_032559_0003.jpg', '/home/pi/Desktop/images/13012025/13/24/image_13012025_13_24_02_289849_0000.jpg', '/home/pi/Desktop/images/13012025/13/24/image_13012025_13_24_02_289849_0001.jpg', '/home/pi/Desktop/images/13012025/13/24/image_13012025_13_24_02_289849_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/23/image_13012025_13_23_03_032559_0003.jpg
/home/pi/Desktop/images/13012025/13/24/image_13012025_13_24_02_289849_0000.jpg
/home/pi/Desktop/images/13012025/13/24/image_13012025_13_24_02_289849_0001.jpg
/home/pi/Desktop/images/13012025/13/24/image_13012025_13_24_02_289849_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328634456","1328634450","1328634405","1328634424"],"photo_ids_order":["1328634405","1328634424","1328634450","1328634456"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/505bbca7f5e4d5be9b7777484423ee19.jpg","text":"TemporaryFile(/tmp/multipartBody7325526102728422324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771132283,"filename":"image_13012025_13_24_02_289849_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8d1f4ab0a8b7d577a8b7cff5724c8af9.jpg","text":"TemporaryFile(/tmp/multipartBody182310201014027505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771132283,"filename":"image_13012025_13_24_02_289849_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/536871d39c8db44b7c7770a867211124.jpg","text":"TemporaryFile(/tmp/multipartBody666044096127246483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771132283,"filename":"image_13012025_13_23_03_032559_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2c182630d4c6dfffa6c7f83a3324a829.jpg","text":"TemporaryFile(/tmp/multipartBody912725869653124068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771132283,"filename":"image_13012025_13_24_02_289849_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328634450","file1":"1328634424","file0":"1328634405","file3":"1328634456"},"map_files_photo_id_array":[{"photo_id":"1328634450","filename":"file2"},{"photo_id":"1328634424","filename":"file1"},{"photo_id":"1328634405","filename":"file0"},{"photo_id":"1328634456","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328634456":["hashtag1","hashtag2"]},{"1328634450":["hashtag1","hashtag2"]},{"1328634405":["hashtag1","hashtag2"]},{"1328634424":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328634456, 1328634450, 1328634405, 1328634424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.913681745529175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 13:25:02.907746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:25:22.249460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/24/image_13012025_13_24_02_289849_0003.jpg', '/home/pi/Desktop/images/13012025/13/25/image_13012025_13_25_02_484327_0000.jpg', '/home/pi/Desktop/images/13012025/13/25/image_13012025_13_25_02_484327_0001.jpg', '/home/pi/Desktop/images/13012025/13/25/image_13012025_13_25_02_484327_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/24/image_13012025_13_24_02_289849_0003.jpg
/home/pi/Desktop/images/13012025/13/25/image_13012025_13_25_02_484327_0000.jpg
/home/pi/Desktop/images/13012025/13/25/image_13012025_13_25_02_484327_0001.jpg
/home/pi/Desktop/images/13012025/13/25/image_13012025_13_25_02_484327_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328634511","1328634505","1328634517","1328634509"],"photo_ids_order":["1328634505","1328634509","1328634511","1328634517"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5b6310cfcca8ca10f36c972312804e93.jpg","text":"TemporaryFile(/tmp/multipartBody9055115289023820037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771192635,"filename":"image_13012025_13_25_02_484327_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/41c013ab2767b6d32371ff9b5b255240.jpg","text":"TemporaryFile(/tmp/multipartBody7167429318892142090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771192635,"filename":"image_13012025_13_24_02_289849_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5de843a352f523bedbad50afcb91c57b.jpg","text":"TemporaryFile(/tmp/multipartBody3561640330596193501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771192635,"filename":"image_13012025_13_25_02_484327_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d1f1f0dde48ff6d1b64c3cbbc70ab805.jpg","text":"TemporaryFile(/tmp/multipartBody3788893459018556187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771192635,"filename":"image_13012025_13_25_02_484327_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328634511","file1":"1328634509","file0":"1328634505","file3":"1328634517"},"map_files_photo_id_array":[{"photo_id":"1328634511","filename":"file2"},{"photo_id":"1328634509","filename":"file1"},{"photo_id":"1328634505","filename":"file0"},{"photo_id":"1328634517","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328634511":["hashtag1","hashtag2"]},{"1328634505":["hashtag1","hashtag2"]},{"1328634517":["hashtag1","hashtag2"]},{"1328634509":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328634511, 1328634505, 1328634517, 1328634509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.71535801887512 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:26:22.516697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/25/image_13012025_13_25_02_484327_0003.jpg', '/home/pi/Desktop/images/13012025/13/26/image_13012025_13_26_02_615896_0000.jpg', '/home/pi/Desktop/images/13012025/13/26/image_13012025_13_26_02_615896_0001.jpg', '/home/pi/Desktop/images/13012025/13/26/image_13012025_13_26_02_615896_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/25/image_13012025_13_25_02_484327_0003.jpg
/home/pi/Desktop/images/13012025/13/26/image_13012025_13_26_02_615896_0000.jpg
/home/pi/Desktop/images/13012025/13/26/image_13012025_13_26_02_615896_0001.jpg
/home/pi/Desktop/images/13012025/13/26/image_13012025_13_26_02_615896_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.745667219161987 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 13:26:42.519315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/25/image_13012025_13_25_02_484327_0003.jpg', '/home/pi/Desktop/images/13012025/13/26/image_13012025_13_26_02_615896_0000.jpg', '/home/pi/Desktop/images/13012025/13/26/image_13012025_13_26_02_615896_0001.jpg', '/home/pi/Desktop/images/13012025/13/26/image_13012025_13_26_02_615896_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/25/image_13012025_13_25_02_484327_0003.jpg
/home/pi/Desktop/images/13012025/13/26/image_13012025_13_26_02_615896_0000.jpg
/home/pi/Desktop/images/13012025/13/26/image_13012025_13_26_02_615896_0001.jpg
/home/pi/Desktop/images/13012025/13/26/image_13012025_13_26_02_615896_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328634646","1328634633","1328634640","1328634643"],"photo_ids_order":["1328634633","1328634640","1328634643","1328634646"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/80062bc86e1b14b4cc5adfebf3b37c21.jpg","text":"TemporaryFile(/tmp/multipartBody7658302594780685450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771272670,"filename":"image_13012025_13_26_02_615896_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f6d3b944c36eee47fda4dbedbb1e534e.jpg","text":"TemporaryFile(/tmp/multipartBody1829398988110536953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771272670,"filename":"image_13012025_13_25_02_484327_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fbd8df8ff0361ba5a7f4d44c3c61a1cd.jpg","text":"TemporaryFile(/tmp/multipartBody3212431847927306985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771272670,"filename":"image_13012025_13_26_02_615896_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e36b298fe7336de9f0c1bf1c3f3c056b.jpg","text":"TemporaryFile(/tmp/multipartBody2378864750374751758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771272670,"filename":"image_13012025_13_26_02_615896_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328634643","file1":"1328634640","file0":"1328634633","file3":"1328634646"},"map_files_photo_id_array":[{"photo_id":"1328634643","filename":"file2"},{"photo_id":"1328634640","filename":"file1"},{"photo_id":"1328634633","filename":"file0"},{"photo_id":"1328634646","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328634646":["hashtag1","hashtag2"]},{"1328634633":["hashtag1","hashtag2"]},{"1328634640":["hashtag1","hashtag2"]},{"1328634643":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328634646, 1328634633, 1328634640, 1328634643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.441704511642456 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 13:27:32.693564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/26/image_13012025_13_26_02_615896_0003.jpg', '/home/pi/Desktop/images/13012025/13/27/image_13012025_13_27_02_873163_0000.jpg', '/home/pi/Desktop/images/13012025/13/27/image_13012025_13_27_02_873163_0001.jpg', '/home/pi/Desktop/images/13012025/13/27/image_13012025_13_27_02_873163_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/26/image_13012025_13_26_02_615896_0003.jpg
/home/pi/Desktop/images/13012025/13/27/image_13012025_13_27_02_873163_0000.jpg
/home/pi/Desktop/images/13012025/13/27/image_13012025_13_27_02_873163_0001.jpg
/home/pi/Desktop/images/13012025/13/27/image_13012025_13_27_02_873163_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328634677","1328634673","1328634667","1328634682"],"photo_ids_order":["1328634667","1328634673","1328634677","1328634682"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1ec3d6f99b68c353b65e1b9d1200865b.jpg","text":"TemporaryFile(/tmp/multipartBody3112663666342903976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771322895,"filename":"image_13012025_13_27_02_873163_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/466e36ebcbc38fe2f5c9794f50962f26.jpg","text":"TemporaryFile(/tmp/multipartBody4742389545551604080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771322895,"filename":"image_13012025_13_27_02_873163_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a0bab8b15556fed6267aa2e98380b191.jpg","text":"TemporaryFile(/tmp/multipartBody6753575405613706683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771322895,"filename":"image_13012025_13_26_02_615896_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8ce8ae68d05bf20462c6ed6b3c088544.jpg","text":"TemporaryFile(/tmp/multipartBody1137577720992931893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771322895,"filename":"image_13012025_13_27_02_873163_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328634677","file1":"1328634673","file0":"1328634667","file3":"1328634682"},"map_files_photo_id_array":[{"photo_id":"1328634677","filename":"file2"},{"photo_id":"1328634673","filename":"file1"},{"photo_id":"1328634667","filename":"file0"},{"photo_id":"1328634682","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328634677":["hashtag1","hashtag2"]},{"1328634673":["hashtag1","hashtag2"]},{"1328634667":["hashtag1","hashtag2"]},{"1328634682":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328634677, 1328634673, 1328634667, 1328634682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.49309468269348 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:28:22.000201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/27/image_13012025_13_27_02_873163_0003.jpg', '/home/pi/Desktop/images/13012025/13/28/image_13012025_13_28_03_070765_0000.jpg', '/home/pi/Desktop/images/13012025/13/28/image_13012025_13_28_03_070765_0001.jpg', '/home/pi/Desktop/images/13012025/13/28/image_13012025_13_28_03_070765_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/27/image_13012025_13_27_02_873163_0003.jpg
/home/pi/Desktop/images/13012025/13/28/image_13012025_13_28_03_070765_0000.jpg
/home/pi/Desktop/images/13012025/13/28/image_13012025_13_28_03_070765_0001.jpg
/home/pi/Desktop/images/13012025/13/28/image_13012025_13_28_03_070765_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328634894","1328634906","1328634872","1328634902"],"photo_ids_order":["1328634872","1328634894","1328634902","1328634906"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/17d6787b8404d00faa63725099ff6045.jpg","text":"TemporaryFile(/tmp/multipartBody6347628602584862069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771372321,"filename":"image_13012025_13_28_03_070765_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/16626eea010d1a347d3125d2be555c26.jpg","text":"TemporaryFile(/tmp/multipartBody7566315034919309509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771372321,"filename":"image_13012025_13_28_03_070765_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7402e11d20cb7794a0f80cbf096fd959.jpg","text":"TemporaryFile(/tmp/multipartBody4568614156875208585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771372321,"filename":"image_13012025_13_27_02_873163_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/713224587a52564683796aa73213c049.jpg","text":"TemporaryFile(/tmp/multipartBody2570212064050797509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771372321,"filename":"image_13012025_13_28_03_070765_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328634902","file1":"1328634894","file0":"1328634872","file3":"1328634906"},"map_files_photo_id_array":[{"photo_id":"1328634902","filename":"file2"},{"photo_id":"1328634894","filename":"file1"},{"photo_id":"1328634872","filename":"file0"},{"photo_id":"1328634906","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328634894":["hashtag1","hashtag2"]},{"1328634906":["hashtag1","hashtag2"]},{"1328634872":["hashtag1","hashtag2"]},{"1328634902":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328634894, 1328634906, 1328634872, 1328634902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.378458976745605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:29:22.291470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/28/image_13012025_13_28_03_070765_0003.jpg', '/home/pi/Desktop/images/13012025/13/29/image_13012025_13_29_02_223214_0000.jpg', '/home/pi/Desktop/images/13012025/13/29/image_13012025_13_29_02_223214_0001.jpg', '/home/pi/Desktop/images/13012025/13/29/image_13012025_13_29_02_223214_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/28/image_13012025_13_28_03_070765_0003.jpg
/home/pi/Desktop/images/13012025/13/29/image_13012025_13_29_02_223214_0000.jpg
/home/pi/Desktop/images/13012025/13/29/image_13012025_13_29_02_223214_0001.jpg
/home/pi/Desktop/images/13012025/13/29/image_13012025_13_29_02_223214_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328634960","1328634957","1328634953","1328634962"],"photo_ids_order":["1328634953","1328634957","1328634960","1328634962"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c0a1f32f5b54ef8107e2e80adf49d6e3.jpg","text":"TemporaryFile(/tmp/multipartBody1610989792443386195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771432469,"filename":"image_13012025_13_29_02_223214_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/71a4ea17f2ae14cb139c0408aa1eb2e4.jpg","text":"TemporaryFile(/tmp/multipartBody1713447654619548186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771432469,"filename":"image_13012025_13_29_02_223214_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/038f3fbc386e5d0201c7909083cbbe57.jpg","text":"TemporaryFile(/tmp/multipartBody1936438102675009263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771432469,"filename":"image_13012025_13_28_03_070765_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/df4d2ac13ec63ffc5470c97c27c72698.jpg","text":"TemporaryFile(/tmp/multipartBody7166270885047056094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771432469,"filename":"image_13012025_13_29_02_223214_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328634960","file1":"1328634957","file0":"1328634953","file3":"1328634962"},"map_files_photo_id_array":[{"photo_id":"1328634960","filename":"file2"},{"photo_id":"1328634957","filename":"file1"},{"photo_id":"1328634953","filename":"file0"},{"photo_id":"1328634962","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328634960":["hashtag1","hashtag2"]},{"1328634957":["hashtag1","hashtag2"]},{"1328634953":["hashtag1","hashtag2"]},{"1328634962":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328634960, 1328634957, 1328634953, 1328634962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.79886174201965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 13:30:02.811101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:30:22.417802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/29/image_13012025_13_29_02_223214_0003.jpg', '/home/pi/Desktop/images/13012025/13/30/image_13012025_13_30_02_579942_0000.jpg', '/home/pi/Desktop/images/13012025/13/30/image_13012025_13_30_02_579942_0001.jpg', '/home/pi/Desktop/images/13012025/13/30/image_13012025_13_30_02_579942_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/29/image_13012025_13_29_02_223214_0003.jpg
/home/pi/Desktop/images/13012025/13/30/image_13012025_13_30_02_579942_0000.jpg
/home/pi/Desktop/images/13012025/13/30/image_13012025_13_30_02_579942_0001.jpg
/home/pi/Desktop/images/13012025/13/30/image_13012025_13_30_02_579942_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328635067","1328635301","1328635174","1328635252"],"photo_ids_order":["1328635067","1328635174","1328635252","1328635301"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5eaaff9373b7143c6ab63b944c757acf.jpg","text":"TemporaryFile(/tmp/multipartBody5275555445418470703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771492781,"filename":"image_13012025_13_29_02_223214_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1dff5dba31dc3e0bff9254a77d739399.jpg","text":"TemporaryFile(/tmp/multipartBody4304180159148071736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771492781,"filename":"image_13012025_13_30_02_579942_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/58bf966e4ce4df2a457edc3c258a6b4f.jpg","text":"TemporaryFile(/tmp/multipartBody1253490665197680677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771492781,"filename":"image_13012025_13_30_02_579942_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/76185ebdd06759931eec81aca51b09c1.jpg","text":"TemporaryFile(/tmp/multipartBody4270173740826043855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771492781,"filename":"image_13012025_13_30_02_579942_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328635252","file1":"1328635174","file0":"1328635067","file3":"1328635301"},"map_files_photo_id_array":[{"photo_id":"1328635252","filename":"file2"},{"photo_id":"1328635174","filename":"file1"},{"photo_id":"1328635067","filename":"file0"},{"photo_id":"1328635301","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328635067":["hashtag1","hashtag2"]},{"1328635301":["hashtag1","hashtag2"]},{"1328635174":["hashtag1","hashtag2"]},{"1328635252":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328635067, 1328635301, 1328635174, 1328635252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.567097425460815 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:31:22.562783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/30/image_13012025_13_30_02_579942_0003.jpg', '/home/pi/Desktop/images/13012025/13/31/image_13012025_13_31_02_715322_0000.jpg', '/home/pi/Desktop/images/13012025/13/31/image_13012025_13_31_02_715322_0001.jpg', '/home/pi/Desktop/images/13012025/13/31/image_13012025_13_31_02_715322_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/30/image_13012025_13_30_02_579942_0003.jpg
/home/pi/Desktop/images/13012025/13/31/image_13012025_13_31_02_715322_0000.jpg
/home/pi/Desktop/images/13012025/13/31/image_13012025_13_31_02_715322_0001.jpg
/home/pi/Desktop/images/13012025/13/31/image_13012025_13_31_02_715322_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328635379","1328635370","1328635390","1328635420"],"photo_ids_order":["1328635370","1328635379","1328635390","1328635420"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/76ab49be4fee5015e7142428d7f9333c.jpg","text":"TemporaryFile(/tmp/multipartBody9051305825817237724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771552767,"filename":"image_13012025_13_31_02_715322_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/75296b17015256dd45b9993c6fccce94.jpg","text":"TemporaryFile(/tmp/multipartBody3915798691187291823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771552767,"filename":"image_13012025_13_30_02_579942_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f62173a1cc6835e1592e2e0cb95b580a.jpg","text":"TemporaryFile(/tmp/multipartBody2166225189812201699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771552767,"filename":"image_13012025_13_31_02_715322_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/446051362b172c62a2c4ba33e1583435.jpg","text":"TemporaryFile(/tmp/multipartBody2657376933727435081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771552767,"filename":"image_13012025_13_31_02_715322_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328635390","file1":"1328635379","file0":"1328635370","file3":"1328635420"},"map_files_photo_id_array":[{"photo_id":"1328635390","filename":"file2"},{"photo_id":"1328635379","filename":"file1"},{"photo_id":"1328635370","filename":"file0"},{"photo_id":"1328635420","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328635379":["hashtag1","hashtag2"]},{"1328635370":["hashtag1","hashtag2"]},{"1328635390":["hashtag1","hashtag2"]},{"1328635420":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328635379, 1328635370, 1328635390, 1328635420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.07361102104187 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 13:32:03.183041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:32:22.704162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/31/image_13012025_13_31_02_715322_0003.jpg', '/home/pi/Desktop/images/13012025/13/32/image_13012025_13_32_02_870518_0000.jpg', '/home/pi/Desktop/images/13012025/13/32/image_13012025_13_32_02_870518_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/31/image_13012025_13_31_02_715322_0003.jpg
/home/pi/Desktop/images/13012025/13/32/image_13012025_13_32_02_870518_0000.jpg
/home/pi/Desktop/images/13012025/13/32/image_13012025_13_32_02_870518_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328635519","1328635510","1328635513"],"photo_ids_order":["1328635510","1328635513","1328635519"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/282aa7e06d0e0ded8dc6252d96fb5440.jpg","text":"TemporaryFile(/tmp/multipartBody8951966038763533931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771610597,"filename":"image_13012025_13_32_02_870518_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8ca05325910f71b07a2b4f8403fe8cda.jpg","text":"TemporaryFile(/tmp/multipartBody2645495860130275101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771610597,"filename":"image_13012025_13_31_02_715322_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7324be4da357de7c90b9185918fa818a.jpg","text":"TemporaryFile(/tmp/multipartBody1293350267021156124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771610597,"filename":"image_13012025_13_32_02_870518_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328635519","file1":"1328635513","file0":"1328635510"},"map_files_photo_id_array":[{"photo_id":"1328635519","filename":"file2"},{"photo_id":"1328635513","filename":"file1"},{"photo_id":"1328635510","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328635519":["hashtag1","hashtag2"]},{"1328635510":["hashtag1","hashtag2"]},{"1328635513":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328635519, 1328635510, 1328635513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.270231008529663 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 13:33:02.577505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:33:22.051901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/32/image_13012025_13_32_02_870518_0003.jpg', '/home/pi/Desktop/images/13012025/13/33/image_13012025_13_33_03_046144_0000.jpg', '/home/pi/Desktop/images/13012025/13/33/image_13012025_13_33_03_046144_0001.jpg', '/home/pi/Desktop/images/13012025/13/33/image_13012025_13_33_03_046144_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/32/image_13012025_13_32_02_870518_0003.jpg
/home/pi/Desktop/images/13012025/13/33/image_13012025_13_33_03_046144_0000.jpg
/home/pi/Desktop/images/13012025/13/33/image_13012025_13_33_03_046144_0001.jpg
/home/pi/Desktop/images/13012025/13/33/image_13012025_13_33_03_046144_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328635584","1328635580","1328635577","1328635573"],"photo_ids_order":["1328635573","1328635577","1328635580","1328635584"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/99171b39263d5cdc6a2d40e753dc5955.jpg","text":"TemporaryFile(/tmp/multipartBody6065831563959151442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771672425,"filename":"image_13012025_13_33_03_046144_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e12ac2cb68988c1806b1184130465760.jpg","text":"TemporaryFile(/tmp/multipartBody406230540447547480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771672425,"filename":"image_13012025_13_33_03_046144_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5d8302d8384d177fec7bea7ed6902b4c.jpg","text":"TemporaryFile(/tmp/multipartBody2753162627993582944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771672425,"filename":"image_13012025_13_33_03_046144_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f2728d5659dcf5540bbe06f340374354.jpg","text":"TemporaryFile(/tmp/multipartBody856386835255525264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771672425,"filename":"image_13012025_13_32_02_870518_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328635580","file1":"1328635577","file0":"1328635573","file3":"1328635584"},"map_files_photo_id_array":[{"photo_id":"1328635580","filename":"file2"},{"photo_id":"1328635577","filename":"file1"},{"photo_id":"1328635573","filename":"file0"},{"photo_id":"1328635584","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328635584":["hashtag1","hashtag2"]},{"1328635580":["hashtag1","hashtag2"]},{"1328635577":["hashtag1","hashtag2"]},{"1328635573":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328635584, 1328635580, 1328635577, 1328635573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.255412340164185 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 13:34:02.419041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:34:22.128097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/33/image_13012025_13_33_03_046144_0003.jpg', '/home/pi/Desktop/images/13012025/13/34/image_13012025_13_34_02_261900_0000.jpg', '/home/pi/Desktop/images/13012025/13/34/image_13012025_13_34_02_261900_0001.jpg', '/home/pi/Desktop/images/13012025/13/34/image_13012025_13_34_02_261900_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/33/image_13012025_13_33_03_046144_0003.jpg
/home/pi/Desktop/images/13012025/13/34/image_13012025_13_34_02_261900_0000.jpg
/home/pi/Desktop/images/13012025/13/34/image_13012025_13_34_02_261900_0001.jpg
/home/pi/Desktop/images/13012025/13/34/image_13012025_13_34_02_261900_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.92972993850708 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 13:34:42.057747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/33/image_13012025_13_33_03_046144_0003.jpg', '/home/pi/Desktop/images/13012025/13/34/image_13012025_13_34_02_261900_0000.jpg', '/home/pi/Desktop/images/13012025/13/34/image_13012025_13_34_02_261900_0001.jpg', '/home/pi/Desktop/images/13012025/13/34/image_13012025_13_34_02_261900_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/33/image_13012025_13_33_03_046144_0003.jpg
/home/pi/Desktop/images/13012025/13/34/image_13012025_13_34_02_261900_0000.jpg
/home/pi/Desktop/images/13012025/13/34/image_13012025_13_34_02_261900_0001.jpg
/home/pi/Desktop/images/13012025/13/34/image_13012025_13_34_02_261900_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328636448","1328636455","1328636451","1328636445"],"photo_ids_order":["1328636445","1328636448","1328636451","1328636455"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6107c08a9d98573f5293ba7d297d9ac1.jpg","text":"TemporaryFile(/tmp/multipartBody3022724981540057363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771752426,"filename":"image_13012025_13_34_02_261900_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f5371e4c506cb939641d759797b34b78.jpg","text":"TemporaryFile(/tmp/multipartBody1157237871517144991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771752426,"filename":"image_13012025_13_34_02_261900_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f02a9daad77d3cea295a73972302c8d5.jpg","text":"TemporaryFile(/tmp/multipartBody7056548022500109621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771752426,"filename":"image_13012025_13_34_02_261900_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e6d5c150e6d1004597161e2283c462c5.jpg","text":"TemporaryFile(/tmp/multipartBody8531602752071612501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771752426,"filename":"image_13012025_13_33_03_046144_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328636451","file1":"1328636448","file0":"1328636445","file3":"1328636455"},"map_files_photo_id_array":[{"photo_id":"1328636451","filename":"file2"},{"photo_id":"1328636448","filename":"file1"},{"photo_id":"1328636445","filename":"file0"},{"photo_id":"1328636455","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328636448":["hashtag1","hashtag2"]},{"1328636455":["hashtag1","hashtag2"]},{"1328636451":["hashtag1","hashtag2"]},{"1328636445":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328636448, 1328636455, 1328636451, 1328636445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.115987062454224 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:35:22.268853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/34/image_13012025_13_34_02_261900_0003.jpg', '/home/pi/Desktop/images/13012025/13/35/image_13012025_13_35_02_396653_0000.jpg', '/home/pi/Desktop/images/13012025/13/35/image_13012025_13_35_02_396653_0001.jpg', '/home/pi/Desktop/images/13012025/13/35/image_13012025_13_35_02_396653_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/34/image_13012025_13_34_02_261900_0003.jpg
/home/pi/Desktop/images/13012025/13/35/image_13012025_13_35_02_396653_0000.jpg
/home/pi/Desktop/images/13012025/13/35/image_13012025_13_35_02_396653_0001.jpg
/home/pi/Desktop/images/13012025/13/35/image_13012025_13_35_02_396653_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328636730","1328636666","1328636669","1328636661"],"photo_ids_order":["1328636661","1328636666","1328636669","1328636730"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e1c7bcaaf9620515ba20481f0754fdbd.jpg","text":"TemporaryFile(/tmp/multipartBody9115962462321772137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771792534,"filename":"image_13012025_13_35_02_396653_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d13a3cc09f7337fa136a60b049c735e0.jpg","text":"TemporaryFile(/tmp/multipartBody2825725498841827516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771792534,"filename":"image_13012025_13_35_02_396653_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d0639516e3cbd923bc051cff16221b9d.jpg","text":"TemporaryFile(/tmp/multipartBody1471562166680151195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771792534,"filename":"image_13012025_13_35_02_396653_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7d7d572952fcf0773a28d5e06925a71b.jpg","text":"TemporaryFile(/tmp/multipartBody3138111661943625604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771792534,"filename":"image_13012025_13_34_02_261900_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328636669","file1":"1328636666","file0":"1328636661","file3":"1328636730"},"map_files_photo_id_array":[{"photo_id":"1328636669","filename":"file2"},{"photo_id":"1328636666","filename":"file1"},{"photo_id":"1328636661","filename":"file0"},{"photo_id":"1328636730","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328636730":["hashtag1","hashtag2"]},{"1328636666":["hashtag1","hashtag2"]},{"1328636669":["hashtag1","hashtag2"]},{"1328636661":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328636730, 1328636666, 1328636669, 1328636661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.4483540058136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 13:36:02.854693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:36:22.512888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/35/image_13012025_13_35_02_396653_0003.jpg', '/home/pi/Desktop/images/13012025/13/36/image_13012025_13_36_02_575285_0000.jpg', '/home/pi/Desktop/images/13012025/13/36/image_13012025_13_36_02_575285_0001.jpg', '/home/pi/Desktop/images/13012025/13/36/image_13012025_13_36_02_575285_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/35/image_13012025_13_35_02_396653_0003.jpg
/home/pi/Desktop/images/13012025/13/36/image_13012025_13_36_02_575285_0000.jpg
/home/pi/Desktop/images/13012025/13/36/image_13012025_13_36_02_575285_0001.jpg
/home/pi/Desktop/images/13012025/13/36/image_13012025_13_36_02_575285_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328636828","1328636824","1328636832","1328636820"],"photo_ids_order":["1328636820","1328636824","1328636828","1328636832"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6f97857229940058588fc828d5e0c469.jpg","text":"TemporaryFile(/tmp/multipartBody6690809678339579227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771852771,"filename":"image_13012025_13_36_02_575285_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/22144132ed9d13a52020f729de16287d.jpg","text":"TemporaryFile(/tmp/multipartBody3131470672899338171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771852771,"filename":"image_13012025_13_36_02_575285_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b6eb74d0dfa68e1e221b4f024af50dfb.jpg","text":"TemporaryFile(/tmp/multipartBody3382423311914529444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771852771,"filename":"image_13012025_13_36_02_575285_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bf9420dc792ab428e7e7652056129eb3.jpg","text":"TemporaryFile(/tmp/multipartBody899214270418512384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771852771,"filename":"image_13012025_13_35_02_396653_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328636828","file1":"1328636824","file0":"1328636820","file3":"1328636832"},"map_files_photo_id_array":[{"photo_id":"1328636828","filename":"file2"},{"photo_id":"1328636824","filename":"file1"},{"photo_id":"1328636820","filename":"file0"},{"photo_id":"1328636832","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328636828":["hashtag1","hashtag2"]},{"1328636824":["hashtag1","hashtag2"]},{"1328636832":["hashtag1","hashtag2"]},{"1328636820":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328636828, 1328636824, 1328636832, 1328636820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.967753648757935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 13:37:03.289160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:37:22.604824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/36/image_13012025_13_36_02_575285_0003.jpg', '/home/pi/Desktop/images/13012025/13/37/image_13012025_13_37_02_795222_0000.jpg', '/home/pi/Desktop/images/13012025/13/37/image_13012025_13_37_02_795222_0001.jpg', '/home/pi/Desktop/images/13012025/13/37/image_13012025_13_37_02_795222_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/36/image_13012025_13_36_02_575285_0003.jpg
/home/pi/Desktop/images/13012025/13/37/image_13012025_13_37_02_795222_0000.jpg
/home/pi/Desktop/images/13012025/13/37/image_13012025_13_37_02_795222_0001.jpg
/home/pi/Desktop/images/13012025/13/37/image_13012025_13_37_02_795222_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328636852","1328636878","1328636857","1328636874"],"photo_ids_order":["1328636852","1328636857","1328636874","1328636878"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/380bb7d578797733c337c77ff5561a5a.jpg","text":"TemporaryFile(/tmp/multipartBody1036992202631536983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771912732,"filename":"image_13012025_13_36_02_575285_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9451a73f6268f19bcd659a3b1546abdc.jpg","text":"TemporaryFile(/tmp/multipartBody5964142131950760451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771912732,"filename":"image_13012025_13_37_02_795222_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f20fc50163e35f5eb05eaf605fa04589.jpg","text":"TemporaryFile(/tmp/multipartBody5470485958973249225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771912732,"filename":"image_13012025_13_37_02_795222_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/02c34dd2070c0f8a79c35d41207c65c2.jpg","text":"TemporaryFile(/tmp/multipartBody5687248398449040131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771912732,"filename":"image_13012025_13_37_02_795222_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328636874","file1":"1328636857","file0":"1328636852","file3":"1328636878"},"map_files_photo_id_array":[{"photo_id":"1328636874","filename":"file2"},{"photo_id":"1328636857","filename":"file1"},{"photo_id":"1328636852","filename":"file0"},{"photo_id":"1328636878","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328636852":["hashtag1","hashtag2"]},{"1328636878":["hashtag1","hashtag2"]},{"1328636857":["hashtag1","hashtag2"]},{"1328636874":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328636852, 1328636878, 1328636857, 1328636874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.93740940093994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:38:21.849445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/37/image_13012025_13_37_02_795222_0003.jpg', '/home/pi/Desktop/images/13012025/13/38/image_13012025_13_38_03_012959_0000.jpg', '/home/pi/Desktop/images/13012025/13/38/image_13012025_13_38_03_012959_0001.jpg', '/home/pi/Desktop/images/13012025/13/38/image_13012025_13_38_03_012959_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/37/image_13012025_13_37_02_795222_0003.jpg
/home/pi/Desktop/images/13012025/13/38/image_13012025_13_38_03_012959_0000.jpg
/home/pi/Desktop/images/13012025/13/38/image_13012025_13_38_03_012959_0001.jpg
/home/pi/Desktop/images/13012025/13/38/image_13012025_13_38_03_012959_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328636899","1328636903","1328636895","1328636908"],"photo_ids_order":["1328636895","1328636899","1328636903","1328636908"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6885f84d27c09168c2e4f6265b422d5a.jpg","text":"TemporaryFile(/tmp/multipartBody8337778627160700046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771972128,"filename":"image_13012025_13_38_03_012959_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c1911ff11f8bd705277a152b4f961f92.jpg","text":"TemporaryFile(/tmp/multipartBody2822699672809419797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771972128,"filename":"image_13012025_13_38_03_012959_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/42b2a3478279b525e1fa73e10071a8d2.jpg","text":"TemporaryFile(/tmp/multipartBody9087965048668092996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771972128,"filename":"image_13012025_13_37_02_795222_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4cf5139c78c5ff548df305a023daf424.jpg","text":"TemporaryFile(/tmp/multipartBody4795980579118820699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736771972128,"filename":"image_13012025_13_38_03_012959_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328636903","file1":"1328636899","file0":"1328636895","file3":"1328636908"},"map_files_photo_id_array":[{"photo_id":"1328636903","filename":"file2"},{"photo_id":"1328636899","filename":"file1"},{"photo_id":"1328636895","filename":"file0"},{"photo_id":"1328636908","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328636899":["hashtag1","hashtag2"]},{"1328636903":["hashtag1","hashtag2"]},{"1328636895":["hashtag1","hashtag2"]},{"1328636908":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328636899, 1328636903, 1328636895, 1328636908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.327417612075806 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 13:39:02.500410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:39:21.934413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/38/image_13012025_13_38_03_012959_0003.jpg', '/home/pi/Desktop/images/13012025/13/39/image_13012025_13_39_02_165481_0000.jpg', '/home/pi/Desktop/images/13012025/13/39/image_13012025_13_39_02_165481_0001.jpg', '/home/pi/Desktop/images/13012025/13/39/image_13012025_13_39_02_165481_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/38/image_13012025_13_38_03_012959_0003.jpg
/home/pi/Desktop/images/13012025/13/39/image_13012025_13_39_02_165481_0000.jpg
/home/pi/Desktop/images/13012025/13/39/image_13012025_13_39_02_165481_0001.jpg
/home/pi/Desktop/images/13012025/13/39/image_13012025_13_39_02_165481_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328636942","1328636939","1328636946","1328636934"],"photo_ids_order":["1328636934","1328636939","1328636942","1328636946"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2d18f6438f0a3f60a873d75caafd55e3.jpg","text":"TemporaryFile(/tmp/multipartBody8888070541678388449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772032085,"filename":"image_13012025_13_39_02_165481_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a871824bcb28b9323ada252e9ebb348c.jpg","text":"TemporaryFile(/tmp/multipartBody6001439898837569650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772032085,"filename":"image_13012025_13_39_02_165481_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4d9bb0898b7ff29b0fffde37103c875e.jpg","text":"TemporaryFile(/tmp/multipartBody8912407285372461652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772032085,"filename":"image_13012025_13_39_02_165481_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ba8fede2cff2b8ba6a9dded221116adb.jpg","text":"TemporaryFile(/tmp/multipartBody5615821591285176797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772032085,"filename":"image_13012025_13_38_03_012959_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328636942","file1":"1328636939","file0":"1328636934","file3":"1328636946"},"map_files_photo_id_array":[{"photo_id":"1328636942","filename":"file2"},{"photo_id":"1328636939","filename":"file1"},{"photo_id":"1328636934","filename":"file0"},{"photo_id":"1328636946","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328636942":["hashtag1","hashtag2"]},{"1328636939":["hashtag1","hashtag2"]},{"1328636946":["hashtag1","hashtag2"]},{"1328636934":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328636942, 1328636939, 1328636946, 1328636934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.763529777526855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:40:22.155217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/39/image_13012025_13_39_02_165481_0003.jpg', '/home/pi/Desktop/images/13012025/13/40/image_13012025_13_40_02_329722_0000.jpg', '/home/pi/Desktop/images/13012025/13/40/image_13012025_13_40_02_329722_0001.jpg', '/home/pi/Desktop/images/13012025/13/40/image_13012025_13_40_02_329722_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/39/image_13012025_13_39_02_165481_0003.jpg
/home/pi/Desktop/images/13012025/13/40/image_13012025_13_40_02_329722_0000.jpg
/home/pi/Desktop/images/13012025/13/40/image_13012025_13_40_02_329722_0001.jpg
/home/pi/Desktop/images/13012025/13/40/image_13012025_13_40_02_329722_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328636978","1328636980","1328636991","1328636985"],"photo_ids_order":["1328636978","1328636980","1328636985","1328636991"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e5b49308a9fe53676013802369b11e71.jpg","text":"TemporaryFile(/tmp/multipartBody1315065788183314868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772092305,"filename":"image_13012025_13_39_02_165481_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b263aeccfb885091c2fc5511cd7af4f2.jpg","text":"TemporaryFile(/tmp/multipartBody1259835749768847128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772092305,"filename":"image_13012025_13_40_02_329722_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/178a8c8c1df9be98f483234ce20e39ba.jpg","text":"TemporaryFile(/tmp/multipartBody7762285837062127509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772092305,"filename":"image_13012025_13_40_02_329722_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0689ab17484f78a48ada13a56cff8ac4.jpg","text":"TemporaryFile(/tmp/multipartBody9025808329216123412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772092305,"filename":"image_13012025_13_40_02_329722_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328636985","file1":"1328636980","file0":"1328636978","file3":"1328636991"},"map_files_photo_id_array":[{"photo_id":"1328636985","filename":"file2"},{"photo_id":"1328636980","filename":"file1"},{"photo_id":"1328636978","filename":"file0"},{"photo_id":"1328636991","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328636978":["hashtag1","hashtag2"]},{"1328636980":["hashtag1","hashtag2"]},{"1328636991":["hashtag1","hashtag2"]},{"1328636985":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328636978, 1328636980, 1328636991, 1328636985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.97278165817261 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 13:41:02.893707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:41:22.409614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/40/image_13012025_13_40_02_329722_0003.jpg', '/home/pi/Desktop/images/13012025/13/41/image_13012025_13_41_02_529041_0000.jpg', '/home/pi/Desktop/images/13012025/13/41/image_13012025_13_41_02_529041_0001.jpg', '/home/pi/Desktop/images/13012025/13/41/image_13012025_13_41_02_529041_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/40/image_13012025_13_40_02_329722_0003.jpg
/home/pi/Desktop/images/13012025/13/41/image_13012025_13_41_02_529041_0000.jpg
/home/pi/Desktop/images/13012025/13/41/image_13012025_13_41_02_529041_0001.jpg
/home/pi/Desktop/images/13012025/13/41/image_13012025_13_41_02_529041_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328637022","1328637016","1328637019","1328637013"],"photo_ids_order":["1328637013","1328637016","1328637019","1328637022"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c007d157c801f5acf41320f7aee98281.jpg","text":"TemporaryFile(/tmp/multipartBody4832235685071648298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772152615,"filename":"image_13012025_13_41_02_529041_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d2fb346af5dc02b91c4ae28d026cb460.jpg","text":"TemporaryFile(/tmp/multipartBody3160098109520882201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772152615,"filename":"image_13012025_13_41_02_529041_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f52a6b572a7ecccc01d6805b8632ec2c.jpg","text":"TemporaryFile(/tmp/multipartBody5235899689707060825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772152615,"filename":"image_13012025_13_41_02_529041_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/46ca6dde4c4feab5931d2167d0fa3529.jpg","text":"TemporaryFile(/tmp/multipartBody6934642151966195820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772152615,"filename":"image_13012025_13_40_02_329722_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328637019","file1":"1328637016","file0":"1328637013","file3":"1328637022"},"map_files_photo_id_array":[{"photo_id":"1328637019","filename":"file2"},{"photo_id":"1328637016","filename":"file1"},{"photo_id":"1328637013","filename":"file0"},{"photo_id":"1328637022","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328637022":["hashtag1","hashtag2"]},{"1328637016":["hashtag1","hashtag2"]},{"1328637019":["hashtag1","hashtag2"]},{"1328637013":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328637022, 1328637016, 1328637019, 1328637013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.36787986755371 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 13:42:02.846698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:42:22.470255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/41/image_13012025_13_41_02_529041_0003.jpg', '/home/pi/Desktop/images/13012025/13/42/image_13012025_13_42_02_684109_0000.jpg', '/home/pi/Desktop/images/13012025/13/42/image_13012025_13_42_02_684109_0001.jpg', '/home/pi/Desktop/images/13012025/13/42/image_13012025_13_42_02_684109_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/41/image_13012025_13_41_02_529041_0003.jpg
/home/pi/Desktop/images/13012025/13/42/image_13012025_13_42_02_684109_0000.jpg
/home/pi/Desktop/images/13012025/13/42/image_13012025_13_42_02_684109_0001.jpg
/home/pi/Desktop/images/13012025/13/42/image_13012025_13_42_02_684109_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.67924451828003 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 13:42:42.482561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/41/image_13012025_13_41_02_529041_0003.jpg', '/home/pi/Desktop/images/13012025/13/42/image_13012025_13_42_02_684109_0000.jpg', '/home/pi/Desktop/images/13012025/13/42/image_13012025_13_42_02_684109_0001.jpg', '/home/pi/Desktop/images/13012025/13/42/image_13012025_13_42_02_684109_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/41/image_13012025_13_41_02_529041_0003.jpg
/home/pi/Desktop/images/13012025/13/42/image_13012025_13_42_02_684109_0000.jpg
/home/pi/Desktop/images/13012025/13/42/image_13012025_13_42_02_684109_0001.jpg
/home/pi/Desktop/images/13012025/13/42/image_13012025_13_42_02_684109_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328637082","1328637091","1328637067","1328637069"],"photo_ids_order":["1328637067","1328637069","1328637082","1328637091"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d3858a8969ae39c1593f4484f29ed12f.jpg","text":"TemporaryFile(/tmp/multipartBody7124294505050287751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772232584,"filename":"image_13012025_13_42_02_684109_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/82182e389beed20f5918eebd026049e3.jpg","text":"TemporaryFile(/tmp/multipartBody6980016509857637982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772232584,"filename":"image_13012025_13_42_02_684109_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9bffab3e536c8784b980c3533e463556.jpg","text":"TemporaryFile(/tmp/multipartBody1174239351738945528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772232584,"filename":"image_13012025_13_41_02_529041_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bc4ef3088239498896096efd6f95bfb0.jpg","text":"TemporaryFile(/tmp/multipartBody4044610551324346724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772232584,"filename":"image_13012025_13_42_02_684109_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328637082","file1":"1328637069","file0":"1328637067","file3":"1328637091"},"map_files_photo_id_array":[{"photo_id":"1328637082","filename":"file2"},{"photo_id":"1328637069","filename":"file1"},{"photo_id":"1328637067","filename":"file0"},{"photo_id":"1328637091","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328637082":["hashtag1","hashtag2"]},{"1328637091":["hashtag1","hashtag2"]},{"1328637067":["hashtag1","hashtag2"]},{"1328637069":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328637082, 1328637091, 1328637067, 1328637069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.20477223396301 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 13:43:32.635783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/42/image_13012025_13_42_02_684109_0003.jpg', '/home/pi/Desktop/images/13012025/13/43/image_13012025_13_43_02_885476_0000.jpg', '/home/pi/Desktop/images/13012025/13/43/image_13012025_13_43_02_885476_0001.jpg', '/home/pi/Desktop/images/13012025/13/43/image_13012025_13_43_02_885476_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/42/image_13012025_13_42_02_684109_0003.jpg
/home/pi/Desktop/images/13012025/13/43/image_13012025_13_43_02_885476_0000.jpg
/home/pi/Desktop/images/13012025/13/43/image_13012025_13_43_02_885476_0001.jpg
/home/pi/Desktop/images/13012025/13/43/image_13012025_13_43_02_885476_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328637152","1328637214","1328637202","1328637156"],"photo_ids_order":["1328637152","1328637156","1328637202","1328637214"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5e9046bebcec37a18e44846fe06d9ec5.jpg","text":"TemporaryFile(/tmp/multipartBody8068306772025676588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772282755,"filename":"image_13012025_13_42_02_684109_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/00b24b8ecd0637990dda6055da77958c.jpg","text":"TemporaryFile(/tmp/multipartBody4853789529335752146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772282755,"filename":"image_13012025_13_43_02_885476_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4da308bc553987d6da8972985f1ce40b.jpg","text":"TemporaryFile(/tmp/multipartBody7500645182926607054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772282755,"filename":"image_13012025_13_43_02_885476_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7463aa7be81b595d20c8fec960a2c719.jpg","text":"TemporaryFile(/tmp/multipartBody8630900541802343642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772282755,"filename":"image_13012025_13_43_02_885476_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328637202","file1":"1328637156","file0":"1328637152","file3":"1328637214"},"map_files_photo_id_array":[{"photo_id":"1328637202","filename":"file2"},{"photo_id":"1328637156","filename":"file1"},{"photo_id":"1328637152","filename":"file0"},{"photo_id":"1328637214","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328637152":["hashtag1","hashtag2"]},{"1328637214":["hashtag1","hashtag2"]},{"1328637202":["hashtag1","hashtag2"]},{"1328637156":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328637152, 1328637214, 1328637202, 1328637156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.01938796043396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:44:21.857950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/43/image_13012025_13_43_02_885476_0003.jpg', '/home/pi/Desktop/images/13012025/13/44/image_13012025_13_44_03_025621_0000.jpg', '/home/pi/Desktop/images/13012025/13/44/image_13012025_13_44_03_025621_0001.jpg', '/home/pi/Desktop/images/13012025/13/44/image_13012025_13_44_03_025621_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/43/image_13012025_13_43_02_885476_0003.jpg
/home/pi/Desktop/images/13012025/13/44/image_13012025_13_44_03_025621_0000.jpg
/home/pi/Desktop/images/13012025/13/44/image_13012025_13_44_03_025621_0001.jpg
/home/pi/Desktop/images/13012025/13/44/image_13012025_13_44_03_025621_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328637376","1328637384","1328637363","1328637357"],"photo_ids_order":["1328637357","1328637363","1328637376","1328637384"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8d0828f2465d4dafb59c5fa7c7d33c92.jpg","text":"TemporaryFile(/tmp/multipartBody5332384251925297016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772332205,"filename":"image_13012025_13_44_03_025621_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7062c6ca9d8c01fd65d6f110a92fd97e.jpg","text":"TemporaryFile(/tmp/multipartBody8716682714579878290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772332205,"filename":"image_13012025_13_44_03_025621_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/71f2fa20cfc677c8ee3b9197e2c68895.jpg","text":"TemporaryFile(/tmp/multipartBody3507162425694611529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772332205,"filename":"image_13012025_13_44_03_025621_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/73bb3fe3542835169450b75efe4c7ecb.jpg","text":"TemporaryFile(/tmp/multipartBody756201374729758799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772332205,"filename":"image_13012025_13_43_02_885476_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328637376","file1":"1328637363","file0":"1328637357","file3":"1328637384"},"map_files_photo_id_array":[{"photo_id":"1328637376","filename":"file2"},{"photo_id":"1328637363","filename":"file1"},{"photo_id":"1328637357","filename":"file0"},{"photo_id":"1328637384","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328637376":["hashtag1","hashtag2"]},{"1328637384":["hashtag1","hashtag2"]},{"1328637363":["hashtag1","hashtag2"]},{"1328637357":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328637376, 1328637384, 1328637363, 1328637357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.5175564289093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 13:45:02.648231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:45:21.934845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/44/image_13012025_13_44_03_025621_0003.jpg', '/home/pi/Desktop/images/13012025/13/45/image_13012025_13_45_02_171736_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/44/image_13012025_13_44_03_025621_0003.jpg
/home/pi/Desktop/images/13012025/13/45/image_13012025_13_45_02_171736_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328637524","1328637501"],"photo_ids_order":["1328637501","1328637524"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8f6866bac0ac7b1b7349ef037a6c1fc4.jpg","text":"TemporaryFile(/tmp/multipartBody6360603900481062341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772387493,"filename":"image_13012025_13_45_02_171736_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cdb25bca9a28a660d887ab05433af2af.jpg","text":"TemporaryFile(/tmp/multipartBody7187201178882910561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772387493,"filename":"image_13012025_13_44_03_025621_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328637524","file0":"1328637501"},"map_files_photo_id_array":[{"photo_id":"1328637524","filename":"file1"},{"photo_id":"1328637501","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328637524":["hashtag1","hashtag2"]},{"1328637501":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328637524, 1328637501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.837971687316895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 13:45:51.995370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 13:46:02.627846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:46:22.359294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/45/image_13012025_13_45_02_171736_0003.jpg', '/home/pi/Desktop/images/13012025/13/46/image_13012025_13_46_02_338011_0000.jpg', '/home/pi/Desktop/images/13012025/13/46/image_13012025_13_46_02_338011_0001.jpg', '/home/pi/Desktop/images/13012025/13/46/image_13012025_13_46_02_338011_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/45/image_13012025_13_45_02_171736_0003.jpg
/home/pi/Desktop/images/13012025/13/46/image_13012025_13_46_02_338011_0000.jpg
/home/pi/Desktop/images/13012025/13/46/image_13012025_13_46_02_338011_0001.jpg
/home/pi/Desktop/images/13012025/13/46/image_13012025_13_46_02_338011_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.748494148254395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 13:46:42.164972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/45/image_13012025_13_45_02_171736_0003.jpg', '/home/pi/Desktop/images/13012025/13/46/image_13012025_13_46_02_338011_0000.jpg', '/home/pi/Desktop/images/13012025/13/46/image_13012025_13_46_02_338011_0001.jpg', '/home/pi/Desktop/images/13012025/13/46/image_13012025_13_46_02_338011_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/45/image_13012025_13_45_02_171736_0003.jpg
/home/pi/Desktop/images/13012025/13/46/image_13012025_13_46_02_338011_0000.jpg
/home/pi/Desktop/images/13012025/13/46/image_13012025_13_46_02_338011_0001.jpg
/home/pi/Desktop/images/13012025/13/46/image_13012025_13_46_02_338011_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328637589","1328637594","1328637587","1328637575"],"photo_ids_order":["1328637575","1328637587","1328637589","1328637594"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1f6bee41e8be13f3d30be4b4feced2d6.jpg","text":"TemporaryFile(/tmp/multipartBody928694611781386094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772472337,"filename":"image_13012025_13_46_02_338011_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3d48b15ebb1e4bc51e4ca988b2c82ea7.jpg","text":"TemporaryFile(/tmp/multipartBody3017248683808702127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772472337,"filename":"image_13012025_13_46_02_338011_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e84fd06d10097c951aacb39e9f50db50.jpg","text":"TemporaryFile(/tmp/multipartBody4501354695190931751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772472337,"filename":"image_13012025_13_46_02_338011_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2b882ba0665130f95a8aba0ad43618b7.jpg","text":"TemporaryFile(/tmp/multipartBody4237389791474577335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772472337,"filename":"image_13012025_13_45_02_171736_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328637589","file1":"1328637587","file0":"1328637575","file3":"1328637594"},"map_files_photo_id_array":[{"photo_id":"1328637589","filename":"file2"},{"photo_id":"1328637587","filename":"file1"},{"photo_id":"1328637575","filename":"file0"},{"photo_id":"1328637594","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328637589":["hashtag1","hashtag2"]},{"1328637594":["hashtag1","hashtag2"]},{"1328637587":["hashtag1","hashtag2"]},{"1328637575":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328637589, 1328637594, 1328637587, 1328637575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.11014008522034 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:47:22.467965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/46/image_13012025_13_46_02_338011_0003.jpg', '/home/pi/Desktop/images/13012025/13/47/image_13012025_13_47_02_589326_0000.jpg', '/home/pi/Desktop/images/13012025/13/47/image_13012025_13_47_02_589326_0001.jpg', '/home/pi/Desktop/images/13012025/13/47/image_13012025_13_47_02_589326_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/46/image_13012025_13_46_02_338011_0003.jpg
/home/pi/Desktop/images/13012025/13/47/image_13012025_13_47_02_589326_0000.jpg
/home/pi/Desktop/images/13012025/13/47/image_13012025_13_47_02_589326_0001.jpg
/home/pi/Desktop/images/13012025/13/47/image_13012025_13_47_02_589326_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328637647","1328637651","1328637639","1328637654"],"photo_ids_order":["1328637639","1328637647","1328637651","1328637654"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bd621a158a886a8cdcac06f2490ea305.jpg","text":"TemporaryFile(/tmp/multipartBody6890765443887791798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772512686,"filename":"image_13012025_13_47_02_589326_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3f05abdaac92d97498f13fa10ed70570.jpg","text":"TemporaryFile(/tmp/multipartBody3836115249771895628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772512686,"filename":"image_13012025_13_47_02_589326_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1f1e8fc8dc1061f4ecb57f2a95e8a1f5.jpg","text":"TemporaryFile(/tmp/multipartBody4367985322769105012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772512686,"filename":"image_13012025_13_46_02_338011_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/68b55a1528b6593b4b49356aee877e39.jpg","text":"TemporaryFile(/tmp/multipartBody6776886295088948440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772512686,"filename":"image_13012025_13_47_02_589326_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328637651","file1":"1328637647","file0":"1328637639","file3":"1328637654"},"map_files_photo_id_array":[{"photo_id":"1328637651","filename":"file2"},{"photo_id":"1328637647","filename":"file1"},{"photo_id":"1328637639","filename":"file0"},{"photo_id":"1328637654","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328637647":["hashtag1","hashtag2"]},{"1328637651":["hashtag1","hashtag2"]},{"1328637639":["hashtag1","hashtag2"]},{"1328637654":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328637647, 1328637651, 1328637639, 1328637654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.46125555038452 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 13:48:03.013771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:48:22.635941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/47/image_13012025_13_47_02_589326_0003.jpg', '/home/pi/Desktop/images/13012025/13/48/image_13012025_13_48_02_765469_0000.jpg', '/home/pi/Desktop/images/13012025/13/48/image_13012025_13_48_02_765469_0001.jpg', '/home/pi/Desktop/images/13012025/13/48/image_13012025_13_48_02_765469_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/47/image_13012025_13_47_02_589326_0003.jpg
/home/pi/Desktop/images/13012025/13/48/image_13012025_13_48_02_765469_0000.jpg
/home/pi/Desktop/images/13012025/13/48/image_13012025_13_48_02_765469_0001.jpg
/home/pi/Desktop/images/13012025/13/48/image_13012025_13_48_02_765469_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328638316","1328638426","1328638449","1328638206"],"photo_ids_order":["1328638206","1328638316","1328638426","1328638449"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/03dcb32237c8111e80a8e78ca6c12064.jpg","text":"TemporaryFile(/tmp/multipartBody5490920171692312192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772572754,"filename":"image_13012025_13_48_02_765469_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3eb1f49ee037dc12aaaf28aa8bc26dd5.jpg","text":"TemporaryFile(/tmp/multipartBody8136694573486768681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772572754,"filename":"image_13012025_13_48_02_765469_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/842ccfa8f3c49e98d01db633a8c3678b.jpg","text":"TemporaryFile(/tmp/multipartBody2590406917311696487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772572754,"filename":"image_13012025_13_48_02_765469_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/55960e03ba19ac7c9084d99a952613f5.jpg","text":"TemporaryFile(/tmp/multipartBody2623225965315247341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772572754,"filename":"image_13012025_13_47_02_589326_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328638426","file1":"1328638316","file0":"1328638206","file3":"1328638449"},"map_files_photo_id_array":[{"photo_id":"1328638426","filename":"file2"},{"photo_id":"1328638316","filename":"file1"},{"photo_id":"1328638206","filename":"file0"},{"photo_id":"1328638449","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328638316":["hashtag1","hashtag2"]},{"1328638426":["hashtag1","hashtag2"]},{"1328638449":["hashtag1","hashtag2"]},{"1328638206":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328638316, 1328638426, 1328638449, 1328638206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.0477397441864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 13:49:02.270386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:49:21.790481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/48/image_13012025_13_48_02_765469_0003.jpg', '/home/pi/Desktop/images/13012025/13/49/image_13012025_13_49_02_975844_0000.jpg', '/home/pi/Desktop/images/13012025/13/49/image_13012025_13_49_02_975844_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/48/image_13012025_13_48_02_765469_0003.jpg
/home/pi/Desktop/images/13012025/13/49/image_13012025_13_49_02_975844_0000.jpg
/home/pi/Desktop/images/13012025/13/49/image_13012025_13_49_02_975844_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328638558","1328638540","1328638544"],"photo_ids_order":["1328638540","1328638544","1328638558"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c9e964755d7469cfa824d72608a87599.jpg","text":"TemporaryFile(/tmp/multipartBody1546094178600284645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772629561,"filename":"image_13012025_13_49_02_975844_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/72496effecd6ea3af855453bf152bc77.jpg","text":"TemporaryFile(/tmp/multipartBody3698923162562568429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772629561,"filename":"image_13012025_13_48_02_765469_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b97426d514ef8798bdfc5ac63b17fc50.jpg","text":"TemporaryFile(/tmp/multipartBody4222462234637169298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772629561,"filename":"image_13012025_13_49_02_975844_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328638558","file1":"1328638544","file0":"1328638540"},"map_files_photo_id_array":[{"photo_id":"1328638558","filename":"file2"},{"photo_id":"1328638544","filename":"file1"},{"photo_id":"1328638540","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328638558":["hashtag1","hashtag2"]},{"1328638540":["hashtag1","hashtag2"]},{"1328638544":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328638558, 1328638540, 1328638544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.58927583694458 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 13:50:02.483486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:50:21.983185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/49/image_13012025_13_49_02_975844_0003.jpg', '/home/pi/Desktop/images/13012025/13/50/image_13012025_13_50_02_210323_0000.jpg', '/home/pi/Desktop/images/13012025/13/50/image_13012025_13_50_02_210323_0001.jpg', '/home/pi/Desktop/images/13012025/13/50/image_13012025_13_50_02_210323_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/49/image_13012025_13_49_02_975844_0003.jpg
/home/pi/Desktop/images/13012025/13/50/image_13012025_13_50_02_210323_0000.jpg
/home/pi/Desktop/images/13012025/13/50/image_13012025_13_50_02_210323_0001.jpg
/home/pi/Desktop/images/13012025/13/50/image_13012025_13_50_02_210323_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.919373989105225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 13:50:42.024875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/49/image_13012025_13_49_02_975844_0003.jpg', '/home/pi/Desktop/images/13012025/13/50/image_13012025_13_50_02_210323_0000.jpg', '/home/pi/Desktop/images/13012025/13/50/image_13012025_13_50_02_210323_0001.jpg', '/home/pi/Desktop/images/13012025/13/50/image_13012025_13_50_02_210323_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/49/image_13012025_13_49_02_975844_0003.jpg
/home/pi/Desktop/images/13012025/13/50/image_13012025_13_50_02_210323_0000.jpg
/home/pi/Desktop/images/13012025/13/50/image_13012025_13_50_02_210323_0001.jpg
/home/pi/Desktop/images/13012025/13/50/image_13012025_13_50_02_210323_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328638613","1328638621","1328638611","1328638617"],"photo_ids_order":["1328638611","1328638613","1328638617","1328638621"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/243da393084ee0349169bbb0bddf6d82.jpg","text":"TemporaryFile(/tmp/multipartBody5858404790652207316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772712363,"filename":"image_13012025_13_50_02_210323_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/82a71ee71ed9eb4d69a3b10a85ac01ff.jpg","text":"TemporaryFile(/tmp/multipartBody3375943051693198650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772712363,"filename":"image_13012025_13_50_02_210323_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/16d23eccb6da178c318b0e73ecf338b0.jpg","text":"TemporaryFile(/tmp/multipartBody4706425544810031270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772712363,"filename":"image_13012025_13_49_02_975844_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d90cbec0a151af17cc5c3605a9472097.jpg","text":"TemporaryFile(/tmp/multipartBody7035667071105800742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772712363,"filename":"image_13012025_13_50_02_210323_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328638617","file1":"1328638613","file0":"1328638611","file3":"1328638621"},"map_files_photo_id_array":[{"photo_id":"1328638617","filename":"file2"},{"photo_id":"1328638613","filename":"file1"},{"photo_id":"1328638611","filename":"file0"},{"photo_id":"1328638621","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328638613":["hashtag1","hashtag2"]},{"1328638621":["hashtag1","hashtag2"]},{"1328638611":["hashtag1","hashtag2"]},{"1328638617":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328638613, 1328638621, 1328638611, 1328638617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.92802405357361 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 13:51:32.224235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/50/image_13012025_13_50_02_210323_0003.jpg', '/home/pi/Desktop/images/13012025/13/51/image_13012025_13_51_02_456207_0000.jpg', '/home/pi/Desktop/images/13012025/13/51/image_13012025_13_51_02_456207_0001.jpg', '/home/pi/Desktop/images/13012025/13/51/image_13012025_13_51_02_456207_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/50/image_13012025_13_50_02_210323_0003.jpg
/home/pi/Desktop/images/13012025/13/51/image_13012025_13_51_02_456207_0000.jpg
/home/pi/Desktop/images/13012025/13/51/image_13012025_13_51_02_456207_0001.jpg
/home/pi/Desktop/images/13012025/13/51/image_13012025_13_51_02_456207_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328638660","1328638656","1328638659","1328638658"],"photo_ids_order":["1328638656","1328638658","1328638659","1328638660"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/258110439f4531eea3b462f471531984.jpg","text":"TemporaryFile(/tmp/multipartBody1970774029283486197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772762616,"filename":"image_13012025_13_51_02_456207_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6b442d7e41fcbcfdf73408ac1039c4d1.jpg","text":"TemporaryFile(/tmp/multipartBody1677081541616886158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772762616,"filename":"image_13012025_13_50_02_210323_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7ed537be19e7b5a8406b513c7c03366b.jpg","text":"TemporaryFile(/tmp/multipartBody2437635887469001006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772762616,"filename":"image_13012025_13_51_02_456207_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9ed69c708ac142d0b64e0e07af63b757.jpg","text":"TemporaryFile(/tmp/multipartBody6596005584627122681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772762616,"filename":"image_13012025_13_51_02_456207_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328638659","file1":"1328638658","file0":"1328638656","file3":"1328638660"},"map_files_photo_id_array":[{"photo_id":"1328638659","filename":"file2"},{"photo_id":"1328638658","filename":"file1"},{"photo_id":"1328638656","filename":"file0"},{"photo_id":"1328638660","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328638660":["hashtag1","hashtag2"]},{"1328638656":["hashtag1","hashtag2"]},{"1328638659":["hashtag1","hashtag2"]},{"1328638658":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328638660, 1328638656, 1328638659, 1328638658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.922882080078125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:52:22.397139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/51/image_13012025_13_51_02_456207_0003.jpg', '/home/pi/Desktop/images/13012025/13/52/image_13012025_13_52_02_659959_0000.jpg', '/home/pi/Desktop/images/13012025/13/52/image_13012025_13_52_02_659959_0001.jpg', '/home/pi/Desktop/images/13012025/13/52/image_13012025_13_52_02_659959_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/51/image_13012025_13_51_02_456207_0003.jpg
/home/pi/Desktop/images/13012025/13/52/image_13012025_13_52_02_659959_0000.jpg
/home/pi/Desktop/images/13012025/13/52/image_13012025_13_52_02_659959_0001.jpg
/home/pi/Desktop/images/13012025/13/52/image_13012025_13_52_02_659959_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328638712","1328638699","1328638705","1328638701"],"photo_ids_order":["1328638699","1328638701","1328638705","1328638712"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8d17b48e5d6dee5d312664a436a63597.jpg","text":"TemporaryFile(/tmp/multipartBody6715937275790490796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772812676,"filename":"image_13012025_13_52_02_659959_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6820ad039273984cbe7b595b76dd52ba.jpg","text":"TemporaryFile(/tmp/multipartBody1969637680346341963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772812676,"filename":"image_13012025_13_51_02_456207_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/432729089afed1fb08199219cbda297a.jpg","text":"TemporaryFile(/tmp/multipartBody2523150528343608191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772812676,"filename":"image_13012025_13_52_02_659959_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b11b078379f66101b803730278c1c09f.jpg","text":"TemporaryFile(/tmp/multipartBody359575141546786893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772812676,"filename":"image_13012025_13_52_02_659959_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328638705","file1":"1328638701","file0":"1328638699","file3":"1328638712"},"map_files_photo_id_array":[{"photo_id":"1328638705","filename":"file2"},{"photo_id":"1328638701","filename":"file1"},{"photo_id":"1328638699","filename":"file0"},{"photo_id":"1328638712","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328638712":["hashtag1","hashtag2"]},{"1328638699":["hashtag1","hashtag2"]},{"1328638705":["hashtag1","hashtag2"]},{"1328638701":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328638712, 1328638699, 1328638705, 1328638701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.73880386352539 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 13:53:03.128462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:53:22.608734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/52/image_13012025_13_52_02_659959_0003.jpg', '/home/pi/Desktop/images/13012025/13/53/image_13012025_13_53_02_737157_0000.jpg', '/home/pi/Desktop/images/13012025/13/53/image_13012025_13_53_02_737157_0001.jpg', '/home/pi/Desktop/images/13012025/13/53/image_13012025_13_53_02_737157_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/52/image_13012025_13_52_02_659959_0003.jpg
/home/pi/Desktop/images/13012025/13/53/image_13012025_13_53_02_737157_0000.jpg
/home/pi/Desktop/images/13012025/13/53/image_13012025_13_53_02_737157_0001.jpg
/home/pi/Desktop/images/13012025/13/53/image_13012025_13_53_02_737157_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328638738","1328638741","1328638735","1328638731"],"photo_ids_order":["1328638731","1328638735","1328638738","1328638741"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/131534993fd666c0b9f6c28834143662.jpg","text":"TemporaryFile(/tmp/multipartBody8348863699548584247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772872739,"filename":"image_13012025_13_53_02_737157_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/da54d5ff5850ca21a2f4c32887e8c3ed.jpg","text":"TemporaryFile(/tmp/multipartBody915294166027074212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772872739,"filename":"image_13012025_13_53_02_737157_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8e39c13162a1aab1e1f372856446b22c.jpg","text":"TemporaryFile(/tmp/multipartBody253309646171620491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772872739,"filename":"image_13012025_13_53_02_737157_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/25761c7b219b2062424621bd18e8f39a.jpg","text":"TemporaryFile(/tmp/multipartBody3094940914345890391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772872739,"filename":"image_13012025_13_52_02_659959_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328638738","file1":"1328638735","file0":"1328638731","file3":"1328638741"},"map_files_photo_id_array":[{"photo_id":"1328638738","filename":"file2"},{"photo_id":"1328638735","filename":"file1"},{"photo_id":"1328638731","filename":"file0"},{"photo_id":"1328638741","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328638738":["hashtag1","hashtag2"]},{"1328638741":["hashtag1","hashtag2"]},{"1328638735":["hashtag1","hashtag2"]},{"1328638731":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328638738, 1328638741, 1328638735, 1328638731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.58178973197937 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 13:54:03.078453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:54:22.715693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/53/image_13012025_13_53_02_737157_0003.jpg', '/home/pi/Desktop/images/13012025/13/54/image_13012025_13_54_02_897129_0000.jpg', '/home/pi/Desktop/images/13012025/13/54/image_13012025_13_54_02_897129_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/53/image_13012025_13_53_02_737157_0003.jpg
/home/pi/Desktop/images/13012025/13/54/image_13012025_13_54_02_897129_0000.jpg
/home/pi/Desktop/images/13012025/13/54/image_13012025_13_54_02_897129_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328638969","1328638831","1328638977"],"photo_ids_order":["1328638831","1328638969","1328638977"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7ddab0716db29e54e6d9fc8e7c74c77c.jpg","text":"TemporaryFile(/tmp/multipartBody1875039904690921659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772930565,"filename":"image_13012025_13_54_02_897129_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a9af24ec030d85d0d236cdc77ccf8713.jpg","text":"TemporaryFile(/tmp/multipartBody833989522629463045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772930565,"filename":"image_13012025_13_53_02_737157_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6694a3ef057fa5f656e3b1d3af87a5e3.jpg","text":"TemporaryFile(/tmp/multipartBody8624705529974689688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772930565,"filename":"image_13012025_13_54_02_897129_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328638977","file1":"1328638969","file0":"1328638831"},"map_files_photo_id_array":[{"photo_id":"1328638977","filename":"file2"},{"photo_id":"1328638969","filename":"file1"},{"photo_id":"1328638831","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328638969":["hashtag1","hashtag2"]},{"1328638831":["hashtag1","hashtag2"]},{"1328638977":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328638969, 1328638831, 1328638977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.61296486854553 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 13:55:02.428256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:55:21.920479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/54/image_13012025_13_54_02_897129_0003.jpg', '/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_03_051982_0000.jpg', '/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_03_051982_0001.jpg', '/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_03_051982_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/54/image_13012025_13_54_02_897129_0003.jpg
/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_03_051982_0000.jpg
/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_03_051982_0001.jpg
/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_03_051982_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328639005","1328639008","1328639012","1328639015"],"photo_ids_order":["1328639005","1328639008","1328639012","1328639015"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c29950584e082ab104051d4613cab42d.jpg","text":"TemporaryFile(/tmp/multipartBody2246498773927318653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772992004,"filename":"image_13012025_13_54_02_897129_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dfffd5476e691323983791af553c5fb6.jpg","text":"TemporaryFile(/tmp/multipartBody2285606419430357312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772992004,"filename":"image_13012025_13_55_03_051982_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bc8292bc913b121d6d8dd0bee880d4f0.jpg","text":"TemporaryFile(/tmp/multipartBody8450036623471830251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772992004,"filename":"image_13012025_13_55_03_051982_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f5633aa6ddf75a815e7f8d291dcfb57a.jpg","text":"TemporaryFile(/tmp/multipartBody3357415388563714651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736772992004,"filename":"image_13012025_13_55_03_051982_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328639012","file1":"1328639008","file0":"1328639005","file3":"1328639015"},"map_files_photo_id_array":[{"photo_id":"1328639012","filename":"file2"},{"photo_id":"1328639008","filename":"file1"},{"photo_id":"1328639005","filename":"file0"},{"photo_id":"1328639015","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328639005":["hashtag1","hashtag2"]},{"1328639008":["hashtag1","hashtag2"]},{"1328639012":["hashtag1","hashtag2"]},{"1328639015":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328639005, 1328639008, 1328639012, 1328639015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.35402202606201 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:56:22.043048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_03_051982_0003.jpg', '/home/pi/Desktop/images/13012025/13/56/image_13012025_13_56_02_255999_0000.jpg', '/home/pi/Desktop/images/13012025/13/56/image_13012025_13_56_02_255999_0001.jpg', '/home/pi/Desktop/images/13012025/13/56/image_13012025_13_56_02_255999_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_03_051982_0003.jpg
/home/pi/Desktop/images/13012025/13/56/image_13012025_13_56_02_255999_0000.jpg
/home/pi/Desktop/images/13012025/13/56/image_13012025_13_56_02_255999_0001.jpg
/home/pi/Desktop/images/13012025/13/56/image_13012025_13_56_02_255999_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.055788040161133 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 13:56:41.994368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_03_051982_0003.jpg', '/home/pi/Desktop/images/13012025/13/56/image_13012025_13_56_02_255999_0000.jpg', '/home/pi/Desktop/images/13012025/13/56/image_13012025_13_56_02_255999_0001.jpg', '/home/pi/Desktop/images/13012025/13/56/image_13012025_13_56_02_255999_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_03_051982_0003.jpg
/home/pi/Desktop/images/13012025/13/56/image_13012025_13_56_02_255999_0000.jpg
/home/pi/Desktop/images/13012025/13/56/image_13012025_13_56_02_255999_0001.jpg
/home/pi/Desktop/images/13012025/13/56/image_13012025_13_56_02_255999_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328639065","1328639060","1328639057","1328639054"],"photo_ids_order":["1328639054","1328639057","1328639060","1328639065"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/31662445869744113b84922528b0755a.jpg","text":"TemporaryFile(/tmp/multipartBody4462595238865133036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773072437,"filename":"image_13012025_13_56_02_255999_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5ebeb802bb5fcafd0320b7164caa4a6a.jpg","text":"TemporaryFile(/tmp/multipartBody2537178621192723070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773072437,"filename":"image_13012025_13_56_02_255999_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9514b73b9e438536874c3de447c8315a.jpg","text":"TemporaryFile(/tmp/multipartBody2251643747599019664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773072437,"filename":"image_13012025_13_56_02_255999_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c86126f6672fe911246936b5f8b7bb98.jpg","text":"TemporaryFile(/tmp/multipartBody8079772766387751179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773072437,"filename":"image_13012025_13_55_03_051982_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328639060","file1":"1328639057","file0":"1328639054","file3":"1328639065"},"map_files_photo_id_array":[{"photo_id":"1328639060","filename":"file2"},{"photo_id":"1328639057","filename":"file1"},{"photo_id":"1328639054","filename":"file0"},{"photo_id":"1328639065","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328639065":["hashtag1","hashtag2"]},{"1328639060":["hashtag1","hashtag2"]},{"1328639057":["hashtag1","hashtag2"]},{"1328639054":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328639065, 1328639060, 1328639057, 1328639054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.28284692764282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:57:22.174959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/56/image_13012025_13_56_02_255999_0003.jpg', '/home/pi/Desktop/images/13012025/13/57/image_13012025_13_57_02_370746_0000.jpg', '/home/pi/Desktop/images/13012025/13/57/image_13012025_13_57_02_370746_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/56/image_13012025_13_56_02_255999_0003.jpg
/home/pi/Desktop/images/13012025/13/57/image_13012025_13_57_02_370746_0000.jpg
/home/pi/Desktop/images/13012025/13/57/image_13012025_13_57_02_370746_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328639085","1328639088","1328639081"],"photo_ids_order":["1328639081","1328639085","1328639088"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9004886168db74f1bdfe60b04d352f97.jpg","text":"TemporaryFile(/tmp/multipartBody4561463702125284266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773109940,"filename":"image_13012025_13_57_02_370746_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cdd2bc3c82f77b856b48eb3870096312.jpg","text":"TemporaryFile(/tmp/multipartBody1987736004467983049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773109940,"filename":"image_13012025_13_57_02_370746_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/28142793bb0b46bed43fb8fe18b7d5bf.jpg","text":"TemporaryFile(/tmp/multipartBody2783400657201477734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773109940,"filename":"image_13012025_13_56_02_255999_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328639088","file1":"1328639085","file0":"1328639081"},"map_files_photo_id_array":[{"photo_id":"1328639088","filename":"file2"},{"photo_id":"1328639085","filename":"file1"},{"photo_id":"1328639081","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328639085":["hashtag1","hashtag2"]},{"1328639088":["hashtag1","hashtag2"]},{"1328639081":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328639085, 1328639088, 1328639081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.95625948905945 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 13:59:03.174906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/57/image_13012025_13_57_02_370746_0002.jpg', '/home/pi/Desktop/images/13012025/13/58/image_13012025_13_58_02_552266_0000.jpg', '/home/pi/Desktop/images/13012025/13/58/image_13012025_13_58_02_552266_0001.jpg', '/home/pi/Desktop/images/13012025/13/58/image_13012025_13_58_02_552266_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/57/image_13012025_13_57_02_370746_0002.jpg
/home/pi/Desktop/images/13012025/13/58/image_13012025_13_58_02_552266_0000.jpg
/home/pi/Desktop/images/13012025/13/58/image_13012025_13_58_02_552266_0001.jpg
/home/pi/Desktop/images/13012025/13/58/image_13012025_13_58_02_552266_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.0250883102417 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 13:59:22.644701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/57/image_13012025_13_57_02_370746_0002.jpg', '/home/pi/Desktop/images/13012025/13/58/image_13012025_13_58_02_552266_0000.jpg', '/home/pi/Desktop/images/13012025/13/58/image_13012025_13_58_02_552266_0001.jpg', '/home/pi/Desktop/images/13012025/13/58/image_13012025_13_58_02_552266_0002.jpg', '/home/pi/Desktop/images/13012025/13/58/image_13012025_13_58_02_552266_0003.jpg', '/home/pi/Desktop/images/13012025/13/59/image_13012025_13_59_02_784721_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/57/image_13012025_13_57_02_370746_0002.jpg
/home/pi/Desktop/images/13012025/13/58/image_13012025_13_58_02_552266_0000.jpg
/home/pi/Desktop/images/13012025/13/58/image_13012025_13_58_02_552266_0001.jpg
/home/pi/Desktop/images/13012025/13/58/image_13012025_13_58_02_552266_0002.jpg
/home/pi/Desktop/images/13012025/13/58/image_13012025_13_58_02_552266_0003.jpg
/home/pi/Desktop/images/13012025/13/59/image_13012025_13_59_02_784721_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328639218","1328639212","1328639214","1328639202","1328639207","1328639197"],"photo_ids_order":["1328639197","1328639202","1328639207","1328639212","1328639214","1328639218"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/384734ee6042443b392050fbeeb0100d.jpg","text":"TemporaryFile(/tmp/multipartBody9093254117878570598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773237853,"filename":"image_13012025_13_59_02_784721_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5ba26b4f54031eed4e23a75f2407b7ec.jpg","text":"TemporaryFile(/tmp/multipartBody5593916541439943476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773237853,"filename":"image_13012025_13_58_02_552266_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a4e999173ee150633ce056d0d072361d.jpg","text":"TemporaryFile(/tmp/multipartBody3853792045808575370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773237853,"filename":"image_13012025_13_58_02_552266_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/83d014e01914669ab6fa401859692270.jpg","text":"TemporaryFile(/tmp/multipartBody5009907983073481761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773237853,"filename":"image_13012025_13_58_02_552266_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3d78d3a9596d185adee75bd40af2abfd.jpg","text":"TemporaryFile(/tmp/multipartBody2437754710600268071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773237853,"filename":"image_13012025_13_58_02_552266_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2ddb53bd2e172da1c575d362b44540b7.jpg","text":"TemporaryFile(/tmp/multipartBody24726879550791888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773237853,"filename":"image_13012025_13_57_02_370746_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328639207","file1":"1328639202","file0":"1328639197","file4":"1328639214","file5":"1328639218","file3":"1328639212"},"map_files_photo_id_array":[{"photo_id":"1328639218","filename":"file5"},{"photo_id":"1328639207","filename":"file2"},{"photo_id":"1328639214","filename":"file4"},{"photo_id":"1328639202","filename":"file1"},{"photo_id":"1328639197","filename":"file0"},{"photo_id":"1328639212","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328639218":["hashtag1","hashtag2"]},{"1328639212":["hashtag1","hashtag2"]},{"1328639214":["hashtag1","hashtag2"]},{"1328639202":["hashtag1","hashtag2"]},{"1328639207":["hashtag1","hashtag2"]},{"1328639197":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328639218, 1328639212, 1328639214, 1328639202, 1328639207, 1328639197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.12404203414917 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:00:22.753946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/59/image_13012025_13_59_02_784721_0001.jpg', '/home/pi/Desktop/images/13012025/13/59/image_13012025_13_59_02_784721_0002.jpg', '/home/pi/Desktop/images/13012025/13/59/image_13012025_13_59_02_784721_0003.jpg', '/home/pi/Desktop/images/13012025/14/00/image_13012025_14_00_02_949284_0000.jpg', '/home/pi/Desktop/images/13012025/14/00/image_13012025_14_00_02_949284_0001.jpg', '/home/pi/Desktop/images/13012025/14/00/image_13012025_14_00_02_949284_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/13/59/image_13012025_13_59_02_784721_0001.jpg
/home/pi/Desktop/images/13012025/13/59/image_13012025_13_59_02_784721_0002.jpg
/home/pi/Desktop/images/13012025/13/59/image_13012025_13_59_02_784721_0003.jpg
/home/pi/Desktop/images/13012025/14/00/image_13012025_14_00_02_949284_0000.jpg
/home/pi/Desktop/images/13012025/14/00/image_13012025_14_00_02_949284_0001.jpg
/home/pi/Desktop/images/13012025/14/00/image_13012025_14_00_02_949284_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328639266","1328639251","1328639260","1328639280","1328639256","1328639263"],"photo_ids_order":["1328639251","1328639256","1328639260","1328639263","1328639266","1328639280"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f6cd350cacdc5e61e1bfc860b4211bfb.jpg","text":"TemporaryFile(/tmp/multipartBody1047303226496481716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773298030,"filename":"image_13012025_14_00_02_949284_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c52c7d6d59e1be8264bc900394031234.jpg","text":"TemporaryFile(/tmp/multipartBody1260930323253376067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773298030,"filename":"image_13012025_13_59_02_784721_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eae55eb5c6b2dba99273b4f64d031cc7.jpg","text":"TemporaryFile(/tmp/multipartBody3072680014277323859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773298030,"filename":"image_13012025_13_59_02_784721_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c85a2fabddc7cb8a5791edca75c84324.jpg","text":"TemporaryFile(/tmp/multipartBody1592609518081530193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773298030,"filename":"image_13012025_14_00_02_949284_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b85208a385423cbf99672cdd561a2c60.jpg","text":"TemporaryFile(/tmp/multipartBody2337084209781494905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773298030,"filename":"image_13012025_13_59_02_784721_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e7f00862c8d5a0c525c91656914bcc2c.jpg","text":"TemporaryFile(/tmp/multipartBody1651906925298622329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773298030,"filename":"image_13012025_14_00_02_949284_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328639260","file1":"1328639256","file0":"1328639251","file4":"1328639266","file5":"1328639280","file3":"1328639263"},"map_files_photo_id_array":[{"photo_id":"1328639280","filename":"file5"},{"photo_id":"1328639260","filename":"file2"},{"photo_id":"1328639266","filename":"file4"},{"photo_id":"1328639256","filename":"file1"},{"photo_id":"1328639251","filename":"file0"},{"photo_id":"1328639263","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328639266":["hashtag1","hashtag2"]},{"1328639251":["hashtag1","hashtag2"]},{"1328639260":["hashtag1","hashtag2"]},{"1328639280":["hashtag1","hashtag2"]},{"1328639256":["hashtag1","hashtag2"]},{"1328639263":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328639266, 1328639251, 1328639260, 1328639280, 1328639256, 1328639263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.60065031051636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:01:21.891040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/00/image_13012025_14_00_02_949284_0003.jpg', '/home/pi/Desktop/images/13012025/14/01/image_13012025_14_01_03_102979_0000.jpg', '/home/pi/Desktop/images/13012025/14/01/image_13012025_14_01_03_102979_0001.jpg', '/home/pi/Desktop/images/13012025/14/01/image_13012025_14_01_03_102979_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/00/image_13012025_14_00_02_949284_0003.jpg
/home/pi/Desktop/images/13012025/14/01/image_13012025_14_01_03_102979_0000.jpg
/home/pi/Desktop/images/13012025/14/01/image_13012025_14_01_03_102979_0001.jpg
/home/pi/Desktop/images/13012025/14/01/image_13012025_14_01_03_102979_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.981446027755737 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 14:01:41.902975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/00/image_13012025_14_00_02_949284_0003.jpg', '/home/pi/Desktop/images/13012025/14/01/image_13012025_14_01_03_102979_0000.jpg', '/home/pi/Desktop/images/13012025/14/01/image_13012025_14_01_03_102979_0001.jpg', '/home/pi/Desktop/images/13012025/14/01/image_13012025_14_01_03_102979_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/00/image_13012025_14_00_02_949284_0003.jpg
/home/pi/Desktop/images/13012025/14/01/image_13012025_14_01_03_102979_0000.jpg
/home/pi/Desktop/images/13012025/14/01/image_13012025_14_01_03_102979_0001.jpg
/home/pi/Desktop/images/13012025/14/01/image_13012025_14_01_03_102979_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328639353","1328639332","1328639338","1328639322"],"photo_ids_order":["1328639322","1328639332","1328639338","1328639353"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/daa7c37c908dd72673229e5a153073cc.jpg","text":"TemporaryFile(/tmp/multipartBody3672940911998304537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773372295,"filename":"image_13012025_14_01_03_102979_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/12b24c351d3fea8e4c3ec78e93ad6996.jpg","text":"TemporaryFile(/tmp/multipartBody1464580901885226923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773372295,"filename":"image_13012025_14_01_03_102979_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e1d0804e9edc1c33fba5887bc762104f.jpg","text":"TemporaryFile(/tmp/multipartBody1500315663140619773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773372295,"filename":"image_13012025_14_01_03_102979_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/999553ede98e269f17e5fd24db50a38f.jpg","text":"TemporaryFile(/tmp/multipartBody2426389191428670953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773372295,"filename":"image_13012025_14_00_02_949284_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328639338","file1":"1328639332","file0":"1328639322","file3":"1328639353"},"map_files_photo_id_array":[{"photo_id":"1328639338","filename":"file2"},{"photo_id":"1328639332","filename":"file1"},{"photo_id":"1328639322","filename":"file0"},{"photo_id":"1328639353","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328639353":["hashtag1","hashtag2"]},{"1328639332":["hashtag1","hashtag2"]},{"1328639338":["hashtag1","hashtag2"]},{"1328639322":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328639353, 1328639332, 1328639338, 1328639322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.71389198303223 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 14:02:32.058991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/01/image_13012025_14_01_03_102979_0003.jpg', '/home/pi/Desktop/images/13012025/14/02/image_13012025_14_02_02_346916_0000.jpg', '/home/pi/Desktop/images/13012025/14/02/image_13012025_14_02_02_346916_0001.jpg', '/home/pi/Desktop/images/13012025/14/02/image_13012025_14_02_02_346916_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/01/image_13012025_14_01_03_102979_0003.jpg
/home/pi/Desktop/images/13012025/14/02/image_13012025_14_02_02_346916_0000.jpg
/home/pi/Desktop/images/13012025/14/02/image_13012025_14_02_02_346916_0001.jpg
/home/pi/Desktop/images/13012025/14/02/image_13012025_14_02_02_346916_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328639390","1328639420","1328639414","1328639423"],"photo_ids_order":["1328639390","1328639414","1328639420","1328639423"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e3a61ec5ab988bf50060220c96f18ddf.jpg","text":"TemporaryFile(/tmp/multipartBody4984192288913449464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773422445,"filename":"image_13012025_14_01_03_102979_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2f34e8e6ba1256a7b141b24b3e8da247.jpg","text":"TemporaryFile(/tmp/multipartBody5712891392037443032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773422445,"filename":"image_13012025_14_02_02_346916_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7877a6d52e4845450967320c0c7119cd.jpg","text":"TemporaryFile(/tmp/multipartBody7972389661480083043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773422445,"filename":"image_13012025_14_02_02_346916_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/376134503cc9127e8324ac6ebfb54eb1.jpg","text":"TemporaryFile(/tmp/multipartBody6855659266161315310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773422445,"filename":"image_13012025_14_02_02_346916_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328639420","file1":"1328639414","file0":"1328639390","file3":"1328639423"},"map_files_photo_id_array":[{"photo_id":"1328639420","filename":"file2"},{"photo_id":"1328639414","filename":"file1"},{"photo_id":"1328639390","filename":"file0"},{"photo_id":"1328639423","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328639390":["hashtag1","hashtag2"]},{"1328639420":["hashtag1","hashtag2"]},{"1328639414":["hashtag1","hashtag2"]},{"1328639423":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328639390, 1328639420, 1328639414, 1328639423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.56085991859436 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:03:22.352275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/02/image_13012025_14_02_02_346916_0003.jpg', '/home/pi/Desktop/images/13012025/14/03/image_13012025_14_03_02_510717_0000.jpg', '/home/pi/Desktop/images/13012025/14/03/image_13012025_14_03_02_510717_0001.jpg', '/home/pi/Desktop/images/13012025/14/03/image_13012025_14_03_02_510717_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/02/image_13012025_14_02_02_346916_0003.jpg
/home/pi/Desktop/images/13012025/14/03/image_13012025_14_03_02_510717_0000.jpg
/home/pi/Desktop/images/13012025/14/03/image_13012025_14_03_02_510717_0001.jpg
/home/pi/Desktop/images/13012025/14/03/image_13012025_14_03_02_510717_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328639485","1328639479","1328639488","1328639482"],"photo_ids_order":["1328639479","1328639482","1328639485","1328639488"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2b4925aa6af25df9a08a7bec2d958c3c.jpg","text":"TemporaryFile(/tmp/multipartBody7849891235602679618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773472631,"filename":"image_13012025_14_03_02_510717_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/118bdd3460962f842f8417f5cc06e1c8.jpg","text":"TemporaryFile(/tmp/multipartBody631150909074619986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773472631,"filename":"image_13012025_14_02_02_346916_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1661f421f263c53799852df879490240.jpg","text":"TemporaryFile(/tmp/multipartBody7275069305814071237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773472631,"filename":"image_13012025_14_03_02_510717_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/573932672bd7805fe64279190f7ae701.jpg","text":"TemporaryFile(/tmp/multipartBody130136621546274255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773472631,"filename":"image_13012025_14_03_02_510717_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328639485","file1":"1328639482","file0":"1328639479","file3":"1328639488"},"map_files_photo_id_array":[{"photo_id":"1328639485","filename":"file2"},{"photo_id":"1328639482","filename":"file1"},{"photo_id":"1328639479","filename":"file0"},{"photo_id":"1328639488","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328639485":["hashtag1","hashtag2"]},{"1328639479":["hashtag1","hashtag2"]},{"1328639488":["hashtag1","hashtag2"]},{"1328639482":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328639485, 1328639479, 1328639488, 1328639482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.14345383644104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 14:04:02.865014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:04:22.403040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/03/image_13012025_14_03_02_510717_0003.jpg', '/home/pi/Desktop/images/13012025/14/04/image_13012025_14_04_02_721338_0000.jpg', '/home/pi/Desktop/images/13012025/14/04/image_13012025_14_04_02_721338_0001.jpg', '/home/pi/Desktop/images/13012025/14/04/image_13012025_14_04_02_721338_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/03/image_13012025_14_03_02_510717_0003.jpg
/home/pi/Desktop/images/13012025/14/04/image_13012025_14_04_02_721338_0000.jpg
/home/pi/Desktop/images/13012025/14/04/image_13012025_14_04_02_721338_0001.jpg
/home/pi/Desktop/images/13012025/14/04/image_13012025_14_04_02_721338_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328639533","1328639538","1328639528","1328639543"],"photo_ids_order":["1328639528","1328639533","1328639538","1328639543"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d075b5f9cc9f90d0bdb3648242a3edf7.jpg","text":"TemporaryFile(/tmp/multipartBody4171769477421894372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773532903,"filename":"image_13012025_14_04_02_721338_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/106046a9d245f6bb0e0142a3d217d82d.jpg","text":"TemporaryFile(/tmp/multipartBody1983552675834106002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773532903,"filename":"image_13012025_14_04_02_721338_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3f86a9c015a507c84ac894754393a05a.jpg","text":"TemporaryFile(/tmp/multipartBody3464662949733041750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773532903,"filename":"image_13012025_14_03_02_510717_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fc78ea73a5a3e53bd08224fa8d3c91aa.jpg","text":"TemporaryFile(/tmp/multipartBody7970625666189280153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773532903,"filename":"image_13012025_14_04_02_721338_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328639538","file1":"1328639533","file0":"1328639528","file3":"1328639543"},"map_files_photo_id_array":[{"photo_id":"1328639538","filename":"file2"},{"photo_id":"1328639533","filename":"file1"},{"photo_id":"1328639528","filename":"file0"},{"photo_id":"1328639543","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328639533":["hashtag1","hashtag2"]},{"1328639538":["hashtag1","hashtag2"]},{"1328639528":["hashtag1","hashtag2"]},{"1328639543":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328639533, 1328639538, 1328639528, 1328639543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.596938610076904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 14:05:03.212757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:05:22.532692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/04/image_13012025_14_04_02_721338_0003.jpg', '/home/pi/Desktop/images/13012025/14/05/image_13012025_14_05_02_789505_0000.jpg', '/home/pi/Desktop/images/13012025/14/05/image_13012025_14_05_02_789505_0001.jpg', '/home/pi/Desktop/images/13012025/14/05/image_13012025_14_05_02_789505_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/04/image_13012025_14_04_02_721338_0003.jpg
/home/pi/Desktop/images/13012025/14/05/image_13012025_14_05_02_789505_0000.jpg
/home/pi/Desktop/images/13012025/14/05/image_13012025_14_05_02_789505_0001.jpg
/home/pi/Desktop/images/13012025/14/05/image_13012025_14_05_02_789505_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328639623","1328639643","1328639616","1328639604"],"photo_ids_order":["1328639604","1328639616","1328639623","1328639643"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f0bd831511282c31716ce6a3a6948da8.jpg","text":"TemporaryFile(/tmp/multipartBody1007638563311293366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773592920,"filename":"image_13012025_14_05_02_789505_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ec7574f1015c39de183c8efa9ef7480b.jpg","text":"TemporaryFile(/tmp/multipartBody9184142250478703066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773592920,"filename":"image_13012025_14_05_02_789505_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/facfb50e70a02b5e548c159e12e3d931.jpg","text":"TemporaryFile(/tmp/multipartBody2303417034865744663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773592920,"filename":"image_13012025_14_05_02_789505_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/af49ee546daf2a6da0db749d200cb6c3.jpg","text":"TemporaryFile(/tmp/multipartBody4194955091922103207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773592920,"filename":"image_13012025_14_04_02_721338_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328639623","file1":"1328639616","file0":"1328639604","file3":"1328639643"},"map_files_photo_id_array":[{"photo_id":"1328639623","filename":"file2"},{"photo_id":"1328639616","filename":"file1"},{"photo_id":"1328639604","filename":"file0"},{"photo_id":"1328639643","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328639623":["hashtag1","hashtag2"]},{"1328639643":["hashtag1","hashtag2"]},{"1328639616":["hashtag1","hashtag2"]},{"1328639604":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328639623, 1328639643, 1328639616, 1328639604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.895907163619995 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 14:06:03.067677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:06:22.940011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/05/image_13012025_14_05_02_789505_0003.jpg', '/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_02_924874_0000.jpg', '/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_02_924874_0001.jpg', '/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_02_924874_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/05/image_13012025_14_05_02_789505_0003.jpg
/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_02_924874_0000.jpg
/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_02_924874_0001.jpg
/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_02_924874_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328640598","1328640571","1328640580","1328640575"],"photo_ids_order":["1328640571","1328640575","1328640580","1328640598"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9c80b7b5d0e6200a773a9bbd1de68e88.jpg","text":"TemporaryFile(/tmp/multipartBody4643668993839849873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773653393,"filename":"image_13012025_14_06_02_924874_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/09f229569cd40229571968c711134227.jpg","text":"TemporaryFile(/tmp/multipartBody7932830265654155791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773653393,"filename":"image_13012025_14_05_02_789505_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/752849c21fc8ed34679b7df2921c4385.jpg","text":"TemporaryFile(/tmp/multipartBody6979154884821488156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773653393,"filename":"image_13012025_14_06_02_924874_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8899c4b90992249c238a542b151e737c.jpg","text":"TemporaryFile(/tmp/multipartBody6391917105412237909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773653393,"filename":"image_13012025_14_06_02_924874_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328640580","file1":"1328640575","file0":"1328640571","file3":"1328640598"},"map_files_photo_id_array":[{"photo_id":"1328640580","filename":"file2"},{"photo_id":"1328640575","filename":"file1"},{"photo_id":"1328640571","filename":"file0"},{"photo_id":"1328640598","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328640598":["hashtag1","hashtag2"]},{"1328640571":["hashtag1","hashtag2"]},{"1328640580":["hashtag1","hashtag2"]},{"1328640575":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328640598, 1328640571, 1328640580, 1328640575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.687318325042725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:07:21.959622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_02_924874_0003.jpg', '/home/pi/Desktop/images/13012025/14/07/image_13012025_14_07_03_093880_0000.jpg', '/home/pi/Desktop/images/13012025/14/07/image_13012025_14_07_03_093880_0001.jpg', '/home/pi/Desktop/images/13012025/14/07/image_13012025_14_07_03_093880_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_02_924874_0003.jpg
/home/pi/Desktop/images/13012025/14/07/image_13012025_14_07_03_093880_0000.jpg
/home/pi/Desktop/images/13012025/14/07/image_13012025_14_07_03_093880_0001.jpg
/home/pi/Desktop/images/13012025/14/07/image_13012025_14_07_03_093880_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328640926","1328640877","1328640894","1328640980"],"photo_ids_order":["1328640877","1328640894","1328640926","1328640980"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e4beb91ff813b71188ea7b7998f15c80.jpg","text":"TemporaryFile(/tmp/multipartBody563330831011070752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773712319,"filename":"image_13012025_14_07_03_093880_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6ac085587d83b27475a0b36d6c2c6178.jpg","text":"TemporaryFile(/tmp/multipartBody2170147325081042326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773712319,"filename":"image_13012025_14_06_02_924874_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/472e8b5dff6c969f652d8ba7836a0468.jpg","text":"TemporaryFile(/tmp/multipartBody783039094793832531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773712319,"filename":"image_13012025_14_07_03_093880_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/49b3e0f2ce0e40c13a001afe3b7db297.jpg","text":"TemporaryFile(/tmp/multipartBody7394130787604735680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773712319,"filename":"image_13012025_14_07_03_093880_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328640926","file1":"1328640894","file0":"1328640877","file3":"1328640980"},"map_files_photo_id_array":[{"photo_id":"1328640926","filename":"file2"},{"photo_id":"1328640894","filename":"file1"},{"photo_id":"1328640877","filename":"file0"},{"photo_id":"1328640980","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328640926":["hashtag1","hashtag2"]},{"1328640877":["hashtag1","hashtag2"]},{"1328640894":["hashtag1","hashtag2"]},{"1328640980":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328640926, 1328640877, 1328640894, 1328640980)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.71840810775757 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:08:22.091290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/07/image_13012025_14_07_03_093880_0003.jpg', '/home/pi/Desktop/images/13012025/14/08/image_13012025_14_08_02_279561_0000.jpg', '/home/pi/Desktop/images/13012025/14/08/image_13012025_14_08_02_279561_0001.jpg', '/home/pi/Desktop/images/13012025/14/08/image_13012025_14_08_02_279561_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/07/image_13012025_14_07_03_093880_0003.jpg
/home/pi/Desktop/images/13012025/14/08/image_13012025_14_08_02_279561_0000.jpg
/home/pi/Desktop/images/13012025/14/08/image_13012025_14_08_02_279561_0001.jpg
/home/pi/Desktop/images/13012025/14/08/image_13012025_14_08_02_279561_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328641108","1328641092","1328641119","1328641100"],"photo_ids_order":["1328641092","1328641100","1328641108","1328641119"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6cd50e7a90e096d859579779cbff0905.jpg","text":"TemporaryFile(/tmp/multipartBody4692462736237049409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773772416,"filename":"image_13012025_14_08_02_279561_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d11c6d6f551411d8af84f0e2ddb2464e.jpg","text":"TemporaryFile(/tmp/multipartBody8265383560967859024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773772416,"filename":"image_13012025_14_07_03_093880_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/894c6d18124f575f6e311d8205a0e0e9.jpg","text":"TemporaryFile(/tmp/multipartBody4630474050791737633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773772416,"filename":"image_13012025_14_08_02_279561_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a242db39dae7e19eb68c1d3122e199c4.jpg","text":"TemporaryFile(/tmp/multipartBody6259565755913190887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773772416,"filename":"image_13012025_14_08_02_279561_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328641108","file1":"1328641100","file0":"1328641092","file3":"1328641119"},"map_files_photo_id_array":[{"photo_id":"1328641108","filename":"file2"},{"photo_id":"1328641100","filename":"file1"},{"photo_id":"1328641092","filename":"file0"},{"photo_id":"1328641119","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328641108":["hashtag1","hashtag2"]},{"1328641092":["hashtag1","hashtag2"]},{"1328641119":["hashtag1","hashtag2"]},{"1328641100":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328641108, 1328641092, 1328641119, 1328641100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.239933490753174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:09:22.331735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/08/image_13012025_14_08_02_279561_0003.jpg', '/home/pi/Desktop/images/13012025/14/09/image_13012025_14_09_02_456713_0000.jpg', '/home/pi/Desktop/images/13012025/14/09/image_13012025_14_09_02_456713_0001.jpg', '/home/pi/Desktop/images/13012025/14/09/image_13012025_14_09_02_456713_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/08/image_13012025_14_08_02_279561_0003.jpg
/home/pi/Desktop/images/13012025/14/09/image_13012025_14_09_02_456713_0000.jpg
/home/pi/Desktop/images/13012025/14/09/image_13012025_14_09_02_456713_0001.jpg
/home/pi/Desktop/images/13012025/14/09/image_13012025_14_09_02_456713_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328641138","1328641132","1328641161","1328641146"],"photo_ids_order":["1328641132","1328641138","1328641146","1328641161"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/86893d033b9584f797a7e7ea14447364.jpg","text":"TemporaryFile(/tmp/multipartBody8510732686662981574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773832837,"filename":"image_13012025_14_09_02_456713_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0fbd167c1fa6f1e9b5fd099ab1a93134.jpg","text":"TemporaryFile(/tmp/multipartBody3718990266092269155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773832837,"filename":"image_13012025_14_08_02_279561_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/64772f86aa1b759358569a5550452d06.jpg","text":"TemporaryFile(/tmp/multipartBody7330117349072628297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773832837,"filename":"image_13012025_14_09_02_456713_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cf943faec7d8a46b248423e79ed139de.jpg","text":"TemporaryFile(/tmp/multipartBody1281530179185986638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773832837,"filename":"image_13012025_14_09_02_456713_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328641146","file1":"1328641138","file0":"1328641132","file3":"1328641161"},"map_files_photo_id_array":[{"photo_id":"1328641146","filename":"file2"},{"photo_id":"1328641138","filename":"file1"},{"photo_id":"1328641132","filename":"file0"},{"photo_id":"1328641161","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328641138":["hashtag1","hashtag2"]},{"1328641132":["hashtag1","hashtag2"]},{"1328641161":["hashtag1","hashtag2"]},{"1328641146":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328641138, 1328641132, 1328641161, 1328641146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.27280282974243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:10:22.468899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/09/image_13012025_14_09_02_456713_0003.jpg', '/home/pi/Desktop/images/13012025/14/10/image_13012025_14_10_02_664497_0000.jpg', '/home/pi/Desktop/images/13012025/14/10/image_13012025_14_10_02_664497_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/09/image_13012025_14_09_02_456713_0003.jpg
/home/pi/Desktop/images/13012025/14/10/image_13012025_14_10_02_664497_0000.jpg
/home/pi/Desktop/images/13012025/14/10/image_13012025_14_10_02_664497_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328641197","1328641181","1328641187"],"photo_ids_order":["1328641181","1328641187","1328641197"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/12c578328b165ff989c563c0fd94dc56.jpg","text":"TemporaryFile(/tmp/multipartBody6425656098887480371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773890407,"filename":"image_13012025_14_10_02_664497_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b402aac8bf17ec5377884d1e02f7c38c.jpg","text":"TemporaryFile(/tmp/multipartBody463748677085877087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773890407,"filename":"image_13012025_14_09_02_456713_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/050e49cd492bcebfeace5c6040c28798.jpg","text":"TemporaryFile(/tmp/multipartBody8541126995808632373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773890407,"filename":"image_13012025_14_10_02_664497_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328641197","file1":"1328641187","file0":"1328641181"},"map_files_photo_id_array":[{"photo_id":"1328641197","filename":"file2"},{"photo_id":"1328641187","filename":"file1"},{"photo_id":"1328641181","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328641197":["hashtag1","hashtag2"]},{"1328641181":["hashtag1","hashtag2"]},{"1328641187":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328641197, 1328641181, 1328641187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.255858898162842 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 14:11:03.164913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:11:22.693319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/10/image_13012025_14_10_02_664497_0003.jpg', '/home/pi/Desktop/images/13012025/14/11/image_13012025_14_11_02_827206_0000.jpg', '/home/pi/Desktop/images/13012025/14/11/image_13012025_14_11_02_827206_0001.jpg', '/home/pi/Desktop/images/13012025/14/11/image_13012025_14_11_02_827206_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/10/image_13012025_14_10_02_664497_0003.jpg
/home/pi/Desktop/images/13012025/14/11/image_13012025_14_11_02_827206_0000.jpg
/home/pi/Desktop/images/13012025/14/11/image_13012025_14_11_02_827206_0001.jpg
/home/pi/Desktop/images/13012025/14/11/image_13012025_14_11_02_827206_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328641258","1328641251","1328641271","1328641244"],"photo_ids_order":["1328641244","1328641251","1328641258","1328641271"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dc51c075c1d8c8bf35ee3530e23d1f52.jpg","text":"TemporaryFile(/tmp/multipartBody3149825229771068023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773952832,"filename":"image_13012025_14_11_02_827206_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/156e6535979032b6e010a1aafcf0d013.jpg","text":"TemporaryFile(/tmp/multipartBody2267180862089358930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773952832,"filename":"image_13012025_14_11_02_827206_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/da935ca92c4a29a9a63ece23adaea700.jpg","text":"TemporaryFile(/tmp/multipartBody4166146130656410089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773952832,"filename":"image_13012025_14_11_02_827206_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/565a897ca8d31686adb35d7a71988a10.jpg","text":"TemporaryFile(/tmp/multipartBody5166378529382808237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736773952832,"filename":"image_13012025_14_10_02_664497_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328641258","file1":"1328641251","file0":"1328641244","file3":"1328641271"},"map_files_photo_id_array":[{"photo_id":"1328641258","filename":"file2"},{"photo_id":"1328641251","filename":"file1"},{"photo_id":"1328641244","filename":"file0"},{"photo_id":"1328641271","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328641258":["hashtag1","hashtag2"]},{"1328641251":["hashtag1","hashtag2"]},{"1328641271":["hashtag1","hashtag2"]},{"1328641244":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328641258, 1328641251, 1328641271, 1328641244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.91896176338196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:12:21.870043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/11/image_13012025_14_11_02_827206_0003.jpg', '/home/pi/Desktop/images/13012025/14/12/image_13012025_14_12_03_031657_0000.jpg', '/home/pi/Desktop/images/13012025/14/12/image_13012025_14_12_03_031657_0001.jpg', '/home/pi/Desktop/images/13012025/14/12/image_13012025_14_12_03_031657_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/11/image_13012025_14_11_02_827206_0003.jpg
/home/pi/Desktop/images/13012025/14/12/image_13012025_14_12_03_031657_0000.jpg
/home/pi/Desktop/images/13012025/14/12/image_13012025_14_12_03_031657_0001.jpg
/home/pi/Desktop/images/13012025/14/12/image_13012025_14_12_03_031657_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328641318","1328641303","1328641332","1328641325"],"photo_ids_order":["1328641303","1328641318","1328641325","1328641332"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5a0a0306542f429da90f5c0d26375540.jpg","text":"TemporaryFile(/tmp/multipartBody7147442026208205350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774012037,"filename":"image_13012025_14_12_03_031657_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a002fc2bce7dd6c8ddf5612cb4d8565b.jpg","text":"TemporaryFile(/tmp/multipartBody5152136620805389016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774012037,"filename":"image_13012025_14_11_02_827206_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d87db886b9a54c9873b074d335f7cb19.jpg","text":"TemporaryFile(/tmp/multipartBody5051124189014105816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774012037,"filename":"image_13012025_14_12_03_031657_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6522a24e7a3ea313e3bbe51ac13fcd5b.jpg","text":"TemporaryFile(/tmp/multipartBody4333659965763976053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774012037,"filename":"image_13012025_14_12_03_031657_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328641325","file1":"1328641318","file0":"1328641303","file3":"1328641332"},"map_files_photo_id_array":[{"photo_id":"1328641325","filename":"file2"},{"photo_id":"1328641318","filename":"file1"},{"photo_id":"1328641303","filename":"file0"},{"photo_id":"1328641332","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328641318":["hashtag1","hashtag2"]},{"1328641303":["hashtag1","hashtag2"]},{"1328641332":["hashtag1","hashtag2"]},{"1328641325":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328641318, 1328641303, 1328641332, 1328641325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.466530084609985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:13:22.113035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/12/image_13012025_14_12_03_031657_0003.jpg', '/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_02_236514_0000.jpg', '/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_02_236514_0001.jpg', '/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_02_236514_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/12/image_13012025_14_12_03_031657_0003.jpg
/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_02_236514_0000.jpg
/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_02_236514_0001.jpg
/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_02_236514_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328641435","1328641426","1328641419","1328641430"],"photo_ids_order":["1328641419","1328641426","1328641430","1328641435"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5a99401637667ba044ffadb5463161f0.jpg","text":"TemporaryFile(/tmp/multipartBody9144762041828608701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774072448,"filename":"image_13012025_14_13_02_236514_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0f638f55607e88d6a7125efac495eee2.jpg","text":"TemporaryFile(/tmp/multipartBody3478811644706736177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774072448,"filename":"image_13012025_14_13_02_236514_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/baaf71470e5c7a44ef69c49148ef9cca.jpg","text":"TemporaryFile(/tmp/multipartBody4250021323101627051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774072448,"filename":"image_13012025_14_12_03_031657_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1811e4197f393d95bc3b8dd589dea542.jpg","text":"TemporaryFile(/tmp/multipartBody7988359564743772245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774072448,"filename":"image_13012025_14_13_02_236514_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328641430","file1":"1328641426","file0":"1328641419","file3":"1328641435"},"map_files_photo_id_array":[{"photo_id":"1328641430","filename":"file2"},{"photo_id":"1328641426","filename":"file1"},{"photo_id":"1328641419","filename":"file0"},{"photo_id":"1328641435","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328641435":["hashtag1","hashtag2"]},{"1328641426":["hashtag1","hashtag2"]},{"1328641419":["hashtag1","hashtag2"]},{"1328641430":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328641435, 1328641426, 1328641419, 1328641430)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.66781282424927 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:14:22.255478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_02_236514_0003.jpg', '/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_02_505056_0000.jpg', '/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_02_505056_0001.jpg', '/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_02_505056_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_02_236514_0003.jpg
/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_02_505056_0000.jpg
/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_02_505056_0001.jpg
/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_02_505056_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328641516","1328641506","1328641521","1328641511"],"photo_ids_order":["1328641506","1328641511","1328641516","1328641521"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0fe57dd01fd87b3113a2ac213bf37e12.jpg","text":"TemporaryFile(/tmp/multipartBody6355232522537790530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774132552,"filename":"image_13012025_14_14_02_505056_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2b203f425dcd0e61c5cd0cd455b7d383.jpg","text":"TemporaryFile(/tmp/multipartBody5644361859606958237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774132552,"filename":"image_13012025_14_13_02_236514_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/83ab305070629b43b2f2af84e21d7b91.jpg","text":"TemporaryFile(/tmp/multipartBody3750868193843485368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774132552,"filename":"image_13012025_14_14_02_505056_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c2ad26c8aff4998f5fe42b1d2c1263ca.jpg","text":"TemporaryFile(/tmp/multipartBody76774167444534423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774132552,"filename":"image_13012025_14_14_02_505056_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328641516","file1":"1328641511","file0":"1328641506","file3":"1328641521"},"map_files_photo_id_array":[{"photo_id":"1328641516","filename":"file2"},{"photo_id":"1328641511","filename":"file1"},{"photo_id":"1328641506","filename":"file0"},{"photo_id":"1328641521","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328641516":["hashtag1","hashtag2"]},{"1328641506":["hashtag1","hashtag2"]},{"1328641521":["hashtag1","hashtag2"]},{"1328641511":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328641516, 1328641506, 1328641521, 1328641511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.17327094078064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:15:22.494828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_02_505056_0003.jpg', '/home/pi/Desktop/images/13012025/14/15/image_13012025_14_15_02_570089_0000.jpg', '/home/pi/Desktop/images/13012025/14/15/image_13012025_14_15_02_570089_0001.jpg', '/home/pi/Desktop/images/13012025/14/15/image_13012025_14_15_02_570089_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_02_505056_0003.jpg
/home/pi/Desktop/images/13012025/14/15/image_13012025_14_15_02_570089_0000.jpg
/home/pi/Desktop/images/13012025/14/15/image_13012025_14_15_02_570089_0001.jpg
/home/pi/Desktop/images/13012025/14/15/image_13012025_14_15_02_570089_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328641722","1328641710","1328641632","1328641570"],"photo_ids_order":["1328641570","1328641632","1328641710","1328641722"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f0df84ebdf8337f529441fadb9e0115e.jpg","text":"TemporaryFile(/tmp/multipartBody6389603649346535145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774192763,"filename":"image_13012025_14_15_02_570089_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e98d483fac65d8aba617e8803d12fc32.jpg","text":"TemporaryFile(/tmp/multipartBody7934786526834026465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774192763,"filename":"image_13012025_14_15_02_570089_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/601a0c52f973a9822c71206e59b6e6bf.jpg","text":"TemporaryFile(/tmp/multipartBody6795529169949461232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774192763,"filename":"image_13012025_14_15_02_570089_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b7482de267a254f84f7cf16bfd409401.jpg","text":"TemporaryFile(/tmp/multipartBody7762595376240599795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774192763,"filename":"image_13012025_14_14_02_505056_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328641710","file1":"1328641632","file0":"1328641570","file3":"1328641722"},"map_files_photo_id_array":[{"photo_id":"1328641710","filename":"file2"},{"photo_id":"1328641632","filename":"file1"},{"photo_id":"1328641570","filename":"file0"},{"photo_id":"1328641722","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328641722":["hashtag1","hashtag2"]},{"1328641710":["hashtag1","hashtag2"]},{"1328641632":["hashtag1","hashtag2"]},{"1328641570":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328641722, 1328641710, 1328641632, 1328641570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.934601068496704 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:16:22.637787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/15/image_13012025_14_15_02_570089_0003.jpg', '/home/pi/Desktop/images/13012025/14/16/image_13012025_14_16_02_833663_0000.jpg', '/home/pi/Desktop/images/13012025/14/16/image_13012025_14_16_02_833663_0001.jpg', '/home/pi/Desktop/images/13012025/14/16/image_13012025_14_16_02_833663_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/15/image_13012025_14_15_02_570089_0003.jpg
/home/pi/Desktop/images/13012025/14/16/image_13012025_14_16_02_833663_0000.jpg
/home/pi/Desktop/images/13012025/14/16/image_13012025_14_16_02_833663_0001.jpg
/home/pi/Desktop/images/13012025/14/16/image_13012025_14_16_02_833663_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328641860","1328641851","1328641877","1328641847"],"photo_ids_order":["1328641847","1328641851","1328641860","1328641877"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/26dc480f7704439798a96800140372bf.jpg","text":"TemporaryFile(/tmp/multipartBody15752775704547487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774252893,"filename":"image_13012025_14_16_02_833663_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9a180097772fc359c619ab0ba8e2827e.jpg","text":"TemporaryFile(/tmp/multipartBody5680622724576583854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774252893,"filename":"image_13012025_14_16_02_833663_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/40c2cdc19c91771414c6394621391c39.jpg","text":"TemporaryFile(/tmp/multipartBody51374602872692486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774252893,"filename":"image_13012025_14_16_02_833663_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ed17c31b44c67adbc22ddf7a6085c021.jpg","text":"TemporaryFile(/tmp/multipartBody8613137633803572648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774252893,"filename":"image_13012025_14_15_02_570089_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328641860","file1":"1328641851","file0":"1328641847","file3":"1328641877"},"map_files_photo_id_array":[{"photo_id":"1328641860","filename":"file2"},{"photo_id":"1328641851","filename":"file1"},{"photo_id":"1328641847","filename":"file0"},{"photo_id":"1328641877","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328641860":["hashtag1","hashtag2"]},{"1328641851":["hashtag1","hashtag2"]},{"1328641877":["hashtag1","hashtag2"]},{"1328641847":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328641860, 1328641851, 1328641877, 1328641847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.873981952667236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:17:21.808253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/16/image_13012025_14_16_02_833663_0003.jpg', '/home/pi/Desktop/images/13012025/14/17/image_13012025_14_17_02_960699_0000.jpg', '/home/pi/Desktop/images/13012025/14/17/image_13012025_14_17_02_960699_0001.jpg', '/home/pi/Desktop/images/13012025/14/17/image_13012025_14_17_02_960699_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/16/image_13012025_14_16_02_833663_0003.jpg
/home/pi/Desktop/images/13012025/14/17/image_13012025_14_17_02_960699_0000.jpg
/home/pi/Desktop/images/13012025/14/17/image_13012025_14_17_02_960699_0001.jpg
/home/pi/Desktop/images/13012025/14/17/image_13012025_14_17_02_960699_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328641930","1328641920","1328641926","1328641914"],"photo_ids_order":["1328641914","1328641920","1328641926","1328641930"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8f64322b3c9bc0379dae6d96bbc92d83.jpg","text":"TemporaryFile(/tmp/multipartBody3815900196716262588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774312092,"filename":"image_13012025_14_17_02_960699_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8b33ca4a2dc0976ed0269b446fba0282.jpg","text":"TemporaryFile(/tmp/multipartBody3457888976502012835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774312092,"filename":"image_13012025_14_17_02_960699_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/879e0fceafa10abfe9371ea3de09bf56.jpg","text":"TemporaryFile(/tmp/multipartBody5925812514170278197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774312092,"filename":"image_13012025_14_17_02_960699_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c6f984631854bd84e26b985ff6ef3390.jpg","text":"TemporaryFile(/tmp/multipartBody8349700664486544634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774312092,"filename":"image_13012025_14_16_02_833663_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328641926","file1":"1328641920","file0":"1328641914","file3":"1328641930"},"map_files_photo_id_array":[{"photo_id":"1328641926","filename":"file2"},{"photo_id":"1328641920","filename":"file1"},{"photo_id":"1328641914","filename":"file0"},{"photo_id":"1328641930","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328641930":["hashtag1","hashtag2"]},{"1328641920":["hashtag1","hashtag2"]},{"1328641926":["hashtag1","hashtag2"]},{"1328641914":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328641930, 1328641920, 1328641926, 1328641914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.04089283943176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 14:18:02.202352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:18:22.002234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/17/image_13012025_14_17_02_960699_0003.jpg', '/home/pi/Desktop/images/13012025/14/18/image_13012025_14_18_02_175719_0000.jpg', '/home/pi/Desktop/images/13012025/14/18/image_13012025_14_18_02_175719_0001.jpg', '/home/pi/Desktop/images/13012025/14/18/image_13012025_14_18_02_175719_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/17/image_13012025_14_17_02_960699_0003.jpg
/home/pi/Desktop/images/13012025/14/18/image_13012025_14_18_02_175719_0000.jpg
/home/pi/Desktop/images/13012025/14/18/image_13012025_14_18_02_175719_0001.jpg
/home/pi/Desktop/images/13012025/14/18/image_13012025_14_18_02_175719_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.957902431488037 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 14:18:41.893140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/17/image_13012025_14_17_02_960699_0003.jpg', '/home/pi/Desktop/images/13012025/14/18/image_13012025_14_18_02_175719_0000.jpg', '/home/pi/Desktop/images/13012025/14/18/image_13012025_14_18_02_175719_0001.jpg', '/home/pi/Desktop/images/13012025/14/18/image_13012025_14_18_02_175719_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/17/image_13012025_14_17_02_960699_0003.jpg
/home/pi/Desktop/images/13012025/14/18/image_13012025_14_18_02_175719_0000.jpg
/home/pi/Desktop/images/13012025/14/18/image_13012025_14_18_02_175719_0001.jpg
/home/pi/Desktop/images/13012025/14/18/image_13012025_14_18_02_175719_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328641984","1328642060","1328642162","1328642153"],"photo_ids_order":["1328641984","1328642060","1328642153","1328642162"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/edd013515f986a67044ac066f2c72911.jpg","text":"TemporaryFile(/tmp/multipartBody5711562561137123467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774392272,"filename":"image_13012025_14_17_02_960699_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c4050e512141f46700ebbee116d557e3.jpg","text":"TemporaryFile(/tmp/multipartBody4251801488475023185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774392272,"filename":"image_13012025_14_18_02_175719_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3dd498263533aae20d423b674694e815.jpg","text":"TemporaryFile(/tmp/multipartBody2722364035554585108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774392272,"filename":"image_13012025_14_18_02_175719_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ab011db97d1803fdea8bb3b0ee1d5269.jpg","text":"TemporaryFile(/tmp/multipartBody558611836714883705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774392272,"filename":"image_13012025_14_18_02_175719_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328642153","file1":"1328642060","file0":"1328641984","file3":"1328642162"},"map_files_photo_id_array":[{"photo_id":"1328642153","filename":"file2"},{"photo_id":"1328642060","filename":"file1"},{"photo_id":"1328641984","filename":"file0"},{"photo_id":"1328642162","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328641984":["hashtag1","hashtag2"]},{"1328642060":["hashtag1","hashtag2"]},{"1328642162":["hashtag1","hashtag2"]},{"1328642153":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328641984, 1328642060, 1328642162, 1328642153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.08859896659851 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:19:22.047335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/18/image_13012025_14_18_02_175719_0003.jpg', '/home/pi/Desktop/images/13012025/14/19/image_13012025_14_19_02_317678_0000.jpg', '/home/pi/Desktop/images/13012025/14/19/image_13012025_14_19_02_317678_0001.jpg', '/home/pi/Desktop/images/13012025/14/19/image_13012025_14_19_02_317678_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/18/image_13012025_14_18_02_175719_0003.jpg
/home/pi/Desktop/images/13012025/14/19/image_13012025_14_19_02_317678_0000.jpg
/home/pi/Desktop/images/13012025/14/19/image_13012025_14_19_02_317678_0001.jpg
/home/pi/Desktop/images/13012025/14/19/image_13012025_14_19_02_317678_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328642187","1328642195","1328642198","1328642191"],"photo_ids_order":["1328642187","1328642191","1328642195","1328642198"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ee34cd11e196366930b1e937989ec450.jpg","text":"TemporaryFile(/tmp/multipartBody549563756719860588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774432285,"filename":"image_13012025_14_18_02_175719_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bf56d3ee05c45e5bfeace65962c4bef0.jpg","text":"TemporaryFile(/tmp/multipartBody4321066291989788931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774432285,"filename":"image_13012025_14_19_02_317678_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8fa68d8a1ff04feee512c63e62b2e7bd.jpg","text":"TemporaryFile(/tmp/multipartBody4309594222876630429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774432285,"filename":"image_13012025_14_19_02_317678_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c832511dc36c02a98bafdef794ab64b6.jpg","text":"TemporaryFile(/tmp/multipartBody8501049549833465101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774432285,"filename":"image_13012025_14_19_02_317678_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328642195","file1":"1328642191","file0":"1328642187","file3":"1328642198"},"map_files_photo_id_array":[{"photo_id":"1328642195","filename":"file2"},{"photo_id":"1328642191","filename":"file1"},{"photo_id":"1328642187","filename":"file0"},{"photo_id":"1328642198","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328642187":["hashtag1","hashtag2"]},{"1328642195":["hashtag1","hashtag2"]},{"1328642198":["hashtag1","hashtag2"]},{"1328642191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328642187, 1328642195, 1328642198, 1328642191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.19431805610657 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 14:20:02.585338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:20:22.349677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/19/image_13012025_14_19_02_317678_0003.jpg', '/home/pi/Desktop/images/13012025/14/20/image_13012025_14_20_02_449211_0000.jpg', '/home/pi/Desktop/images/13012025/14/20/image_13012025_14_20_02_449211_0001.jpg', '/home/pi/Desktop/images/13012025/14/20/image_13012025_14_20_02_449211_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/19/image_13012025_14_19_02_317678_0003.jpg
/home/pi/Desktop/images/13012025/14/20/image_13012025_14_20_02_449211_0000.jpg
/home/pi/Desktop/images/13012025/14/20/image_13012025_14_20_02_449211_0001.jpg
/home/pi/Desktop/images/13012025/14/20/image_13012025_14_20_02_449211_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328642313","1328642321","1328642303","1328642309"],"photo_ids_order":["1328642303","1328642309","1328642313","1328642321"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1966152d53f4df1d9c2c388d27194748.jpg","text":"TemporaryFile(/tmp/multipartBody6602500818324071320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774492627,"filename":"image_13012025_14_20_02_449211_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/78eb36567039e9da372d66baa948146f.jpg","text":"TemporaryFile(/tmp/multipartBody869354862634274178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774492627,"filename":"image_13012025_14_20_02_449211_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/068811b8af4adba217df957bd00f775b.jpg","text":"TemporaryFile(/tmp/multipartBody3234030951665103227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774492627,"filename":"image_13012025_14_19_02_317678_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/45440f9f8ddb851cda52851f35801bd3.jpg","text":"TemporaryFile(/tmp/multipartBody4387497213299955136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774492627,"filename":"image_13012025_14_20_02_449211_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328642313","file1":"1328642309","file0":"1328642303","file3":"1328642321"},"map_files_photo_id_array":[{"photo_id":"1328642313","filename":"file2"},{"photo_id":"1328642309","filename":"file1"},{"photo_id":"1328642303","filename":"file0"},{"photo_id":"1328642321","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328642313":["hashtag1","hashtag2"]},{"1328642321":["hashtag1","hashtag2"]},{"1328642303":["hashtag1","hashtag2"]},{"1328642309":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328642313, 1328642321, 1328642303, 1328642309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.075759172439575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 14:21:02.855146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:21:22.357908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/20/image_13012025_14_20_02_449211_0003.jpg', '/home/pi/Desktop/images/13012025/14/21/image_13012025_14_21_02_537893_0000.jpg', '/home/pi/Desktop/images/13012025/14/21/image_13012025_14_21_02_537893_0001.jpg', '/home/pi/Desktop/images/13012025/14/21/image_13012025_14_21_02_537893_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/20/image_13012025_14_20_02_449211_0003.jpg
/home/pi/Desktop/images/13012025/14/21/image_13012025_14_21_02_537893_0000.jpg
/home/pi/Desktop/images/13012025/14/21/image_13012025_14_21_02_537893_0001.jpg
/home/pi/Desktop/images/13012025/14/21/image_13012025_14_21_02_537893_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328642370","1328642375","1328642363","1328642353"],"photo_ids_order":["1328642353","1328642363","1328642370","1328642375"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8647f1b835f45c9346001ca3d29c263c.jpg","text":"TemporaryFile(/tmp/multipartBody4936902620101173754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774552647,"filename":"image_13012025_14_21_02_537893_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8b329a7da4875dacdcbecc4f2ff11bfe.jpg","text":"TemporaryFile(/tmp/multipartBody7583399691685240648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774552647,"filename":"image_13012025_14_21_02_537893_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6a1445983065bf055bf09feec324b94b.jpg","text":"TemporaryFile(/tmp/multipartBody6994784666604574199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774552647,"filename":"image_13012025_14_21_02_537893_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d0b933f758814ec30f4dd27751cfcffa.jpg","text":"TemporaryFile(/tmp/multipartBody5523934213426740706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774552647,"filename":"image_13012025_14_20_02_449211_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328642370","file1":"1328642363","file0":"1328642353","file3":"1328642375"},"map_files_photo_id_array":[{"photo_id":"1328642370","filename":"file2"},{"photo_id":"1328642363","filename":"file1"},{"photo_id":"1328642353","filename":"file0"},{"photo_id":"1328642375","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328642370":["hashtag1","hashtag2"]},{"1328642375":["hashtag1","hashtag2"]},{"1328642363":["hashtag1","hashtag2"]},{"1328642353":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328642370, 1328642375, 1328642363, 1328642353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.55271005630493 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:22:22.535773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/21/image_13012025_14_21_02_537893_0003.jpg', '/home/pi/Desktop/images/13012025/14/22/image_13012025_14_22_02_720813_0000.jpg', '/home/pi/Desktop/images/13012025/14/22/image_13012025_14_22_02_720813_0001.jpg', '/home/pi/Desktop/images/13012025/14/22/image_13012025_14_22_02_720813_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/21/image_13012025_14_21_02_537893_0003.jpg
/home/pi/Desktop/images/13012025/14/22/image_13012025_14_22_02_720813_0000.jpg
/home/pi/Desktop/images/13012025/14/22/image_13012025_14_22_02_720813_0001.jpg
/home/pi/Desktop/images/13012025/14/22/image_13012025_14_22_02_720813_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328642454","1328642461","1328642464","1328642452"],"photo_ids_order":["1328642452","1328642454","1328642461","1328642464"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/76ff6143ab7426d1d0bff9203d259d42.jpg","text":"TemporaryFile(/tmp/multipartBody5904866776925202807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774612903,"filename":"image_13012025_14_22_02_720813_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1a8a5b5bdc3529263b59c1fb78b26a42.jpg","text":"TemporaryFile(/tmp/multipartBody8927095531668471193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774612903,"filename":"image_13012025_14_22_02_720813_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/88294ddce91989c6a58379baeb33e0a6.jpg","text":"TemporaryFile(/tmp/multipartBody2032077465323783635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774612903,"filename":"image_13012025_14_22_02_720813_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/721a77a8709cd0df94d5d287a312ddc2.jpg","text":"TemporaryFile(/tmp/multipartBody2440562467337640782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774612903,"filename":"image_13012025_14_21_02_537893_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328642461","file1":"1328642454","file0":"1328642452","file3":"1328642464"},"map_files_photo_id_array":[{"photo_id":"1328642461","filename":"file2"},{"photo_id":"1328642454","filename":"file1"},{"photo_id":"1328642452","filename":"file0"},{"photo_id":"1328642464","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328642454":["hashtag1","hashtag2"]},{"1328642461":["hashtag1","hashtag2"]},{"1328642464":["hashtag1","hashtag2"]},{"1328642452":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328642454, 1328642461, 1328642464, 1328642452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.375832080841064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:23:22.848479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/22/image_13012025_14_22_02_720813_0003.jpg', '/home/pi/Desktop/images/13012025/14/23/image_13012025_14_23_02_948976_0000.jpg', '/home/pi/Desktop/images/13012025/14/23/image_13012025_14_23_02_948976_0001.jpg', '/home/pi/Desktop/images/13012025/14/23/image_13012025_14_23_02_948976_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/22/image_13012025_14_22_02_720813_0003.jpg
/home/pi/Desktop/images/13012025/14/23/image_13012025_14_23_02_948976_0000.jpg
/home/pi/Desktop/images/13012025/14/23/image_13012025_14_23_02_948976_0001.jpg
/home/pi/Desktop/images/13012025/14/23/image_13012025_14_23_02_948976_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.771185636520386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 14:23:42.794527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/22/image_13012025_14_22_02_720813_0003.jpg', '/home/pi/Desktop/images/13012025/14/23/image_13012025_14_23_02_948976_0000.jpg', '/home/pi/Desktop/images/13012025/14/23/image_13012025_14_23_02_948976_0001.jpg', '/home/pi/Desktop/images/13012025/14/23/image_13012025_14_23_02_948976_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/22/image_13012025_14_22_02_720813_0003.jpg
/home/pi/Desktop/images/13012025/14/23/image_13012025_14_23_02_948976_0000.jpg
/home/pi/Desktop/images/13012025/14/23/image_13012025_14_23_02_948976_0001.jpg
/home/pi/Desktop/images/13012025/14/23/image_13012025_14_23_02_948976_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328642610","1328642498","1328642666","1328642531"],"photo_ids_order":["1328642498","1328642531","1328642610","1328642666"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/20e65559546a78235728f99a205ec8f6.jpg","text":"TemporaryFile(/tmp/multipartBody5628446083418075576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774692950,"filename":"image_13012025_14_23_02_948976_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fc1e0325b30a77b2ca05d27a03b190f2.jpg","text":"TemporaryFile(/tmp/multipartBody3378003814676958334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774692950,"filename":"image_13012025_14_22_02_720813_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a13edcbfe93ebc966732f69017558351.jpg","text":"TemporaryFile(/tmp/multipartBody6836288837402414567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774692950,"filename":"image_13012025_14_23_02_948976_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6aca9ef73c441dfeafc7c469a543a27d.jpg","text":"TemporaryFile(/tmp/multipartBody408019151961263166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774692950,"filename":"image_13012025_14_23_02_948976_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328642610","file1":"1328642531","file0":"1328642498","file3":"1328642666"},"map_files_photo_id_array":[{"photo_id":"1328642610","filename":"file2"},{"photo_id":"1328642531","filename":"file1"},{"photo_id":"1328642498","filename":"file0"},{"photo_id":"1328642666","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328642610":["hashtag1","hashtag2"]},{"1328642498":["hashtag1","hashtag2"]},{"1328642666":["hashtag1","hashtag2"]},{"1328642531":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328642610, 1328642498, 1328642666, 1328642531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.20999002456665 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 14:24:31.924525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/23/image_13012025_14_23_02_948976_0003.jpg', '/home/pi/Desktop/images/13012025/14/24/image_13012025_14_24_03_148145_0000.jpg', '/home/pi/Desktop/images/13012025/14/24/image_13012025_14_24_03_148145_0001.jpg', '/home/pi/Desktop/images/13012025/14/24/image_13012025_14_24_03_148145_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/23/image_13012025_14_23_02_948976_0003.jpg
/home/pi/Desktop/images/13012025/14/24/image_13012025_14_24_03_148145_0000.jpg
/home/pi/Desktop/images/13012025/14/24/image_13012025_14_24_03_148145_0001.jpg
/home/pi/Desktop/images/13012025/14/24/image_13012025_14_24_03_148145_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328642701","1328642688","1328642718","1328642683"],"photo_ids_order":["1328642683","1328642688","1328642701","1328642718"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fb2a44bf1f23d7104e474f1b0959a9f5.jpg","text":"TemporaryFile(/tmp/multipartBody6655706811599560513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774742115,"filename":"image_13012025_14_24_03_148145_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bfbe942c8c54b1eabf5730b2a33306f0.jpg","text":"TemporaryFile(/tmp/multipartBody3173766143396945438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774742115,"filename":"image_13012025_14_24_03_148145_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e16e144bf6eb59b6d3f7f20a78869810.jpg","text":"TemporaryFile(/tmp/multipartBody3720689339130740567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774742115,"filename":"image_13012025_14_24_03_148145_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/703386b459cdb76045595f867771f9b1.jpg","text":"TemporaryFile(/tmp/multipartBody3537503929042088076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774742115,"filename":"image_13012025_14_23_02_948976_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328642701","file1":"1328642688","file0":"1328642683","file3":"1328642718"},"map_files_photo_id_array":[{"photo_id":"1328642701","filename":"file2"},{"photo_id":"1328642688","filename":"file1"},{"photo_id":"1328642683","filename":"file0"},{"photo_id":"1328642718","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328642701":["hashtag1","hashtag2"]},{"1328642688":["hashtag1","hashtag2"]},{"1328642718":["hashtag1","hashtag2"]},{"1328642683":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328642701, 1328642688, 1328642718, 1328642683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.595898389816284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:25:22.171760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/24/image_13012025_14_24_03_148145_0003.jpg', '/home/pi/Desktop/images/13012025/14/25/image_13012025_14_25_02_309945_0000.jpg', '/home/pi/Desktop/images/13012025/14/25/image_13012025_14_25_02_309945_0001.jpg', '/home/pi/Desktop/images/13012025/14/25/image_13012025_14_25_02_309945_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/24/image_13012025_14_24_03_148145_0003.jpg
/home/pi/Desktop/images/13012025/14/25/image_13012025_14_25_02_309945_0000.jpg
/home/pi/Desktop/images/13012025/14/25/image_13012025_14_25_02_309945_0001.jpg
/home/pi/Desktop/images/13012025/14/25/image_13012025_14_25_02_309945_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328642745","1328642742","1328642750","1328642747"],"photo_ids_order":["1328642742","1328642745","1328642747","1328642750"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f02c17b18688452ed541ece1089f8b80.jpg","text":"TemporaryFile(/tmp/multipartBody1855144824385015441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774792462,"filename":"image_13012025_14_25_02_309945_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/94231ef68b5ae54d917b93f55cf60e84.jpg","text":"TemporaryFile(/tmp/multipartBody8224504998440647444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774792462,"filename":"image_13012025_14_24_03_148145_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/084bdc25153af047d67a986786bf5d60.jpg","text":"TemporaryFile(/tmp/multipartBody1725010127439095012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774792462,"filename":"image_13012025_14_25_02_309945_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/91d214f1ad00712ffc55a8b05fd42f53.jpg","text":"TemporaryFile(/tmp/multipartBody4419059382194866043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774792462,"filename":"image_13012025_14_25_02_309945_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328642747","file1":"1328642745","file0":"1328642742","file3":"1328642750"},"map_files_photo_id_array":[{"photo_id":"1328642747","filename":"file2"},{"photo_id":"1328642745","filename":"file1"},{"photo_id":"1328642742","filename":"file0"},{"photo_id":"1328642750","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328642745":["hashtag1","hashtag2"]},{"1328642742":["hashtag1","hashtag2"]},{"1328642750":["hashtag1","hashtag2"]},{"1328642747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328642745, 1328642742, 1328642750, 1328642747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.16761088371277 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 14:26:02.779341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:26:22.290008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/25/image_13012025_14_25_02_309945_0003.jpg', '/home/pi/Desktop/images/13012025/14/26/image_13012025_14_26_02_475495_0000.jpg', '/home/pi/Desktop/images/13012025/14/26/image_13012025_14_26_02_475495_0001.jpg', '/home/pi/Desktop/images/13012025/14/26/image_13012025_14_26_02_475495_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/25/image_13012025_14_25_02_309945_0003.jpg
/home/pi/Desktop/images/13012025/14/26/image_13012025_14_26_02_475495_0000.jpg
/home/pi/Desktop/images/13012025/14/26/image_13012025_14_26_02_475495_0001.jpg
/home/pi/Desktop/images/13012025/14/26/image_13012025_14_26_02_475495_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.750806331634521 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 14:26:42.320806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/25/image_13012025_14_25_02_309945_0003.jpg', '/home/pi/Desktop/images/13012025/14/26/image_13012025_14_26_02_475495_0000.jpg', '/home/pi/Desktop/images/13012025/14/26/image_13012025_14_26_02_475495_0001.jpg', '/home/pi/Desktop/images/13012025/14/26/image_13012025_14_26_02_475495_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/25/image_13012025_14_25_02_309945_0003.jpg
/home/pi/Desktop/images/13012025/14/26/image_13012025_14_26_02_475495_0000.jpg
/home/pi/Desktop/images/13012025/14/26/image_13012025_14_26_02_475495_0001.jpg
/home/pi/Desktop/images/13012025/14/26/image_13012025_14_26_02_475495_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328642799","1328642790","1328642793","1328642804"],"photo_ids_order":["1328642790","1328642793","1328642799","1328642804"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/08fa85d543bdc6ff27d27e6a58ac007b.jpg","text":"TemporaryFile(/tmp/multipartBody8467615324555703464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774872483,"filename":"image_13012025_14_26_02_475495_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0dd29741a0e9736090cc6045ed767811.jpg","text":"TemporaryFile(/tmp/multipartBody4180711485510396625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774872483,"filename":"image_13012025_14_25_02_309945_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6ce8626147571e774dc1fccd20f84679.jpg","text":"TemporaryFile(/tmp/multipartBody8947697913958354991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774872483,"filename":"image_13012025_14_26_02_475495_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4dc942e634d525d506bc5501c8df8926.jpg","text":"TemporaryFile(/tmp/multipartBody1415131936184755908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774872483,"filename":"image_13012025_14_26_02_475495_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328642799","file1":"1328642793","file0":"1328642790","file3":"1328642804"},"map_files_photo_id_array":[{"photo_id":"1328642799","filename":"file2"},{"photo_id":"1328642793","filename":"file1"},{"photo_id":"1328642790","filename":"file0"},{"photo_id":"1328642804","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328642799":["hashtag1","hashtag2"]},{"1328642790":["hashtag1","hashtag2"]},{"1328642793":["hashtag1","hashtag2"]},{"1328642804":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328642799, 1328642790, 1328642793, 1328642804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.62591528892517 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:27:22.438441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/26/image_13012025_14_26_02_475495_0003.jpg', '/home/pi/Desktop/images/13012025/14/27/image_13012025_14_27_02_657809_0000.jpg', '/home/pi/Desktop/images/13012025/14/27/image_13012025_14_27_02_657809_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/26/image_13012025_14_26_02_475495_0003.jpg
/home/pi/Desktop/images/13012025/14/27/image_13012025_14_27_02_657809_0000.jpg
/home/pi/Desktop/images/13012025/14/27/image_13012025_14_27_02_657809_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328642823","1328642836","1328642818"],"photo_ids_order":["1328642818","1328642823","1328642836"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2398024ea90457c745269afc3607cd46.jpg","text":"TemporaryFile(/tmp/multipartBody2843429718593740545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774910222,"filename":"image_13012025_14_27_02_657809_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e65f79c4f48ab0b3c067385d6fecea11.jpg","text":"TemporaryFile(/tmp/multipartBody5934256871311708277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774910222,"filename":"image_13012025_14_27_02_657809_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/37f3319eb89ce253d3e3a9b5e7e1743a.jpg","text":"TemporaryFile(/tmp/multipartBody7261444160778129054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774910222,"filename":"image_13012025_14_26_02_475495_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328642836","file1":"1328642823","file0":"1328642818"},"map_files_photo_id_array":[{"photo_id":"1328642836","filename":"file2"},{"photo_id":"1328642823","filename":"file1"},{"photo_id":"1328642818","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328642823":["hashtag1","hashtag2"]},{"1328642836":["hashtag1","hashtag2"]},{"1328642818":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328642823, 1328642836, 1328642818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.907936096191406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 14:28:03.064253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:28:22.683042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/27/image_13012025_14_27_02_657809_0002.jpg', '/home/pi/Desktop/images/13012025/14/28/image_13012025_14_28_02_903876_0000.jpg', '/home/pi/Desktop/images/13012025/14/28/image_13012025_14_28_02_903876_0001.jpg', '/home/pi/Desktop/images/13012025/14/28/image_13012025_14_28_02_903876_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/27/image_13012025_14_27_02_657809_0002.jpg
/home/pi/Desktop/images/13012025/14/28/image_13012025_14_28_02_903876_0000.jpg
/home/pi/Desktop/images/13012025/14/28/image_13012025_14_28_02_903876_0001.jpg
/home/pi/Desktop/images/13012025/14/28/image_13012025_14_28_02_903876_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328642926","1328642940","1328642919","1328642945"],"photo_ids_order":["1328642919","1328642926","1328642940","1328642945"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bd8d058153f408a40737cdba813f3dc5.jpg","text":"TemporaryFile(/tmp/multipartBody1747222605051903690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774972948,"filename":"image_13012025_14_28_02_903876_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9adf5080c6f53aeb8dfb04d621799e0a.jpg","text":"TemporaryFile(/tmp/multipartBody8028890279330134652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774972948,"filename":"image_13012025_14_28_02_903876_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5137a61298bab30519ab739153b9c738.jpg","text":"TemporaryFile(/tmp/multipartBody3718904840557104007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774972948,"filename":"image_13012025_14_27_02_657809_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d45bfaca871a6997b2b06aaed9603467.jpg","text":"TemporaryFile(/tmp/multipartBody8001547820308337738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736774972948,"filename":"image_13012025_14_28_02_903876_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328642940","file1":"1328642926","file0":"1328642919","file3":"1328642945"},"map_files_photo_id_array":[{"photo_id":"1328642940","filename":"file2"},{"photo_id":"1328642926","filename":"file1"},{"photo_id":"1328642919","filename":"file0"},{"photo_id":"1328642945","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328642926":["hashtag1","hashtag2"]},{"1328642940":["hashtag1","hashtag2"]},{"1328642919":["hashtag1","hashtag2"]},{"1328642945":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328642926, 1328642940, 1328642919, 1328642945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.28840446472168 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 14:29:02.387161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:29:21.810424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/28/image_13012025_14_28_02_903876_0003.jpg', '/home/pi/Desktop/images/13012025/14/29/image_13012025_14_29_02_973707_0000.jpg', '/home/pi/Desktop/images/13012025/14/29/image_13012025_14_29_02_973707_0001.jpg', '/home/pi/Desktop/images/13012025/14/29/image_13012025_14_29_02_973707_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/28/image_13012025_14_28_02_903876_0003.jpg
/home/pi/Desktop/images/13012025/14/29/image_13012025_14_29_02_973707_0000.jpg
/home/pi/Desktop/images/13012025/14/29/image_13012025_14_29_02_973707_0001.jpg
/home/pi/Desktop/images/13012025/14/29/image_13012025_14_29_02_973707_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328642999","1328642984","1328642995","1328643004"],"photo_ids_order":["1328642984","1328642995","1328642999","1328643004"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9a5435d0ebe40b8eac4f26ca89e973af.jpg","text":"TemporaryFile(/tmp/multipartBody4492507584074092796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775032032,"filename":"image_13012025_14_29_02_973707_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fe5182080872e061bc593811b9518412.jpg","text":"TemporaryFile(/tmp/multipartBody531479324070116393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775032032,"filename":"image_13012025_14_28_02_903876_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/820291ae83cb16cac678c287acd57ecf.jpg","text":"TemporaryFile(/tmp/multipartBody6198374932161851543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775032032,"filename":"image_13012025_14_29_02_973707_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d3bd484a3d71517176aa63a2d42b3843.jpg","text":"TemporaryFile(/tmp/multipartBody834836596875633796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775032032,"filename":"image_13012025_14_29_02_973707_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328642999","file1":"1328642995","file0":"1328642984","file3":"1328643004"},"map_files_photo_id_array":[{"photo_id":"1328642999","filename":"file2"},{"photo_id":"1328642995","filename":"file1"},{"photo_id":"1328642984","filename":"file0"},{"photo_id":"1328643004","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328642999":["hashtag1","hashtag2"]},{"1328642984":["hashtag1","hashtag2"]},{"1328642995":["hashtag1","hashtag2"]},{"1328643004":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328642999, 1328642984, 1328642995, 1328643004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.17276358604431 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 14:30:02.261500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:30:21.940972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/29/image_13012025_14_29_02_973707_0003.jpg', '/home/pi/Desktop/images/13012025/14/30/image_13012025_14_30_02_133401_0000.jpg', '/home/pi/Desktop/images/13012025/14/30/image_13012025_14_30_02_133401_0001.jpg', '/home/pi/Desktop/images/13012025/14/30/image_13012025_14_30_02_133401_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/29/image_13012025_14_29_02_973707_0003.jpg
/home/pi/Desktop/images/13012025/14/30/image_13012025_14_30_02_133401_0000.jpg
/home/pi/Desktop/images/13012025/14/30/image_13012025_14_30_02_133401_0001.jpg
/home/pi/Desktop/images/13012025/14/30/image_13012025_14_30_02_133401_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328643162","1328643134","1328643157","1328643142"],"photo_ids_order":["1328643134","1328643142","1328643157","1328643162"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/38eb073eae534970a1afd9a01993ba12.jpg","text":"TemporaryFile(/tmp/multipartBody8813013108175867230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775092111,"filename":"image_13012025_14_30_02_133401_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/de82d58541e641a8d09cb0dd361a6e3d.jpg","text":"TemporaryFile(/tmp/multipartBody5739198246966130646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775092111,"filename":"image_13012025_14_29_02_973707_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e5f16675c9e4229feacd6905f5e9d75d.jpg","text":"TemporaryFile(/tmp/multipartBody3300885111173048740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775092111,"filename":"image_13012025_14_30_02_133401_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b39e86de79715edfaa568f35a3c80dfc.jpg","text":"TemporaryFile(/tmp/multipartBody7024423589212381341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775092111,"filename":"image_13012025_14_30_02_133401_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328643157","file1":"1328643142","file0":"1328643134","file3":"1328643162"},"map_files_photo_id_array":[{"photo_id":"1328643157","filename":"file2"},{"photo_id":"1328643142","filename":"file1"},{"photo_id":"1328643134","filename":"file0"},{"photo_id":"1328643162","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328643162":["hashtag1","hashtag2"]},{"1328643134":["hashtag1","hashtag2"]},{"1328643157":["hashtag1","hashtag2"]},{"1328643142":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328643162, 1328643134, 1328643157, 1328643142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.89705157279968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:31:22.208480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/30/image_13012025_14_30_02_133401_0003.jpg', '/home/pi/Desktop/images/13012025/14/31/image_13012025_14_31_02_328304_0001.jpg', '/home/pi/Desktop/images/13012025/14/31/image_13012025_14_31_02_328304_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/30/image_13012025_14_30_02_133401_0003.jpg
/home/pi/Desktop/images/13012025/14/31/image_13012025_14_31_02_328304_0001.jpg
/home/pi/Desktop/images/13012025/14/31/image_13012025_14_31_02_328304_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328643204","1328643197","1328643209"],"photo_ids_order":["1328643197","1328643204","1328643209"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/93cd0030a43dc8d6fb991f657af52575.jpg","text":"TemporaryFile(/tmp/multipartBody792159182407150177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775149987,"filename":"image_13012025_14_31_02_328304_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7f0ab4d5d1e0b0ebf7427cec78fa1592.jpg","text":"TemporaryFile(/tmp/multipartBody2987012518137270642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775149987,"filename":"image_13012025_14_30_02_133401_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b7609013d782dbe55bda433041611e91.jpg","text":"TemporaryFile(/tmp/multipartBody515872586665782600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775149987,"filename":"image_13012025_14_31_02_328304_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328643209","file1":"1328643204","file0":"1328643197"},"map_files_photo_id_array":[{"photo_id":"1328643209","filename":"file2"},{"photo_id":"1328643204","filename":"file1"},{"photo_id":"1328643197","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328643204":["hashtag1","hashtag2"]},{"1328643197":["hashtag1","hashtag2"]},{"1328643209":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328643204, 1328643197, 1328643209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.566604614257812 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 14:32:02.686857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:32:22.355857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/31/image_13012025_14_31_02_328304_0003.jpg', '/home/pi/Desktop/images/13012025/14/32/image_13012025_14_32_02_482907_0000.jpg', '/home/pi/Desktop/images/13012025/14/32/image_13012025_14_32_02_482907_0001.jpg', '/home/pi/Desktop/images/13012025/14/32/image_13012025_14_32_02_482907_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/31/image_13012025_14_31_02_328304_0003.jpg
/home/pi/Desktop/images/13012025/14/32/image_13012025_14_32_02_482907_0000.jpg
/home/pi/Desktop/images/13012025/14/32/image_13012025_14_32_02_482907_0001.jpg
/home/pi/Desktop/images/13012025/14/32/image_13012025_14_32_02_482907_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328643290","1328643283","1328643286","1328643319"],"photo_ids_order":["1328643283","1328643286","1328643290","1328643319"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/11080203ae61aad83b5e6b8a5b12e552.jpg","text":"TemporaryFile(/tmp/multipartBody9147440403050021989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775212551,"filename":"image_13012025_14_32_02_482907_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2b2d72b4f761ca62445cc4d80f310fdf.jpg","text":"TemporaryFile(/tmp/multipartBody8277501714600034341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775212551,"filename":"image_13012025_14_31_02_328304_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/22d4a6d8702dd10c4c667b7242218a0e.jpg","text":"TemporaryFile(/tmp/multipartBody8510582627987958043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775212551,"filename":"image_13012025_14_32_02_482907_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/05857a5e120298c4f8455027d60f7a0d.jpg","text":"TemporaryFile(/tmp/multipartBody3962505478795814494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775212551,"filename":"image_13012025_14_32_02_482907_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328643290","file1":"1328643286","file0":"1328643283","file3":"1328643319"},"map_files_photo_id_array":[{"photo_id":"1328643290","filename":"file2"},{"photo_id":"1328643286","filename":"file1"},{"photo_id":"1328643283","filename":"file0"},{"photo_id":"1328643319","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328643290":["hashtag1","hashtag2"]},{"1328643283":["hashtag1","hashtag2"]},{"1328643286":["hashtag1","hashtag2"]},{"1328643319":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328643290, 1328643283, 1328643286, 1328643319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.074565410614014 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 14:33:03.056622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:33:22.573418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/32/image_13012025_14_32_02_482907_0003.jpg', '/home/pi/Desktop/images/13012025/14/33/image_13012025_14_33_02_711219_0000.jpg', '/home/pi/Desktop/images/13012025/14/33/image_13012025_14_33_02_711219_0001.jpg', '/home/pi/Desktop/images/13012025/14/33/image_13012025_14_33_02_711219_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/32/image_13012025_14_32_02_482907_0003.jpg
/home/pi/Desktop/images/13012025/14/33/image_13012025_14_33_02_711219_0000.jpg
/home/pi/Desktop/images/13012025/14/33/image_13012025_14_33_02_711219_0001.jpg
/home/pi/Desktop/images/13012025/14/33/image_13012025_14_33_02_711219_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328643381","1328643375","1328643371","1328643378"],"photo_ids_order":["1328643371","1328643375","1328643378","1328643381"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c72a2e4c12b628e4cbc6c45656ab5e27.jpg","text":"TemporaryFile(/tmp/multipartBody7900894607635513688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775272866,"filename":"image_13012025_14_33_02_711219_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/299abc32afbb1c47684e97ee0000afb2.jpg","text":"TemporaryFile(/tmp/multipartBody8236812443880993678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775272866,"filename":"image_13012025_14_33_02_711219_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0e3a75ccf0f474b29df174b9cd64a334.jpg","text":"TemporaryFile(/tmp/multipartBody3000979339854963415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775272866,"filename":"image_13012025_14_32_02_482907_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1f2de10084f9b0ce204dea66e3b48298.jpg","text":"TemporaryFile(/tmp/multipartBody3696267497395160763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775272866,"filename":"image_13012025_14_33_02_711219_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328643378","file1":"1328643375","file0":"1328643371","file3":"1328643381"},"map_files_photo_id_array":[{"photo_id":"1328643378","filename":"file2"},{"photo_id":"1328643375","filename":"file1"},{"photo_id":"1328643371","filename":"file0"},{"photo_id":"1328643381","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328643381":["hashtag1","hashtag2"]},{"1328643375":["hashtag1","hashtag2"]},{"1328643371":["hashtag1","hashtag2"]},{"1328643378":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328643381, 1328643375, 1328643371, 1328643378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.77232003211975 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 14:34:03.044111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:34:22.589590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/33/image_13012025_14_33_02_711219_0003.jpg', '/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_02_890125_0000.jpg', '/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_02_890125_0001.jpg', '/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_02_890125_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/33/image_13012025_14_33_02_711219_0003.jpg
/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_02_890125_0000.jpg
/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_02_890125_0001.jpg
/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_02_890125_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328643437","1328643418","1328643433","1328643427"],"photo_ids_order":["1328643418","1328643427","1328643433","1328643437"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/717c69e476245a53d2986808a8d8ebc9.jpg","text":"TemporaryFile(/tmp/multipartBody5896159191519068672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775332779,"filename":"image_13012025_14_34_02_890125_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/abf3c4bddc615b6593f99824138bbf84.jpg","text":"TemporaryFile(/tmp/multipartBody3465728919288887069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775332779,"filename":"image_13012025_14_33_02_711219_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6fc75ddeeba34bb30f82c133bce72084.jpg","text":"TemporaryFile(/tmp/multipartBody9090815746501658450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775332779,"filename":"image_13012025_14_34_02_890125_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b3c5e22550210dc6a5da5a58de56fbee.jpg","text":"TemporaryFile(/tmp/multipartBody1744025520839361739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775332779,"filename":"image_13012025_14_34_02_890125_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328643433","file1":"1328643427","file0":"1328643418","file3":"1328643437"},"map_files_photo_id_array":[{"photo_id":"1328643433","filename":"file2"},{"photo_id":"1328643427","filename":"file1"},{"photo_id":"1328643418","filename":"file0"},{"photo_id":"1328643437","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328643437":["hashtag1","hashtag2"]},{"1328643418":["hashtag1","hashtag2"]},{"1328643433":["hashtag1","hashtag2"]},{"1328643427":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328643437, 1328643418, 1328643433, 1328643427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.112486839294434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 14:35:03.321104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:35:22.726067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_02_890125_0003.jpg', '/home/pi/Desktop/images/13012025/14/35/image_13012025_14_35_02_976846_0000.jpg', '/home/pi/Desktop/images/13012025/14/35/image_13012025_14_35_02_976846_0001.jpg', '/home/pi/Desktop/images/13012025/14/35/image_13012025_14_35_02_976846_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_02_890125_0003.jpg
/home/pi/Desktop/images/13012025/14/35/image_13012025_14_35_02_976846_0000.jpg
/home/pi/Desktop/images/13012025/14/35/image_13012025_14_35_02_976846_0001.jpg
/home/pi/Desktop/images/13012025/14/35/image_13012025_14_35_02_976846_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328643468","1328643466","1328643463","1328643459"],"photo_ids_order":["1328643459","1328643463","1328643466","1328643468"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7395ec4ed7bc81597fdc64605e5675cd.jpg","text":"TemporaryFile(/tmp/multipartBody4567553732565486961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775392993,"filename":"image_13012025_14_35_02_976846_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7a6196cdfa0f4c8696ff94536500192d.jpg","text":"TemporaryFile(/tmp/multipartBody7840903045187130199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775392993,"filename":"image_13012025_14_35_02_976846_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/46501cf08beb53e25fdb0dbe7959df1d.jpg","text":"TemporaryFile(/tmp/multipartBody2217507381181875970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775392993,"filename":"image_13012025_14_35_02_976846_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9a28a3c079a3e28283dff3c4f49be2e2.jpg","text":"TemporaryFile(/tmp/multipartBody3268340402106096109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775392993,"filename":"image_13012025_14_34_02_890125_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328643466","file1":"1328643463","file0":"1328643459","file3":"1328643468"},"map_files_photo_id_array":[{"photo_id":"1328643466","filename":"file2"},{"photo_id":"1328643463","filename":"file1"},{"photo_id":"1328643459","filename":"file0"},{"photo_id":"1328643468","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328643468":["hashtag1","hashtag2"]},{"1328643466":["hashtag1","hashtag2"]},{"1328643463":["hashtag1","hashtag2"]},{"1328643459":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328643468, 1328643466, 1328643463, 1328643459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.31153869628906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:36:21.989877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/35/image_13012025_14_35_02_976846_0003.jpg', '/home/pi/Desktop/images/13012025/14/36/image_13012025_14_36_03_065704_0000.jpg', '/home/pi/Desktop/images/13012025/14/36/image_13012025_14_36_03_065704_0001.jpg', '/home/pi/Desktop/images/13012025/14/36/image_13012025_14_36_03_065704_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/35/image_13012025_14_35_02_976846_0003.jpg
/home/pi/Desktop/images/13012025/14/36/image_13012025_14_36_03_065704_0000.jpg
/home/pi/Desktop/images/13012025/14/36/image_13012025_14_36_03_065704_0001.jpg
/home/pi/Desktop/images/13012025/14/36/image_13012025_14_36_03_065704_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328643489","1328643503","1328643493","1328643496"],"photo_ids_order":["1328643489","1328643493","1328643496","1328643503"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7553dbf15059af88a7bbbf6fce2920ed.jpg","text":"TemporaryFile(/tmp/multipartBody7005326511675204082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775452124,"filename":"image_13012025_14_35_02_976846_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9decb880a6f901fd357a575e422186aa.jpg","text":"TemporaryFile(/tmp/multipartBody617486792683658743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775452124,"filename":"image_13012025_14_36_03_065704_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/67250e6e3078b1f21fb2e337b1927389.jpg","text":"TemporaryFile(/tmp/multipartBody7370065105804982170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775452124,"filename":"image_13012025_14_36_03_065704_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/34f890aff6f3ddc3fb0cbce85b404ff3.jpg","text":"TemporaryFile(/tmp/multipartBody4107115383905976569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775452124,"filename":"image_13012025_14_36_03_065704_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328643496","file1":"1328643493","file0":"1328643489","file3":"1328643503"},"map_files_photo_id_array":[{"photo_id":"1328643496","filename":"file2"},{"photo_id":"1328643493","filename":"file1"},{"photo_id":"1328643489","filename":"file0"},{"photo_id":"1328643503","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328643489":["hashtag1","hashtag2"]},{"1328643503":["hashtag1","hashtag2"]},{"1328643493":["hashtag1","hashtag2"]},{"1328643496":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328643489, 1328643503, 1328643493, 1328643496)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.70187854766846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:37:22.088476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/36/image_13012025_14_36_03_065704_0003.jpg', '/home/pi/Desktop/images/13012025/14/37/image_13012025_14_37_02_300428_0000.jpg', '/home/pi/Desktop/images/13012025/14/37/image_13012025_14_37_02_300428_0001.jpg', '/home/pi/Desktop/images/13012025/14/37/image_13012025_14_37_02_300428_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/36/image_13012025_14_36_03_065704_0003.jpg
/home/pi/Desktop/images/13012025/14/37/image_13012025_14_37_02_300428_0000.jpg
/home/pi/Desktop/images/13012025/14/37/image_13012025_14_37_02_300428_0001.jpg
/home/pi/Desktop/images/13012025/14/37/image_13012025_14_37_02_300428_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328643546","1328643539","1328643530","1328643550"],"photo_ids_order":["1328643530","1328643539","1328643546","1328643550"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cce54b75f88e2faca8b7292159ef470f.jpg","text":"TemporaryFile(/tmp/multipartBody1385815536253612544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775512288,"filename":"image_13012025_14_37_02_300428_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5546882cece7a112ea5cb067f4a8c582.jpg","text":"TemporaryFile(/tmp/multipartBody5783493778713118338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775512288,"filename":"image_13012025_14_37_02_300428_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/53bf153d1f935d9495f2e7d867c20540.jpg","text":"TemporaryFile(/tmp/multipartBody4650129512553014204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775512288,"filename":"image_13012025_14_36_03_065704_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aa1956f37ce80b827a3fe2dc134f5e0b.jpg","text":"TemporaryFile(/tmp/multipartBody3140140183854370943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775512288,"filename":"image_13012025_14_37_02_300428_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328643546","file1":"1328643539","file0":"1328643530","file3":"1328643550"},"map_files_photo_id_array":[{"photo_id":"1328643546","filename":"file2"},{"photo_id":"1328643539","filename":"file1"},{"photo_id":"1328643530","filename":"file0"},{"photo_id":"1328643550","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328643546":["hashtag1","hashtag2"]},{"1328643539":["hashtag1","hashtag2"]},{"1328643530":["hashtag1","hashtag2"]},{"1328643550":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328643546, 1328643539, 1328643530, 1328643550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.60076332092285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:38:22.265838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/37/image_13012025_14_37_02_300428_0003.jpg', '/home/pi/Desktop/images/13012025/14/38/image_13012025_14_38_02_474581_0000.jpg', '/home/pi/Desktop/images/13012025/14/38/image_13012025_14_38_02_474581_0001.jpg', '/home/pi/Desktop/images/13012025/14/38/image_13012025_14_38_02_474581_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/37/image_13012025_14_37_02_300428_0003.jpg
/home/pi/Desktop/images/13012025/14/38/image_13012025_14_38_02_474581_0000.jpg
/home/pi/Desktop/images/13012025/14/38/image_13012025_14_38_02_474581_0001.jpg
/home/pi/Desktop/images/13012025/14/38/image_13012025_14_38_02_474581_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328643708","1328643686","1328643664","1328643690"],"photo_ids_order":["1328643664","1328643686","1328643690","1328643708"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/815de4f7a35471ea1a05d205e2678818.jpg","text":"TemporaryFile(/tmp/multipartBody8135910937870189119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775572425,"filename":"image_13012025_14_38_02_474581_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a45382c1c6d87ae12e6527141634db60.jpg","text":"TemporaryFile(/tmp/multipartBody6243743753423447338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775572425,"filename":"image_13012025_14_38_02_474581_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/246f5dd87cc24664769ed6b90960b0c2.jpg","text":"TemporaryFile(/tmp/multipartBody6362925790118677254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775572425,"filename":"image_13012025_14_37_02_300428_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/622d118068a5e1ed5518c3effebeebfa.jpg","text":"TemporaryFile(/tmp/multipartBody1436781904220445522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775572425,"filename":"image_13012025_14_38_02_474581_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328643690","file1":"1328643686","file0":"1328643664","file3":"1328643708"},"map_files_photo_id_array":[{"photo_id":"1328643690","filename":"file2"},{"photo_id":"1328643686","filename":"file1"},{"photo_id":"1328643664","filename":"file0"},{"photo_id":"1328643708","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328643708":["hashtag1","hashtag2"]},{"1328643686":["hashtag1","hashtag2"]},{"1328643664":["hashtag1","hashtag2"]},{"1328643690":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328643708, 1328643686, 1328643664, 1328643690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.531532764434814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 14:39:03.105232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:39:22.556474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/38/image_13012025_14_38_02_474581_0003.jpg', '/home/pi/Desktop/images/13012025/14/39/image_13012025_14_39_02_687748_0000.jpg', '/home/pi/Desktop/images/13012025/14/39/image_13012025_14_39_02_687748_0001.jpg', '/home/pi/Desktop/images/13012025/14/39/image_13012025_14_39_02_687748_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/38/image_13012025_14_38_02_474581_0003.jpg
/home/pi/Desktop/images/13012025/14/39/image_13012025_14_39_02_687748_0000.jpg
/home/pi/Desktop/images/13012025/14/39/image_13012025_14_39_02_687748_0001.jpg
/home/pi/Desktop/images/13012025/14/39/image_13012025_14_39_02_687748_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328643732","1328643735","1328643737","1328643727"],"photo_ids_order":["1328643727","1328643732","1328643735","1328643737"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2141d1026565ee24c2896c4af4be98e1.jpg","text":"TemporaryFile(/tmp/multipartBody1165241006335071662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775632684,"filename":"image_13012025_14_39_02_687748_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d8aafdcfb7d83eefd2229441f27ef3c6.jpg","text":"TemporaryFile(/tmp/multipartBody2924463203399313371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775632684,"filename":"image_13012025_14_39_02_687748_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/350dd166c0549f4066d4fe8d002fc2bf.jpg","text":"TemporaryFile(/tmp/multipartBody1501030522824465895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775632684,"filename":"image_13012025_14_39_02_687748_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/60907119eefda92d97adff055382270e.jpg","text":"TemporaryFile(/tmp/multipartBody1182886522171716291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775632684,"filename":"image_13012025_14_38_02_474581_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328643735","file1":"1328643732","file0":"1328643727","file3":"1328643737"},"map_files_photo_id_array":[{"photo_id":"1328643735","filename":"file2"},{"photo_id":"1328643732","filename":"file1"},{"photo_id":"1328643727","filename":"file0"},{"photo_id":"1328643737","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328643732":["hashtag1","hashtag2"]},{"1328643735":["hashtag1","hashtag2"]},{"1328643737":["hashtag1","hashtag2"]},{"1328643727":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328643732, 1328643735, 1328643737, 1328643727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.7363965511322 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:40:22.719411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/39/image_13012025_14_39_02_687748_0003.jpg', '/home/pi/Desktop/images/13012025/14/40/image_13012025_14_40_02_799438_0000.jpg', '/home/pi/Desktop/images/13012025/14/40/image_13012025_14_40_02_799438_0001.jpg', '/home/pi/Desktop/images/13012025/14/40/image_13012025_14_40_02_799438_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/39/image_13012025_14_39_02_687748_0003.jpg
/home/pi/Desktop/images/13012025/14/40/image_13012025_14_40_02_799438_0000.jpg
/home/pi/Desktop/images/13012025/14/40/image_13012025_14_40_02_799438_0001.jpg
/home/pi/Desktop/images/13012025/14/40/image_13012025_14_40_02_799438_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328643775","1328643769","1328643780","1328643783"],"photo_ids_order":["1328643769","1328643775","1328643780","1328643783"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d8b8b25ae441ac9b7b51b7ecbc956d01.jpg","text":"TemporaryFile(/tmp/multipartBody5014719238447435293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775692936,"filename":"image_13012025_14_40_02_799438_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e5fb8b29e64e05007e9fb4a2271a1779.jpg","text":"TemporaryFile(/tmp/multipartBody2268571164878247700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775692936,"filename":"image_13012025_14_39_02_687748_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1225233b65e350af485a5b825ca6545b.jpg","text":"TemporaryFile(/tmp/multipartBody1786122697772407618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775692936,"filename":"image_13012025_14_40_02_799438_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a58845597ccb877019efae8e90b33f5e.jpg","text":"TemporaryFile(/tmp/multipartBody374400946803588241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775692936,"filename":"image_13012025_14_40_02_799438_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328643780","file1":"1328643775","file0":"1328643769","file3":"1328643783"},"map_files_photo_id_array":[{"photo_id":"1328643780","filename":"file2"},{"photo_id":"1328643775","filename":"file1"},{"photo_id":"1328643769","filename":"file0"},{"photo_id":"1328643783","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328643775":["hashtag1","hashtag2"]},{"1328643769":["hashtag1","hashtag2"]},{"1328643780":["hashtag1","hashtag2"]},{"1328643783":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328643775, 1328643769, 1328643780, 1328643783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.98897695541382 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:41:21.885688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/40/image_13012025_14_40_02_799438_0003.jpg', '/home/pi/Desktop/images/13012025/14/41/image_13012025_14_41_02_997188_0000.jpg', '/home/pi/Desktop/images/13012025/14/41/image_13012025_14_41_02_997188_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/40/image_13012025_14_40_02_799438_0003.jpg
/home/pi/Desktop/images/13012025/14/41/image_13012025_14_41_02_997188_0000.jpg
/home/pi/Desktop/images/13012025/14/41/image_13012025_14_41_02_997188_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328643825","1328643820","1328643814"],"photo_ids_order":["1328643814","1328643820","1328643825"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/634841dd817cee9e7ab73b9d3e31429c.jpg","text":"TemporaryFile(/tmp/multipartBody2449451588531969914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775749769,"filename":"image_13012025_14_41_02_997188_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/323c9fdc469ace8de67690c7d06cc92b.jpg","text":"TemporaryFile(/tmp/multipartBody3018638125080101930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775749769,"filename":"image_13012025_14_41_02_997188_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e00233c28eceefadd236a51c3d26b641.jpg","text":"TemporaryFile(/tmp/multipartBody7819582483416315694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775749769,"filename":"image_13012025_14_40_02_799438_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328643825","file1":"1328643820","file0":"1328643814"},"map_files_photo_id_array":[{"photo_id":"1328643825","filename":"file2"},{"photo_id":"1328643820","filename":"file1"},{"photo_id":"1328643814","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328643825":["hashtag1","hashtag2"]},{"1328643820":["hashtag1","hashtag2"]},{"1328643814":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328643825, 1328643820, 1328643814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.934669256210327 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 14:42:02.407466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:42:22.066357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/41/image_13012025_14_41_02_997188_0002.jpg', '/home/pi/Desktop/images/13012025/14/42/image_13012025_14_42_02_208309_0000.jpg', '/home/pi/Desktop/images/13012025/14/42/image_13012025_14_42_02_208309_0001.jpg', '/home/pi/Desktop/images/13012025/14/42/image_13012025_14_42_02_208309_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/41/image_13012025_14_41_02_997188_0002.jpg
/home/pi/Desktop/images/13012025/14/42/image_13012025_14_42_02_208309_0000.jpg
/home/pi/Desktop/images/13012025/14/42/image_13012025_14_42_02_208309_0001.jpg
/home/pi/Desktop/images/13012025/14/42/image_13012025_14_42_02_208309_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.81629467010498 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 14:42:42.055195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/41/image_13012025_14_41_02_997188_0002.jpg', '/home/pi/Desktop/images/13012025/14/42/image_13012025_14_42_02_208309_0000.jpg', '/home/pi/Desktop/images/13012025/14/42/image_13012025_14_42_02_208309_0001.jpg', '/home/pi/Desktop/images/13012025/14/42/image_13012025_14_42_02_208309_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/41/image_13012025_14_41_02_997188_0002.jpg
/home/pi/Desktop/images/13012025/14/42/image_13012025_14_42_02_208309_0000.jpg
/home/pi/Desktop/images/13012025/14/42/image_13012025_14_42_02_208309_0001.jpg
/home/pi/Desktop/images/13012025/14/42/image_13012025_14_42_02_208309_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328643956","1328643941","1328643944","1328643961"],"photo_ids_order":["1328643941","1328643944","1328643956","1328643961"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3258ff8bec07037a38566a6170ad5c2b.jpg","text":"TemporaryFile(/tmp/multipartBody384386879264265736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775832269,"filename":"image_13012025_14_42_02_208309_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/54a071bedb96d9ab277eb51981c2c6ee.jpg","text":"TemporaryFile(/tmp/multipartBody6192696758210859391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775832269,"filename":"image_13012025_14_41_02_997188_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b715e528336ca34a29069ee31ece9b96.jpg","text":"TemporaryFile(/tmp/multipartBody5806206047238943343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775832269,"filename":"image_13012025_14_42_02_208309_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bd600e9fa92a4fd758bc3cb0e8400c8e.jpg","text":"TemporaryFile(/tmp/multipartBody277569905694393191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775832269,"filename":"image_13012025_14_42_02_208309_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328643956","file1":"1328643944","file0":"1328643941","file3":"1328643961"},"map_files_photo_id_array":[{"photo_id":"1328643956","filename":"file2"},{"photo_id":"1328643944","filename":"file1"},{"photo_id":"1328643941","filename":"file0"},{"photo_id":"1328643961","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328643956":["hashtag1","hashtag2"]},{"1328643941":["hashtag1","hashtag2"]},{"1328643944":["hashtag1","hashtag2"]},{"1328643961":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328643956, 1328643941, 1328643944, 1328643961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.367942810058594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 14:43:32.242206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/42/image_13012025_14_42_02_208309_0003.jpg', '/home/pi/Desktop/images/13012025/14/43/image_13012025_14_43_02_420410_0000.jpg', '/home/pi/Desktop/images/13012025/14/43/image_13012025_14_43_02_420410_0001.jpg', '/home/pi/Desktop/images/13012025/14/43/image_13012025_14_43_02_420410_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/42/image_13012025_14_42_02_208309_0003.jpg
/home/pi/Desktop/images/13012025/14/43/image_13012025_14_43_02_420410_0000.jpg
/home/pi/Desktop/images/13012025/14/43/image_13012025_14_43_02_420410_0001.jpg
/home/pi/Desktop/images/13012025/14/43/image_13012025_14_43_02_420410_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.93770718574524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 14:43:52.212202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/42/image_13012025_14_42_02_208309_0003.jpg', '/home/pi/Desktop/images/13012025/14/43/image_13012025_14_43_02_420410_0000.jpg', '/home/pi/Desktop/images/13012025/14/43/image_13012025_14_43_02_420410_0001.jpg', '/home/pi/Desktop/images/13012025/14/43/image_13012025_14_43_02_420410_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/42/image_13012025_14_42_02_208309_0003.jpg
/home/pi/Desktop/images/13012025/14/43/image_13012025_14_43_02_420410_0000.jpg
/home/pi/Desktop/images/13012025/14/43/image_13012025_14_43_02_420410_0001.jpg
/home/pi/Desktop/images/13012025/14/43/image_13012025_14_43_02_420410_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328644082","1328644087","1328644072","1328644077"],"photo_ids_order":["1328644072","1328644077","1328644082","1328644087"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2bc22a3a1213ea9d2458058758ec5d9f.jpg","text":"TemporaryFile(/tmp/multipartBody5120070856270119590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775902660,"filename":"image_13012025_14_43_02_420410_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1c80298aa727f98fa993cbde60f1644b.jpg","text":"TemporaryFile(/tmp/multipartBody8711325738578644391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775902660,"filename":"image_13012025_14_43_02_420410_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8605bc9446c7ef309e241a81a27737e7.jpg","text":"TemporaryFile(/tmp/multipartBody7701476776764856546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775902660,"filename":"image_13012025_14_42_02_208309_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bcf757a0b5c4f6b32f18fe653a6f049e.jpg","text":"TemporaryFile(/tmp/multipartBody2255610566343376399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775902660,"filename":"image_13012025_14_43_02_420410_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328644082","file1":"1328644077","file0":"1328644072","file3":"1328644087"},"map_files_photo_id_array":[{"photo_id":"1328644082","filename":"file2"},{"photo_id":"1328644077","filename":"file1"},{"photo_id":"1328644072","filename":"file0"},{"photo_id":"1328644087","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328644082":["hashtag1","hashtag2"]},{"1328644087":["hashtag1","hashtag2"]},{"1328644072":["hashtag1","hashtag2"]},{"1328644077":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328644082, 1328644087, 1328644072, 1328644077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.70049715042114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 14:44:42.444342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/43/image_13012025_14_43_02_420410_0003.jpg', '/home/pi/Desktop/images/13012025/14/44/image_13012025_14_44_02_685571_0000.jpg', '/home/pi/Desktop/images/13012025/14/44/image_13012025_14_44_02_685571_0001.jpg', '/home/pi/Desktop/images/13012025/14/44/image_13012025_14_44_02_685571_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/43/image_13012025_14_43_02_420410_0003.jpg
/home/pi/Desktop/images/13012025/14/44/image_13012025_14_44_02_685571_0000.jpg
/home/pi/Desktop/images/13012025/14/44/image_13012025_14_44_02_685571_0001.jpg
/home/pi/Desktop/images/13012025/14/44/image_13012025_14_44_02_685571_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328644162","1328644135","1328644266","1328644137"],"photo_ids_order":["1328644135","1328644137","1328644162","1328644266"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/065423c32876e62d562efa05238d9221.jpg","text":"TemporaryFile(/tmp/multipartBody601450398534637004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775952650,"filename":"image_13012025_14_44_02_685571_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ac65f84d3c4c3eb49c2c6c7b494d0b53.jpg","text":"TemporaryFile(/tmp/multipartBody773811636536942425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775952650,"filename":"image_13012025_14_43_02_420410_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1ed9303571f8ea71c7ef692af59c3d5a.jpg","text":"TemporaryFile(/tmp/multipartBody3759019262023689029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775952650,"filename":"image_13012025_14_44_02_685571_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5a9007615c1b4ef2a1f393c50a9057a8.jpg","text":"TemporaryFile(/tmp/multipartBody7184120955111187861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775952650,"filename":"image_13012025_14_44_02_685571_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328644162","file1":"1328644137","file0":"1328644135","file3":"1328644266"},"map_files_photo_id_array":[{"photo_id":"1328644162","filename":"file2"},{"photo_id":"1328644137","filename":"file1"},{"photo_id":"1328644135","filename":"file0"},{"photo_id":"1328644266","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328644162":["hashtag1","hashtag2"]},{"1328644135":["hashtag1","hashtag2"]},{"1328644266":["hashtag1","hashtag2"]},{"1328644137":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328644162, 1328644135, 1328644266, 1328644137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.640130281448364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:45:22.636678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/44/image_13012025_14_44_02_685571_0003.jpg', '/home/pi/Desktop/images/13012025/14/45/image_13012025_14_45_02_791209_0000.jpg', '/home/pi/Desktop/images/13012025/14/45/image_13012025_14_45_02_791209_0001.jpg', '/home/pi/Desktop/images/13012025/14/45/image_13012025_14_45_02_791209_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/44/image_13012025_14_44_02_685571_0003.jpg
/home/pi/Desktop/images/13012025/14/45/image_13012025_14_45_02_791209_0000.jpg
/home/pi/Desktop/images/13012025/14/45/image_13012025_14_45_02_791209_0001.jpg
/home/pi/Desktop/images/13012025/14/45/image_13012025_14_45_02_791209_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328644372","1328644366","1328644369","1328644362"],"photo_ids_order":["1328644362","1328644366","1328644369","1328644372"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e6b78ef9d0c1f78761ce832af943fce5.jpg","text":"TemporaryFile(/tmp/multipartBody7607933173321241054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775992720,"filename":"image_13012025_14_45_02_791209_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d99b82ca6eca4eabd759d54d367723cd.jpg","text":"TemporaryFile(/tmp/multipartBody5570288852990615915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775992720,"filename":"image_13012025_14_45_02_791209_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5c2918e6d11d48f7098c5f8fdecbe861.jpg","text":"TemporaryFile(/tmp/multipartBody5520244975257619517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775992720,"filename":"image_13012025_14_45_02_791209_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e90d7b420ada94168cf26d404c940d0a.jpg","text":"TemporaryFile(/tmp/multipartBody427124607582001587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736775992720,"filename":"image_13012025_14_44_02_685571_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328644369","file1":"1328644366","file0":"1328644362","file3":"1328644372"},"map_files_photo_id_array":[{"photo_id":"1328644369","filename":"file2"},{"photo_id":"1328644366","filename":"file1"},{"photo_id":"1328644362","filename":"file0"},{"photo_id":"1328644372","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328644372":["hashtag1","hashtag2"]},{"1328644366":["hashtag1","hashtag2"]},{"1328644369":["hashtag1","hashtag2"]},{"1328644362":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328644372, 1328644366, 1328644369, 1328644362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.34315586090088 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 14:46:03.251815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:46:22.739385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/45/image_13012025_14_45_02_791209_0003.jpg', '/home/pi/Desktop/images/13012025/14/46/image_13012025_14_46_02_955323_0000.jpg', '/home/pi/Desktop/images/13012025/14/46/image_13012025_14_46_02_955323_0001.jpg', '/home/pi/Desktop/images/13012025/14/46/image_13012025_14_46_02_955323_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/45/image_13012025_14_45_02_791209_0003.jpg
/home/pi/Desktop/images/13012025/14/46/image_13012025_14_46_02_955323_0000.jpg
/home/pi/Desktop/images/13012025/14/46/image_13012025_14_46_02_955323_0001.jpg
/home/pi/Desktop/images/13012025/14/46/image_13012025_14_46_02_955323_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328644419","1328644424","1328644415","1328644411"],"photo_ids_order":["1328644411","1328644415","1328644419","1328644424"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/feb2a547476bf3fed2d5aa60d7657430.jpg","text":"TemporaryFile(/tmp/multipartBody5058738166998727319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776053052,"filename":"image_13012025_14_46_02_955323_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/393ac66b45202b3a8688ef26a5b799d6.jpg","text":"TemporaryFile(/tmp/multipartBody7921043888604135301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776053052,"filename":"image_13012025_14_46_02_955323_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aaa345a319df03f15ef788cbe639288d.jpg","text":"TemporaryFile(/tmp/multipartBody246252567646905097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776053052,"filename":"image_13012025_14_46_02_955323_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fae494b941da685912faa617a3f90e91.jpg","text":"TemporaryFile(/tmp/multipartBody6361118364218094086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776053052,"filename":"image_13012025_14_45_02_791209_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328644419","file1":"1328644415","file0":"1328644411","file3":"1328644424"},"map_files_photo_id_array":[{"photo_id":"1328644419","filename":"file2"},{"photo_id":"1328644415","filename":"file1"},{"photo_id":"1328644411","filename":"file0"},{"photo_id":"1328644424","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328644419":["hashtag1","hashtag2"]},{"1328644424":["hashtag1","hashtag2"]},{"1328644415":["hashtag1","hashtag2"]},{"1328644411":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328644419, 1328644424, 1328644415, 1328644411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.56817436218262 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:47:22.077377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/46/image_13012025_14_46_02_955323_0003.jpg', '/home/pi/Desktop/images/13012025/14/47/image_13012025_14_47_03_192341_0000.jpg', '/home/pi/Desktop/images/13012025/14/47/image_13012025_14_47_03_192341_0001.jpg', '/home/pi/Desktop/images/13012025/14/47/image_13012025_14_47_03_192341_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/46/image_13012025_14_46_02_955323_0003.jpg
/home/pi/Desktop/images/13012025/14/47/image_13012025_14_47_03_192341_0000.jpg
/home/pi/Desktop/images/13012025/14/47/image_13012025_14_47_03_192341_0001.jpg
/home/pi/Desktop/images/13012025/14/47/image_13012025_14_47_03_192341_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328644457","1328644445","1328644453","1328644449"],"photo_ids_order":["1328644445","1328644449","1328644453","1328644457"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/df425ff6210ff29eff92af9b64196527.jpg","text":"TemporaryFile(/tmp/multipartBody9048259875288989614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776112276,"filename":"image_13012025_14_47_03_192341_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/427e939db674f07a1df36ff00bbcb46c.jpg","text":"TemporaryFile(/tmp/multipartBody4800549998735091271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776112276,"filename":"image_13012025_14_46_02_955323_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/47b1ba13619bf9373368f78cccf5c9b0.jpg","text":"TemporaryFile(/tmp/multipartBody8369667374039992223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776112276,"filename":"image_13012025_14_47_03_192341_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/351c42c5a2ae81de5294006737445e7a.jpg","text":"TemporaryFile(/tmp/multipartBody6221553905504136531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776112276,"filename":"image_13012025_14_47_03_192341_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328644453","file1":"1328644449","file0":"1328644445","file3":"1328644457"},"map_files_photo_id_array":[{"photo_id":"1328644453","filename":"file2"},{"photo_id":"1328644449","filename":"file1"},{"photo_id":"1328644445","filename":"file0"},{"photo_id":"1328644457","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328644457":["hashtag1","hashtag2"]},{"1328644445":["hashtag1","hashtag2"]},{"1328644453":["hashtag1","hashtag2"]},{"1328644449":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328644457, 1328644445, 1328644453, 1328644449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.5234260559082 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:48:22.257454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/47/image_13012025_14_47_03_192341_0003.jpg', '/home/pi/Desktop/images/13012025/14/48/image_13012025_14_48_02_374548_0000.jpg', '/home/pi/Desktop/images/13012025/14/48/image_13012025_14_48_02_374548_0001.jpg', '/home/pi/Desktop/images/13012025/14/48/image_13012025_14_48_02_374548_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/47/image_13012025_14_47_03_192341_0003.jpg
/home/pi/Desktop/images/13012025/14/48/image_13012025_14_48_02_374548_0000.jpg
/home/pi/Desktop/images/13012025/14/48/image_13012025_14_48_02_374548_0001.jpg
/home/pi/Desktop/images/13012025/14/48/image_13012025_14_48_02_374548_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.812952041625977 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 14:48:42.304953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/47/image_13012025_14_47_03_192341_0003.jpg', '/home/pi/Desktop/images/13012025/14/48/image_13012025_14_48_02_374548_0000.jpg', '/home/pi/Desktop/images/13012025/14/48/image_13012025_14_48_02_374548_0001.jpg', '/home/pi/Desktop/images/13012025/14/48/image_13012025_14_48_02_374548_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/47/image_13012025_14_47_03_192341_0003.jpg
/home/pi/Desktop/images/13012025/14/48/image_13012025_14_48_02_374548_0000.jpg
/home/pi/Desktop/images/13012025/14/48/image_13012025_14_48_02_374548_0001.jpg
/home/pi/Desktop/images/13012025/14/48/image_13012025_14_48_02_374548_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328644500","1328644496","1328644505","1328644492"],"photo_ids_order":["1328644492","1328644496","1328644500","1328644505"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d91c4eafae8365f31cb5fc3d8f1752b2.jpg","text":"TemporaryFile(/tmp/multipartBody5914904349721346875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776192531,"filename":"image_13012025_14_48_02_374548_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/39fc335ae4141795883108df35814c3f.jpg","text":"TemporaryFile(/tmp/multipartBody5067356920171216711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776192531,"filename":"image_13012025_14_48_02_374548_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/497d4aba5e92f1a41283c9ef96cab2cb.jpg","text":"TemporaryFile(/tmp/multipartBody3553425279069929415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776192531,"filename":"image_13012025_14_48_02_374548_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eac35fb56c347697cdc8106015961715.jpg","text":"TemporaryFile(/tmp/multipartBody1575817241456016491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776192531,"filename":"image_13012025_14_47_03_192341_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328644500","file1":"1328644496","file0":"1328644492","file3":"1328644505"},"map_files_photo_id_array":[{"photo_id":"1328644500","filename":"file2"},{"photo_id":"1328644496","filename":"file1"},{"photo_id":"1328644492","filename":"file0"},{"photo_id":"1328644505","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328644500":["hashtag1","hashtag2"]},{"1328644496":["hashtag1","hashtag2"]},{"1328644505":["hashtag1","hashtag2"]},{"1328644492":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328644500, 1328644496, 1328644505, 1328644492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.82610535621643 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 14:49:32.360460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/48/image_13012025_14_48_02_374548_0003.jpg', '/home/pi/Desktop/images/13012025/14/49/image_13012025_14_49_02_605888_0000.jpg', '/home/pi/Desktop/images/13012025/14/49/image_13012025_14_49_02_605888_0001.jpg', '/home/pi/Desktop/images/13012025/14/49/image_13012025_14_49_02_605888_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/48/image_13012025_14_48_02_374548_0003.jpg
/home/pi/Desktop/images/13012025/14/49/image_13012025_14_49_02_605888_0000.jpg
/home/pi/Desktop/images/13012025/14/49/image_13012025_14_49_02_605888_0001.jpg
/home/pi/Desktop/images/13012025/14/49/image_13012025_14_49_02_605888_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328644547","1328644520","1328644532","1328644542"],"photo_ids_order":["1328644520","1328644532","1328644542","1328644547"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8c5723c908fa3158688610cb49af3ae4.jpg","text":"TemporaryFile(/tmp/multipartBody5593876080102794521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776242603,"filename":"image_13012025_14_49_02_605888_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0a1b875929b24cd3a600c8556cda6579.jpg","text":"TemporaryFile(/tmp/multipartBody2904274406135835243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776242603,"filename":"image_13012025_14_48_02_374548_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/16bac35f6246a1b94989edf4caacdb76.jpg","text":"TemporaryFile(/tmp/multipartBody2218575027708382892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776242603,"filename":"image_13012025_14_49_02_605888_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f58c8897d46c9bb10b9fe10f76250325.jpg","text":"TemporaryFile(/tmp/multipartBody9207282195622430874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776242603,"filename":"image_13012025_14_49_02_605888_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328644542","file1":"1328644532","file0":"1328644520","file3":"1328644547"},"map_files_photo_id_array":[{"photo_id":"1328644542","filename":"file2"},{"photo_id":"1328644532","filename":"file1"},{"photo_id":"1328644520","filename":"file0"},{"photo_id":"1328644547","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328644547":["hashtag1","hashtag2"]},{"1328644520":["hashtag1","hashtag2"]},{"1328644532":["hashtag1","hashtag2"]},{"1328644542":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328644547, 1328644520, 1328644532, 1328644542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.73266863822937 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:50:22.602793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/49/image_13012025_14_49_02_605888_0003.jpg', '/home/pi/Desktop/images/13012025/14/50/image_13012025_14_50_02_748368_0000.jpg', '/home/pi/Desktop/images/13012025/14/50/image_13012025_14_50_02_748368_0001.jpg', '/home/pi/Desktop/images/13012025/14/50/image_13012025_14_50_02_748368_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/49/image_13012025_14_49_02_605888_0003.jpg
/home/pi/Desktop/images/13012025/14/50/image_13012025_14_50_02_748368_0000.jpg
/home/pi/Desktop/images/13012025/14/50/image_13012025_14_50_02_748368_0001.jpg
/home/pi/Desktop/images/13012025/14/50/image_13012025_14_50_02_748368_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328644600","1328644590","1328644593","1328644596"],"photo_ids_order":["1328644590","1328644593","1328644596","1328644600"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fceef5471a37750eb64232ce39710b2b.jpg","text":"TemporaryFile(/tmp/multipartBody6671651616953563751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776292763,"filename":"image_13012025_14_50_02_748368_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7e40cee4a1461d823c150a05d528abd3.jpg","text":"TemporaryFile(/tmp/multipartBody1321132664839429287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776292763,"filename":"image_13012025_14_49_02_605888_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/98a43835c938616f07d9755e5c623b74.jpg","text":"TemporaryFile(/tmp/multipartBody4234112070806509868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776292763,"filename":"image_13012025_14_50_02_748368_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c448ea9378160f21e38acb1aab047dd4.jpg","text":"TemporaryFile(/tmp/multipartBody2193969508127588952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776292763,"filename":"image_13012025_14_50_02_748368_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328644596","file1":"1328644593","file0":"1328644590","file3":"1328644600"},"map_files_photo_id_array":[{"photo_id":"1328644596","filename":"file2"},{"photo_id":"1328644593","filename":"file1"},{"photo_id":"1328644590","filename":"file0"},{"photo_id":"1328644600","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328644600":["hashtag1","hashtag2"]},{"1328644590":["hashtag1","hashtag2"]},{"1328644593":["hashtag1","hashtag2"]},{"1328644596":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328644600, 1328644590, 1328644593, 1328644596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.20333242416382 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:51:21.850768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/50/image_13012025_14_50_02_748368_0003.jpg', '/home/pi/Desktop/images/13012025/14/51/image_13012025_14_51_02_939172_0000.jpg', '/home/pi/Desktop/images/13012025/14/51/image_13012025_14_51_02_939172_0001.jpg', '/home/pi/Desktop/images/13012025/14/51/image_13012025_14_51_02_939172_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/50/image_13012025_14_50_02_748368_0003.jpg
/home/pi/Desktop/images/13012025/14/51/image_13012025_14_51_02_939172_0000.jpg
/home/pi/Desktop/images/13012025/14/51/image_13012025_14_51_02_939172_0001.jpg
/home/pi/Desktop/images/13012025/14/51/image_13012025_14_51_02_939172_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328644622","1328644625","1328644630","1328644627"],"photo_ids_order":["1328644622","1328644625","1328644627","1328644630"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/696282c1f11643875385a3e148a46c02.jpg","text":"TemporaryFile(/tmp/multipartBody3546500651654985018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776352126,"filename":"image_13012025_14_50_02_748368_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a23889d53f8098177e772e1daeb2d52c.jpg","text":"TemporaryFile(/tmp/multipartBody7659887085646973211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776352126,"filename":"image_13012025_14_51_02_939172_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9b4f17a55588f8c44a9b2fe894556925.jpg","text":"TemporaryFile(/tmp/multipartBody8741099384291777245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776352126,"filename":"image_13012025_14_51_02_939172_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7d8e9b121ab7e63e72ef2532fa6cb9e4.jpg","text":"TemporaryFile(/tmp/multipartBody38726147442668690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776352126,"filename":"image_13012025_14_51_02_939172_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328644627","file1":"1328644625","file0":"1328644622","file3":"1328644630"},"map_files_photo_id_array":[{"photo_id":"1328644627","filename":"file2"},{"photo_id":"1328644625","filename":"file1"},{"photo_id":"1328644622","filename":"file0"},{"photo_id":"1328644630","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328644622":["hashtag1","hashtag2"]},{"1328644625":["hashtag1","hashtag2"]},{"1328644630":["hashtag1","hashtag2"]},{"1328644627":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328644622, 1328644625, 1328644630, 1328644627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.71283197402954 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 14:52:02.364151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:52:22.003306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/51/image_13012025_14_51_02_939172_0003.jpg', '/home/pi/Desktop/images/13012025/14/52/image_13012025_14_52_02_241452_0000.jpg', '/home/pi/Desktop/images/13012025/14/52/image_13012025_14_52_02_241452_0001.jpg', '/home/pi/Desktop/images/13012025/14/52/image_13012025_14_52_02_241452_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/51/image_13012025_14_51_02_939172_0003.jpg
/home/pi/Desktop/images/13012025/14/52/image_13012025_14_52_02_241452_0000.jpg
/home/pi/Desktop/images/13012025/14/52/image_13012025_14_52_02_241452_0001.jpg
/home/pi/Desktop/images/13012025/14/52/image_13012025_14_52_02_241452_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.908487558364868 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 14:52:41.965462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/51/image_13012025_14_51_02_939172_0003.jpg', '/home/pi/Desktop/images/13012025/14/52/image_13012025_14_52_02_241452_0000.jpg', '/home/pi/Desktop/images/13012025/14/52/image_13012025_14_52_02_241452_0001.jpg', '/home/pi/Desktop/images/13012025/14/52/image_13012025_14_52_02_241452_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/51/image_13012025_14_51_02_939172_0003.jpg
/home/pi/Desktop/images/13012025/14/52/image_13012025_14_52_02_241452_0000.jpg
/home/pi/Desktop/images/13012025/14/52/image_13012025_14_52_02_241452_0001.jpg
/home/pi/Desktop/images/13012025/14/52/image_13012025_14_52_02_241452_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328644859","1328644850","1328644847","1328644872"],"photo_ids_order":["1328644847","1328644850","1328644859","1328644872"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/da24f50cd78a21f4de3476498cf8cced.jpg","text":"TemporaryFile(/tmp/multipartBody6005685253726805091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776432271,"filename":"image_13012025_14_52_02_241452_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9eaf413fb17f70c0dfb17eecabe21a49.jpg","text":"TemporaryFile(/tmp/multipartBody2004542685690237919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776432271,"filename":"image_13012025_14_52_02_241452_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c5ddb9f69dc83eb8a1ce01018d501436.jpg","text":"TemporaryFile(/tmp/multipartBody4627473288022683644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776432271,"filename":"image_13012025_14_51_02_939172_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f2745e1e756b0b94dd8a1616b13397d7.jpg","text":"TemporaryFile(/tmp/multipartBody8886348601707981186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776432271,"filename":"image_13012025_14_52_02_241452_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328644859","file1":"1328644850","file0":"1328644847","file3":"1328644872"},"map_files_photo_id_array":[{"photo_id":"1328644859","filename":"file2"},{"photo_id":"1328644850","filename":"file1"},{"photo_id":"1328644847","filename":"file0"},{"photo_id":"1328644872","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328644859":["hashtag1","hashtag2"]},{"1328644850":["hashtag1","hashtag2"]},{"1328644847":["hashtag1","hashtag2"]},{"1328644872":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328644859, 1328644850, 1328644847, 1328644872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.91527771949768 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 14:53:32.155395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/52/image_13012025_14_52_02_241452_0003.jpg', '/home/pi/Desktop/images/13012025/14/53/image_13012025_14_53_02_331968_0000.jpg', '/home/pi/Desktop/images/13012025/14/53/image_13012025_14_53_02_331968_0001.jpg', '/home/pi/Desktop/images/13012025/14/53/image_13012025_14_53_02_331968_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/52/image_13012025_14_52_02_241452_0003.jpg
/home/pi/Desktop/images/13012025/14/53/image_13012025_14_53_02_331968_0000.jpg
/home/pi/Desktop/images/13012025/14/53/image_13012025_14_53_02_331968_0001.jpg
/home/pi/Desktop/images/13012025/14/53/image_13012025_14_53_02_331968_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328644885","1328644896","1328644890","1328644887"],"photo_ids_order":["1328644885","1328644887","1328644890","1328644896"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1c6d67ad9b932501c89f191cd8cfa9b0.jpg","text":"TemporaryFile(/tmp/multipartBody7325319944811135727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776482278,"filename":"image_13012025_14_52_02_241452_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cf3910980f8883353fa314ee05cd4229.jpg","text":"TemporaryFile(/tmp/multipartBody6300086529287521445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776482278,"filename":"image_13012025_14_53_02_331968_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eb4c62afba3ec8e86dbdbcbf90271230.jpg","text":"TemporaryFile(/tmp/multipartBody2388920144982511321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776482278,"filename":"image_13012025_14_53_02_331968_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/208b8538ae3f3c8eac44506c881e80b3.jpg","text":"TemporaryFile(/tmp/multipartBody3568995098435048165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776482278,"filename":"image_13012025_14_53_02_331968_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328644890","file1":"1328644887","file0":"1328644885","file3":"1328644896"},"map_files_photo_id_array":[{"photo_id":"1328644890","filename":"file2"},{"photo_id":"1328644887","filename":"file1"},{"photo_id":"1328644885","filename":"file0"},{"photo_id":"1328644896","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328644885":["hashtag1","hashtag2"]},{"1328644896":["hashtag1","hashtag2"]},{"1328644890":["hashtag1","hashtag2"]},{"1328644887":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328644885, 1328644896, 1328644890, 1328644887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.01874876022339 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:54:22.409360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/53/image_13012025_14_53_02_331968_0003.jpg', '/home/pi/Desktop/images/13012025/14/54/image_13012025_14_54_02_546648_0000.jpg', '/home/pi/Desktop/images/13012025/14/54/image_13012025_14_54_02_546648_0001.jpg', '/home/pi/Desktop/images/13012025/14/54/image_13012025_14_54_02_546648_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/53/image_13012025_14_53_02_331968_0003.jpg
/home/pi/Desktop/images/13012025/14/54/image_13012025_14_54_02_546648_0000.jpg
/home/pi/Desktop/images/13012025/14/54/image_13012025_14_54_02_546648_0001.jpg
/home/pi/Desktop/images/13012025/14/54/image_13012025_14_54_02_546648_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328644943","1328644954","1328644927","1328644938"],"photo_ids_order":["1328644927","1328644938","1328644943","1328644954"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2dfac63b61dd19741b0ac8592a9ba9da.jpg","text":"TemporaryFile(/tmp/multipartBody5259273734647460060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776532676,"filename":"image_13012025_14_54_02_546648_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ebb679734868e66707652906f20a6cc3.jpg","text":"TemporaryFile(/tmp/multipartBody8079997908106044412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776532676,"filename":"image_13012025_14_54_02_546648_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/42c68c85535bb78479e270c8dddf02a9.jpg","text":"TemporaryFile(/tmp/multipartBody1859576531568829046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776532676,"filename":"image_13012025_14_53_02_331968_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/17f25e99f132be162b1aaa4e12ea353a.jpg","text":"TemporaryFile(/tmp/multipartBody8383906081847068398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776532676,"filename":"image_13012025_14_54_02_546648_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328644943","file1":"1328644938","file0":"1328644927","file3":"1328644954"},"map_files_photo_id_array":[{"photo_id":"1328644943","filename":"file2"},{"photo_id":"1328644938","filename":"file1"},{"photo_id":"1328644927","filename":"file0"},{"photo_id":"1328644954","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328644943":["hashtag1","hashtag2"]},{"1328644954":["hashtag1","hashtag2"]},{"1328644927":["hashtag1","hashtag2"]},{"1328644938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328644943, 1328644954, 1328644927, 1328644938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.756224632263184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:55:22.520000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/54/image_13012025_14_54_02_546648_0003.jpg', '/home/pi/Desktop/images/13012025/14/55/image_13012025_14_55_02_741661_0000.jpg', '/home/pi/Desktop/images/13012025/14/55/image_13012025_14_55_02_741661_0001.jpg', '/home/pi/Desktop/images/13012025/14/55/image_13012025_14_55_02_741661_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/54/image_13012025_14_54_02_546648_0003.jpg
/home/pi/Desktop/images/13012025/14/55/image_13012025_14_55_02_741661_0000.jpg
/home/pi/Desktop/images/13012025/14/55/image_13012025_14_55_02_741661_0001.jpg
/home/pi/Desktop/images/13012025/14/55/image_13012025_14_55_02_741661_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328645057","1328645012","1328645028","1328645054"],"photo_ids_order":["1328645012","1328645028","1328645054","1328645057"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4f53c286768a1cecc73609478d44fee2.jpg","text":"TemporaryFile(/tmp/multipartBody733598670411350187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776592812,"filename":"image_13012025_14_55_02_741661_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/52fc8502b610b3cdd18b7479e545d998.jpg","text":"TemporaryFile(/tmp/multipartBody8687839563573482988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776592812,"filename":"image_13012025_14_54_02_546648_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3280f6fee4401c4a6a75fbeef9c17df7.jpg","text":"TemporaryFile(/tmp/multipartBody3552807406503546510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776592812,"filename":"image_13012025_14_55_02_741661_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5d99297a23a650a8b8e0053075dc8684.jpg","text":"TemporaryFile(/tmp/multipartBody7280346265147208463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776592812,"filename":"image_13012025_14_55_02_741661_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328645054","file1":"1328645028","file0":"1328645012","file3":"1328645057"},"map_files_photo_id_array":[{"photo_id":"1328645054","filename":"file2"},{"photo_id":"1328645028","filename":"file1"},{"photo_id":"1328645012","filename":"file0"},{"photo_id":"1328645057","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328645057":["hashtag1","hashtag2"]},{"1328645012":["hashtag1","hashtag2"]},{"1328645028":["hashtag1","hashtag2"]},{"1328645054":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328645057, 1328645012, 1328645028, 1328645054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.735132932662964 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:56:22.738590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/55/image_13012025_14_55_02_741661_0003.jpg', '/home/pi/Desktop/images/13012025/14/56/image_13012025_14_56_03_000163_0000.jpg', '/home/pi/Desktop/images/13012025/14/56/image_13012025_14_56_03_000163_0001.jpg', '/home/pi/Desktop/images/13012025/14/56/image_13012025_14_56_03_000163_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/55/image_13012025_14_55_02_741661_0003.jpg
/home/pi/Desktop/images/13012025/14/56/image_13012025_14_56_03_000163_0000.jpg
/home/pi/Desktop/images/13012025/14/56/image_13012025_14_56_03_000163_0001.jpg
/home/pi/Desktop/images/13012025/14/56/image_13012025_14_56_03_000163_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328645083","1328645107","1328645097","1328645103"],"photo_ids_order":["1328645083","1328645097","1328645103","1328645107"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7a7183e0b3ce4b33a503b66e8ead312b.jpg","text":"TemporaryFile(/tmp/multipartBody3487636943585977155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776653165,"filename":"image_13012025_14_55_02_741661_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7ba9790534b5b9801f3db2668e9c7b87.jpg","text":"TemporaryFile(/tmp/multipartBody6544006207707787361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776653165,"filename":"image_13012025_14_56_03_000163_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/92284eb821dc67cd67de624f40a7f423.jpg","text":"TemporaryFile(/tmp/multipartBody6464754685045894618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776653165,"filename":"image_13012025_14_56_03_000163_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e93b3383d22f270d89b45f0bea67d5db.jpg","text":"TemporaryFile(/tmp/multipartBody142571257051429918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776653165,"filename":"image_13012025_14_56_03_000163_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328645103","file1":"1328645097","file0":"1328645083","file3":"1328645107"},"map_files_photo_id_array":[{"photo_id":"1328645103","filename":"file2"},{"photo_id":"1328645097","filename":"file1"},{"photo_id":"1328645083","filename":"file0"},{"photo_id":"1328645107","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328645083":["hashtag1","hashtag2"]},{"1328645107":["hashtag1","hashtag2"]},{"1328645097":["hashtag1","hashtag2"]},{"1328645103":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328645083, 1328645107, 1328645097, 1328645103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 48.60038471221924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 14:57:21.969528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/56/image_13012025_14_56_03_000163_0003.jpg', '/home/pi/Desktop/images/13012025/14/57/image_13012025_14_57_03_103161_0000.jpg', '/home/pi/Desktop/images/13012025/14/57/image_13012025_14_57_03_103161_0001.jpg', '/home/pi/Desktop/images/13012025/14/57/image_13012025_14_57_03_103161_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/56/image_13012025_14_56_03_000163_0003.jpg
/home/pi/Desktop/images/13012025/14/57/image_13012025_14_57_03_103161_0000.jpg
/home/pi/Desktop/images/13012025/14/57/image_13012025_14_57_03_103161_0001.jpg
/home/pi/Desktop/images/13012025/14/57/image_13012025_14_57_03_103161_0002.jpg
 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 : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 14:59:02.882894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/56/image_13012025_14_56_03_000163_0003.jpg', '/home/pi/Desktop/images/13012025/14/57/image_13012025_14_57_03_103161_0000.jpg', '/home/pi/Desktop/images/13012025/14/57/image_13012025_14_57_03_103161_0001.jpg', '/home/pi/Desktop/images/13012025/14/57/image_13012025_14_57_03_103161_0002.jpg', '/home/pi/Desktop/images/13012025/14/57/image_13012025_14_57_03_103161_0003.jpg', '/home/pi/Desktop/images/13012025/14/58/image_13012025_14_58_02_330775_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/56/image_13012025_14_56_03_000163_0003.jpg
/home/pi/Desktop/images/13012025/14/57/image_13012025_14_57_03_103161_0000.jpg
/home/pi/Desktop/images/13012025/14/57/image_13012025_14_57_03_103161_0001.jpg
/home/pi/Desktop/images/13012025/14/57/image_13012025_14_57_03_103161_0002.jpg
/home/pi/Desktop/images/13012025/14/57/image_13012025_14_57_03_103161_0003.jpg
/home/pi/Desktop/images/13012025/14/58/image_13012025_14_58_02_330775_0000.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328645225","1328645219","1328645185","1328645215","1328645226","1328645208"],"photo_ids_order":["1328645185","1328645208","1328645215","1328645219","1328645225","1328645226"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/808ca09e091541b2b2cfb74594684c2e.jpg","text":"TemporaryFile(/tmp/multipartBody8511372906022441751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776818055,"filename":"image_13012025_14_57_03_103161_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/69258864c5b3ce828238cd671131224a.jpg","text":"TemporaryFile(/tmp/multipartBody4525556913302042478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776818055,"filename":"image_13012025_14_57_03_103161_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/93528416f6cfdb7daf5c87266ba65475.jpg","text":"TemporaryFile(/tmp/multipartBody2338831607885292984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776818055,"filename":"image_13012025_14_56_03_000163_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/11408ecab9149a4ca4786349576689b8.jpg","text":"TemporaryFile(/tmp/multipartBody7733197996337169945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776818055,"filename":"image_13012025_14_57_03_103161_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/989f4d12c375bfaf23f87554ced4cc6f.jpg","text":"TemporaryFile(/tmp/multipartBody4890193328431004351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776818055,"filename":"image_13012025_14_58_02_330775_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b17e08ef866a7b5853fe533b4d639a61.jpg","text":"TemporaryFile(/tmp/multipartBody8379277325756233210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776818055,"filename":"image_13012025_14_57_03_103161_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328645215","file1":"1328645208","file0":"1328645185","file4":"1328645225","file5":"1328645226","file3":"1328645219"},"map_files_photo_id_array":[{"photo_id":"1328645226","filename":"file5"},{"photo_id":"1328645215","filename":"file2"},{"photo_id":"1328645225","filename":"file4"},{"photo_id":"1328645208","filename":"file1"},{"photo_id":"1328645185","filename":"file0"},{"photo_id":"1328645219","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328645225":["hashtag1","hashtag2"]},{"1328645219":["hashtag1","hashtag2"]},{"1328645185":["hashtag1","hashtag2"]},{"1328645215":["hashtag1","hashtag2"]},{"1328645226":["hashtag1","hashtag2"]},{"1328645208":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328645225, 1328645219, 1328645185, 1328645215, 1328645226, 1328645208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 85.85129690170288 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 15:00:32.461948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/58/image_13012025_14_58_02_330775_0001.jpg', '/home/pi/Desktop/images/13012025/14/58/image_13012025_14_58_02_330775_0002.jpg', '/home/pi/Desktop/images/13012025/14/58/image_13012025_14_58_02_330775_0003.jpg', '/home/pi/Desktop/images/13012025/14/59/image_13012025_14_59_02_479859_0000.jpg', '/home/pi/Desktop/images/13012025/14/59/image_13012025_14_59_02_479859_0001.jpg', '/home/pi/Desktop/images/13012025/14/59/image_13012025_14_59_02_479859_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/58/image_13012025_14_58_02_330775_0001.jpg
/home/pi/Desktop/images/13012025/14/58/image_13012025_14_58_02_330775_0002.jpg
/home/pi/Desktop/images/13012025/14/58/image_13012025_14_58_02_330775_0003.jpg
/home/pi/Desktop/images/13012025/14/59/image_13012025_14_59_02_479859_0000.jpg
/home/pi/Desktop/images/13012025/14/59/image_13012025_14_59_02_479859_0001.jpg
/home/pi/Desktop/images/13012025/14/59/image_13012025_14_59_02_479859_0002.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328645263","1328645242","1328645268","1328645256","1328645271","1328645252"],"photo_ids_order":["1328645242","1328645252","1328645256","1328645263","1328645268","1328645271"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/955207a7692f4bfb683924df289ee457.jpg","text":"TemporaryFile(/tmp/multipartBody5787270871602926870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776907421,"filename":"image_13012025_14_59_02_479859_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/27a8db4b7491b13f1da0af68ceb18d29.jpg","text":"TemporaryFile(/tmp/multipartBody3008278697138242632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776907421,"filename":"image_13012025_14_58_02_330775_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4b6adb73f02eb52664625f8efc9499e6.jpg","text":"TemporaryFile(/tmp/multipartBody4546395894522173618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776907421,"filename":"image_13012025_14_59_02_479859_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b27e144e902fa585a53fa724b7ba2c80.jpg","text":"TemporaryFile(/tmp/multipartBody5853290145537671453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776907421,"filename":"image_13012025_14_58_02_330775_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/db75332e9ceb330c390d6ae6751d3c1c.jpg","text":"TemporaryFile(/tmp/multipartBody7123816947211480298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776907421,"filename":"image_13012025_14_59_02_479859_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c2119d2e0a946b7c76281926543f6b64.jpg","text":"TemporaryFile(/tmp/multipartBody2255121271626786105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776907421,"filename":"image_13012025_14_58_02_330775_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328645256","file1":"1328645252","file0":"1328645242","file4":"1328645268","file5":"1328645271","file3":"1328645263"},"map_files_photo_id_array":[{"photo_id":"1328645271","filename":"file5"},{"photo_id":"1328645256","filename":"file2"},{"photo_id":"1328645268","filename":"file4"},{"photo_id":"1328645252","filename":"file1"},{"photo_id":"1328645242","filename":"file0"},{"photo_id":"1328645263","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328645263":["hashtag1","hashtag2"]},{"1328645242":["hashtag1","hashtag2"]},{"1328645268":["hashtag1","hashtag2"]},{"1328645256":["hashtag1","hashtag2"]},{"1328645271":["hashtag1","hashtag2"]},{"1328645252":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328645263, 1328645242, 1328645268, 1328645256, 1328645271, 1328645252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.94617557525635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 15:01:52.582952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/59/image_13012025_14_59_02_479859_0003.jpg', '/home/pi/Desktop/images/13012025/15/00/image_13012025_15_00_02_589123_0000.jpg', '/home/pi/Desktop/images/13012025/15/00/image_13012025_15_00_02_589123_0001.jpg', '/home/pi/Desktop/images/13012025/15/00/image_13012025_15_00_02_589123_0002.jpg', '/home/pi/Desktop/images/13012025/15/00/image_13012025_15_00_02_589123_0003.jpg', '/home/pi/Desktop/images/13012025/15/01/image_13012025_15_01_02_920255_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/14/59/image_13012025_14_59_02_479859_0003.jpg
/home/pi/Desktop/images/13012025/15/00/image_13012025_15_00_02_589123_0000.jpg
/home/pi/Desktop/images/13012025/15/00/image_13012025_15_00_02_589123_0001.jpg
/home/pi/Desktop/images/13012025/15/00/image_13012025_15_00_02_589123_0002.jpg
/home/pi/Desktop/images/13012025/15/00/image_13012025_15_00_02_589123_0003.jpg
/home/pi/Desktop/images/13012025/15/01/image_13012025_15_01_02_920255_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328645444","1328645423","1328645446","1328645440","1328645428","1328645433"],"photo_ids_order":["1328645423","1328645428","1328645433","1328645440","1328645444","1328645446"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/de42b149548e9e91393ae718a7220bcc.jpg","text":"TemporaryFile(/tmp/multipartBody2938429021042359919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776987468,"filename":"image_13012025_15_00_02_589123_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ec54e4de87a4c0b82aeaff0e5b8701b4.jpg","text":"TemporaryFile(/tmp/multipartBody562540163903401516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776987468,"filename":"image_13012025_14_59_02_479859_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f343961c57fa43e0c934e455392a7a68.jpg","text":"TemporaryFile(/tmp/multipartBody1072394015655495953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776987468,"filename":"image_13012025_15_01_02_920255_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/677255d799cab667e9daf1f4e1f2146a.jpg","text":"TemporaryFile(/tmp/multipartBody3951172224582437658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776987468,"filename":"image_13012025_15_00_02_589123_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b9830a3d6235739bf34e4ababd365120.jpg","text":"TemporaryFile(/tmp/multipartBody7445901236437844075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776987468,"filename":"image_13012025_15_00_02_589123_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1222509f3fbfc6bb39f9f5bdea603ded.jpg","text":"TemporaryFile(/tmp/multipartBody2126270040165780659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736776987468,"filename":"image_13012025_15_00_02_589123_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328645433","file1":"1328645428","file0":"1328645423","file4":"1328645444","file5":"1328645446","file3":"1328645440"},"map_files_photo_id_array":[{"photo_id":"1328645446","filename":"file5"},{"photo_id":"1328645433","filename":"file2"},{"photo_id":"1328645444","filename":"file4"},{"photo_id":"1328645428","filename":"file1"},{"photo_id":"1328645423","filename":"file0"},{"photo_id":"1328645440","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328645444":["hashtag1","hashtag2"]},{"1328645423":["hashtag1","hashtag2"]},{"1328645446":["hashtag1","hashtag2"]},{"1328645440":["hashtag1","hashtag2"]},{"1328645428":["hashtag1","hashtag2"]},{"1328645433":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328645444, 1328645423, 1328645446, 1328645440, 1328645428, 1328645433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.285767793655396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 15:02:52.769081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/01/image_13012025_15_01_02_920255_0001.jpg', '/home/pi/Desktop/images/13012025/15/01/image_13012025_15_01_02_920255_0002.jpg', '/home/pi/Desktop/images/13012025/15/01/image_13012025_15_01_02_920255_0003.jpg', '/home/pi/Desktop/images/13012025/15/02/image_13012025_15_02_03_109628_0001.jpg', '/home/pi/Desktop/images/13012025/15/02/image_13012025_15_02_03_109628_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/01/image_13012025_15_01_02_920255_0001.jpg
/home/pi/Desktop/images/13012025/15/01/image_13012025_15_01_02_920255_0002.jpg
/home/pi/Desktop/images/13012025/15/01/image_13012025_15_01_02_920255_0003.jpg
/home/pi/Desktop/images/13012025/15/02/image_13012025_15_02_03_109628_0001.jpg
/home/pi/Desktop/images/13012025/15/02/image_13012025_15_02_03_109628_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328645474","1328645479","1328645484","1328645478","1328645489"],"photo_ids_order":["1328645474","1328645478","1328645479","1328645484","1328645489"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/630fdf35d73a2047b9dd5545a58cddaa.jpg","text":"TemporaryFile(/tmp/multipartBody3786663925927282146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777045349,"filename":"image_13012025_15_01_02_920255_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0c954c98d275b6ee8a87a6b1750d5492.jpg","text":"TemporaryFile(/tmp/multipartBody8056107195806054825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777045349,"filename":"image_13012025_15_01_02_920255_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7d44317a01bc00a0bf23ca90eb21a9ca.jpg","text":"TemporaryFile(/tmp/multipartBody3760540530541489785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777045349,"filename":"image_13012025_15_02_03_109628_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f07ffbc07201625d1fb1180d9ec252d5.jpg","text":"TemporaryFile(/tmp/multipartBody2405934211058321611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777045349,"filename":"image_13012025_15_01_02_920255_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/04a7a3e16985ca585ef978d6239e0c5b.jpg","text":"TemporaryFile(/tmp/multipartBody1147567495598157844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777045349,"filename":"image_13012025_15_02_03_109628_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328645479","file1":"1328645478","file0":"1328645474","file4":"1328645489","file3":"1328645484"},"map_files_photo_id_array":[{"photo_id":"1328645479","filename":"file2"},{"photo_id":"1328645489","filename":"file4"},{"photo_id":"1328645478","filename":"file1"},{"photo_id":"1328645474","filename":"file0"},{"photo_id":"1328645484","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328645474":["hashtag1","hashtag2"]},{"1328645479":["hashtag1","hashtag2"]},{"1328645484":["hashtag1","hashtag2"]},{"1328645478":["hashtag1","hashtag2"]},{"1328645489":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328645474, 1328645479, 1328645484, 1328645478, 1328645489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.620378494262695 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 15:03:41.954138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/02/image_13012025_15_02_03_109628_0003.jpg', '/home/pi/Desktop/images/13012025/15/03/image_13012025_15_03_03_152399_0000.jpg', '/home/pi/Desktop/images/13012025/15/03/image_13012025_15_03_03_152399_0001.jpg', '/home/pi/Desktop/images/13012025/15/03/image_13012025_15_03_03_152399_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/02/image_13012025_15_02_03_109628_0003.jpg
/home/pi/Desktop/images/13012025/15/03/image_13012025_15_03_03_152399_0000.jpg
/home/pi/Desktop/images/13012025/15/03/image_13012025_15_03_03_152399_0001.jpg
/home/pi/Desktop/images/13012025/15/03/image_13012025_15_03_03_152399_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328645500","1328645503","1328645502","1328645505"],"photo_ids_order":["1328645500","1328645502","1328645503","1328645505"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0b08566e8297511777dc40928307213a.jpg","text":"TemporaryFile(/tmp/multipartBody8541047350400526666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777092341,"filename":"image_13012025_15_02_03_109628_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f2771f4f74fbe4bc5b304df7d9cc2d74.jpg","text":"TemporaryFile(/tmp/multipartBody4183384772749464793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777092341,"filename":"image_13012025_15_03_03_152399_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ee7777f10701384910546f0b5c84f98e.jpg","text":"TemporaryFile(/tmp/multipartBody2526783630774452949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777092341,"filename":"image_13012025_15_03_03_152399_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4c2f8102da23885a45190966241b4ff2.jpg","text":"TemporaryFile(/tmp/multipartBody3260199679949778258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777092341,"filename":"image_13012025_15_03_03_152399_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328645503","file1":"1328645502","file0":"1328645500","file3":"1328645505"},"map_files_photo_id_array":[{"photo_id":"1328645503","filename":"file2"},{"photo_id":"1328645502","filename":"file1"},{"photo_id":"1328645500","filename":"file0"},{"photo_id":"1328645505","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328645500":["hashtag1","hashtag2"]},{"1328645503":["hashtag1","hashtag2"]},{"1328645502":["hashtag1","hashtag2"]},{"1328645505":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328645500, 1328645503, 1328645502, 1328645505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.24710297584534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:04:22.206213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/03/image_13012025_15_03_03_152399_0003.jpg', '/home/pi/Desktop/images/13012025/15/04/image_13012025_15_04_02_379059_0000.jpg', '/home/pi/Desktop/images/13012025/15/04/image_13012025_15_04_02_379059_0001.jpg', '/home/pi/Desktop/images/13012025/15/04/image_13012025_15_04_02_379059_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/03/image_13012025_15_03_03_152399_0003.jpg
/home/pi/Desktop/images/13012025/15/04/image_13012025_15_04_02_379059_0000.jpg
/home/pi/Desktop/images/13012025/15/04/image_13012025_15_04_02_379059_0001.jpg
/home/pi/Desktop/images/13012025/15/04/image_13012025_15_04_02_379059_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328645525","1328645533","1328645541","1328645538"],"photo_ids_order":["1328645525","1328645533","1328645538","1328645541"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7d8e146b6c9b3b5b27a8fa33f657f458.jpg","text":"TemporaryFile(/tmp/multipartBody2801993693693610022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777132472,"filename":"image_13012025_15_03_03_152399_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fa61e807095fd0a4e2f276230707fd6f.jpg","text":"TemporaryFile(/tmp/multipartBody7657976267000463411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777132472,"filename":"image_13012025_15_04_02_379059_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4852b5d13c8f1c845ba0760606172f00.jpg","text":"TemporaryFile(/tmp/multipartBody8576338505581341965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777132472,"filename":"image_13012025_15_04_02_379059_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/46e98f8ab7b823d645b7024a1e2a65cb.jpg","text":"TemporaryFile(/tmp/multipartBody3568478006157205132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777132472,"filename":"image_13012025_15_04_02_379059_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328645538","file1":"1328645533","file0":"1328645525","file3":"1328645541"},"map_files_photo_id_array":[{"photo_id":"1328645538","filename":"file2"},{"photo_id":"1328645533","filename":"file1"},{"photo_id":"1328645525","filename":"file0"},{"photo_id":"1328645541","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328645525":["hashtag1","hashtag2"]},{"1328645533":["hashtag1","hashtag2"]},{"1328645541":["hashtag1","hashtag2"]},{"1328645538":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328645525, 1328645533, 1328645541, 1328645538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.31156539916992 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 15:05:03.076064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:05:22.374200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/04/image_13012025_15_04_02_379059_0003.jpg', '/home/pi/Desktop/images/13012025/15/05/image_13012025_15_05_02_523359_0000.jpg', '/home/pi/Desktop/images/13012025/15/05/image_13012025_15_05_02_523359_0001.jpg', '/home/pi/Desktop/images/13012025/15/05/image_13012025_15_05_02_523359_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/04/image_13012025_15_04_02_379059_0003.jpg
/home/pi/Desktop/images/13012025/15/05/image_13012025_15_05_02_523359_0000.jpg
/home/pi/Desktop/images/13012025/15/05/image_13012025_15_05_02_523359_0001.jpg
/home/pi/Desktop/images/13012025/15/05/image_13012025_15_05_02_523359_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328645787","1328645559","1328646017","1328645564"],"photo_ids_order":["1328645559","1328645564","1328645787","1328646017"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/507ffa119a5db8494b3e47e33cc21d4b.jpg","text":"TemporaryFile(/tmp/multipartBody9085482817668957523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777192447,"filename":"image_13012025_15_05_02_523359_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/66f8a9c374575ba94c5f5bca54fd99bc.jpg","text":"TemporaryFile(/tmp/multipartBody2092150195030897696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777192447,"filename":"image_13012025_15_04_02_379059_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/68c4da003737a0772c311cc95abbd774.jpg","text":"TemporaryFile(/tmp/multipartBody5946094181314372525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777192447,"filename":"image_13012025_15_05_02_523359_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/57d2fdfbe2e2b402226cae701236e047.jpg","text":"TemporaryFile(/tmp/multipartBody6104575101783928203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777192447,"filename":"image_13012025_15_05_02_523359_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328645787","file1":"1328645564","file0":"1328645559","file3":"1328646017"},"map_files_photo_id_array":[{"photo_id":"1328645787","filename":"file2"},{"photo_id":"1328645564","filename":"file1"},{"photo_id":"1328645559","filename":"file0"},{"photo_id":"1328646017","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328645787":["hashtag1","hashtag2"]},{"1328645559":["hashtag1","hashtag2"]},{"1328646017":["hashtag1","hashtag2"]},{"1328645564":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328645787, 1328645559, 1328646017, 1328645564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.17667555809021 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:06:22.480113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/05/image_13012025_15_05_02_523359_0003.jpg', '/home/pi/Desktop/images/13012025/15/06/image_13012025_15_06_02_722474_0000.jpg', '/home/pi/Desktop/images/13012025/15/06/image_13012025_15_06_02_722474_0001.jpg', '/home/pi/Desktop/images/13012025/15/06/image_13012025_15_06_02_722474_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/05/image_13012025_15_05_02_523359_0003.jpg
/home/pi/Desktop/images/13012025/15/06/image_13012025_15_06_02_722474_0000.jpg
/home/pi/Desktop/images/13012025/15/06/image_13012025_15_06_02_722474_0001.jpg
/home/pi/Desktop/images/13012025/15/06/image_13012025_15_06_02_722474_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328646586","1328646432","1328646494","1328646440"],"photo_ids_order":["1328646432","1328646440","1328646494","1328646586"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/485408bad0d8dc336e5b1a097a3e3aab.jpg","text":"TemporaryFile(/tmp/multipartBody6770382354995433751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777252685,"filename":"image_13012025_15_06_02_722474_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fa162e157bffd80d8879f27f68db55fd.jpg","text":"TemporaryFile(/tmp/multipartBody1547189088554890339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777252685,"filename":"image_13012025_15_05_02_523359_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5cdab6736366229ed065d3ffa0835066.jpg","text":"TemporaryFile(/tmp/multipartBody251259403279334748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777252685,"filename":"image_13012025_15_06_02_722474_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d21840624ebb2201cb21b8221171422a.jpg","text":"TemporaryFile(/tmp/multipartBody6598316259679951754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777252685,"filename":"image_13012025_15_06_02_722474_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328646494","file1":"1328646440","file0":"1328646432","file3":"1328646586"},"map_files_photo_id_array":[{"photo_id":"1328646494","filename":"file2"},{"photo_id":"1328646440","filename":"file1"},{"photo_id":"1328646432","filename":"file0"},{"photo_id":"1328646586","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328646586":["hashtag1","hashtag2"]},{"1328646432":["hashtag1","hashtag2"]},{"1328646494":["hashtag1","hashtag2"]},{"1328646440":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328646586, 1328646432, 1328646494, 1328646440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.69815421104431 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:07:22.713233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/06/image_13012025_15_06_02_722474_0003.jpg', '/home/pi/Desktop/images/13012025/15/07/image_13012025_15_07_02_870638_0000.jpg', '/home/pi/Desktop/images/13012025/15/07/image_13012025_15_07_02_870638_0001.jpg', '/home/pi/Desktop/images/13012025/15/07/image_13012025_15_07_02_870638_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/06/image_13012025_15_06_02_722474_0003.jpg
/home/pi/Desktop/images/13012025/15/07/image_13012025_15_07_02_870638_0000.jpg
/home/pi/Desktop/images/13012025/15/07/image_13012025_15_07_02_870638_0001.jpg
/home/pi/Desktop/images/13012025/15/07/image_13012025_15_07_02_870638_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328646814","1328646802","1328646805","1328646810"],"photo_ids_order":["1328646802","1328646805","1328646810","1328646814"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/beb243743bd41547f9b38bd1e66dfa39.jpg","text":"TemporaryFile(/tmp/multipartBody8558203477817164811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777312860,"filename":"image_13012025_15_07_02_870638_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1354dd41d474fad99685ebc4f1dff8ce.jpg","text":"TemporaryFile(/tmp/multipartBody8314418622250197507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777312860,"filename":"image_13012025_15_06_02_722474_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/929c20527deb6cb4f712b0a9ec506a7c.jpg","text":"TemporaryFile(/tmp/multipartBody5965012041999883197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777312860,"filename":"image_13012025_15_07_02_870638_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7cda76fe5e9a62a44a11de933197807d.jpg","text":"TemporaryFile(/tmp/multipartBody1594605184334188607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777312860,"filename":"image_13012025_15_07_02_870638_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328646810","file1":"1328646805","file0":"1328646802","file3":"1328646814"},"map_files_photo_id_array":[{"photo_id":"1328646810","filename":"file2"},{"photo_id":"1328646805","filename":"file1"},{"photo_id":"1328646802","filename":"file0"},{"photo_id":"1328646814","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328646814":["hashtag1","hashtag2"]},{"1328646802":["hashtag1","hashtag2"]},{"1328646805":["hashtag1","hashtag2"]},{"1328646810":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328646814, 1328646802, 1328646805, 1328646810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.08526301383972 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:08:21.906312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/07/image_13012025_15_07_02_870638_0003.jpg', '/home/pi/Desktop/images/13012025/15/08/image_13012025_15_08_03_065720_0000.jpg', '/home/pi/Desktop/images/13012025/15/08/image_13012025_15_08_03_065720_0001.jpg', '/home/pi/Desktop/images/13012025/15/08/image_13012025_15_08_03_065720_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/07/image_13012025_15_07_02_870638_0003.jpg
/home/pi/Desktop/images/13012025/15/08/image_13012025_15_08_03_065720_0000.jpg
/home/pi/Desktop/images/13012025/15/08/image_13012025_15_08_03_065720_0001.jpg
/home/pi/Desktop/images/13012025/15/08/image_13012025_15_08_03_065720_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328646859","1328646857","1328646842","1328646830"],"photo_ids_order":["1328646830","1328646842","1328646857","1328646859"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3dd108a9bf2946db676b8c3baebbb5f4.jpg","text":"TemporaryFile(/tmp/multipartBody4721266906045349577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777372193,"filename":"image_13012025_15_08_03_065720_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f87344c6b55df7b96ea1ddc9e624ac28.jpg","text":"TemporaryFile(/tmp/multipartBody3608511504777480742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777372193,"filename":"image_13012025_15_08_03_065720_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/19013c36dd7741ce9ed0fb121fc72042.jpg","text":"TemporaryFile(/tmp/multipartBody3871213532249958299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777372193,"filename":"image_13012025_15_08_03_065720_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fe1c9828401d528a101a3b834dbb1350.jpg","text":"TemporaryFile(/tmp/multipartBody7722829695248387586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777372193,"filename":"image_13012025_15_07_02_870638_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328646857","file1":"1328646842","file0":"1328646830","file3":"1328646859"},"map_files_photo_id_array":[{"photo_id":"1328646857","filename":"file2"},{"photo_id":"1328646842","filename":"file1"},{"photo_id":"1328646830","filename":"file0"},{"photo_id":"1328646859","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328646859":["hashtag1","hashtag2"]},{"1328646857":["hashtag1","hashtag2"]},{"1328646842":["hashtag1","hashtag2"]},{"1328646830":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328646859, 1328646857, 1328646842, 1328646830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.77395749092102 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:09:22.066697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/08/image_13012025_15_08_03_065720_0003.jpg', '/home/pi/Desktop/images/13012025/15/09/image_13012025_15_09_02_228434_0000.jpg', '/home/pi/Desktop/images/13012025/15/09/image_13012025_15_09_02_228434_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/08/image_13012025_15_08_03_065720_0003.jpg
/home/pi/Desktop/images/13012025/15/09/image_13012025_15_09_02_228434_0000.jpg
/home/pi/Desktop/images/13012025/15/09/image_13012025_15_09_02_228434_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328646954","1328646939","1328646935"],"photo_ids_order":["1328646935","1328646939","1328646954"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6a68fadd7bef3b62a92436a71d28febe.jpg","text":"TemporaryFile(/tmp/multipartBody3310701111090909850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777429727,"filename":"image_13012025_15_09_02_228434_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5ff4783cfb9633f80066b33e7c4f4dc2.jpg","text":"TemporaryFile(/tmp/multipartBody7144307561054185357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777429727,"filename":"image_13012025_15_09_02_228434_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/170492d9775883d1d47bc1f39bfeddb2.jpg","text":"TemporaryFile(/tmp/multipartBody1242925525607957445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777429727,"filename":"image_13012025_15_08_03_065720_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328646954","file1":"1328646939","file0":"1328646935"},"map_files_photo_id_array":[{"photo_id":"1328646954","filename":"file2"},{"photo_id":"1328646939","filename":"file1"},{"photo_id":"1328646935","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328646954":["hashtag1","hashtag2"]},{"1328646939":["hashtag1","hashtag2"]},{"1328646935":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328646954, 1328646939, 1328646935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.18402147293091 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 15:10:02.705170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:10:22.285101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/09/image_13012025_15_09_02_228434_0002.jpg', '/home/pi/Desktop/images/13012025/15/10/image_13012025_15_10_02_409944_0000.jpg', '/home/pi/Desktop/images/13012025/15/10/image_13012025_15_10_02_409944_0001.jpg', '/home/pi/Desktop/images/13012025/15/10/image_13012025_15_10_02_409944_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/09/image_13012025_15_09_02_228434_0002.jpg
/home/pi/Desktop/images/13012025/15/10/image_13012025_15_10_02_409944_0000.jpg
/home/pi/Desktop/images/13012025/15/10/image_13012025_15_10_02_409944_0001.jpg
/home/pi/Desktop/images/13012025/15/10/image_13012025_15_10_02_409944_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328647066","1328647074","1328647056","1328647061"],"photo_ids_order":["1328647056","1328647061","1328647066","1328647074"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/943a76d2a5af3efab3e56dccae2cf741.jpg","text":"TemporaryFile(/tmp/multipartBody1516500022196286572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777492330,"filename":"image_13012025_15_10_02_409944_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/93b274da918f29dcb5226a264138499e.jpg","text":"TemporaryFile(/tmp/multipartBody7542625081484959273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777492330,"filename":"image_13012025_15_10_02_409944_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d5d9be854dec6ed1d234d293cbc98de7.jpg","text":"TemporaryFile(/tmp/multipartBody7270050816736808116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777492330,"filename":"image_13012025_15_09_02_228434_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/65f7bf3b85f41c9dfb3429341922e1bf.jpg","text":"TemporaryFile(/tmp/multipartBody7167679784165038906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777492330,"filename":"image_13012025_15_10_02_409944_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328647066","file1":"1328647061","file0":"1328647056","file3":"1328647074"},"map_files_photo_id_array":[{"photo_id":"1328647066","filename":"file2"},{"photo_id":"1328647061","filename":"file1"},{"photo_id":"1328647056","filename":"file0"},{"photo_id":"1328647074","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328647066":["hashtag1","hashtag2"]},{"1328647074":["hashtag1","hashtag2"]},{"1328647056":["hashtag1","hashtag2"]},{"1328647061":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328647066, 1328647074, 1328647056, 1328647061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.40450358390808 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:11:22.435122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/10/image_13012025_15_10_02_409944_0003.jpg', '/home/pi/Desktop/images/13012025/15/11/image_13012025_15_11_02_645465_0000.jpg', '/home/pi/Desktop/images/13012025/15/11/image_13012025_15_11_02_645465_0001.jpg', '/home/pi/Desktop/images/13012025/15/11/image_13012025_15_11_02_645465_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/10/image_13012025_15_10_02_409944_0003.jpg
/home/pi/Desktop/images/13012025/15/11/image_13012025_15_11_02_645465_0000.jpg
/home/pi/Desktop/images/13012025/15/11/image_13012025_15_11_02_645465_0001.jpg
/home/pi/Desktop/images/13012025/15/11/image_13012025_15_11_02_645465_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328647114","1328647108","1328647100","1328647103"],"photo_ids_order":["1328647100","1328647103","1328647108","1328647114"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1e295c5d56d19fb65456a03ccb4582b7.jpg","text":"TemporaryFile(/tmp/multipartBody4662328094012554137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777552547,"filename":"image_13012025_15_11_02_645465_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0bad9273ee26e10b6e25aaf91e2e0485.jpg","text":"TemporaryFile(/tmp/multipartBody7955749704569316425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777552547,"filename":"image_13012025_15_11_02_645465_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b7755c28240539c7751e9d25bc220301.jpg","text":"TemporaryFile(/tmp/multipartBody4597811852672037043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777552547,"filename":"image_13012025_15_10_02_409944_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/edb135b634b41f1e77e6731acd1f26e5.jpg","text":"TemporaryFile(/tmp/multipartBody4928645619970308601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777552547,"filename":"image_13012025_15_11_02_645465_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328647108","file1":"1328647103","file0":"1328647100","file3":"1328647114"},"map_files_photo_id_array":[{"photo_id":"1328647108","filename":"file2"},{"photo_id":"1328647103","filename":"file1"},{"photo_id":"1328647100","filename":"file0"},{"photo_id":"1328647114","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328647114":["hashtag1","hashtag2"]},{"1328647108":["hashtag1","hashtag2"]},{"1328647100":["hashtag1","hashtag2"]},{"1328647103":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328647114, 1328647108, 1328647100, 1328647103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.12084412574768 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 15:12:02.822658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:12:22.526130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/11/image_13012025_15_11_02_645465_0003.jpg', '/home/pi/Desktop/images/13012025/15/12/image_13012025_15_12_02_723778_0000.jpg', '/home/pi/Desktop/images/13012025/15/12/image_13012025_15_12_02_723778_0001.jpg', '/home/pi/Desktop/images/13012025/15/12/image_13012025_15_12_02_723778_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/11/image_13012025_15_11_02_645465_0003.jpg
/home/pi/Desktop/images/13012025/15/12/image_13012025_15_12_02_723778_0000.jpg
/home/pi/Desktop/images/13012025/15/12/image_13012025_15_12_02_723778_0001.jpg
/home/pi/Desktop/images/13012025/15/12/image_13012025_15_12_02_723778_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328647156","1328647144","1328647147","1328647151"],"photo_ids_order":["1328647144","1328647147","1328647151","1328647156"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e38dc05aa3ad1c8b5c4e47c2d89fdc95.jpg","text":"TemporaryFile(/tmp/multipartBody904095317348946008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777612647,"filename":"image_13012025_15_12_02_723778_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8da9e38605398a74f16c089d0b222169.jpg","text":"TemporaryFile(/tmp/multipartBody3562873569628224361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777612647,"filename":"image_13012025_15_11_02_645465_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/29d5654d9ffc664ce318797865a3615b.jpg","text":"TemporaryFile(/tmp/multipartBody6266608338934162243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777612647,"filename":"image_13012025_15_12_02_723778_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4ce3875eff4effef712f961dab3851e3.jpg","text":"TemporaryFile(/tmp/multipartBody5537580647476760756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777612647,"filename":"image_13012025_15_12_02_723778_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328647151","file1":"1328647147","file0":"1328647144","file3":"1328647156"},"map_files_photo_id_array":[{"photo_id":"1328647151","filename":"file2"},{"photo_id":"1328647147","filename":"file1"},{"photo_id":"1328647144","filename":"file0"},{"photo_id":"1328647156","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328647156":["hashtag1","hashtag2"]},{"1328647144":["hashtag1","hashtag2"]},{"1328647147":["hashtag1","hashtag2"]},{"1328647151":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328647156, 1328647144, 1328647147, 1328647151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.483460664749146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 15:13:03.179505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:13:22.671823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/12/image_13012025_15_12_02_723778_0003.jpg', '/home/pi/Desktop/images/13012025/15/13/image_13012025_15_13_02_862527_0000.jpg', '/home/pi/Desktop/images/13012025/15/13/image_13012025_15_13_02_862527_0001.jpg', '/home/pi/Desktop/images/13012025/15/13/image_13012025_15_13_02_862527_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/12/image_13012025_15_12_02_723778_0003.jpg
/home/pi/Desktop/images/13012025/15/13/image_13012025_15_13_02_862527_0000.jpg
/home/pi/Desktop/images/13012025/15/13/image_13012025_15_13_02_862527_0001.jpg
/home/pi/Desktop/images/13012025/15/13/image_13012025_15_13_02_862527_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328647209","1328647199","1328647205","1328647202"],"photo_ids_order":["1328647199","1328647202","1328647205","1328647209"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bde545f1a43c64ddcd77713a51534060.jpg","text":"TemporaryFile(/tmp/multipartBody7125342533680913394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777672857,"filename":"image_13012025_15_13_02_862527_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5eb8a324bff8c987d2aa581633f07978.jpg","text":"TemporaryFile(/tmp/multipartBody8581137717868347446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777672857,"filename":"image_13012025_15_12_02_723778_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7d2316aac81426ac438727d274899575.jpg","text":"TemporaryFile(/tmp/multipartBody8475322133250947227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777672857,"filename":"image_13012025_15_13_02_862527_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fd57ffb237ddb2cf3a03bd196b8e6c15.jpg","text":"TemporaryFile(/tmp/multipartBody4403219606785548968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777672857,"filename":"image_13012025_15_13_02_862527_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328647205","file1":"1328647202","file0":"1328647199","file3":"1328647209"},"map_files_photo_id_array":[{"photo_id":"1328647205","filename":"file2"},{"photo_id":"1328647202","filename":"file1"},{"photo_id":"1328647199","filename":"file0"},{"photo_id":"1328647209","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328647209":["hashtag1","hashtag2"]},{"1328647199":["hashtag1","hashtag2"]},{"1328647205":["hashtag1","hashtag2"]},{"1328647202":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328647209, 1328647199, 1328647205, 1328647202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.138505935668945 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 15:14:02.328737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:14:21.815441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/13/image_13012025_15_13_02_862527_0003.jpg', '/home/pi/Desktop/images/13012025/15/14/image_13012025_15_14_03_035975_0000.jpg', '/home/pi/Desktop/images/13012025/15/14/image_13012025_15_14_03_035975_0001.jpg', '/home/pi/Desktop/images/13012025/15/14/image_13012025_15_14_03_035975_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/13/image_13012025_15_13_02_862527_0003.jpg
/home/pi/Desktop/images/13012025/15/14/image_13012025_15_14_03_035975_0000.jpg
/home/pi/Desktop/images/13012025/15/14/image_13012025_15_14_03_035975_0001.jpg
/home/pi/Desktop/images/13012025/15/14/image_13012025_15_14_03_035975_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328647240","1328647243","1328647237","1328647233"],"photo_ids_order":["1328647233","1328647237","1328647240","1328647243"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/56f242609e065a70f9578619ac23da35.jpg","text":"TemporaryFile(/tmp/multipartBody3294902243353587449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777731914,"filename":"image_13012025_15_14_03_035975_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e98e0be0c2c3fd7626bc985ef9b5c309.jpg","text":"TemporaryFile(/tmp/multipartBody8810086230494098205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777731914,"filename":"image_13012025_15_14_03_035975_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1ac4ef0f1aae5d6a1db76df44d3777ab.jpg","text":"TemporaryFile(/tmp/multipartBody4028751984108874227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777731914,"filename":"image_13012025_15_14_03_035975_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/df8c65671fc58ce11706d96572611691.jpg","text":"TemporaryFile(/tmp/multipartBody5510383695567690790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777731914,"filename":"image_13012025_15_13_02_862527_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328647240","file1":"1328647237","file0":"1328647233","file3":"1328647243"},"map_files_photo_id_array":[{"photo_id":"1328647240","filename":"file2"},{"photo_id":"1328647237","filename":"file1"},{"photo_id":"1328647233","filename":"file0"},{"photo_id":"1328647243","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328647240":["hashtag1","hashtag2"]},{"1328647243":["hashtag1","hashtag2"]},{"1328647237":["hashtag1","hashtag2"]},{"1328647233":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328647240, 1328647243, 1328647237, 1328647233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.400535583496094 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 15:15:02.436646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:15:21.982244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/14/image_13012025_15_14_03_035975_0003.jpg', '/home/pi/Desktop/images/13012025/15/15/image_13012025_15_15_02_161587_0000.jpg', '/home/pi/Desktop/images/13012025/15/15/image_13012025_15_15_02_161587_0001.jpg', '/home/pi/Desktop/images/13012025/15/15/image_13012025_15_15_02_161587_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/14/image_13012025_15_14_03_035975_0003.jpg
/home/pi/Desktop/images/13012025/15/15/image_13012025_15_15_02_161587_0000.jpg
/home/pi/Desktop/images/13012025/15/15/image_13012025_15_15_02_161587_0001.jpg
/home/pi/Desktop/images/13012025/15/15/image_13012025_15_15_02_161587_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328647266","1328647269","1328647262","1328647256"],"photo_ids_order":["1328647256","1328647262","1328647266","1328647269"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e9f2d32f7edc52654321ac45ead18ef3.jpg","text":"TemporaryFile(/tmp/multipartBody1759613208205575194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777792119,"filename":"image_13012025_15_15_02_161587_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c3d268985834497f5556f0c95e715e41.jpg","text":"TemporaryFile(/tmp/multipartBody8458582706701258959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777792119,"filename":"image_13012025_15_15_02_161587_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/94eda9d98db1d5f370d4382ae634fa40.jpg","text":"TemporaryFile(/tmp/multipartBody4504376513011287116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777792119,"filename":"image_13012025_15_15_02_161587_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/220b8a2f81457030dce7d7bf6cb51d5f.jpg","text":"TemporaryFile(/tmp/multipartBody6825267435773670350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777792119,"filename":"image_13012025_15_14_03_035975_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328647266","file1":"1328647262","file0":"1328647256","file3":"1328647269"},"map_files_photo_id_array":[{"photo_id":"1328647266","filename":"file2"},{"photo_id":"1328647262","filename":"file1"},{"photo_id":"1328647256","filename":"file0"},{"photo_id":"1328647269","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328647266":["hashtag1","hashtag2"]},{"1328647269":["hashtag1","hashtag2"]},{"1328647262":["hashtag1","hashtag2"]},{"1328647256":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328647266, 1328647269, 1328647262, 1328647256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.51215124130249 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:16:22.207162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/15/image_13012025_15_15_02_161587_0003.jpg', '/home/pi/Desktop/images/13012025/15/16/image_13012025_15_16_02_346516_0000.jpg', '/home/pi/Desktop/images/13012025/15/16/image_13012025_15_16_02_346516_0001.jpg', '/home/pi/Desktop/images/13012025/15/16/image_13012025_15_16_02_346516_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/15/image_13012025_15_15_02_161587_0003.jpg
/home/pi/Desktop/images/13012025/15/16/image_13012025_15_16_02_346516_0000.jpg
/home/pi/Desktop/images/13012025/15/16/image_13012025_15_16_02_346516_0001.jpg
/home/pi/Desktop/images/13012025/15/16/image_13012025_15_16_02_346516_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.620495080947876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 15:16:42.191702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/15/image_13012025_15_15_02_161587_0003.jpg', '/home/pi/Desktop/images/13012025/15/16/image_13012025_15_16_02_346516_0000.jpg', '/home/pi/Desktop/images/13012025/15/16/image_13012025_15_16_02_346516_0001.jpg', '/home/pi/Desktop/images/13012025/15/16/image_13012025_15_16_02_346516_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/15/image_13012025_15_15_02_161587_0003.jpg
/home/pi/Desktop/images/13012025/15/16/image_13012025_15_16_02_346516_0000.jpg
/home/pi/Desktop/images/13012025/15/16/image_13012025_15_16_02_346516_0001.jpg
/home/pi/Desktop/images/13012025/15/16/image_13012025_15_16_02_346516_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328647342","1328647338","1328647340","1328647346"],"photo_ids_order":["1328647338","1328647340","1328647342","1328647346"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/08e56790c3a0743a4300fd140e954c94.jpg","text":"TemporaryFile(/tmp/multipartBody240844656049006997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777872220,"filename":"image_13012025_15_16_02_346516_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/979e605840a9ecc8bf4571eb9efede68.jpg","text":"TemporaryFile(/tmp/multipartBody5319673688921994319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777872220,"filename":"image_13012025_15_15_02_161587_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8f72f762ce2c5280e1d5a05e97b7e3cc.jpg","text":"TemporaryFile(/tmp/multipartBody4751941538943116096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777872220,"filename":"image_13012025_15_16_02_346516_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/27eb0c27eac12e377e4c9b5d9b9fea66.jpg","text":"TemporaryFile(/tmp/multipartBody7557539599536766221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777872220,"filename":"image_13012025_15_16_02_346516_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328647342","file1":"1328647340","file0":"1328647338","file3":"1328647346"},"map_files_photo_id_array":[{"photo_id":"1328647342","filename":"file2"},{"photo_id":"1328647340","filename":"file1"},{"photo_id":"1328647338","filename":"file0"},{"photo_id":"1328647346","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328647342":["hashtag1","hashtag2"]},{"1328647338":["hashtag1","hashtag2"]},{"1328647340":["hashtag1","hashtag2"]},{"1328647346":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328647342, 1328647338, 1328647340, 1328647346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.64114809036255 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:17:22.375709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/16/image_13012025_15_16_02_346516_0003.jpg', '/home/pi/Desktop/images/13012025/15/17/image_13012025_15_17_02_627137_0000.jpg', '/home/pi/Desktop/images/13012025/15/17/image_13012025_15_17_02_627137_0001.jpg', '/home/pi/Desktop/images/13012025/15/17/image_13012025_15_17_02_627137_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/16/image_13012025_15_16_02_346516_0003.jpg
/home/pi/Desktop/images/13012025/15/17/image_13012025_15_17_02_627137_0000.jpg
/home/pi/Desktop/images/13012025/15/17/image_13012025_15_17_02_627137_0001.jpg
/home/pi/Desktop/images/13012025/15/17/image_13012025_15_17_02_627137_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328647361","1328647358","1328647363","1328647366"],"photo_ids_order":["1328647358","1328647361","1328647363","1328647366"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/88b28c5801ffdd6079a50add45caa364.jpg","text":"TemporaryFile(/tmp/multipartBody5427811072663056044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777912542,"filename":"image_13012025_15_17_02_627137_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a62041704fc0b5360261c7e181b832eb.jpg","text":"TemporaryFile(/tmp/multipartBody8502154455928488645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777912542,"filename":"image_13012025_15_16_02_346516_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6fcdf6709a4550387b3d2ac4036a0bc9.jpg","text":"TemporaryFile(/tmp/multipartBody2267839956570822409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777912542,"filename":"image_13012025_15_17_02_627137_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f659eae627096c38d89ac68b70d54687.jpg","text":"TemporaryFile(/tmp/multipartBody3086491593224709199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777912542,"filename":"image_13012025_15_17_02_627137_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328647363","file1":"1328647361","file0":"1328647358","file3":"1328647366"},"map_files_photo_id_array":[{"photo_id":"1328647363","filename":"file2"},{"photo_id":"1328647361","filename":"file1"},{"photo_id":"1328647358","filename":"file0"},{"photo_id":"1328647366","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328647361":["hashtag1","hashtag2"]},{"1328647358":["hashtag1","hashtag2"]},{"1328647363":["hashtag1","hashtag2"]},{"1328647366":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328647361, 1328647358, 1328647363, 1328647366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.41379451751709 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 15:18:03.021060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:18:22.617479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/17/image_13012025_15_17_02_627137_0003.jpg', '/home/pi/Desktop/images/13012025/15/18/image_13012025_15_18_02_763205_0000.jpg', '/home/pi/Desktop/images/13012025/15/18/image_13012025_15_18_02_763205_0001.jpg', '/home/pi/Desktop/images/13012025/15/18/image_13012025_15_18_02_763205_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/17/image_13012025_15_17_02_627137_0003.jpg
/home/pi/Desktop/images/13012025/15/18/image_13012025_15_18_02_763205_0000.jpg
/home/pi/Desktop/images/13012025/15/18/image_13012025_15_18_02_763205_0001.jpg
/home/pi/Desktop/images/13012025/15/18/image_13012025_15_18_02_763205_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328647380","1328647391","1328647388","1328647384"],"photo_ids_order":["1328647380","1328647384","1328647388","1328647391"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dd698ed402ace12fb3d5a28a4e1393b1.jpg","text":"TemporaryFile(/tmp/multipartBody3107610972430237364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777972796,"filename":"image_13012025_15_17_02_627137_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/33340d6b488c4e6e925dd7f9f1ebecc9.jpg","text":"TemporaryFile(/tmp/multipartBody2201623275674416501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777972796,"filename":"image_13012025_15_18_02_763205_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6d0db696045e0cd02e801e1aff4ebf1a.jpg","text":"TemporaryFile(/tmp/multipartBody7829532709025755904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777972796,"filename":"image_13012025_15_18_02_763205_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7939a9c1c8c3e234c66751ef60e132a4.jpg","text":"TemporaryFile(/tmp/multipartBody7340870198546429258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736777972796,"filename":"image_13012025_15_18_02_763205_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328647388","file1":"1328647384","file0":"1328647380","file3":"1328647391"},"map_files_photo_id_array":[{"photo_id":"1328647388","filename":"file2"},{"photo_id":"1328647384","filename":"file1"},{"photo_id":"1328647380","filename":"file0"},{"photo_id":"1328647391","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328647380":["hashtag1","hashtag2"]},{"1328647391":["hashtag1","hashtag2"]},{"1328647388":["hashtag1","hashtag2"]},{"1328647384":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328647380, 1328647391, 1328647388, 1328647384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.72107720375061 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 15:19:03.308024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:19:22.752514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/18/image_13012025_15_18_02_763205_0003.jpg', '/home/pi/Desktop/images/13012025/15/19/image_13012025_15_19_02_915750_0000.jpg', '/home/pi/Desktop/images/13012025/15/19/image_13012025_15_19_02_915750_0001.jpg', '/home/pi/Desktop/images/13012025/15/19/image_13012025_15_19_02_915750_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/18/image_13012025_15_18_02_763205_0003.jpg
/home/pi/Desktop/images/13012025/15/19/image_13012025_15_19_02_915750_0000.jpg
/home/pi/Desktop/images/13012025/15/19/image_13012025_15_19_02_915750_0001.jpg
/home/pi/Desktop/images/13012025/15/19/image_13012025_15_19_02_915750_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328648088","1328648028","1328648099","1328647774"],"photo_ids_order":["1328647774","1328648028","1328648088","1328648099"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3b5c657d1c3db47fc6a0d1478952cfd5.jpg","text":"TemporaryFile(/tmp/multipartBody8210760476251192455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778032975,"filename":"image_13012025_15_19_02_915750_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e0ef95da4cd8f33271b055b839fbcac9.jpg","text":"TemporaryFile(/tmp/multipartBody3726681938160720004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778032975,"filename":"image_13012025_15_19_02_915750_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a8ad0f27d7343d12af2aed9104216fe1.jpg","text":"TemporaryFile(/tmp/multipartBody484383321656493640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778032975,"filename":"image_13012025_15_19_02_915750_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5d9a12ba456c24d217998c7702b2cc68.jpg","text":"TemporaryFile(/tmp/multipartBody9194846583122472174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778032975,"filename":"image_13012025_15_18_02_763205_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328648088","file1":"1328648028","file0":"1328647774","file3":"1328648099"},"map_files_photo_id_array":[{"photo_id":"1328648088","filename":"file2"},{"photo_id":"1328648028","filename":"file1"},{"photo_id":"1328647774","filename":"file0"},{"photo_id":"1328648099","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328648088":["hashtag1","hashtag2"]},{"1328648028":["hashtag1","hashtag2"]},{"1328648099":["hashtag1","hashtag2"]},{"1328647774":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328648088, 1328648028, 1328648099, 1328647774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.56027936935425 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 15:20:02.482863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:20:21.857011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/19/image_13012025_15_19_02_915750_0003.jpg', '/home/pi/Desktop/images/13012025/15/20/image_13012025_15_20_03_039423_0000.jpg', '/home/pi/Desktop/images/13012025/15/20/image_13012025_15_20_03_039423_0001.jpg', '/home/pi/Desktop/images/13012025/15/20/image_13012025_15_20_03_039423_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/19/image_13012025_15_19_02_915750_0003.jpg
/home/pi/Desktop/images/13012025/15/20/image_13012025_15_20_03_039423_0000.jpg
/home/pi/Desktop/images/13012025/15/20/image_13012025_15_20_03_039423_0001.jpg
/home/pi/Desktop/images/13012025/15/20/image_13012025_15_20_03_039423_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328648358","1328648352","1328648307","1328648318"],"photo_ids_order":["1328648307","1328648318","1328648352","1328648358"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/87a0a8f7eb39088a877cd3fa00ffea06.jpg","text":"TemporaryFile(/tmp/multipartBody5024329081782882824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778092181,"filename":"image_13012025_15_20_03_039423_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/33bfc3c13c0c00e86431cb03e328c382.jpg","text":"TemporaryFile(/tmp/multipartBody5730105760235503742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778092181,"filename":"image_13012025_15_20_03_039423_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f5889db02ec3cba848af715e7c7c1e0d.jpg","text":"TemporaryFile(/tmp/multipartBody7788596333407814008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778092181,"filename":"image_13012025_15_19_02_915750_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9506860a624e8cf2cc01952d0a32e0db.jpg","text":"TemporaryFile(/tmp/multipartBody2214049927493262496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778092181,"filename":"image_13012025_15_20_03_039423_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328648352","file1":"1328648318","file0":"1328648307","file3":"1328648358"},"map_files_photo_id_array":[{"photo_id":"1328648352","filename":"file2"},{"photo_id":"1328648318","filename":"file1"},{"photo_id":"1328648307","filename":"file0"},{"photo_id":"1328648358","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328648358":["hashtag1","hashtag2"]},{"1328648352":["hashtag1","hashtag2"]},{"1328648307":["hashtag1","hashtag2"]},{"1328648318":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328648358, 1328648352, 1328648307, 1328648318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.46142911911011 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 15:21:02.725531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:21:22.043944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/20/image_13012025_15_20_03_039423_0003.jpg', '/home/pi/Desktop/images/13012025/15/21/image_13012025_15_21_02_240543_0000.jpg', '/home/pi/Desktop/images/13012025/15/21/image_13012025_15_21_02_240543_0001.jpg', '/home/pi/Desktop/images/13012025/15/21/image_13012025_15_21_02_240543_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/20/image_13012025_15_20_03_039423_0003.jpg
/home/pi/Desktop/images/13012025/15/21/image_13012025_15_21_02_240543_0000.jpg
/home/pi/Desktop/images/13012025/15/21/image_13012025_15_21_02_240543_0001.jpg
/home/pi/Desktop/images/13012025/15/21/image_13012025_15_21_02_240543_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328648723","1328648735","1328648740","1328648719"],"photo_ids_order":["1328648719","1328648723","1328648735","1328648740"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/382f87801274609f9f2b32a2130d2d9d.jpg","text":"TemporaryFile(/tmp/multipartBody4790352927941768019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778152208,"filename":"image_13012025_15_21_02_240543_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f6640ae5d59ae0a790338a20c5d866b5.jpg","text":"TemporaryFile(/tmp/multipartBody5426402572630078233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778152208,"filename":"image_13012025_15_21_02_240543_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/895f5738a773795a39f052a7abdf204d.jpg","text":"TemporaryFile(/tmp/multipartBody8716718530491142469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778152208,"filename":"image_13012025_15_21_02_240543_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/981c3a4a28032a9f5467dc49ea82557e.jpg","text":"TemporaryFile(/tmp/multipartBody7636193097107983009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778152208,"filename":"image_13012025_15_20_03_039423_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328648735","file1":"1328648723","file0":"1328648719","file3":"1328648740"},"map_files_photo_id_array":[{"photo_id":"1328648735","filename":"file2"},{"photo_id":"1328648723","filename":"file1"},{"photo_id":"1328648719","filename":"file0"},{"photo_id":"1328648740","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328648723":["hashtag1","hashtag2"]},{"1328648735":["hashtag1","hashtag2"]},{"1328648740":["hashtag1","hashtag2"]},{"1328648719":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328648723, 1328648735, 1328648740, 1328648719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.128864765167236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:22:22.234888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/21/image_13012025_15_21_02_240543_0003.jpg', '/home/pi/Desktop/images/13012025/15/22/image_13012025_15_22_02_427378_0000.jpg', '/home/pi/Desktop/images/13012025/15/22/image_13012025_15_22_02_427378_0001.jpg', '/home/pi/Desktop/images/13012025/15/22/image_13012025_15_22_02_427378_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/21/image_13012025_15_21_02_240543_0003.jpg
/home/pi/Desktop/images/13012025/15/22/image_13012025_15_22_02_427378_0000.jpg
/home/pi/Desktop/images/13012025/15/22/image_13012025_15_22_02_427378_0001.jpg
/home/pi/Desktop/images/13012025/15/22/image_13012025_15_22_02_427378_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328648796","1328648802","1328648791","1328648788"],"photo_ids_order":["1328648788","1328648791","1328648796","1328648802"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6e357ae62091b444a0ddd473baf56c8c.jpg","text":"TemporaryFile(/tmp/multipartBody9088421166773711968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778212471,"filename":"image_13012025_15_22_02_427378_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3b473badf69529a91fcd964a8f407249.jpg","text":"TemporaryFile(/tmp/multipartBody5094983288358074540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778212471,"filename":"image_13012025_15_22_02_427378_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b232f1ef6e23db83dafd075eac79591e.jpg","text":"TemporaryFile(/tmp/multipartBody4377172122581290491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778212471,"filename":"image_13012025_15_22_02_427378_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/19ffe07233f95a9914f88ee339b41b20.jpg","text":"TemporaryFile(/tmp/multipartBody4813952823373305516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778212471,"filename":"image_13012025_15_21_02_240543_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328648796","file1":"1328648791","file0":"1328648788","file3":"1328648802"},"map_files_photo_id_array":[{"photo_id":"1328648796","filename":"file2"},{"photo_id":"1328648791","filename":"file1"},{"photo_id":"1328648788","filename":"file0"},{"photo_id":"1328648802","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328648796":["hashtag1","hashtag2"]},{"1328648802":["hashtag1","hashtag2"]},{"1328648791":["hashtag1","hashtag2"]},{"1328648788":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328648796, 1328648802, 1328648791, 1328648788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.0494909286499 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 15:23:02.809415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:23:22.327705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/22/image_13012025_15_22_02_427378_0003.jpg', '/home/pi/Desktop/images/13012025/15/23/image_13012025_15_23_02_570658_0000.jpg', '/home/pi/Desktop/images/13012025/15/23/image_13012025_15_23_02_570658_0001.jpg', '/home/pi/Desktop/images/13012025/15/23/image_13012025_15_23_02_570658_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/22/image_13012025_15_22_02_427378_0003.jpg
/home/pi/Desktop/images/13012025/15/23/image_13012025_15_23_02_570658_0000.jpg
/home/pi/Desktop/images/13012025/15/23/image_13012025_15_23_02_570658_0001.jpg
/home/pi/Desktop/images/13012025/15/23/image_13012025_15_23_02_570658_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328648850","1328648853","1328648891","1328648896"],"photo_ids_order":["1328648850","1328648853","1328648891","1328648896"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e84d3d478a73067f9275f03fd1105cd1.jpg","text":"TemporaryFile(/tmp/multipartBody2138156354710068847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778272484,"filename":"image_13012025_15_22_02_427378_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ff47c184ccbc33cf12501fbf4dd91ff1.jpg","text":"TemporaryFile(/tmp/multipartBody5752982409735481695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778272484,"filename":"image_13012025_15_23_02_570658_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bb9aa59105feac9ce1d963849c353b4a.jpg","text":"TemporaryFile(/tmp/multipartBody448638934307053650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778272484,"filename":"image_13012025_15_23_02_570658_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1f4fea683fc35f4c1a000dbd1b34cdd6.jpg","text":"TemporaryFile(/tmp/multipartBody9003985793903284408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778272484,"filename":"image_13012025_15_23_02_570658_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328648891","file1":"1328648853","file0":"1328648850","file3":"1328648896"},"map_files_photo_id_array":[{"photo_id":"1328648891","filename":"file2"},{"photo_id":"1328648853","filename":"file1"},{"photo_id":"1328648850","filename":"file0"},{"photo_id":"1328648896","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328648850":["hashtag1","hashtag2"]},{"1328648853":["hashtag1","hashtag2"]},{"1328648891":["hashtag1","hashtag2"]},{"1328648896":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328648850, 1328648853, 1328648891, 1328648896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.01893877983093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:24:22.613839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/23/image_13012025_15_23_02_570658_0003.jpg', '/home/pi/Desktop/images/13012025/15/24/image_13012025_15_24_02_770472_0000.jpg', '/home/pi/Desktop/images/13012025/15/24/image_13012025_15_24_02_770472_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/23/image_13012025_15_23_02_570658_0003.jpg
/home/pi/Desktop/images/13012025/15/24/image_13012025_15_24_02_770472_0000.jpg
/home/pi/Desktop/images/13012025/15/24/image_13012025_15_24_02_770472_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.411498308181763 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 15:24:32.493040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/23/image_13012025_15_23_02_570658_0003.jpg', '/home/pi/Desktop/images/13012025/15/24/image_13012025_15_24_02_770472_0000.jpg', '/home/pi/Desktop/images/13012025/15/24/image_13012025_15_24_02_770472_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/23/image_13012025_15_23_02_570658_0003.jpg
/home/pi/Desktop/images/13012025/15/24/image_13012025_15_24_02_770472_0000.jpg
/home/pi/Desktop/images/13012025/15/24/image_13012025_15_24_02_770472_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328648933","1328648927","1328648938"],"photo_ids_order":["1328648927","1328648933","1328648938"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eb6511fe57db4aada51c6b028ddfbe2b.jpg","text":"TemporaryFile(/tmp/multipartBody8972964199014377489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778340314,"filename":"image_13012025_15_24_02_770472_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/682db2963c88bc6a062ba79eed8252b4.jpg","text":"TemporaryFile(/tmp/multipartBody4511105024817074122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778340314,"filename":"image_13012025_15_23_02_570658_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/389e68f41659e9db850767ee9c45435e.jpg","text":"TemporaryFile(/tmp/multipartBody3429115662289909450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778340314,"filename":"image_13012025_15_24_02_770472_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328648938","file1":"1328648933","file0":"1328648927"},"map_files_photo_id_array":[{"photo_id":"1328648938","filename":"file2"},{"photo_id":"1328648933","filename":"file1"},{"photo_id":"1328648927","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328648933":["hashtag1","hashtag2"]},{"1328648927":["hashtag1","hashtag2"]},{"1328648938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328648933, 1328648927, 1328648938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.85132932662964 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:25:22.781218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/24/image_13012025_15_24_02_770472_0003.jpg', '/home/pi/Desktop/images/13012025/15/25/image_13012025_15_25_02_847070_0000.jpg', '/home/pi/Desktop/images/13012025/15/25/image_13012025_15_25_02_847070_0001.jpg', '/home/pi/Desktop/images/13012025/15/25/image_13012025_15_25_02_847070_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/24/image_13012025_15_24_02_770472_0003.jpg
/home/pi/Desktop/images/13012025/15/25/image_13012025_15_25_02_847070_0000.jpg
/home/pi/Desktop/images/13012025/15/25/image_13012025_15_25_02_847070_0001.jpg
/home/pi/Desktop/images/13012025/15/25/image_13012025_15_25_02_847070_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328648981","1328648975","1328648963","1328648986"],"photo_ids_order":["1328648963","1328648975","1328648981","1328648986"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/46cc9e9417039ecc5d9b7582bc680986.jpg","text":"TemporaryFile(/tmp/multipartBody8838438910728839699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778393134,"filename":"image_13012025_15_25_02_847070_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7b968e43fe6d942888cec6c9be6a0e02.jpg","text":"TemporaryFile(/tmp/multipartBody8687905754674392855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778393134,"filename":"image_13012025_15_25_02_847070_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4f0f98b15986af084dc0fca6f06cca44.jpg","text":"TemporaryFile(/tmp/multipartBody5933149034802168608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778393134,"filename":"image_13012025_15_24_02_770472_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c898f612fe44c5c7f776ffafa9059dc5.jpg","text":"TemporaryFile(/tmp/multipartBody3016248314460940988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778393134,"filename":"image_13012025_15_25_02_847070_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328648981","file1":"1328648975","file0":"1328648963","file3":"1328648986"},"map_files_photo_id_array":[{"photo_id":"1328648981","filename":"file2"},{"photo_id":"1328648975","filename":"file1"},{"photo_id":"1328648963","filename":"file0"},{"photo_id":"1328648986","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328648981":["hashtag1","hashtag2"]},{"1328648975":["hashtag1","hashtag2"]},{"1328648963":["hashtag1","hashtag2"]},{"1328648986":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328648981, 1328648975, 1328648963, 1328648986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.709869146347046 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:26:21.970083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/25/image_13012025_15_25_02_847070_0003.jpg', '/home/pi/Desktop/images/13012025/15/26/image_13012025_15_26_03_068204_0000.jpg', '/home/pi/Desktop/images/13012025/15/26/image_13012025_15_26_03_068204_0001.jpg', '/home/pi/Desktop/images/13012025/15/26/image_13012025_15_26_03_068204_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/25/image_13012025_15_25_02_847070_0003.jpg
/home/pi/Desktop/images/13012025/15/26/image_13012025_15_26_03_068204_0000.jpg
/home/pi/Desktop/images/13012025/15/26/image_13012025_15_26_03_068204_0001.jpg
/home/pi/Desktop/images/13012025/15/26/image_13012025_15_26_03_068204_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328649039","1328649030","1328649021","1328649026"],"photo_ids_order":["1328649021","1328649026","1328649030","1328649039"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5d5859e30a7970a2ed0211f9903dd7be.jpg","text":"TemporaryFile(/tmp/multipartBody785891984378891211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778452166,"filename":"image_13012025_15_26_03_068204_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6aacbe0907a2acff5245e2559a2654f4.jpg","text":"TemporaryFile(/tmp/multipartBody515506043845143308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778452166,"filename":"image_13012025_15_26_03_068204_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7367558c4206fd285aaaf4c9f3c2a455.jpg","text":"TemporaryFile(/tmp/multipartBody2734565052178023664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778452166,"filename":"image_13012025_15_25_02_847070_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9e67f5a2553ea20fd04755adfe1a4838.jpg","text":"TemporaryFile(/tmp/multipartBody7409548944841525046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778452166,"filename":"image_13012025_15_26_03_068204_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328649030","file1":"1328649026","file0":"1328649021","file3":"1328649039"},"map_files_photo_id_array":[{"photo_id":"1328649030","filename":"file2"},{"photo_id":"1328649026","filename":"file1"},{"photo_id":"1328649021","filename":"file0"},{"photo_id":"1328649039","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328649039":["hashtag1","hashtag2"]},{"1328649030":["hashtag1","hashtag2"]},{"1328649021":["hashtag1","hashtag2"]},{"1328649026":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328649039, 1328649030, 1328649021, 1328649026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.43183636665344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 15:27:02.761695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:27:22.124720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/26/image_13012025_15_26_03_068204_0003.jpg', '/home/pi/Desktop/images/13012025/15/27/image_13012025_15_27_02_220479_0000.jpg', '/home/pi/Desktop/images/13012025/15/27/image_13012025_15_27_02_220479_0001.jpg', '/home/pi/Desktop/images/13012025/15/27/image_13012025_15_27_02_220479_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/26/image_13012025_15_26_03_068204_0003.jpg
/home/pi/Desktop/images/13012025/15/27/image_13012025_15_27_02_220479_0000.jpg
/home/pi/Desktop/images/13012025/15/27/image_13012025_15_27_02_220479_0001.jpg
/home/pi/Desktop/images/13012025/15/27/image_13012025_15_27_02_220479_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328649057","1328649071","1328649065","1328649052"],"photo_ids_order":["1328649052","1328649057","1328649065","1328649071"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fe529516ac7ec81149e018cbe80fb202.jpg","text":"TemporaryFile(/tmp/multipartBody5261011640691782944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778512279,"filename":"image_13012025_15_27_02_220479_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ae2abbb05b5feb8e9fd24534d99d207c.jpg","text":"TemporaryFile(/tmp/multipartBody6711548440037181179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778512279,"filename":"image_13012025_15_27_02_220479_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5e328a9d1bbfedddc9c5f94cea5cef45.jpg","text":"TemporaryFile(/tmp/multipartBody5697632827924583002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778512279,"filename":"image_13012025_15_27_02_220479_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/17274e78eb6cbe9857f2425bb68be5db.jpg","text":"TemporaryFile(/tmp/multipartBody7552867870276231880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778512279,"filename":"image_13012025_15_26_03_068204_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328649065","file1":"1328649057","file0":"1328649052","file3":"1328649071"},"map_files_photo_id_array":[{"photo_id":"1328649065","filename":"file2"},{"photo_id":"1328649057","filename":"file1"},{"photo_id":"1328649052","filename":"file0"},{"photo_id":"1328649071","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328649057":["hashtag1","hashtag2"]},{"1328649071":["hashtag1","hashtag2"]},{"1328649065":["hashtag1","hashtag2"]},{"1328649052":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328649057, 1328649071, 1328649065, 1328649052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.74378418922424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 15:28:02.548950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:28:22.226617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/27/image_13012025_15_27_02_220479_0003.jpg', '/home/pi/Desktop/images/13012025/15/28/image_13012025_15_28_02_421516_0000.jpg', '/home/pi/Desktop/images/13012025/15/28/image_13012025_15_28_02_421516_0001.jpg', '/home/pi/Desktop/images/13012025/15/28/image_13012025_15_28_02_421516_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/27/image_13012025_15_27_02_220479_0003.jpg
/home/pi/Desktop/images/13012025/15/28/image_13012025_15_28_02_421516_0000.jpg
/home/pi/Desktop/images/13012025/15/28/image_13012025_15_28_02_421516_0001.jpg
/home/pi/Desktop/images/13012025/15/28/image_13012025_15_28_02_421516_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328649117","1328649122","1328649097","1328649154"],"photo_ids_order":["1328649097","1328649117","1328649122","1328649154"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4d0352a5776acd9a3e49730575ebf48e.jpg","text":"TemporaryFile(/tmp/multipartBody4557665095591116382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778572459,"filename":"image_13012025_15_28_02_421516_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f4d7826ff238bab1c3d89b94e3ab3042.jpg","text":"TemporaryFile(/tmp/multipartBody4797569805845599006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778572459,"filename":"image_13012025_15_28_02_421516_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fef55141adbd641239bee1ddeb7ca4c4.jpg","text":"TemporaryFile(/tmp/multipartBody8241036411227375995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778572459,"filename":"image_13012025_15_27_02_220479_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ec08d2830ae5f8035c3854c772725b3d.jpg","text":"TemporaryFile(/tmp/multipartBody4968086775112154908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778572459,"filename":"image_13012025_15_28_02_421516_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328649122","file1":"1328649117","file0":"1328649097","file3":"1328649154"},"map_files_photo_id_array":[{"photo_id":"1328649122","filename":"file2"},{"photo_id":"1328649117","filename":"file1"},{"photo_id":"1328649097","filename":"file0"},{"photo_id":"1328649154","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328649117":["hashtag1","hashtag2"]},{"1328649122":["hashtag1","hashtag2"]},{"1328649097":["hashtag1","hashtag2"]},{"1328649154":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328649117, 1328649122, 1328649097, 1328649154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.497196435928345 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:29:22.343563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/28/image_13012025_15_28_02_421516_0003.jpg', '/home/pi/Desktop/images/13012025/15/29/image_13012025_15_29_02_574499_0000.jpg', '/home/pi/Desktop/images/13012025/15/29/image_13012025_15_29_02_574499_0001.jpg', '/home/pi/Desktop/images/13012025/15/29/image_13012025_15_29_02_574499_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/28/image_13012025_15_28_02_421516_0003.jpg
/home/pi/Desktop/images/13012025/15/29/image_13012025_15_29_02_574499_0000.jpg
/home/pi/Desktop/images/13012025/15/29/image_13012025_15_29_02_574499_0001.jpg
/home/pi/Desktop/images/13012025/15/29/image_13012025_15_29_02_574499_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328649216","1328649212","1328649224","1328649232"],"photo_ids_order":["1328649212","1328649216","1328649224","1328649232"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c119fac633c6c11416a707665584d908.jpg","text":"TemporaryFile(/tmp/multipartBody2562367070741194963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778632679,"filename":"image_13012025_15_29_02_574499_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d6c686079bc74c9357ab4d2f0c3b371a.jpg","text":"TemporaryFile(/tmp/multipartBody1655471804026306313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778632679,"filename":"image_13012025_15_28_02_421516_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3e29584b5107b517515d08909a72d3d9.jpg","text":"TemporaryFile(/tmp/multipartBody1624797098389891590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778632679,"filename":"image_13012025_15_29_02_574499_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3e3c19a12789881125c1cd6292707e3d.jpg","text":"TemporaryFile(/tmp/multipartBody7809423560379937233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778632679,"filename":"image_13012025_15_29_02_574499_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328649224","file1":"1328649216","file0":"1328649212","file3":"1328649232"},"map_files_photo_id_array":[{"photo_id":"1328649224","filename":"file2"},{"photo_id":"1328649216","filename":"file1"},{"photo_id":"1328649212","filename":"file0"},{"photo_id":"1328649232","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328649216":["hashtag1","hashtag2"]},{"1328649212":["hashtag1","hashtag2"]},{"1328649224":["hashtag1","hashtag2"]},{"1328649232":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328649216, 1328649212, 1328649224, 1328649232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.13693642616272 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:30:22.492710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/29/image_13012025_15_29_02_574499_0003.jpg', '/home/pi/Desktop/images/13012025/15/30/image_13012025_15_30_02_712937_0000.jpg', '/home/pi/Desktop/images/13012025/15/30/image_13012025_15_30_02_712937_0001.jpg', '/home/pi/Desktop/images/13012025/15/30/image_13012025_15_30_02_712937_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/29/image_13012025_15_29_02_574499_0003.jpg
/home/pi/Desktop/images/13012025/15/30/image_13012025_15_30_02_712937_0000.jpg
/home/pi/Desktop/images/13012025/15/30/image_13012025_15_30_02_712937_0001.jpg
/home/pi/Desktop/images/13012025/15/30/image_13012025_15_30_02_712937_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.022494554519653 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 15:30:42.538620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/29/image_13012025_15_29_02_574499_0003.jpg', '/home/pi/Desktop/images/13012025/15/30/image_13012025_15_30_02_712937_0000.jpg', '/home/pi/Desktop/images/13012025/15/30/image_13012025_15_30_02_712937_0001.jpg', '/home/pi/Desktop/images/13012025/15/30/image_13012025_15_30_02_712937_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/29/image_13012025_15_29_02_574499_0003.jpg
/home/pi/Desktop/images/13012025/15/30/image_13012025_15_30_02_712937_0000.jpg
/home/pi/Desktop/images/13012025/15/30/image_13012025_15_30_02_712937_0001.jpg
/home/pi/Desktop/images/13012025/15/30/image_13012025_15_30_02_712937_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328649572","1328649413","1328649487","1328649421"],"photo_ids_order":["1328649413","1328649421","1328649487","1328649572"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/017683982a1ae3b64a5ebd299c1d2d6a.jpg","text":"TemporaryFile(/tmp/multipartBody5072641570771463617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778712960,"filename":"image_13012025_15_30_02_712937_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cf4d44abff205f1c82c77b5be2b39e67.jpg","text":"TemporaryFile(/tmp/multipartBody5619996607642250681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778712960,"filename":"image_13012025_15_29_02_574499_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/02541d847e9455d3c9dc3401399c3ba1.jpg","text":"TemporaryFile(/tmp/multipartBody3902363386457112311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778712960,"filename":"image_13012025_15_30_02_712937_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/56d8175df31b6dd9fda8afa2393d99a8.jpg","text":"TemporaryFile(/tmp/multipartBody623700521325625375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778712960,"filename":"image_13012025_15_30_02_712937_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328649487","file1":"1328649421","file0":"1328649413","file3":"1328649572"},"map_files_photo_id_array":[{"photo_id":"1328649487","filename":"file2"},{"photo_id":"1328649421","filename":"file1"},{"photo_id":"1328649413","filename":"file0"},{"photo_id":"1328649572","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328649572":["hashtag1","hashtag2"]},{"1328649413":["hashtag1","hashtag2"]},{"1328649487":["hashtag1","hashtag2"]},{"1328649421":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328649572, 1328649413, 1328649487, 1328649421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.12187433242798 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:31:22.638414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/30/image_13012025_15_30_02_712937_0003.jpg', '/home/pi/Desktop/images/13012025/15/31/image_13012025_15_31_02_856041_0000.jpg', '/home/pi/Desktop/images/13012025/15/31/image_13012025_15_31_02_856041_0001.jpg', '/home/pi/Desktop/images/13012025/15/31/image_13012025_15_31_02_856041_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/30/image_13012025_15_30_02_712937_0003.jpg
/home/pi/Desktop/images/13012025/15/31/image_13012025_15_31_02_856041_0000.jpg
/home/pi/Desktop/images/13012025/15/31/image_13012025_15_31_02_856041_0001.jpg
/home/pi/Desktop/images/13012025/15/31/image_13012025_15_31_02_856041_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328649716","1328649701","1328649713","1328649709"],"photo_ids_order":["1328649701","1328649709","1328649713","1328649716"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1b52815eb6253b5b7d3c8a10431d05d2.jpg","text":"TemporaryFile(/tmp/multipartBody6580598258995682977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778752780,"filename":"image_13012025_15_31_02_856041_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a421f08c620098be1fe2635e4fb0c6ad.jpg","text":"TemporaryFile(/tmp/multipartBody6048907658614003050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778752780,"filename":"image_13012025_15_30_02_712937_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/11526caff1a580aaa34febe28d0b61f4.jpg","text":"TemporaryFile(/tmp/multipartBody982334548657909039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778752780,"filename":"image_13012025_15_31_02_856041_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c9a57e96b2e5b652ab3651ba35fe994b.jpg","text":"TemporaryFile(/tmp/multipartBody8491853727621418197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778752780,"filename":"image_13012025_15_31_02_856041_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328649713","file1":"1328649709","file0":"1328649701","file3":"1328649716"},"map_files_photo_id_array":[{"photo_id":"1328649713","filename":"file2"},{"photo_id":"1328649709","filename":"file1"},{"photo_id":"1328649701","filename":"file0"},{"photo_id":"1328649716","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328649716":["hashtag1","hashtag2"]},{"1328649701":["hashtag1","hashtag2"]},{"1328649713":["hashtag1","hashtag2"]},{"1328649709":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328649716, 1328649701, 1328649713, 1328649709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.17842936515808 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 15:32:02.211880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:32:21.782769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/31/image_13012025_15_31_02_856041_0003.jpg', '/home/pi/Desktop/images/13012025/15/32/image_13012025_15_32_03_016655_0000.jpg', '/home/pi/Desktop/images/13012025/15/32/image_13012025_15_32_03_016655_0001.jpg', '/home/pi/Desktop/images/13012025/15/32/image_13012025_15_32_03_016655_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/31/image_13012025_15_31_02_856041_0003.jpg
/home/pi/Desktop/images/13012025/15/32/image_13012025_15_32_03_016655_0000.jpg
/home/pi/Desktop/images/13012025/15/32/image_13012025_15_32_03_016655_0001.jpg
/home/pi/Desktop/images/13012025/15/32/image_13012025_15_32_03_016655_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328649737","1328649739","1328649733","1328649741"],"photo_ids_order":["1328649733","1328649737","1328649739","1328649741"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8d650b23430d98d5ed4a21d29d9ced2a.jpg","text":"TemporaryFile(/tmp/multipartBody5715595920185392343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778812103,"filename":"image_13012025_15_32_03_016655_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6e98edddf1184ba650ef5561b6d4808a.jpg","text":"TemporaryFile(/tmp/multipartBody1772450222938935576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778812103,"filename":"image_13012025_15_32_03_016655_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/88c27c1f456b8e72581b1b477f91c3f4.jpg","text":"TemporaryFile(/tmp/multipartBody261210630149352563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778812103,"filename":"image_13012025_15_31_02_856041_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b9f13d8fd4afe10a9dffaa4c2ab4e8cd.jpg","text":"TemporaryFile(/tmp/multipartBody4281395265287845141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778812103,"filename":"image_13012025_15_32_03_016655_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328649739","file1":"1328649737","file0":"1328649733","file3":"1328649741"},"map_files_photo_id_array":[{"photo_id":"1328649739","filename":"file2"},{"photo_id":"1328649737","filename":"file1"},{"photo_id":"1328649733","filename":"file0"},{"photo_id":"1328649741","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328649737":["hashtag1","hashtag2"]},{"1328649739":["hashtag1","hashtag2"]},{"1328649733":["hashtag1","hashtag2"]},{"1328649741":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328649737, 1328649739, 1328649733, 1328649741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.584325313568115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 15:33:02.547896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:33:21.985624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/32/image_13012025_15_32_03_016655_0003.jpg', '/home/pi/Desktop/images/13012025/15/33/image_13012025_15_33_02_180958_0000.jpg', '/home/pi/Desktop/images/13012025/15/33/image_13012025_15_33_02_180958_0001.jpg', '/home/pi/Desktop/images/13012025/15/33/image_13012025_15_33_02_180958_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/32/image_13012025_15_32_03_016655_0003.jpg
/home/pi/Desktop/images/13012025/15/33/image_13012025_15_33_02_180958_0000.jpg
/home/pi/Desktop/images/13012025/15/33/image_13012025_15_33_02_180958_0001.jpg
/home/pi/Desktop/images/13012025/15/33/image_13012025_15_33_02_180958_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328649769","1328649766","1328649760","1328649762"],"photo_ids_order":["1328649760","1328649762","1328649766","1328649769"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f5e5dbf4397c8fabe5f9208dc33c61d9.jpg","text":"TemporaryFile(/tmp/multipartBody766149743465501687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778872319,"filename":"image_13012025_15_33_02_180958_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7930557fd442d1378e338568e222051b.jpg","text":"TemporaryFile(/tmp/multipartBody416263960344078356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778872319,"filename":"image_13012025_15_33_02_180958_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e68daa48696d0e9d1b97f4d9d99ec220.jpg","text":"TemporaryFile(/tmp/multipartBody2961174209387698690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778872319,"filename":"image_13012025_15_32_03_016655_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/38b7e40e1615b4fa509ba62bfcf3dd48.jpg","text":"TemporaryFile(/tmp/multipartBody603065481337108303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778872319,"filename":"image_13012025_15_33_02_180958_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328649766","file1":"1328649762","file0":"1328649760","file3":"1328649769"},"map_files_photo_id_array":[{"photo_id":"1328649766","filename":"file2"},{"photo_id":"1328649762","filename":"file1"},{"photo_id":"1328649760","filename":"file0"},{"photo_id":"1328649769","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328649769":["hashtag1","hashtag2"]},{"1328649766":["hashtag1","hashtag2"]},{"1328649760":["hashtag1","hashtag2"]},{"1328649762":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328649769, 1328649766, 1328649760, 1328649762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.312888860702515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 15:34:02.587005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:34:22.271902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/33/image_13012025_15_33_02_180958_0003.jpg', '/home/pi/Desktop/images/13012025/15/34/image_13012025_15_34_02_327352_0000.jpg', '/home/pi/Desktop/images/13012025/15/34/image_13012025_15_34_02_327352_0001.jpg', '/home/pi/Desktop/images/13012025/15/34/image_13012025_15_34_02_327352_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/33/image_13012025_15_33_02_180958_0003.jpg
/home/pi/Desktop/images/13012025/15/34/image_13012025_15_34_02_327352_0000.jpg
/home/pi/Desktop/images/13012025/15/34/image_13012025_15_34_02_327352_0001.jpg
/home/pi/Desktop/images/13012025/15/34/image_13012025_15_34_02_327352_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328650005","1328649818","1328649856","1328649808"],"photo_ids_order":["1328649808","1328649818","1328649856","1328650005"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2cb9072161ba117f69457f2417c5e079.jpg","text":"TemporaryFile(/tmp/multipartBody8811277017516305996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778932488,"filename":"image_13012025_15_34_02_327352_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bc37ced58c5bb5d18b92184ab3ad749c.jpg","text":"TemporaryFile(/tmp/multipartBody9205178056559431666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778932488,"filename":"image_13012025_15_34_02_327352_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/24f1f1e09c416fb53f860c558005800f.jpg","text":"TemporaryFile(/tmp/multipartBody3025488074903936409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778932488,"filename":"image_13012025_15_34_02_327352_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f4fa23e1b9ecce94d243581111d32235.jpg","text":"TemporaryFile(/tmp/multipartBody1281404719223636738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778932488,"filename":"image_13012025_15_33_02_180958_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328649856","file1":"1328649818","file0":"1328649808","file3":"1328650005"},"map_files_photo_id_array":[{"photo_id":"1328649856","filename":"file2"},{"photo_id":"1328649818","filename":"file1"},{"photo_id":"1328649808","filename":"file0"},{"photo_id":"1328650005","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328650005":["hashtag1","hashtag2"]},{"1328649818":["hashtag1","hashtag2"]},{"1328649856":["hashtag1","hashtag2"]},{"1328649808":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328650005, 1328649818, 1328649856, 1328649808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.702661991119385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:35:22.312737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/34/image_13012025_15_34_02_327352_0003.jpg', '/home/pi/Desktop/images/13012025/15/35/image_13012025_15_35_02_562655_0000.jpg', '/home/pi/Desktop/images/13012025/15/35/image_13012025_15_35_02_562655_0001.jpg', '/home/pi/Desktop/images/13012025/15/35/image_13012025_15_35_02_562655_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/34/image_13012025_15_34_02_327352_0003.jpg
/home/pi/Desktop/images/13012025/15/35/image_13012025_15_35_02_562655_0000.jpg
/home/pi/Desktop/images/13012025/15/35/image_13012025_15_35_02_562655_0001.jpg
/home/pi/Desktop/images/13012025/15/35/image_13012025_15_35_02_562655_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328650083","1328650092","1328650086","1328650080"],"photo_ids_order":["1328650080","1328650083","1328650086","1328650092"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/03c438a4654cbc06d4c656c77d570a18.jpg","text":"TemporaryFile(/tmp/multipartBody3501403780551732206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778992661,"filename":"image_13012025_15_35_02_562655_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f424d2c9ea352943ef93dfa7b695f070.jpg","text":"TemporaryFile(/tmp/multipartBody68610102337079353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778992661,"filename":"image_13012025_15_35_02_562655_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/683a81df92592f1842850e3c2ffe08ea.jpg","text":"TemporaryFile(/tmp/multipartBody7950436832484653505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778992661,"filename":"image_13012025_15_35_02_562655_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/755482053625d274ef5e7474e8ce28a2.jpg","text":"TemporaryFile(/tmp/multipartBody882209295301997377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736778992661,"filename":"image_13012025_15_34_02_327352_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328650086","file1":"1328650083","file0":"1328650080","file3":"1328650092"},"map_files_photo_id_array":[{"photo_id":"1328650086","filename":"file2"},{"photo_id":"1328650083","filename":"file1"},{"photo_id":"1328650080","filename":"file0"},{"photo_id":"1328650092","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328650083":["hashtag1","hashtag2"]},{"1328650092":["hashtag1","hashtag2"]},{"1328650086":["hashtag1","hashtag2"]},{"1328650080":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328650083, 1328650092, 1328650086, 1328650080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.75454926490784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 15:36:02.910965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:36:22.473950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/35/image_13012025_15_35_02_562655_0003.jpg', '/home/pi/Desktop/images/13012025/15/36/image_13012025_15_36_02_691787_0000.jpg', '/home/pi/Desktop/images/13012025/15/36/image_13012025_15_36_02_691787_0001.jpg', '/home/pi/Desktop/images/13012025/15/36/image_13012025_15_36_02_691787_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/35/image_13012025_15_35_02_562655_0003.jpg
/home/pi/Desktop/images/13012025/15/36/image_13012025_15_36_02_691787_0000.jpg
/home/pi/Desktop/images/13012025/15/36/image_13012025_15_36_02_691787_0001.jpg
/home/pi/Desktop/images/13012025/15/36/image_13012025_15_36_02_691787_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.972378730773926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 15:36:42.470133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/35/image_13012025_15_35_02_562655_0003.jpg', '/home/pi/Desktop/images/13012025/15/36/image_13012025_15_36_02_691787_0000.jpg', '/home/pi/Desktop/images/13012025/15/36/image_13012025_15_36_02_691787_0001.jpg', '/home/pi/Desktop/images/13012025/15/36/image_13012025_15_36_02_691787_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/35/image_13012025_15_35_02_562655_0003.jpg
/home/pi/Desktop/images/13012025/15/36/image_13012025_15_36_02_691787_0000.jpg
/home/pi/Desktop/images/13012025/15/36/image_13012025_15_36_02_691787_0001.jpg
/home/pi/Desktop/images/13012025/15/36/image_13012025_15_36_02_691787_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328650119","1328650130","1328650123","1328650111"],"photo_ids_order":["1328650111","1328650119","1328650123","1328650130"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8261f68d9f19fc168502d0821c1f14f9.jpg","text":"TemporaryFile(/tmp/multipartBody375628399735165015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779072840,"filename":"image_13012025_15_36_02_691787_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a70b9f03557081fd72e3d63e72e955f8.jpg","text":"TemporaryFile(/tmp/multipartBody6158518661692819566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779072840,"filename":"image_13012025_15_36_02_691787_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f227f6309f7a501a604b0d84e8b28858.jpg","text":"TemporaryFile(/tmp/multipartBody5802733071797285173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779072840,"filename":"image_13012025_15_36_02_691787_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0967c4c7e13f90396560b7c6057f4059.jpg","text":"TemporaryFile(/tmp/multipartBody8246499188757371445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779072840,"filename":"image_13012025_15_35_02_562655_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328650123","file1":"1328650119","file0":"1328650111","file3":"1328650130"},"map_files_photo_id_array":[{"photo_id":"1328650123","filename":"file2"},{"photo_id":"1328650119","filename":"file1"},{"photo_id":"1328650111","filename":"file0"},{"photo_id":"1328650130","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328650119":["hashtag1","hashtag2"]},{"1328650130":["hashtag1","hashtag2"]},{"1328650123":["hashtag1","hashtag2"]},{"1328650111":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328650119, 1328650130, 1328650123, 1328650111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.44929814338684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:37:22.708823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/36/image_13012025_15_36_02_691787_0003.jpg', '/home/pi/Desktop/images/13012025/15/37/image_13012025_15_37_02_810731_0000.jpg', '/home/pi/Desktop/images/13012025/15/37/image_13012025_15_37_02_810731_0001.jpg', '/home/pi/Desktop/images/13012025/15/37/image_13012025_15_37_02_810731_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/36/image_13012025_15_36_02_691787_0003.jpg
/home/pi/Desktop/images/13012025/15/37/image_13012025_15_37_02_810731_0000.jpg
/home/pi/Desktop/images/13012025/15/37/image_13012025_15_37_02_810731_0001.jpg
/home/pi/Desktop/images/13012025/15/37/image_13012025_15_37_02_810731_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328650164","1328650167","1328650161","1328650159"],"photo_ids_order":["1328650159","1328650161","1328650164","1328650167"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b88c87da6fd4a4ed6d88ddffbe5710e4.jpg","text":"TemporaryFile(/tmp/multipartBody8853997101510575559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779113029,"filename":"image_13012025_15_37_02_810731_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2351520c0e4b78a1e190d6f00d47a55a.jpg","text":"TemporaryFile(/tmp/multipartBody6758029382424216271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779113029,"filename":"image_13012025_15_37_02_810731_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4f23288d5cc5c20908cd4945bd22598f.jpg","text":"TemporaryFile(/tmp/multipartBody3666056333573065503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779113029,"filename":"image_13012025_15_37_02_810731_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a4cc2491c163a3ade6d5d0cea16722f7.jpg","text":"TemporaryFile(/tmp/multipartBody2297540713491972504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779113029,"filename":"image_13012025_15_36_02_691787_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328650164","file1":"1328650161","file0":"1328650159","file3":"1328650167"},"map_files_photo_id_array":[{"photo_id":"1328650164","filename":"file2"},{"photo_id":"1328650161","filename":"file1"},{"photo_id":"1328650159","filename":"file0"},{"photo_id":"1328650167","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328650164":["hashtag1","hashtag2"]},{"1328650167":["hashtag1","hashtag2"]},{"1328650161":["hashtag1","hashtag2"]},{"1328650159":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328650164, 1328650167, 1328650161, 1328650159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.815303325653076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:38:21.942707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/37/image_13012025_15_37_02_810731_0003.jpg', '/home/pi/Desktop/images/13012025/15/38/image_13012025_15_38_03_068791_0000.jpg', '/home/pi/Desktop/images/13012025/15/38/image_13012025_15_38_03_068791_0001.jpg', '/home/pi/Desktop/images/13012025/15/38/image_13012025_15_38_03_068791_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/37/image_13012025_15_37_02_810731_0003.jpg
/home/pi/Desktop/images/13012025/15/38/image_13012025_15_38_03_068791_0000.jpg
/home/pi/Desktop/images/13012025/15/38/image_13012025_15_38_03_068791_0001.jpg
/home/pi/Desktop/images/13012025/15/38/image_13012025_15_38_03_068791_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328650215","1328650218","1328650208","1328650222"],"photo_ids_order":["1328650208","1328650215","1328650218","1328650222"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/df6d78b7caea8b0569d3c57d09e68c52.jpg","text":"TemporaryFile(/tmp/multipartBody3512926220820860305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779172321,"filename":"image_13012025_15_38_03_068791_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8f785b4a2dc93ad6d92dc2aa8ef47e3c.jpg","text":"TemporaryFile(/tmp/multipartBody4988282038305943625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779172321,"filename":"image_13012025_15_38_03_068791_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/32828fd93a8c15d81b276906978d09ae.jpg","text":"TemporaryFile(/tmp/multipartBody2688573641158073027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779172321,"filename":"image_13012025_15_37_02_810731_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/263eedcb6d9a4bfbffe98e588276109a.jpg","text":"TemporaryFile(/tmp/multipartBody8658057801777040031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779172321,"filename":"image_13012025_15_38_03_068791_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328650218","file1":"1328650215","file0":"1328650208","file3":"1328650222"},"map_files_photo_id_array":[{"photo_id":"1328650218","filename":"file2"},{"photo_id":"1328650215","filename":"file1"},{"photo_id":"1328650208","filename":"file0"},{"photo_id":"1328650222","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328650215":["hashtag1","hashtag2"]},{"1328650218":["hashtag1","hashtag2"]},{"1328650208":["hashtag1","hashtag2"]},{"1328650222":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328650215, 1328650218, 1328650208, 1328650222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.26593017578125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 15:39:02.525586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:39:21.998063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/38/image_13012025_15_38_03_068791_0003.jpg', '/home/pi/Desktop/images/13012025/15/39/image_13012025_15_39_02_169136_0000.jpg', '/home/pi/Desktop/images/13012025/15/39/image_13012025_15_39_02_169136_0001.jpg', '/home/pi/Desktop/images/13012025/15/39/image_13012025_15_39_02_169136_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/38/image_13012025_15_38_03_068791_0003.jpg
/home/pi/Desktop/images/13012025/15/39/image_13012025_15_39_02_169136_0000.jpg
/home/pi/Desktop/images/13012025/15/39/image_13012025_15_39_02_169136_0001.jpg
/home/pi/Desktop/images/13012025/15/39/image_13012025_15_39_02_169136_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328650275","1328650284","1328650266","1328650270"],"photo_ids_order":["1328650266","1328650270","1328650275","1328650284"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cd99a6b43db4c26c2add0935497f6487.jpg","text":"TemporaryFile(/tmp/multipartBody9049062917156891117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779232322,"filename":"image_13012025_15_39_02_169136_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/78b5816be66d079eb8a41f50a71d60a1.jpg","text":"TemporaryFile(/tmp/multipartBody2389357115909797378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779232322,"filename":"image_13012025_15_39_02_169136_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5775a0f7885e2b14813545eedf92e818.jpg","text":"TemporaryFile(/tmp/multipartBody1213432530613818854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779232322,"filename":"image_13012025_15_38_03_068791_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f9e52e2146f257d054012e856086f236.jpg","text":"TemporaryFile(/tmp/multipartBody8847536845149977625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779232322,"filename":"image_13012025_15_39_02_169136_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328650275","file1":"1328650270","file0":"1328650266","file3":"1328650284"},"map_files_photo_id_array":[{"photo_id":"1328650275","filename":"file2"},{"photo_id":"1328650270","filename":"file1"},{"photo_id":"1328650266","filename":"file0"},{"photo_id":"1328650284","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328650275":["hashtag1","hashtag2"]},{"1328650284":["hashtag1","hashtag2"]},{"1328650266":["hashtag1","hashtag2"]},{"1328650270":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328650275, 1328650284, 1328650266, 1328650270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.99882698059082 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:40:22.182018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/39/image_13012025_15_39_02_169136_0003.jpg', '/home/pi/Desktop/images/13012025/15/40/image_13012025_15_40_02_390975_0000.jpg', '/home/pi/Desktop/images/13012025/15/40/image_13012025_15_40_02_390975_0001.jpg', '/home/pi/Desktop/images/13012025/15/40/image_13012025_15_40_02_390975_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/39/image_13012025_15_39_02_169136_0003.jpg
/home/pi/Desktop/images/13012025/15/40/image_13012025_15_40_02_390975_0000.jpg
/home/pi/Desktop/images/13012025/15/40/image_13012025_15_40_02_390975_0001.jpg
/home/pi/Desktop/images/13012025/15/40/image_13012025_15_40_02_390975_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328650323","1328650325","1328650319","1328650321"],"photo_ids_order":["1328650319","1328650321","1328650323","1328650325"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7d05701b7dd33b802595e7d59588ba62.jpg","text":"TemporaryFile(/tmp/multipartBody8527779964285729379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779292512,"filename":"image_13012025_15_40_02_390975_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4aa86c9477d713b3bd196bdce795b8c0.jpg","text":"TemporaryFile(/tmp/multipartBody5539132590983485574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779292512,"filename":"image_13012025_15_40_02_390975_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6ce37fd4647ae9d498923572939fd79c.jpg","text":"TemporaryFile(/tmp/multipartBody5256303994943041903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779292512,"filename":"image_13012025_15_39_02_169136_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c475b8c6addb08b154bc52de135b0a52.jpg","text":"TemporaryFile(/tmp/multipartBody5742683161071280873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779292512,"filename":"image_13012025_15_40_02_390975_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328650323","file1":"1328650321","file0":"1328650319","file3":"1328650325"},"map_files_photo_id_array":[{"photo_id":"1328650323","filename":"file2"},{"photo_id":"1328650321","filename":"file1"},{"photo_id":"1328650319","filename":"file0"},{"photo_id":"1328650325","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328650323":["hashtag1","hashtag2"]},{"1328650325":["hashtag1","hashtag2"]},{"1328650319":["hashtag1","hashtag2"]},{"1328650321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328650323, 1328650325, 1328650319, 1328650321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.637306213378906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 15:41:03.011570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:41:22.320565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/40/image_13012025_15_40_02_390975_0003.jpg', '/home/pi/Desktop/images/13012025/15/41/image_13012025_15_41_02_491734_0000.jpg', '/home/pi/Desktop/images/13012025/15/41/image_13012025_15_41_02_491734_0001.jpg', '/home/pi/Desktop/images/13012025/15/41/image_13012025_15_41_02_491734_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/40/image_13012025_15_40_02_390975_0003.jpg
/home/pi/Desktop/images/13012025/15/41/image_13012025_15_41_02_491734_0000.jpg
/home/pi/Desktop/images/13012025/15/41/image_13012025_15_41_02_491734_0001.jpg
/home/pi/Desktop/images/13012025/15/41/image_13012025_15_41_02_491734_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328650455","1328650458","1328650442","1328650474"],"photo_ids_order":["1328650442","1328650455","1328650458","1328650474"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ddcd2bc19b7be9d3bc0d35721d26b351.jpg","text":"TemporaryFile(/tmp/multipartBody6101988839335632873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779352648,"filename":"image_13012025_15_41_02_491734_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a5aaf5d637fc5b07cf6a2cae54c481cf.jpg","text":"TemporaryFile(/tmp/multipartBody3737283083350323602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779352648,"filename":"image_13012025_15_41_02_491734_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/65965ec0ee80640abc1bd71ce81e1dc8.jpg","text":"TemporaryFile(/tmp/multipartBody7036429272451157627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779352648,"filename":"image_13012025_15_40_02_390975_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/67af64eff85182d220c18cccbf39fdbc.jpg","text":"TemporaryFile(/tmp/multipartBody5689162262976473976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779352648,"filename":"image_13012025_15_41_02_491734_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328650458","file1":"1328650455","file0":"1328650442","file3":"1328650474"},"map_files_photo_id_array":[{"photo_id":"1328650458","filename":"file2"},{"photo_id":"1328650455","filename":"file1"},{"photo_id":"1328650442","filename":"file0"},{"photo_id":"1328650474","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328650455":["hashtag1","hashtag2"]},{"1328650458":["hashtag1","hashtag2"]},{"1328650442":["hashtag1","hashtag2"]},{"1328650474":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328650455, 1328650458, 1328650442, 1328650474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.82025384902954 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 15:42:02.749081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:42:22.465593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/41/image_13012025_15_41_02_491734_0003.jpg', '/home/pi/Desktop/images/13012025/15/42/image_13012025_15_42_02_749292_0000.jpg', '/home/pi/Desktop/images/13012025/15/42/image_13012025_15_42_02_749292_0001.jpg', '/home/pi/Desktop/images/13012025/15/42/image_13012025_15_42_02_749292_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/41/image_13012025_15_41_02_491734_0003.jpg
/home/pi/Desktop/images/13012025/15/42/image_13012025_15_42_02_749292_0000.jpg
/home/pi/Desktop/images/13012025/15/42/image_13012025_15_42_02_749292_0001.jpg
/home/pi/Desktop/images/13012025/15/42/image_13012025_15_42_02_749292_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328650596","1328650592","1328650529","1328650525"],"photo_ids_order":["1328650525","1328650529","1328650592","1328650596"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c978a5e1cafc3d0a78c13483ef5010df.jpg","text":"TemporaryFile(/tmp/multipartBody172191284498675327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779412604,"filename":"image_13012025_15_42_02_749292_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/02c8930956398fa68bbf7d4cef521886.jpg","text":"TemporaryFile(/tmp/multipartBody1667419332947106177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779412604,"filename":"image_13012025_15_42_02_749292_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/15620427b67d32a6048f9d4dfaf2e183.jpg","text":"TemporaryFile(/tmp/multipartBody6112653623092055856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779412604,"filename":"image_13012025_15_42_02_749292_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7cbecbb6045553e6de50c7ebed6c46ba.jpg","text":"TemporaryFile(/tmp/multipartBody7678919905193369656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779412604,"filename":"image_13012025_15_41_02_491734_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328650592","file1":"1328650529","file0":"1328650525","file3":"1328650596"},"map_files_photo_id_array":[{"photo_id":"1328650592","filename":"file2"},{"photo_id":"1328650529","filename":"file1"},{"photo_id":"1328650525","filename":"file0"},{"photo_id":"1328650596","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328650596":["hashtag1","hashtag2"]},{"1328650592":["hashtag1","hashtag2"]},{"1328650529":["hashtag1","hashtag2"]},{"1328650525":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328650596, 1328650592, 1328650529, 1328650525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.429391384124756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 15:43:03.244554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:43:22.730864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/42/image_13012025_15_42_02_749292_0003.jpg', '/home/pi/Desktop/images/13012025/15/43/image_13012025_15_43_02_761963_0000.jpg', '/home/pi/Desktop/images/13012025/15/43/image_13012025_15_43_02_761963_0001.jpg', '/home/pi/Desktop/images/13012025/15/43/image_13012025_15_43_02_761963_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/42/image_13012025_15_42_02_749292_0003.jpg
/home/pi/Desktop/images/13012025/15/43/image_13012025_15_43_02_761963_0000.jpg
/home/pi/Desktop/images/13012025/15/43/image_13012025_15_43_02_761963_0001.jpg
/home/pi/Desktop/images/13012025/15/43/image_13012025_15_43_02_761963_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328650652","1328650655","1328650649","1328650636"],"photo_ids_order":["1328650636","1328650649","1328650652","1328650655"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/88977097dc89afea43117a2ef835d69d.jpg","text":"TemporaryFile(/tmp/multipartBody262023889143590997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779473101,"filename":"image_13012025_15_43_02_761963_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3da35349fff965c90313b4057921ac67.jpg","text":"TemporaryFile(/tmp/multipartBody843465559672469814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779473101,"filename":"image_13012025_15_43_02_761963_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a95e53c5e6c0db99cdb4aa5915d4b787.jpg","text":"TemporaryFile(/tmp/multipartBody6116988777401185038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779473101,"filename":"image_13012025_15_43_02_761963_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/67f59bd0b226d22c081b8b71c65a51d5.jpg","text":"TemporaryFile(/tmp/multipartBody5483280012392258351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779473101,"filename":"image_13012025_15_42_02_749292_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328650652","file1":"1328650649","file0":"1328650636","file3":"1328650655"},"map_files_photo_id_array":[{"photo_id":"1328650652","filename":"file2"},{"photo_id":"1328650649","filename":"file1"},{"photo_id":"1328650636","filename":"file0"},{"photo_id":"1328650655","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328650652":["hashtag1","hashtag2"]},{"1328650655":["hashtag1","hashtag2"]},{"1328650649":["hashtag1","hashtag2"]},{"1328650636":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328650652, 1328650655, 1328650649, 1328650636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.66498804092407 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:44:22.793244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/43/image_13012025_15_43_02_761963_0003.jpg', '/home/pi/Desktop/images/13012025/15/44/image_13012025_15_44_02_988004_0000.jpg', '/home/pi/Desktop/images/13012025/15/44/image_13012025_15_44_02_988004_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/43/image_13012025_15_43_02_761963_0003.jpg
/home/pi/Desktop/images/13012025/15/44/image_13012025_15_44_02_988004_0000.jpg
/home/pi/Desktop/images/13012025/15/44/image_13012025_15_44_02_988004_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328650694","1328650682","1328650679"],"photo_ids_order":["1328650679","1328650682","1328650694"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a536b66055a2cd4e92895618a695d79a.jpg","text":"TemporaryFile(/tmp/multipartBody471370144138522847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779530602,"filename":"image_13012025_15_44_02_988004_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/059854d25e2a3d653667030447579586.jpg","text":"TemporaryFile(/tmp/multipartBody240665278340944564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779530602,"filename":"image_13012025_15_44_02_988004_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/51adb0045bf86de05c71fca3bc40555d.jpg","text":"TemporaryFile(/tmp/multipartBody1253920325080766903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779530602,"filename":"image_13012025_15_43_02_761963_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328650694","file1":"1328650682","file0":"1328650679"},"map_files_photo_id_array":[{"photo_id":"1328650694","filename":"file2"},{"photo_id":"1328650682","filename":"file1"},{"photo_id":"1328650679","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328650694":["hashtag1","hashtag2"]},{"1328650682":["hashtag1","hashtag2"]},{"1328650679":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328650694, 1328650682, 1328650679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.79624032974243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 15:45:02.487301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:45:22.064726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/44/image_13012025_15_44_02_988004_0002.jpg', '/home/pi/Desktop/images/13012025/15/45/image_13012025_15_45_03_111046_0000.jpg', '/home/pi/Desktop/images/13012025/15/45/image_13012025_15_45_03_111046_0001.jpg', '/home/pi/Desktop/images/13012025/15/45/image_13012025_15_45_03_111046_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/44/image_13012025_15_44_02_988004_0002.jpg
/home/pi/Desktop/images/13012025/15/45/image_13012025_15_45_03_111046_0000.jpg
/home/pi/Desktop/images/13012025/15/45/image_13012025_15_45_03_111046_0001.jpg
/home/pi/Desktop/images/13012025/15/45/image_13012025_15_45_03_111046_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328650761","1328650787","1328650766","1328650754"],"photo_ids_order":["1328650754","1328650761","1328650766","1328650787"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e8c5c064a4d8527b4e61d29f8f265133.jpg","text":"TemporaryFile(/tmp/multipartBody9195539411804271459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779592222,"filename":"image_13012025_15_45_03_111046_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/be6ec44ac234ec13a05ba9922b2a1ceb.jpg","text":"TemporaryFile(/tmp/multipartBody5699537516000426652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779592222,"filename":"image_13012025_15_45_03_111046_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/143ddac0d11d21046764bd99907bde01.jpg","text":"TemporaryFile(/tmp/multipartBody7603392529114945185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779592222,"filename":"image_13012025_15_45_03_111046_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/030c0cc9a8aee3c8521e13acd1658e63.jpg","text":"TemporaryFile(/tmp/multipartBody6650601534465321445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779592222,"filename":"image_13012025_15_44_02_988004_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328650766","file1":"1328650761","file0":"1328650754","file3":"1328650787"},"map_files_photo_id_array":[{"photo_id":"1328650766","filename":"file2"},{"photo_id":"1328650761","filename":"file1"},{"photo_id":"1328650754","filename":"file0"},{"photo_id":"1328650787","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328650761":["hashtag1","hashtag2"]},{"1328650787":["hashtag1","hashtag2"]},{"1328650766":["hashtag1","hashtag2"]},{"1328650754":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328650761, 1328650787, 1328650766, 1328650754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.25443887710571 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:46:22.134623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/45/image_13012025_15_45_03_111046_0003.jpg', '/home/pi/Desktop/images/13012025/15/46/image_13012025_15_46_02_355632_0000.jpg', '/home/pi/Desktop/images/13012025/15/46/image_13012025_15_46_02_355632_0001.jpg', '/home/pi/Desktop/images/13012025/15/46/image_13012025_15_46_02_355632_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/45/image_13012025_15_45_03_111046_0003.jpg
/home/pi/Desktop/images/13012025/15/46/image_13012025_15_46_02_355632_0000.jpg
/home/pi/Desktop/images/13012025/15/46/image_13012025_15_46_02_355632_0001.jpg
/home/pi/Desktop/images/13012025/15/46/image_13012025_15_46_02_355632_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328650835","1328650829","1328650820","1328650823"],"photo_ids_order":["1328650820","1328650823","1328650829","1328650835"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/54c148dbe2111c017d341be8bd5edd5b.jpg","text":"TemporaryFile(/tmp/multipartBody1636759500797989807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779652379,"filename":"image_13012025_15_46_02_355632_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7d609a83946384d500b925ac46bba47e.jpg","text":"TemporaryFile(/tmp/multipartBody4729816175230612075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779652379,"filename":"image_13012025_15_46_02_355632_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8dcee2952033ec06d13b79d5e8caa23c.jpg","text":"TemporaryFile(/tmp/multipartBody3636791765071696305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779652379,"filename":"image_13012025_15_45_03_111046_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1285d6deb3f5246de9dda324b0155992.jpg","text":"TemporaryFile(/tmp/multipartBody4828217257690253121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779652379,"filename":"image_13012025_15_46_02_355632_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328650829","file1":"1328650823","file0":"1328650820","file3":"1328650835"},"map_files_photo_id_array":[{"photo_id":"1328650829","filename":"file2"},{"photo_id":"1328650823","filename":"file1"},{"photo_id":"1328650820","filename":"file0"},{"photo_id":"1328650835","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328650835":["hashtag1","hashtag2"]},{"1328650829":["hashtag1","hashtag2"]},{"1328650820":["hashtag1","hashtag2"]},{"1328650823":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328650835, 1328650829, 1328650820, 1328650823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.22988200187683 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 15:47:02.857108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:47:22.261165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/46/image_13012025_15_46_02_355632_0003.jpg', '/home/pi/Desktop/images/13012025/15/47/image_13012025_15_47_02_541104_0000.jpg', '/home/pi/Desktop/images/13012025/15/47/image_13012025_15_47_02_541104_0001.jpg', '/home/pi/Desktop/images/13012025/15/47/image_13012025_15_47_02_541104_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/46/image_13012025_15_46_02_355632_0003.jpg
/home/pi/Desktop/images/13012025/15/47/image_13012025_15_47_02_541104_0000.jpg
/home/pi/Desktop/images/13012025/15/47/image_13012025_15_47_02_541104_0001.jpg
/home/pi/Desktop/images/13012025/15/47/image_13012025_15_47_02_541104_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.783758401870728 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 15:47:42.271862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/46/image_13012025_15_46_02_355632_0003.jpg', '/home/pi/Desktop/images/13012025/15/47/image_13012025_15_47_02_541104_0000.jpg', '/home/pi/Desktop/images/13012025/15/47/image_13012025_15_47_02_541104_0001.jpg', '/home/pi/Desktop/images/13012025/15/47/image_13012025_15_47_02_541104_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/46/image_13012025_15_46_02_355632_0003.jpg
/home/pi/Desktop/images/13012025/15/47/image_13012025_15_47_02_541104_0000.jpg
/home/pi/Desktop/images/13012025/15/47/image_13012025_15_47_02_541104_0001.jpg
/home/pi/Desktop/images/13012025/15/47/image_13012025_15_47_02_541104_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328651570","1328651560","1328651614","1328651568"],"photo_ids_order":["1328651560","1328651568","1328651570","1328651614"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ee9c525584310715bef1a045d17cafc9.jpg","text":"TemporaryFile(/tmp/multipartBody5310180647113241586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779732460,"filename":"image_13012025_15_47_02_541104_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9d6e1c3cbf7a6f6d7651f16e39856110.jpg","text":"TemporaryFile(/tmp/multipartBody19619217235193596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779732460,"filename":"image_13012025_15_46_02_355632_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9d8472e388cda92c8395cb4e06f7d321.jpg","text":"TemporaryFile(/tmp/multipartBody2875979627386183547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779732460,"filename":"image_13012025_15_47_02_541104_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0d758196ee66b72d5626abea96e45cce.jpg","text":"TemporaryFile(/tmp/multipartBody3918842416741908200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779732460,"filename":"image_13012025_15_47_02_541104_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328651570","file1":"1328651568","file0":"1328651560","file3":"1328651614"},"map_files_photo_id_array":[{"photo_id":"1328651570","filename":"file2"},{"photo_id":"1328651568","filename":"file1"},{"photo_id":"1328651560","filename":"file0"},{"photo_id":"1328651614","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328651570":["hashtag1","hashtag2"]},{"1328651560":["hashtag1","hashtag2"]},{"1328651614":["hashtag1","hashtag2"]},{"1328651568":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328651570, 1328651560, 1328651614, 1328651568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.64765405654907 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:48:22.456337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/47/image_13012025_15_47_02_541104_0003.jpg', '/home/pi/Desktop/images/13012025/15/48/image_13012025_15_48_02_660421_0000.jpg', '/home/pi/Desktop/images/13012025/15/48/image_13012025_15_48_02_660421_0001.jpg', '/home/pi/Desktop/images/13012025/15/48/image_13012025_15_48_02_660421_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/47/image_13012025_15_47_02_541104_0003.jpg
/home/pi/Desktop/images/13012025/15/48/image_13012025_15_48_02_660421_0000.jpg
/home/pi/Desktop/images/13012025/15/48/image_13012025_15_48_02_660421_0001.jpg
/home/pi/Desktop/images/13012025/15/48/image_13012025_15_48_02_660421_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328651661","1328651670","1328651664","1328651667"],"photo_ids_order":["1328651661","1328651664","1328651667","1328651670"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/03fef75fe120e0776d71f288cd84eef6.jpg","text":"TemporaryFile(/tmp/multipartBody1108223551907568729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779772680,"filename":"image_13012025_15_47_02_541104_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/57e2b987b950b0c9e64b8bbb470de093.jpg","text":"TemporaryFile(/tmp/multipartBody19730376302965835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779772680,"filename":"image_13012025_15_48_02_660421_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/971f062945f6c9120dcc11b761d6b62d.jpg","text":"TemporaryFile(/tmp/multipartBody1257541538376599951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779772680,"filename":"image_13012025_15_48_02_660421_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f4638e9d32a8b93b5cca6231461af644.jpg","text":"TemporaryFile(/tmp/multipartBody6997027564270157438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779772680,"filename":"image_13012025_15_48_02_660421_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328651667","file1":"1328651664","file0":"1328651661","file3":"1328651670"},"map_files_photo_id_array":[{"photo_id":"1328651667","filename":"file2"},{"photo_id":"1328651664","filename":"file1"},{"photo_id":"1328651661","filename":"file0"},{"photo_id":"1328651670","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328651661":["hashtag1","hashtag2"]},{"1328651670":["hashtag1","hashtag2"]},{"1328651664":["hashtag1","hashtag2"]},{"1328651667":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328651661, 1328651670, 1328651664, 1328651667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.19498252868652 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:49:22.643487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/48/image_13012025_15_48_02_660421_0003.jpg', '/home/pi/Desktop/images/13012025/15/49/image_13012025_15_49_02_866165_0000.jpg', '/home/pi/Desktop/images/13012025/15/49/image_13012025_15_49_02_866165_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/48/image_13012025_15_48_02_660421_0003.jpg
/home/pi/Desktop/images/13012025/15/49/image_13012025_15_49_02_866165_0000.jpg
/home/pi/Desktop/images/13012025/15/49/image_13012025_15_49_02_866165_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328651699","1328651696","1328651713"],"photo_ids_order":["1328651696","1328651699","1328651713"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1bc82c912eee515bc4a25d4d240aace5.jpg","text":"TemporaryFile(/tmp/multipartBody3934908977364508768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779830556,"filename":"image_13012025_15_49_02_866165_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/358456d4c3b9e1d98fcfe03cd137db9c.jpg","text":"TemporaryFile(/tmp/multipartBody972396706778705747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779830556,"filename":"image_13012025_15_48_02_660421_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a59d09e3f2d99d11b1c57c04266aea6b.jpg","text":"TemporaryFile(/tmp/multipartBody7258059611985515824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779830556,"filename":"image_13012025_15_49_02_866165_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328651713","file1":"1328651699","file0":"1328651696"},"map_files_photo_id_array":[{"photo_id":"1328651713","filename":"file2"},{"photo_id":"1328651699","filename":"file1"},{"photo_id":"1328651696","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328651699":["hashtag1","hashtag2"]},{"1328651696":["hashtag1","hashtag2"]},{"1328651713":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328651699, 1328651696, 1328651713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.41195368766785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 15:50:03.210284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:50:22.803097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/49/image_13012025_15_49_02_866165_0003.jpg', '/home/pi/Desktop/images/13012025/15/50/image_13012025_15_50_02_969255_0000.jpg', '/home/pi/Desktop/images/13012025/15/50/image_13012025_15_50_02_969255_0001.jpg', '/home/pi/Desktop/images/13012025/15/50/image_13012025_15_50_02_969255_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/49/image_13012025_15_49_02_866165_0003.jpg
/home/pi/Desktop/images/13012025/15/50/image_13012025_15_50_02_969255_0000.jpg
/home/pi/Desktop/images/13012025/15/50/image_13012025_15_50_02_969255_0001.jpg
/home/pi/Desktop/images/13012025/15/50/image_13012025_15_50_02_969255_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328651741","1328651747","1328651743","1328651737"],"photo_ids_order":["1328651737","1328651741","1328651743","1328651747"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/489230ce974c91dd755cf19cc62c8471.jpg","text":"TemporaryFile(/tmp/multipartBody2664425846575127176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779893065,"filename":"image_13012025_15_50_02_969255_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/31d533363f0d79082dbbc2548eebab1d.jpg","text":"TemporaryFile(/tmp/multipartBody2574058506629340353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779893065,"filename":"image_13012025_15_50_02_969255_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/125ba063a39c4dd5845e1a84816b68d2.jpg","text":"TemporaryFile(/tmp/multipartBody8883220613786049019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779893065,"filename":"image_13012025_15_50_02_969255_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b015c542a711bb734dec9aeb94f2771a.jpg","text":"TemporaryFile(/tmp/multipartBody1622640676814869390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779893065,"filename":"image_13012025_15_49_02_866165_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328651743","file1":"1328651741","file0":"1328651737","file3":"1328651747"},"map_files_photo_id_array":[{"photo_id":"1328651743","filename":"file2"},{"photo_id":"1328651741","filename":"file1"},{"photo_id":"1328651737","filename":"file0"},{"photo_id":"1328651747","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328651741":["hashtag1","hashtag2"]},{"1328651747":["hashtag1","hashtag2"]},{"1328651743":["hashtag1","hashtag2"]},{"1328651737":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328651741, 1328651747, 1328651743, 1328651737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.83475589752197 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 15:51:02.449597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:51:21.945461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/50/image_13012025_15_50_02_969255_0003.jpg', '/home/pi/Desktop/images/13012025/15/51/image_13012025_15_51_03_134136_0000.jpg', '/home/pi/Desktop/images/13012025/15/51/image_13012025_15_51_03_134136_0001.jpg', '/home/pi/Desktop/images/13012025/15/51/image_13012025_15_51_03_134136_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/50/image_13012025_15_50_02_969255_0003.jpg
/home/pi/Desktop/images/13012025/15/51/image_13012025_15_51_03_134136_0000.jpg
/home/pi/Desktop/images/13012025/15/51/image_13012025_15_51_03_134136_0001.jpg
/home/pi/Desktop/images/13012025/15/51/image_13012025_15_51_03_134136_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328651795","1328651768","1328651779","1328651775"],"photo_ids_order":["1328651768","1328651775","1328651779","1328651795"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b0f4faf401b0d521de926f5242108635.jpg","text":"TemporaryFile(/tmp/multipartBody9110167356625908471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779952279,"filename":"image_13012025_15_51_03_134136_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bfe998596f5bc5076248c3af8192458b.jpg","text":"TemporaryFile(/tmp/multipartBody6764303971937934988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779952279,"filename":"image_13012025_15_50_02_969255_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/172fbc390363b9c7c9651d125cb622dc.jpg","text":"TemporaryFile(/tmp/multipartBody7332452710642653609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779952279,"filename":"image_13012025_15_51_03_134136_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b08ad785e36daecb897019083de7997e.jpg","text":"TemporaryFile(/tmp/multipartBody6672942494269029928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736779952279,"filename":"image_13012025_15_51_03_134136_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328651779","file1":"1328651775","file0":"1328651768","file3":"1328651795"},"map_files_photo_id_array":[{"photo_id":"1328651779","filename":"file2"},{"photo_id":"1328651775","filename":"file1"},{"photo_id":"1328651768","filename":"file0"},{"photo_id":"1328651795","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328651795":["hashtag1","hashtag2"]},{"1328651768":["hashtag1","hashtag2"]},{"1328651779":["hashtag1","hashtag2"]},{"1328651775":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328651795, 1328651768, 1328651779, 1328651775)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.77817988395691 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:52:22.092011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/51/image_13012025_15_51_03_134136_0003.jpg', '/home/pi/Desktop/images/13012025/15/52/image_13012025_15_52_02_275938_0000.jpg', '/home/pi/Desktop/images/13012025/15/52/image_13012025_15_52_02_275938_0001.jpg', '/home/pi/Desktop/images/13012025/15/52/image_13012025_15_52_02_275938_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/51/image_13012025_15_51_03_134136_0003.jpg
/home/pi/Desktop/images/13012025/15/52/image_13012025_15_52_02_275938_0000.jpg
/home/pi/Desktop/images/13012025/15/52/image_13012025_15_52_02_275938_0001.jpg
/home/pi/Desktop/images/13012025/15/52/image_13012025_15_52_02_275938_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328651910","1328651894","1328651902","1328651898"],"photo_ids_order":["1328651894","1328651898","1328651902","1328651910"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f8fc1f082d5fcf0bee042ecefcf6d730.jpg","text":"TemporaryFile(/tmp/multipartBody7631177020901135494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780012416,"filename":"image_13012025_15_52_02_275938_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/54de8bd47a1a27a51abdbccf5269e7c0.jpg","text":"TemporaryFile(/tmp/multipartBody1499347699799562121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780012416,"filename":"image_13012025_15_51_03_134136_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bf93c364aaa2c85cf59a43f92d90333a.jpg","text":"TemporaryFile(/tmp/multipartBody3737130365945457462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780012416,"filename":"image_13012025_15_52_02_275938_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e342242adcf6da4ff82ffad5c2c7820f.jpg","text":"TemporaryFile(/tmp/multipartBody3548776944219439304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780012416,"filename":"image_13012025_15_52_02_275938_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328651902","file1":"1328651898","file0":"1328651894","file3":"1328651910"},"map_files_photo_id_array":[{"photo_id":"1328651902","filename":"file2"},{"photo_id":"1328651898","filename":"file1"},{"photo_id":"1328651894","filename":"file0"},{"photo_id":"1328651910","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328651910":["hashtag1","hashtag2"]},{"1328651894":["hashtag1","hashtag2"]},{"1328651902":["hashtag1","hashtag2"]},{"1328651898":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328651910, 1328651894, 1328651902, 1328651898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.19485545158386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 15:53:02.824484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:53:22.331095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/52/image_13012025_15_52_02_275938_0003.jpg', '/home/pi/Desktop/images/13012025/15/53/image_13012025_15_53_02_446298_0000.jpg', '/home/pi/Desktop/images/13012025/15/53/image_13012025_15_53_02_446298_0001.jpg', '/home/pi/Desktop/images/13012025/15/53/image_13012025_15_53_02_446298_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/52/image_13012025_15_52_02_275938_0003.jpg
/home/pi/Desktop/images/13012025/15/53/image_13012025_15_53_02_446298_0000.jpg
/home/pi/Desktop/images/13012025/15/53/image_13012025_15_53_02_446298_0001.jpg
/home/pi/Desktop/images/13012025/15/53/image_13012025_15_53_02_446298_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.918840169906616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 15:53:42.239627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/52/image_13012025_15_52_02_275938_0003.jpg', '/home/pi/Desktop/images/13012025/15/53/image_13012025_15_53_02_446298_0000.jpg', '/home/pi/Desktop/images/13012025/15/53/image_13012025_15_53_02_446298_0001.jpg', '/home/pi/Desktop/images/13012025/15/53/image_13012025_15_53_02_446298_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/52/image_13012025_15_52_02_275938_0003.jpg
/home/pi/Desktop/images/13012025/15/53/image_13012025_15_53_02_446298_0000.jpg
/home/pi/Desktop/images/13012025/15/53/image_13012025_15_53_02_446298_0001.jpg
/home/pi/Desktop/images/13012025/15/53/image_13012025_15_53_02_446298_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328651993","1328651991","1328651985","1328651988"],"photo_ids_order":["1328651985","1328651988","1328651991","1328651993"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1e2102292f4d76e5f626e68472349a46.jpg","text":"TemporaryFile(/tmp/multipartBody3339353982715273512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780092550,"filename":"image_13012025_15_53_02_446298_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4177357e831decaccce3c03d972c3e04.jpg","text":"TemporaryFile(/tmp/multipartBody4852676689388181517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780092550,"filename":"image_13012025_15_53_02_446298_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8c85761ba3c4c61f1463d32ae72246cb.jpg","text":"TemporaryFile(/tmp/multipartBody5148956816267804185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780092550,"filename":"image_13012025_15_52_02_275938_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2319d104115683a877e98a589ed9bee5.jpg","text":"TemporaryFile(/tmp/multipartBody9136837060672829026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780092550,"filename":"image_13012025_15_53_02_446298_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328651991","file1":"1328651988","file0":"1328651985","file3":"1328651993"},"map_files_photo_id_array":[{"photo_id":"1328651991","filename":"file2"},{"photo_id":"1328651988","filename":"file1"},{"photo_id":"1328651985","filename":"file0"},{"photo_id":"1328651993","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328651993":["hashtag1","hashtag2"]},{"1328651991":["hashtag1","hashtag2"]},{"1328651985":["hashtag1","hashtag2"]},{"1328651988":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328651993, 1328651991, 1328651985, 1328651988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.347018241882324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 15:54:32.395814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/53/image_13012025_15_53_02_446298_0003.jpg', '/home/pi/Desktop/images/13012025/15/54/image_13012025_15_54_02_584928_0000.jpg', '/home/pi/Desktop/images/13012025/15/54/image_13012025_15_54_02_584928_0001.jpg', '/home/pi/Desktop/images/13012025/15/54/image_13012025_15_54_02_584928_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/53/image_13012025_15_53_02_446298_0003.jpg
/home/pi/Desktop/images/13012025/15/54/image_13012025_15_54_02_584928_0000.jpg
/home/pi/Desktop/images/13012025/15/54/image_13012025_15_54_02_584928_0001.jpg
/home/pi/Desktop/images/13012025/15/54/image_13012025_15_54_02_584928_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.937259435653687 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 15:54:52.400594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/53/image_13012025_15_53_02_446298_0003.jpg', '/home/pi/Desktop/images/13012025/15/54/image_13012025_15_54_02_584928_0000.jpg', '/home/pi/Desktop/images/13012025/15/54/image_13012025_15_54_02_584928_0001.jpg', '/home/pi/Desktop/images/13012025/15/54/image_13012025_15_54_02_584928_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/53/image_13012025_15_53_02_446298_0003.jpg
/home/pi/Desktop/images/13012025/15/54/image_13012025_15_54_02_584928_0000.jpg
/home/pi/Desktop/images/13012025/15/54/image_13012025_15_54_02_584928_0001.jpg
/home/pi/Desktop/images/13012025/15/54/image_13012025_15_54_02_584928_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328652077","1328652080","1328652047","1328652061"],"photo_ids_order":["1328652047","1328652061","1328652077","1328652080"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/418e925660012a374fc9e9a017f96764.jpg","text":"TemporaryFile(/tmp/multipartBody6405007967931013589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780162758,"filename":"image_13012025_15_54_02_584928_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d65db6861d481ef6ea0b28b7102d3dc2.jpg","text":"TemporaryFile(/tmp/multipartBody6256180730030008757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780162758,"filename":"image_13012025_15_54_02_584928_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e7747be8c3fae918ac36daee241a9a2b.jpg","text":"TemporaryFile(/tmp/multipartBody2225482749118504291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780162758,"filename":"image_13012025_15_53_02_446298_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/180ef70ff9f1e58de7ff36a49274ac2f.jpg","text":"TemporaryFile(/tmp/multipartBody4560295717537711762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780162758,"filename":"image_13012025_15_54_02_584928_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328652077","file1":"1328652061","file0":"1328652047","file3":"1328652080"},"map_files_photo_id_array":[{"photo_id":"1328652077","filename":"file2"},{"photo_id":"1328652061","filename":"file1"},{"photo_id":"1328652047","filename":"file0"},{"photo_id":"1328652080","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328652077":["hashtag1","hashtag2"]},{"1328652080":["hashtag1","hashtag2"]},{"1328652047":["hashtag1","hashtag2"]},{"1328652061":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328652077, 1328652080, 1328652047, 1328652061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.970094442367554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 15:55:42.573426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/54/image_13012025_15_54_02_584928_0003.jpg', '/home/pi/Desktop/images/13012025/15/55/image_13012025_15_55_02_751161_0000.jpg', '/home/pi/Desktop/images/13012025/15/55/image_13012025_15_55_02_751161_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/54/image_13012025_15_54_02_584928_0003.jpg
/home/pi/Desktop/images/13012025/15/55/image_13012025_15_55_02_751161_0000.jpg
/home/pi/Desktop/images/13012025/15/55/image_13012025_15_55_02_751161_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328652102","1328652093","1328652096"],"photo_ids_order":["1328652093","1328652096","1328652102"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7dfce7c58aa23690b5b9b7d7375f0b9d.jpg","text":"TemporaryFile(/tmp/multipartBody5095141545244622767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780210471,"filename":"image_13012025_15_55_02_751161_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/07c0f6178725d1bfbab703a691ba4712.jpg","text":"TemporaryFile(/tmp/multipartBody5653213677250603646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780210471,"filename":"image_13012025_15_54_02_584928_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6619d2fb84af83199c6b5d3ff89f9894.jpg","text":"TemporaryFile(/tmp/multipartBody2614609180322793412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780210471,"filename":"image_13012025_15_55_02_751161_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328652102","file1":"1328652096","file0":"1328652093"},"map_files_photo_id_array":[{"photo_id":"1328652102","filename":"file2"},{"photo_id":"1328652096","filename":"file1"},{"photo_id":"1328652093","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328652102":["hashtag1","hashtag2"]},{"1328652093":["hashtag1","hashtag2"]},{"1328652096":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328652102, 1328652093, 1328652096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.958234071731567 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:56:21.891068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/55/image_13012025_15_55_02_751161_0003.jpg', '/home/pi/Desktop/images/13012025/15/56/image_13012025_15_56_02_974390_0000.jpg', '/home/pi/Desktop/images/13012025/15/56/image_13012025_15_56_02_974390_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/55/image_13012025_15_55_02_751161_0003.jpg
/home/pi/Desktop/images/13012025/15/56/image_13012025_15_56_02_974390_0000.jpg
/home/pi/Desktop/images/13012025/15/56/image_13012025_15_56_02_974390_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328652122","1328652118","1328652126"],"photo_ids_order":["1328652118","1328652122","1328652126"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3ae57ddb98aa0b1cef3e55a9dd763c0c.jpg","text":"TemporaryFile(/tmp/multipartBody3460322499202044657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780249773,"filename":"image_13012025_15_56_02_974390_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6e34c9dbbe7b2d7aa39f0df0214d0d5d.jpg","text":"TemporaryFile(/tmp/multipartBody8896630095986367370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780249773,"filename":"image_13012025_15_55_02_751161_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cdf4f843a2081c13c3e446a389868b02.jpg","text":"TemporaryFile(/tmp/multipartBody1693354917441364976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780249773,"filename":"image_13012025_15_56_02_974390_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328652126","file1":"1328652122","file0":"1328652118"},"map_files_photo_id_array":[{"photo_id":"1328652126","filename":"file2"},{"photo_id":"1328652122","filename":"file1"},{"photo_id":"1328652118","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328652122":["hashtag1","hashtag2"]},{"1328652118":["hashtag1","hashtag2"]},{"1328652126":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328652122, 1328652118, 1328652126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.07839584350586 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 15:57:02.444591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:57:21.903862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/56/image_13012025_15_56_02_974390_0003.jpg', '/home/pi/Desktop/images/13012025/15/57/image_13012025_15_57_02_207902_0000.jpg', '/home/pi/Desktop/images/13012025/15/57/image_13012025_15_57_02_207902_0001.jpg', '/home/pi/Desktop/images/13012025/15/57/image_13012025_15_57_02_207902_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/56/image_13012025_15_56_02_974390_0003.jpg
/home/pi/Desktop/images/13012025/15/57/image_13012025_15_57_02_207902_0000.jpg
/home/pi/Desktop/images/13012025/15/57/image_13012025_15_57_02_207902_0001.jpg
/home/pi/Desktop/images/13012025/15/57/image_13012025_15_57_02_207902_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328652338","1328652335","1328652319","1328652333"],"photo_ids_order":["1328652319","1328652333","1328652335","1328652338"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/95cb8c3e97d6b8054eeab4a3cebb19a7.jpg","text":"TemporaryFile(/tmp/multipartBody703900434309797427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780312164,"filename":"image_13012025_15_57_02_207902_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/743694914e2d07b84c066c5de0fc2018.jpg","text":"TemporaryFile(/tmp/multipartBody6323580945174801131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780312164,"filename":"image_13012025_15_57_02_207902_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c6084c6f78b51c25d2a45838443b32bc.jpg","text":"TemporaryFile(/tmp/multipartBody3196808933841800530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780312164,"filename":"image_13012025_15_56_02_974390_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/70a8b9e7ab8eda96d1c2cd20ac291a91.jpg","text":"TemporaryFile(/tmp/multipartBody8344745344720296988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780312164,"filename":"image_13012025_15_57_02_207902_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328652335","file1":"1328652333","file0":"1328652319","file3":"1328652338"},"map_files_photo_id_array":[{"photo_id":"1328652335","filename":"file2"},{"photo_id":"1328652333","filename":"file1"},{"photo_id":"1328652319","filename":"file0"},{"photo_id":"1328652338","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328652338":["hashtag1","hashtag2"]},{"1328652335":["hashtag1","hashtag2"]},{"1328652319":["hashtag1","hashtag2"]},{"1328652333":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328652338, 1328652335, 1328652319, 1328652333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.944732666015625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 15:59:02.963268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 15:59:22.311539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/57/image_13012025_15_57_02_207902_0003.jpg', '/home/pi/Desktop/images/13012025/15/58/image_13012025_15_58_02_392467_0002.jpg', '/home/pi/Desktop/images/13012025/15/58/image_13012025_15_58_02_392467_0003.jpg', '/home/pi/Desktop/images/13012025/15/59/image_13012025_15_59_02_476160_0000.jpg', '/home/pi/Desktop/images/13012025/15/59/image_13012025_15_59_02_476160_0001.jpg', '/home/pi/Desktop/images/13012025/15/59/image_13012025_15_59_02_476160_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/57/image_13012025_15_57_02_207902_0003.jpg
/home/pi/Desktop/images/13012025/15/58/image_13012025_15_58_02_392467_0002.jpg
/home/pi/Desktop/images/13012025/15/58/image_13012025_15_58_02_392467_0003.jpg
/home/pi/Desktop/images/13012025/15/59/image_13012025_15_59_02_476160_0000.jpg
/home/pi/Desktop/images/13012025/15/59/image_13012025_15_59_02_476160_0001.jpg
/home/pi/Desktop/images/13012025/15/59/image_13012025_15_59_02_476160_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328652398","1328652407","1328652401","1328652404","1328652406","1328652393"],"photo_ids_order":["1328652393","1328652398","1328652401","1328652404","1328652406","1328652407"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fe38fd0e638cccbe610078c8b53cd2b3.jpg","text":"TemporaryFile(/tmp/multipartBody3538428705373927515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780437410,"filename":"image_13012025_15_58_02_392467_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bbd9cb62555085d2d4d9f2e5af29a18e.jpg","text":"TemporaryFile(/tmp/multipartBody3338935316309713409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780437410,"filename":"image_13012025_15_59_02_476160_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e5a2e1b68661d5d9da3cd7a82f41cf62.jpg","text":"TemporaryFile(/tmp/multipartBody2931526002753694478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780437410,"filename":"image_13012025_15_58_02_392467_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aeed66c2276dd749ab7924ea99cfbe7f.jpg","text":"TemporaryFile(/tmp/multipartBody6287323135949487370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780437410,"filename":"image_13012025_15_59_02_476160_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b47f342aed08e6a2c6ece973845e02ab.jpg","text":"TemporaryFile(/tmp/multipartBody539679215403655546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780437410,"filename":"image_13012025_15_59_02_476160_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cb6bc02ecf84474f7b66a7c9c0419f6e.jpg","text":"TemporaryFile(/tmp/multipartBody2250436658187201427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780437410,"filename":"image_13012025_15_57_02_207902_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328652401","file1":"1328652398","file0":"1328652393","file4":"1328652406","file5":"1328652407","file3":"1328652404"},"map_files_photo_id_array":[{"photo_id":"1328652407","filename":"file5"},{"photo_id":"1328652401","filename":"file2"},{"photo_id":"1328652406","filename":"file4"},{"photo_id":"1328652398","filename":"file1"},{"photo_id":"1328652393","filename":"file0"},{"photo_id":"1328652404","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328652398":["hashtag1","hashtag2"]},{"1328652407":["hashtag1","hashtag2"]},{"1328652401":["hashtag1","hashtag2"]},{"1328652404":["hashtag1","hashtag2"]},{"1328652406":["hashtag1","hashtag2"]},{"1328652393":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328652398, 1328652407, 1328652401, 1328652404, 1328652406, 1328652393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.79873037338257 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:00:22.437358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/59/image_13012025_15_59_02_476160_0003.jpg', '/home/pi/Desktop/images/13012025/16/00/image_13012025_16_00_02_742442_0000.jpg', '/home/pi/Desktop/images/13012025/16/00/image_13012025_16_00_02_742442_0001.jpg', '/home/pi/Desktop/images/13012025/16/00/image_13012025_16_00_02_742442_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/15/59/image_13012025_15_59_02_476160_0003.jpg
/home/pi/Desktop/images/13012025/16/00/image_13012025_16_00_02_742442_0000.jpg
/home/pi/Desktop/images/13012025/16/00/image_13012025_16_00_02_742442_0001.jpg
/home/pi/Desktop/images/13012025/16/00/image_13012025_16_00_02_742442_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328652440","1328652454","1328652445","1328652450"],"photo_ids_order":["1328652440","1328652445","1328652450","1328652454"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5e6dabd75cbd469d966e74402edc019f.jpg","text":"TemporaryFile(/tmp/multipartBody6141044332039321435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780492785,"filename":"image_13012025_15_59_02_476160_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f68485c094108cb234818c5671c1cd15.jpg","text":"TemporaryFile(/tmp/multipartBody4609482493572666601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780492785,"filename":"image_13012025_16_00_02_742442_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bd326a78c688fb5dc7f90d53a0f27bd8.jpg","text":"TemporaryFile(/tmp/multipartBody2703330390398520215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780492785,"filename":"image_13012025_16_00_02_742442_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e33ca71bb47a912177db2ab9de3839c2.jpg","text":"TemporaryFile(/tmp/multipartBody6133578181019021254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780492785,"filename":"image_13012025_16_00_02_742442_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328652450","file1":"1328652445","file0":"1328652440","file3":"1328652454"},"map_files_photo_id_array":[{"photo_id":"1328652450","filename":"file2"},{"photo_id":"1328652445","filename":"file1"},{"photo_id":"1328652440","filename":"file0"},{"photo_id":"1328652454","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328652440":["hashtag1","hashtag2"]},{"1328652454":["hashtag1","hashtag2"]},{"1328652445":["hashtag1","hashtag2"]},{"1328652450":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328652440, 1328652454, 1328652445, 1328652450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.64646553993225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:01:22.712531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/00/image_13012025_16_00_02_742442_0003.jpg', '/home/pi/Desktop/images/13012025/16/01/image_13012025_16_01_02_789425_0000.jpg', '/home/pi/Desktop/images/13012025/16/01/image_13012025_16_01_02_789425_0001.jpg', '/home/pi/Desktop/images/13012025/16/01/image_13012025_16_01_02_789425_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/00/image_13012025_16_00_02_742442_0003.jpg
/home/pi/Desktop/images/13012025/16/01/image_13012025_16_01_02_789425_0000.jpg
/home/pi/Desktop/images/13012025/16/01/image_13012025_16_01_02_789425_0001.jpg
/home/pi/Desktop/images/13012025/16/01/image_13012025_16_01_02_789425_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328652527","1328652521","1328652493","1328652495"],"photo_ids_order":["1328652493","1328652495","1328652521","1328652527"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/df700576b59f70fac281067e6b4778fb.jpg","text":"TemporaryFile(/tmp/multipartBody5829014069610743861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780552983,"filename":"image_13012025_16_01_02_789425_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9b9ef2f8d4b9004b0bbd8266bde37a1a.jpg","text":"TemporaryFile(/tmp/multipartBody6236302924948712824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780552983,"filename":"image_13012025_16_01_02_789425_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3b1b321b1d8aa91010b8f25c5f5d9ad8.jpg","text":"TemporaryFile(/tmp/multipartBody7859912541911314022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780552983,"filename":"image_13012025_16_00_02_742442_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/03bea53ea1feadb912d7dbb761f6124c.jpg","text":"TemporaryFile(/tmp/multipartBody7669950719683696976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780552983,"filename":"image_13012025_16_01_02_789425_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328652521","file1":"1328652495","file0":"1328652493","file3":"1328652527"},"map_files_photo_id_array":[{"photo_id":"1328652521","filename":"file2"},{"photo_id":"1328652495","filename":"file1"},{"photo_id":"1328652493","filename":"file0"},{"photo_id":"1328652527","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328652527":["hashtag1","hashtag2"]},{"1328652521":["hashtag1","hashtag2"]},{"1328652493":["hashtag1","hashtag2"]},{"1328652495":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328652527, 1328652521, 1328652493, 1328652495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.24388122558594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:02:21.769047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/01/image_13012025_16_01_02_789425_0003.jpg', '/home/pi/Desktop/images/13012025/16/02/image_13012025_16_02_02_943944_0000.jpg', '/home/pi/Desktop/images/13012025/16/02/image_13012025_16_02_02_943944_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/01/image_13012025_16_01_02_789425_0003.jpg
/home/pi/Desktop/images/13012025/16/02/image_13012025_16_02_02_943944_0000.jpg
/home/pi/Desktop/images/13012025/16/02/image_13012025_16_02_02_943944_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328652548","1328652542","1328652545"],"photo_ids_order":["1328652542","1328652545","1328652548"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fb8df96e1c2acc87ad0ea14970d6dc75.jpg","text":"TemporaryFile(/tmp/multipartBody4214443442186327133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780609776,"filename":"image_13012025_16_02_02_943944_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6dc1e28c31edc7e96f52df6e7da89773.jpg","text":"TemporaryFile(/tmp/multipartBody5068813073713538666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780609776,"filename":"image_13012025_16_01_02_789425_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/003964db5dbf08f0977d6b3a5cc80628.jpg","text":"TemporaryFile(/tmp/multipartBody8814539238710094762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780609776,"filename":"image_13012025_16_02_02_943944_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328652548","file1":"1328652545","file0":"1328652542"},"map_files_photo_id_array":[{"photo_id":"1328652548","filename":"file2"},{"photo_id":"1328652545","filename":"file1"},{"photo_id":"1328652542","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328652548":["hashtag1","hashtag2"]},{"1328652542":["hashtag1","hashtag2"]},{"1328652545":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328652548, 1328652542, 1328652545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.42595148086548 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 16:03:02.562513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:03:22.055700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/02/image_13012025_16_02_02_943944_0003.jpg', '/home/pi/Desktop/images/13012025/16/03/image_13012025_16_03_02_181537_0000.jpg', '/home/pi/Desktop/images/13012025/16/03/image_13012025_16_03_02_181537_0001.jpg', '/home/pi/Desktop/images/13012025/16/03/image_13012025_16_03_02_181537_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/02/image_13012025_16_02_02_943944_0003.jpg
/home/pi/Desktop/images/13012025/16/03/image_13012025_16_03_02_181537_0000.jpg
/home/pi/Desktop/images/13012025/16/03/image_13012025_16_03_02_181537_0001.jpg
/home/pi/Desktop/images/13012025/16/03/image_13012025_16_03_02_181537_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328652925","1328653122","1328653116","1328652948"],"photo_ids_order":["1328652925","1328652948","1328653116","1328653122"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4563d79064907a453b039bf31fca696f.jpg","text":"TemporaryFile(/tmp/multipartBody8646936920756347388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780672404,"filename":"image_13012025_16_02_02_943944_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/83d6b061b98ce332acb4003cf53d4849.jpg","text":"TemporaryFile(/tmp/multipartBody2920812097960740409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780672404,"filename":"image_13012025_16_03_02_181537_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/255d1232f3bc0cc10a6bed2edbd348cd.jpg","text":"TemporaryFile(/tmp/multipartBody1820531048371052799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780672404,"filename":"image_13012025_16_03_02_181537_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3208c51c89146326da4c2235d5c65f2f.jpg","text":"TemporaryFile(/tmp/multipartBody3612017822828018168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780672404,"filename":"image_13012025_16_03_02_181537_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328653116","file1":"1328652948","file0":"1328652925","file3":"1328653122"},"map_files_photo_id_array":[{"photo_id":"1328653116","filename":"file2"},{"photo_id":"1328652948","filename":"file1"},{"photo_id":"1328652925","filename":"file0"},{"photo_id":"1328653122","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328652925":["hashtag1","hashtag2"]},{"1328653122":["hashtag1","hashtag2"]},{"1328653116":["hashtag1","hashtag2"]},{"1328652948":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328652925, 1328653122, 1328653116, 1328652948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.42620801925659 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:04:22.232057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/03/image_13012025_16_03_02_181537_0003.jpg', '/home/pi/Desktop/images/13012025/16/04/image_13012025_16_04_02_343577_0000.jpg', '/home/pi/Desktop/images/13012025/16/04/image_13012025_16_04_02_343577_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/03/image_13012025_16_03_02_181537_0003.jpg
/home/pi/Desktop/images/13012025/16/04/image_13012025_16_04_02_343577_0000.jpg
/home/pi/Desktop/images/13012025/16/04/image_13012025_16_04_02_343577_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328653328","1328653369","1328653312"],"photo_ids_order":["1328653312","1328653328","1328653369"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4224837d691a8e38f11afcdffe0178fe.jpg","text":"TemporaryFile(/tmp/multipartBody3070108324600208085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780730084,"filename":"image_13012025_16_04_02_343577_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d820ac45aa149e6b79378fd2e79a1fcc.jpg","text":"TemporaryFile(/tmp/multipartBody2483660932036573869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780730084,"filename":"image_13012025_16_04_02_343577_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fa9fa4f69a307c2389f55ed6532882f7.jpg","text":"TemporaryFile(/tmp/multipartBody1241349615226331517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780730084,"filename":"image_13012025_16_03_02_181537_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328653369","file1":"1328653328","file0":"1328653312"},"map_files_photo_id_array":[{"photo_id":"1328653369","filename":"file2"},{"photo_id":"1328653328","filename":"file1"},{"photo_id":"1328653312","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328653328":["hashtag1","hashtag2"]},{"1328653369":["hashtag1","hashtag2"]},{"1328653312":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328653328, 1328653369, 1328653312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.598543167114258 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 16:05:03.053530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:05:22.482295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/04/image_13012025_16_04_02_343577_0003.jpg', '/home/pi/Desktop/images/13012025/16/05/image_13012025_16_05_02_581360_0000.jpg', '/home/pi/Desktop/images/13012025/16/05/image_13012025_16_05_02_581360_0001.jpg', '/home/pi/Desktop/images/13012025/16/05/image_13012025_16_05_02_581360_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/04/image_13012025_16_04_02_343577_0003.jpg
/home/pi/Desktop/images/13012025/16/05/image_13012025_16_05_02_581360_0000.jpg
/home/pi/Desktop/images/13012025/16/05/image_13012025_16_05_02_581360_0001.jpg
/home/pi/Desktop/images/13012025/16/05/image_13012025_16_05_02_581360_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328653447","1328653455","1328653451","1328653460"],"photo_ids_order":["1328653447","1328653451","1328653455","1328653460"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c877f099577778bebfe3bdafc2489a2a.jpg","text":"TemporaryFile(/tmp/multipartBody2359269846144813675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780792603,"filename":"image_13012025_16_04_02_343577_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ed68b0771c81f98520a0c15dd05d1700.jpg","text":"TemporaryFile(/tmp/multipartBody6340892556231269007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780792603,"filename":"image_13012025_16_05_02_581360_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eb9e929a9702ded0adcac74f4bc0affc.jpg","text":"TemporaryFile(/tmp/multipartBody7445608971935985488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780792603,"filename":"image_13012025_16_05_02_581360_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a07d555a174afa5e04145333b79b5469.jpg","text":"TemporaryFile(/tmp/multipartBody6693331264194675602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780792603,"filename":"image_13012025_16_05_02_581360_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328653455","file1":"1328653451","file0":"1328653447","file3":"1328653460"},"map_files_photo_id_array":[{"photo_id":"1328653455","filename":"file2"},{"photo_id":"1328653451","filename":"file1"},{"photo_id":"1328653447","filename":"file0"},{"photo_id":"1328653460","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328653447":["hashtag1","hashtag2"]},{"1328653455":["hashtag1","hashtag2"]},{"1328653451":["hashtag1","hashtag2"]},{"1328653460":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328653447, 1328653455, 1328653451, 1328653460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.19824147224426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:06:22.736788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/05/image_13012025_16_05_02_581360_0003.jpg', '/home/pi/Desktop/images/13012025/16/06/image_13012025_16_06_02_898595_0000.jpg', '/home/pi/Desktop/images/13012025/16/06/image_13012025_16_06_02_898595_0001.jpg', '/home/pi/Desktop/images/13012025/16/06/image_13012025_16_06_02_898595_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/05/image_13012025_16_05_02_581360_0003.jpg
/home/pi/Desktop/images/13012025/16/06/image_13012025_16_06_02_898595_0000.jpg
/home/pi/Desktop/images/13012025/16/06/image_13012025_16_06_02_898595_0001.jpg
/home/pi/Desktop/images/13012025/16/06/image_13012025_16_06_02_898595_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328653505","1328653495","1328653498","1328653501"],"photo_ids_order":["1328653495","1328653498","1328653501","1328653505"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/149f5453031967e8b8e0d9ae21e7c5ac.jpg","text":"TemporaryFile(/tmp/multipartBody7143815390009641575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780852954,"filename":"image_13012025_16_06_02_898595_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4c909d3bea333325c08b7460a4908352.jpg","text":"TemporaryFile(/tmp/multipartBody9066651168886037146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780852954,"filename":"image_13012025_16_05_02_581360_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dfb0a01fe662140df4ff85aafb0da010.jpg","text":"TemporaryFile(/tmp/multipartBody7242348137914855323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780852954,"filename":"image_13012025_16_06_02_898595_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/009fcb950019a0ce2db0824177fca14e.jpg","text":"TemporaryFile(/tmp/multipartBody3438740930423125484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780852954,"filename":"image_13012025_16_06_02_898595_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328653501","file1":"1328653498","file0":"1328653495","file3":"1328653505"},"map_files_photo_id_array":[{"photo_id":"1328653501","filename":"file2"},{"photo_id":"1328653498","filename":"file1"},{"photo_id":"1328653495","filename":"file0"},{"photo_id":"1328653505","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328653505":["hashtag1","hashtag2"]},{"1328653495":["hashtag1","hashtag2"]},{"1328653498":["hashtag1","hashtag2"]},{"1328653501":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328653505, 1328653495, 1328653498, 1328653501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.26925992965698 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:07:21.999156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/06/image_13012025_16_06_02_898595_0003.jpg', '/home/pi/Desktop/images/13012025/16/07/image_13012025_16_07_03_083707_0000.jpg', '/home/pi/Desktop/images/13012025/16/07/image_13012025_16_07_03_083707_0001.jpg', '/home/pi/Desktop/images/13012025/16/07/image_13012025_16_07_03_083707_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/06/image_13012025_16_06_02_898595_0003.jpg
/home/pi/Desktop/images/13012025/16/07/image_13012025_16_07_03_083707_0000.jpg
/home/pi/Desktop/images/13012025/16/07/image_13012025_16_07_03_083707_0001.jpg
/home/pi/Desktop/images/13012025/16/07/image_13012025_16_07_03_083707_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328653690","1328653684","1328653698","1328653694"],"photo_ids_order":["1328653684","1328653690","1328653694","1328653698"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e2d4ff948bac4173a6deedb36ee12375.jpg","text":"TemporaryFile(/tmp/multipartBody116971843128890025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780912445,"filename":"image_13012025_16_07_03_083707_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/151e0c2b690df52e4c092483dd939425.jpg","text":"TemporaryFile(/tmp/multipartBody5030448621034153055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780912445,"filename":"image_13012025_16_06_02_898595_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8cd9682e5780c58d87069989bcf3f11e.jpg","text":"TemporaryFile(/tmp/multipartBody5411956675432445783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780912445,"filename":"image_13012025_16_07_03_083707_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cbd2b87eb72d2549c39caba60a3c3422.jpg","text":"TemporaryFile(/tmp/multipartBody8154897657562847843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780912445,"filename":"image_13012025_16_07_03_083707_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328653694","file1":"1328653690","file0":"1328653684","file3":"1328653698"},"map_files_photo_id_array":[{"photo_id":"1328653694","filename":"file2"},{"photo_id":"1328653690","filename":"file1"},{"photo_id":"1328653684","filename":"file0"},{"photo_id":"1328653698","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328653690":["hashtag1","hashtag2"]},{"1328653684":["hashtag1","hashtag2"]},{"1328653698":["hashtag1","hashtag2"]},{"1328653694":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328653690, 1328653684, 1328653698, 1328653694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.77327632904053 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:08:22.095027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/07/image_13012025_16_07_03_083707_0003.jpg', '/home/pi/Desktop/images/13012025/16/08/image_13012025_16_08_02_235241_0000.jpg', '/home/pi/Desktop/images/13012025/16/08/image_13012025_16_08_02_235241_0001.jpg', '/home/pi/Desktop/images/13012025/16/08/image_13012025_16_08_02_235241_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/07/image_13012025_16_07_03_083707_0003.jpg
/home/pi/Desktop/images/13012025/16/08/image_13012025_16_08_02_235241_0000.jpg
/home/pi/Desktop/images/13012025/16/08/image_13012025_16_08_02_235241_0001.jpg
/home/pi/Desktop/images/13012025/16/08/image_13012025_16_08_02_235241_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328653773","1328653767","1328653757","1328653730"],"photo_ids_order":["1328653730","1328653757","1328653767","1328653773"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/84c05b4fca06a42cb7b787a6f100519d.jpg","text":"TemporaryFile(/tmp/multipartBody3631080712069416594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780972363,"filename":"image_13012025_16_08_02_235241_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c4d576e9eb9b3ba96aaa10b24fa5dbfe.jpg","text":"TemporaryFile(/tmp/multipartBody8528579694913785527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780972363,"filename":"image_13012025_16_08_02_235241_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4934b19d40f36c3f12050c4edda0e763.jpg","text":"TemporaryFile(/tmp/multipartBody434385230503384519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780972363,"filename":"image_13012025_16_08_02_235241_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/649ba9e1863d89f7ad5083825d4f54e2.jpg","text":"TemporaryFile(/tmp/multipartBody6568085540177367211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736780972363,"filename":"image_13012025_16_07_03_083707_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328653767","file1":"1328653757","file0":"1328653730","file3":"1328653773"},"map_files_photo_id_array":[{"photo_id":"1328653767","filename":"file2"},{"photo_id":"1328653757","filename":"file1"},{"photo_id":"1328653730","filename":"file0"},{"photo_id":"1328653773","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328653773":["hashtag1","hashtag2"]},{"1328653767":["hashtag1","hashtag2"]},{"1328653757":["hashtag1","hashtag2"]},{"1328653730":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328653773, 1328653767, 1328653757, 1328653730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.205464601516724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 16:09:02.919899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:09:22.251421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/08/image_13012025_16_08_02_235241_0003.jpg', '/home/pi/Desktop/images/13012025/16/09/image_13012025_16_09_02_441896_0000.jpg', '/home/pi/Desktop/images/13012025/16/09/image_13012025_16_09_02_441896_0001.jpg', '/home/pi/Desktop/images/13012025/16/09/image_13012025_16_09_02_441896_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/08/image_13012025_16_08_02_235241_0003.jpg
/home/pi/Desktop/images/13012025/16/09/image_13012025_16_09_02_441896_0000.jpg
/home/pi/Desktop/images/13012025/16/09/image_13012025_16_09_02_441896_0001.jpg
/home/pi/Desktop/images/13012025/16/09/image_13012025_16_09_02_441896_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328653849","1328653834","1328653845","1328653839"],"photo_ids_order":["1328653834","1328653839","1328653845","1328653849"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/37886da14690a1d740f549fa756ca8ea.jpg","text":"TemporaryFile(/tmp/multipartBody5190948930703491894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781032487,"filename":"image_13012025_16_09_02_441896_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0460155ba41a4b126b93356cb81fbf73.jpg","text":"TemporaryFile(/tmp/multipartBody5337300261724253566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781032487,"filename":"image_13012025_16_08_02_235241_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/16eeb5f47125edfa597cea8161f2887f.jpg","text":"TemporaryFile(/tmp/multipartBody8503829107089150446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781032487,"filename":"image_13012025_16_09_02_441896_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fa11ca4ae08a11d9b97cdfa8408d7d56.jpg","text":"TemporaryFile(/tmp/multipartBody7169996321222975174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781032487,"filename":"image_13012025_16_09_02_441896_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328653845","file1":"1328653839","file0":"1328653834","file3":"1328653849"},"map_files_photo_id_array":[{"photo_id":"1328653845","filename":"file2"},{"photo_id":"1328653839","filename":"file1"},{"photo_id":"1328653834","filename":"file0"},{"photo_id":"1328653849","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328653849":["hashtag1","hashtag2"]},{"1328653834":["hashtag1","hashtag2"]},{"1328653845":["hashtag1","hashtag2"]},{"1328653839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328653849, 1328653834, 1328653845, 1328653839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.77400207519531 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 16:10:03.024560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:10:22.751014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/09/image_13012025_16_09_02_441896_0003.jpg', '/home/pi/Desktop/images/13012025/16/10/image_13012025_16_10_02_696330_0000.jpg', '/home/pi/Desktop/images/13012025/16/10/image_13012025_16_10_02_696330_0001.jpg', '/home/pi/Desktop/images/13012025/16/10/image_13012025_16_10_02_696330_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/09/image_13012025_16_09_02_441896_0003.jpg
/home/pi/Desktop/images/13012025/16/10/image_13012025_16_10_02_696330_0000.jpg
/home/pi/Desktop/images/13012025/16/10/image_13012025_16_10_02_696330_0001.jpg
/home/pi/Desktop/images/13012025/16/10/image_13012025_16_10_02_696330_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328653901","1328653906","1328653895","1328653898"],"photo_ids_order":["1328653895","1328653898","1328653901","1328653906"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/39937fdbd7eccde34ecd131e13913e3e.jpg","text":"TemporaryFile(/tmp/multipartBody3129356360828399266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781093081,"filename":"image_13012025_16_10_02_696330_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/78f71e502cc4348f4a3393618ebc8cb1.jpg","text":"TemporaryFile(/tmp/multipartBody2442301427798936237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781093081,"filename":"image_13012025_16_10_02_696330_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ba41d17a7d9951bfb6f3a4e6251e43de.jpg","text":"TemporaryFile(/tmp/multipartBody7500487945953391848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781093081,"filename":"image_13012025_16_09_02_441896_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/95fd6394faea86dabbc901ff966a576d.jpg","text":"TemporaryFile(/tmp/multipartBody6514715707170371935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781093081,"filename":"image_13012025_16_10_02_696330_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328653901","file1":"1328653898","file0":"1328653895","file3":"1328653906"},"map_files_photo_id_array":[{"photo_id":"1328653901","filename":"file2"},{"photo_id":"1328653898","filename":"file1"},{"photo_id":"1328653895","filename":"file0"},{"photo_id":"1328653906","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328653901":["hashtag1","hashtag2"]},{"1328653906":["hashtag1","hashtag2"]},{"1328653895":["hashtag1","hashtag2"]},{"1328653898":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328653901, 1328653906, 1328653895, 1328653898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.26456880569458 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 16:11:02.411158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:11:21.803151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/10/image_13012025_16_10_02_696330_0003.jpg', '/home/pi/Desktop/images/13012025/16/11/image_13012025_16_11_02_977843_0000.jpg', '/home/pi/Desktop/images/13012025/16/11/image_13012025_16_11_02_977843_0001.jpg', '/home/pi/Desktop/images/13012025/16/11/image_13012025_16_11_02_977843_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/10/image_13012025_16_10_02_696330_0003.jpg
/home/pi/Desktop/images/13012025/16/11/image_13012025_16_11_02_977843_0000.jpg
/home/pi/Desktop/images/13012025/16/11/image_13012025_16_11_02_977843_0001.jpg
/home/pi/Desktop/images/13012025/16/11/image_13012025_16_11_02_977843_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328653963","1328653965","1328653959","1328653982"],"photo_ids_order":["1328653959","1328653963","1328653965","1328653982"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8eda78cfc0baaaad5d43aa2e6168b7c2.jpg","text":"TemporaryFile(/tmp/multipartBody5876384423241553620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781152135,"filename":"image_13012025_16_11_02_977843_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3aa3782781e69086a82ffe40c0215b7b.jpg","text":"TemporaryFile(/tmp/multipartBody8964581500411930021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781152135,"filename":"image_13012025_16_11_02_977843_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4ba14403aae47211836dcbca2ad21d96.jpg","text":"TemporaryFile(/tmp/multipartBody1093277291801868835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781152135,"filename":"image_13012025_16_10_02_696330_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/19d47f74ef21060c96f779a20a49fe6d.jpg","text":"TemporaryFile(/tmp/multipartBody3815949010121230782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781152135,"filename":"image_13012025_16_11_02_977843_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328653965","file1":"1328653963","file0":"1328653959","file3":"1328653982"},"map_files_photo_id_array":[{"photo_id":"1328653965","filename":"file2"},{"photo_id":"1328653963","filename":"file1"},{"photo_id":"1328653959","filename":"file0"},{"photo_id":"1328653982","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328653963":["hashtag1","hashtag2"]},{"1328653965":["hashtag1","hashtag2"]},{"1328653959":["hashtag1","hashtag2"]},{"1328653982":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328653963, 1328653965, 1328653959, 1328653982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.81772804260254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:12:22.005502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/11/image_13012025_16_11_02_977843_0003.jpg', '/home/pi/Desktop/images/13012025/16/12/image_13012025_16_12_02_250932_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/11/image_13012025_16_11_02_977843_0003.jpg
/home/pi/Desktop/images/13012025/16/12/image_13012025_16_12_02_250932_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328654045","1328654039"],"photo_ids_order":["1328654039","1328654045"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9323d22d11c7879ddf773f9e8a8fa86a.jpg","text":"TemporaryFile(/tmp/multipartBody7604188610639617933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781207392,"filename":"image_13012025_16_12_02_250932_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/669a79bca64b838d41417fdb3319a9d4.jpg","text":"TemporaryFile(/tmp/multipartBody8692605381981269097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781207392,"filename":"image_13012025_16_11_02_977843_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328654045","file0":"1328654039"},"map_files_photo_id_array":[{"photo_id":"1328654045","filename":"file1"},{"photo_id":"1328654039","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328654045":["hashtag1","hashtag2"]},{"1328654039":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328654045, 1328654039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.429506540298462 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 16:12:51.964847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 16:13:02.751908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:13:22.205221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/12/image_13012025_16_12_02_250932_0002.jpg', '/home/pi/Desktop/images/13012025/16/13/image_13012025_16_13_02_340342_0001.jpg', '/home/pi/Desktop/images/13012025/16/13/image_13012025_16_13_02_340342_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/12/image_13012025_16_12_02_250932_0002.jpg
/home/pi/Desktop/images/13012025/16/13/image_13012025_16_13_02_340342_0001.jpg
/home/pi/Desktop/images/13012025/16/13/image_13012025_16_13_02_340342_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328654088","1328654093","1328654081"],"photo_ids_order":["1328654081","1328654088","1328654093"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a74ebaa0e1e1a23265a9df215b699603.jpg","text":"TemporaryFile(/tmp/multipartBody7630230573185751327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781270124,"filename":"image_13012025_16_13_02_340342_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a585a79e93a11ae4a2891f4d438f9763.jpg","text":"TemporaryFile(/tmp/multipartBody3278169235859005130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781270124,"filename":"image_13012025_16_13_02_340342_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a6f5391ab5bd825b0802c8f99b972e62.jpg","text":"TemporaryFile(/tmp/multipartBody3046959218920615377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781270124,"filename":"image_13012025_16_12_02_250932_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328654093","file1":"1328654088","file0":"1328654081"},"map_files_photo_id_array":[{"photo_id":"1328654093","filename":"file2"},{"photo_id":"1328654088","filename":"file1"},{"photo_id":"1328654081","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328654088":["hashtag1","hashtag2"]},{"1328654093":["hashtag1","hashtag2"]},{"1328654081":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328654088, 1328654093, 1328654081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 35.037991762161255 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 16:14:02.672515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:14:22.291422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/13/image_13012025_16_13_02_340342_0003.jpg', '/home/pi/Desktop/images/13012025/16/14/image_13012025_16_14_02_606628_0000.jpg', '/home/pi/Desktop/images/13012025/16/14/image_13012025_16_14_02_606628_0001.jpg', '/home/pi/Desktop/images/13012025/16/14/image_13012025_16_14_02_606628_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/13/image_13012025_16_13_02_340342_0003.jpg
/home/pi/Desktop/images/13012025/16/14/image_13012025_16_14_02_606628_0000.jpg
/home/pi/Desktop/images/13012025/16/14/image_13012025_16_14_02_606628_0001.jpg
/home/pi/Desktop/images/13012025/16/14/image_13012025_16_14_02_606628_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328654143","1328654147","1328654135","1328654138"],"photo_ids_order":["1328654135","1328654138","1328654143","1328654147"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/93853acd6b54e5f503fb3c8490a03108.jpg","text":"TemporaryFile(/tmp/multipartBody7017409432336315874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781332628,"filename":"image_13012025_16_14_02_606628_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/75152ac018689604fb79081e1aa5fb96.jpg","text":"TemporaryFile(/tmp/multipartBody7400368352564690590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781332628,"filename":"image_13012025_16_14_02_606628_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/84f647fabbedf39235fc131aaa12d12c.jpg","text":"TemporaryFile(/tmp/multipartBody8518248631714587381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781332628,"filename":"image_13012025_16_13_02_340342_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2159ed9db2db75ae9b0fa97bcc1edd95.jpg","text":"TemporaryFile(/tmp/multipartBody4160411538152034266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781332628,"filename":"image_13012025_16_14_02_606628_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328654143","file1":"1328654138","file0":"1328654135","file3":"1328654147"},"map_files_photo_id_array":[{"photo_id":"1328654143","filename":"file2"},{"photo_id":"1328654138","filename":"file1"},{"photo_id":"1328654135","filename":"file0"},{"photo_id":"1328654147","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328654143":["hashtag1","hashtag2"]},{"1328654147":["hashtag1","hashtag2"]},{"1328654135":["hashtag1","hashtag2"]},{"1328654138":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328654143, 1328654147, 1328654135, 1328654138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.908201932907104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 16:15:02.951150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:15:22.523443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/14/image_13012025_16_14_02_606628_0003.jpg', '/home/pi/Desktop/images/13012025/16/15/image_13012025_16_15_02_648425_0000.jpg', '/home/pi/Desktop/images/13012025/16/15/image_13012025_16_15_02_648425_0001.jpg', '/home/pi/Desktop/images/13012025/16/15/image_13012025_16_15_02_648425_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/14/image_13012025_16_14_02_606628_0003.jpg
/home/pi/Desktop/images/13012025/16/15/image_13012025_16_15_02_648425_0000.jpg
/home/pi/Desktop/images/13012025/16/15/image_13012025_16_15_02_648425_0001.jpg
/home/pi/Desktop/images/13012025/16/15/image_13012025_16_15_02_648425_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328654198","1328654192","1328654195","1328654188"],"photo_ids_order":["1328654188","1328654192","1328654195","1328654198"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c25083f33b2ee4d79da00011c015720b.jpg","text":"TemporaryFile(/tmp/multipartBody1973362645411353567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781392917,"filename":"image_13012025_16_15_02_648425_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dff47e362098951be6a6282a4c392da1.jpg","text":"TemporaryFile(/tmp/multipartBody5818670118774679247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781392917,"filename":"image_13012025_16_15_02_648425_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cecbce6fd5ee3dd29a74fe61db2b0405.jpg","text":"TemporaryFile(/tmp/multipartBody1493955041629511449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781392917,"filename":"image_13012025_16_15_02_648425_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/19308678375d7a1b0292a3d408a3418d.jpg","text":"TemporaryFile(/tmp/multipartBody4479564576993010688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781392917,"filename":"image_13012025_16_14_02_606628_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328654195","file1":"1328654192","file0":"1328654188","file3":"1328654198"},"map_files_photo_id_array":[{"photo_id":"1328654195","filename":"file2"},{"photo_id":"1328654192","filename":"file1"},{"photo_id":"1328654188","filename":"file0"},{"photo_id":"1328654198","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328654198":["hashtag1","hashtag2"]},{"1328654192":["hashtag1","hashtag2"]},{"1328654195":["hashtag1","hashtag2"]},{"1328654188":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328654198, 1328654192, 1328654195, 1328654188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.03548240661621 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 16:16:03.001625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:16:22.595030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/15/image_13012025_16_15_02_648425_0003.jpg', '/home/pi/Desktop/images/13012025/16/16/image_13012025_16_16_02_844311_0000.jpg', '/home/pi/Desktop/images/13012025/16/16/image_13012025_16_16_02_844311_0001.jpg', '/home/pi/Desktop/images/13012025/16/16/image_13012025_16_16_02_844311_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/15/image_13012025_16_15_02_648425_0003.jpg
/home/pi/Desktop/images/13012025/16/16/image_13012025_16_16_02_844311_0000.jpg
/home/pi/Desktop/images/13012025/16/16/image_13012025_16_16_02_844311_0001.jpg
/home/pi/Desktop/images/13012025/16/16/image_13012025_16_16_02_844311_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328654230","1328654224","1328654220","1328654234"],"photo_ids_order":["1328654220","1328654224","1328654230","1328654234"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/13a9a229587131241c11b74ba0c7f501.jpg","text":"TemporaryFile(/tmp/multipartBody9196601985048067159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781453044,"filename":"image_13012025_16_16_02_844311_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9c5f14f5244b272810103caae65c9ff8.jpg","text":"TemporaryFile(/tmp/multipartBody5072861304684969782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781453044,"filename":"image_13012025_16_16_02_844311_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fdcc2cf1825ca10fae63d51f2c8a30a0.jpg","text":"TemporaryFile(/tmp/multipartBody4961717447505674475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781453044,"filename":"image_13012025_16_15_02_648425_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a6b4e5510139da622951a484954be2d4.jpg","text":"TemporaryFile(/tmp/multipartBody6711683050286920319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781453044,"filename":"image_13012025_16_16_02_844311_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328654230","file1":"1328654224","file0":"1328654220","file3":"1328654234"},"map_files_photo_id_array":[{"photo_id":"1328654230","filename":"file2"},{"photo_id":"1328654224","filename":"file1"},{"photo_id":"1328654220","filename":"file0"},{"photo_id":"1328654234","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328654230":["hashtag1","hashtag2"]},{"1328654224":["hashtag1","hashtag2"]},{"1328654220":["hashtag1","hashtag2"]},{"1328654234":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328654230, 1328654224, 1328654220, 1328654234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.01838302612305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:17:21.871830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/16/image_13012025_16_16_02_844311_0003.jpg', '/home/pi/Desktop/images/13012025/16/17/image_13012025_16_17_02_923033_0000.jpg', '/home/pi/Desktop/images/13012025/16/17/image_13012025_16_17_02_923033_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/16/image_13012025_16_16_02_844311_0003.jpg
/home/pi/Desktop/images/13012025/16/17/image_13012025_16_17_02_923033_0000.jpg
/home/pi/Desktop/images/13012025/16/17/image_13012025_16_17_02_923033_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328654286","1328654280","1328654283"],"photo_ids_order":["1328654280","1328654283","1328654286"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/438625bc989eef6920461a208cc9e082.jpg","text":"TemporaryFile(/tmp/multipartBody1153139030515610986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781509804,"filename":"image_13012025_16_17_02_923033_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bc1028dae47a79f4a281f391a8dd7a3c.jpg","text":"TemporaryFile(/tmp/multipartBody543209099281228126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781509804,"filename":"image_13012025_16_16_02_844311_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3edc7771ca49b74d1aa14435df519be2.jpg","text":"TemporaryFile(/tmp/multipartBody524260826040718418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781509804,"filename":"image_13012025_16_17_02_923033_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328654286","file1":"1328654283","file0":"1328654280"},"map_files_photo_id_array":[{"photo_id":"1328654286","filename":"file2"},{"photo_id":"1328654283","filename":"file1"},{"photo_id":"1328654280","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328654286":["hashtag1","hashtag2"]},{"1328654280":["hashtag1","hashtag2"]},{"1328654283":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328654286, 1328654280, 1328654283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.087587118148804 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 16:18:02.372445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:18:21.929861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/17/image_13012025_16_17_02_923033_0002.jpg', '/home/pi/Desktop/images/13012025/16/18/image_13012025_16_18_02_235495_0000.jpg', '/home/pi/Desktop/images/13012025/16/18/image_13012025_16_18_02_235495_0001.jpg', '/home/pi/Desktop/images/13012025/16/18/image_13012025_16_18_02_235495_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/17/image_13012025_16_17_02_923033_0002.jpg
/home/pi/Desktop/images/13012025/16/18/image_13012025_16_18_02_235495_0000.jpg
/home/pi/Desktop/images/13012025/16/18/image_13012025_16_18_02_235495_0001.jpg
/home/pi/Desktop/images/13012025/16/18/image_13012025_16_18_02_235495_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328654515","1328654495","1328654519","1328654528"],"photo_ids_order":["1328654495","1328654515","1328654519","1328654528"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f4b26cd8da8a915fd06d3398ef2f1d8e.jpg","text":"TemporaryFile(/tmp/multipartBody8670187492114147736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781572166,"filename":"image_13012025_16_18_02_235495_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2697543cb3fc46f0f6b5ab3a955b1024.jpg","text":"TemporaryFile(/tmp/multipartBody4535289408703043361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781572166,"filename":"image_13012025_16_17_02_923033_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/93e54c8de3f7161ea9233315e15db6f1.jpg","text":"TemporaryFile(/tmp/multipartBody3729761707208438910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781572166,"filename":"image_13012025_16_18_02_235495_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3e3f64533fb55bce450af92b6cb4e247.jpg","text":"TemporaryFile(/tmp/multipartBody3039775448880956167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781572166,"filename":"image_13012025_16_18_02_235495_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328654519","file1":"1328654515","file0":"1328654495","file3":"1328654528"},"map_files_photo_id_array":[{"photo_id":"1328654519","filename":"file2"},{"photo_id":"1328654515","filename":"file1"},{"photo_id":"1328654495","filename":"file0"},{"photo_id":"1328654528","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328654515":["hashtag1","hashtag2"]},{"1328654495":["hashtag1","hashtag2"]},{"1328654519":["hashtag1","hashtag2"]},{"1328654528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328654515, 1328654495, 1328654519, 1328654528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.54676294326782 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:19:22.271931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/18/image_13012025_16_18_02_235495_0003.jpg', '/home/pi/Desktop/images/13012025/16/19/image_13012025_16_19_02_405304_0000.jpg', '/home/pi/Desktop/images/13012025/16/19/image_13012025_16_19_02_405304_0001.jpg', '/home/pi/Desktop/images/13012025/16/19/image_13012025_16_19_02_405304_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/18/image_13012025_16_18_02_235495_0003.jpg
/home/pi/Desktop/images/13012025/16/19/image_13012025_16_19_02_405304_0000.jpg
/home/pi/Desktop/images/13012025/16/19/image_13012025_16_19_02_405304_0001.jpg
/home/pi/Desktop/images/13012025/16/19/image_13012025_16_19_02_405304_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.909113883972168 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 16:19:42.240458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/18/image_13012025_16_18_02_235495_0003.jpg', '/home/pi/Desktop/images/13012025/16/19/image_13012025_16_19_02_405304_0000.jpg', '/home/pi/Desktop/images/13012025/16/19/image_13012025_16_19_02_405304_0001.jpg', '/home/pi/Desktop/images/13012025/16/19/image_13012025_16_19_02_405304_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/18/image_13012025_16_18_02_235495_0003.jpg
/home/pi/Desktop/images/13012025/16/19/image_13012025_16_19_02_405304_0000.jpg
/home/pi/Desktop/images/13012025/16/19/image_13012025_16_19_02_405304_0001.jpg
/home/pi/Desktop/images/13012025/16/19/image_13012025_16_19_02_405304_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328654659","1328654652","1328654639","1328654648"],"photo_ids_order":["1328654639","1328654648","1328654652","1328654659"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e12b0121806bdd6c815b2526ee2174f3.jpg","text":"TemporaryFile(/tmp/multipartBody5357212680785122443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781652558,"filename":"image_13012025_16_19_02_405304_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7cdc14696c2af9388ed6e056c06dff6f.jpg","text":"TemporaryFile(/tmp/multipartBody8953202460642861894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781652558,"filename":"image_13012025_16_19_02_405304_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ddabe9c155adcdbf2859eed85ec01856.jpg","text":"TemporaryFile(/tmp/multipartBody6208361049212468051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781652558,"filename":"image_13012025_16_18_02_235495_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3e038680cc0b459da56414e9430f5b04.jpg","text":"TemporaryFile(/tmp/multipartBody2862615974042642970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781652558,"filename":"image_13012025_16_19_02_405304_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328654652","file1":"1328654648","file0":"1328654639","file3":"1328654659"},"map_files_photo_id_array":[{"photo_id":"1328654652","filename":"file2"},{"photo_id":"1328654648","filename":"file1"},{"photo_id":"1328654639","filename":"file0"},{"photo_id":"1328654659","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328654659":["hashtag1","hashtag2"]},{"1328654652":["hashtag1","hashtag2"]},{"1328654639":["hashtag1","hashtag2"]},{"1328654648":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328654659, 1328654652, 1328654639, 1328654648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.71055340766907 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 16:20:32.395457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/19/image_13012025_16_19_02_405304_0003.jpg', '/home/pi/Desktop/images/13012025/16/20/image_13012025_16_20_02_580351_0000.jpg', '/home/pi/Desktop/images/13012025/16/20/image_13012025_16_20_02_580351_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/19/image_13012025_16_19_02_405304_0003.jpg
/home/pi/Desktop/images/13012025/16/20/image_13012025_16_20_02_580351_0000.jpg
/home/pi/Desktop/images/13012025/16/20/image_13012025_16_20_02_580351_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328654715","1328654718","1328654717"],"photo_ids_order":["1328654715","1328654717","1328654718"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f1d10d95c777644074ae5ad9a4fdcfdb.jpg","text":"TemporaryFile(/tmp/multipartBody9197799474198570279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781700313,"filename":"image_13012025_16_19_02_405304_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d8d71f78f4221462d61e4a1b62e296cf.jpg","text":"TemporaryFile(/tmp/multipartBody1728571465048506750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781700313,"filename":"image_13012025_16_20_02_580351_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bd4e3476aa4fdf395c53ef3e68e32efd.jpg","text":"TemporaryFile(/tmp/multipartBody7043788841537135276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781700313,"filename":"image_13012025_16_20_02_580351_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328654718","file1":"1328654717","file0":"1328654715"},"map_files_photo_id_array":[{"photo_id":"1328654718","filename":"file2"},{"photo_id":"1328654717","filename":"file1"},{"photo_id":"1328654715","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328654715":["hashtag1","hashtag2"]},{"1328654718":["hashtag1","hashtag2"]},{"1328654717":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328654715, 1328654718, 1328654717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.189894437789917 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:21:22.578094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/20/image_13012025_16_20_02_580351_0002.jpg', '/home/pi/Desktop/images/13012025/16/21/image_13012025_16_21_02_751885_0000.jpg', '/home/pi/Desktop/images/13012025/16/21/image_13012025_16_21_02_751885_0001.jpg', '/home/pi/Desktop/images/13012025/16/21/image_13012025_16_21_02_751885_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/20/image_13012025_16_20_02_580351_0002.jpg
/home/pi/Desktop/images/13012025/16/21/image_13012025_16_21_02_751885_0000.jpg
/home/pi/Desktop/images/13012025/16/21/image_13012025_16_21_02_751885_0001.jpg
/home/pi/Desktop/images/13012025/16/21/image_13012025_16_21_02_751885_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328655601","1328655604","1328655606","1328655609"],"photo_ids_order":["1328655601","1328655604","1328655606","1328655609"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/81d482aadc66d2ecede25095e607b1db.jpg","text":"TemporaryFile(/tmp/multipartBody6837574730949461854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781752757,"filename":"image_13012025_16_20_02_580351_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1c106a24de2724c7db7dcd81ec85850e.jpg","text":"TemporaryFile(/tmp/multipartBody1740341389373298680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781752757,"filename":"image_13012025_16_21_02_751885_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a8dbda7be96e31788819d90571a6f3db.jpg","text":"TemporaryFile(/tmp/multipartBody7219197503407680181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781752757,"filename":"image_13012025_16_21_02_751885_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/511e86d49d9c0c8e3db30f92b3beb06b.jpg","text":"TemporaryFile(/tmp/multipartBody6867082412559717867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781752757,"filename":"image_13012025_16_21_02_751885_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328655606","file1":"1328655604","file0":"1328655601","file3":"1328655609"},"map_files_photo_id_array":[{"photo_id":"1328655606","filename":"file2"},{"photo_id":"1328655604","filename":"file1"},{"photo_id":"1328655601","filename":"file0"},{"photo_id":"1328655609","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328655601":["hashtag1","hashtag2"]},{"1328655604":["hashtag1","hashtag2"]},{"1328655606":["hashtag1","hashtag2"]},{"1328655609":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328655601, 1328655604, 1328655606, 1328655609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.779698610305786 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 16:22:03.163124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:22:22.724912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/21/image_13012025_16_21_02_751885_0003.jpg', '/home/pi/Desktop/images/13012025/16/22/image_13012025_16_22_02_952132_0000.jpg', '/home/pi/Desktop/images/13012025/16/22/image_13012025_16_22_02_952132_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/21/image_13012025_16_21_02_751885_0003.jpg
/home/pi/Desktop/images/13012025/16/22/image_13012025_16_22_02_952132_0000.jpg
/home/pi/Desktop/images/13012025/16/22/image_13012025_16_22_02_952132_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328655934","1328655885","1328655997"],"photo_ids_order":["1328655885","1328655934","1328655997"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/523fe77d8dde430ef5fe7c82319ee505.jpg","text":"TemporaryFile(/tmp/multipartBody26890514802984395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781810515,"filename":"image_13012025_16_22_02_952132_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/377df4b1c5514024ac95979dbb0eb3db.jpg","text":"TemporaryFile(/tmp/multipartBody251618675336285696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781810515,"filename":"image_13012025_16_21_02_751885_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/edea9257f11ca63301a284a033456202.jpg","text":"TemporaryFile(/tmp/multipartBody2555275222537944790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781810515,"filename":"image_13012025_16_22_02_952132_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328655997","file1":"1328655934","file0":"1328655885"},"map_files_photo_id_array":[{"photo_id":"1328655997","filename":"file2"},{"photo_id":"1328655934","filename":"file1"},{"photo_id":"1328655885","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328655934":["hashtag1","hashtag2"]},{"1328655885":["hashtag1","hashtag2"]},{"1328655997":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328655934, 1328655885, 1328655997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.51104140281677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 16:23:02.465942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:23:21.947231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/22/image_13012025_16_22_02_952132_0003.jpg', '/home/pi/Desktop/images/13012025/16/23/image_13012025_16_23_03_017263_0000.jpg', '/home/pi/Desktop/images/13012025/16/23/image_13012025_16_23_03_017263_0001.jpg', '/home/pi/Desktop/images/13012025/16/23/image_13012025_16_23_03_017263_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/22/image_13012025_16_22_02_952132_0003.jpg
/home/pi/Desktop/images/13012025/16/23/image_13012025_16_23_03_017263_0000.jpg
/home/pi/Desktop/images/13012025/16/23/image_13012025_16_23_03_017263_0001.jpg
/home/pi/Desktop/images/13012025/16/23/image_13012025_16_23_03_017263_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328656152","1328656157","1328656148","1328656144"],"photo_ids_order":["1328656144","1328656148","1328656152","1328656157"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/45474311b14a02671e24e26269a76649.jpg","text":"TemporaryFile(/tmp/multipartBody2301843544752708611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781872193,"filename":"image_13012025_16_23_03_017263_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ede7eb4b19d3a88832c57f464b5cb3d6.jpg","text":"TemporaryFile(/tmp/multipartBody3855232589580795406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781872193,"filename":"image_13012025_16_23_03_017263_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/de1c13016f497895837e6fa47b6b4b51.jpg","text":"TemporaryFile(/tmp/multipartBody8259317736265151220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781872193,"filename":"image_13012025_16_23_03_017263_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a278ad574218c0a7b6e5550064b5a1b7.jpg","text":"TemporaryFile(/tmp/multipartBody2115502640712179926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781872193,"filename":"image_13012025_16_22_02_952132_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328656152","file1":"1328656148","file0":"1328656144","file3":"1328656157"},"map_files_photo_id_array":[{"photo_id":"1328656152","filename":"file2"},{"photo_id":"1328656148","filename":"file1"},{"photo_id":"1328656144","filename":"file0"},{"photo_id":"1328656157","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328656152":["hashtag1","hashtag2"]},{"1328656157":["hashtag1","hashtag2"]},{"1328656148":["hashtag1","hashtag2"]},{"1328656144":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328656152, 1328656157, 1328656148, 1328656144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.642868518829346 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 16:24:02.464724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:24:22.049876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/23/image_13012025_16_23_03_017263_0003.jpg', '/home/pi/Desktop/images/13012025/16/24/image_13012025_16_24_02_298440_0000.jpg', '/home/pi/Desktop/images/13012025/16/24/image_13012025_16_24_02_298440_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/23/image_13012025_16_23_03_017263_0003.jpg
/home/pi/Desktop/images/13012025/16/24/image_13012025_16_24_02_298440_0000.jpg
/home/pi/Desktop/images/13012025/16/24/image_13012025_16_24_02_298440_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328656182","1328656185","1328656187"],"photo_ids_order":["1328656182","1328656185","1328656187"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e2b91205de78f01ca211170e4cb4d776.jpg","text":"TemporaryFile(/tmp/multipartBody949377683117019866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781929735,"filename":"image_13012025_16_23_03_017263_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3d83fcf5ad805b597777f4c4734dff63.jpg","text":"TemporaryFile(/tmp/multipartBody4397384712675750207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781929735,"filename":"image_13012025_16_24_02_298440_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d1eb53d689de65c91cf23be6b6e69c62.jpg","text":"TemporaryFile(/tmp/multipartBody7192583273354491091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781929735,"filename":"image_13012025_16_24_02_298440_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328656187","file1":"1328656185","file0":"1328656182"},"map_files_photo_id_array":[{"photo_id":"1328656187","filename":"file2"},{"photo_id":"1328656185","filename":"file1"},{"photo_id":"1328656182","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328656182":["hashtag1","hashtag2"]},{"1328656185":["hashtag1","hashtag2"]},{"1328656187":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328656182, 1328656185, 1328656187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.58394718170166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 16:25:02.806555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:25:22.231904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/24/image_13012025_16_24_02_298440_0003.jpg', '/home/pi/Desktop/images/13012025/16/25/image_13012025_16_25_02_356250_0000.jpg', '/home/pi/Desktop/images/13012025/16/25/image_13012025_16_25_02_356250_0001.jpg', '/home/pi/Desktop/images/13012025/16/25/image_13012025_16_25_02_356250_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/24/image_13012025_16_24_02_298440_0003.jpg
/home/pi/Desktop/images/13012025/16/25/image_13012025_16_25_02_356250_0000.jpg
/home/pi/Desktop/images/13012025/16/25/image_13012025_16_25_02_356250_0001.jpg
/home/pi/Desktop/images/13012025/16/25/image_13012025_16_25_02_356250_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328656229","1328656258","1328656252","1328656255"],"photo_ids_order":["1328656229","1328656252","1328656255","1328656258"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1ca77263073e2ba97c3f1a6224294f19.jpg","text":"TemporaryFile(/tmp/multipartBody5113050446512341623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781994429,"filename":"image_13012025_16_24_02_298440_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7bab2ef47710f3429168bb6fc00a8787.jpg","text":"TemporaryFile(/tmp/multipartBody6048563177169454266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781994429,"filename":"image_13012025_16_25_02_356250_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cf810504e561cd5b89fbc74db9ee2c69.jpg","text":"TemporaryFile(/tmp/multipartBody8035062776703244293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781994429,"filename":"image_13012025_16_25_02_356250_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e248f0ab400c87838f06ee1f2918aa0f.jpg","text":"TemporaryFile(/tmp/multipartBody2888195320063293154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736781994429,"filename":"image_13012025_16_25_02_356250_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328656255","file1":"1328656252","file0":"1328656229","file3":"1328656258"},"map_files_photo_id_array":[{"photo_id":"1328656255","filename":"file2"},{"photo_id":"1328656252","filename":"file1"},{"photo_id":"1328656229","filename":"file0"},{"photo_id":"1328656258","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328656229":["hashtag1","hashtag2"]},{"1328656258":["hashtag1","hashtag2"]},{"1328656252":["hashtag1","hashtag2"]},{"1328656255":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328656229, 1328656258, 1328656252, 1328656255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.71006679534912 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:26:22.329450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/25/image_13012025_16_25_02_356250_0003.jpg', '/home/pi/Desktop/images/13012025/16/26/image_13012025_16_26_02_549101_0000.jpg', '/home/pi/Desktop/images/13012025/16/26/image_13012025_16_26_02_549101_0001.jpg', '/home/pi/Desktop/images/13012025/16/26/image_13012025_16_26_02_549101_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/25/image_13012025_16_25_02_356250_0003.jpg
/home/pi/Desktop/images/13012025/16/26/image_13012025_16_26_02_549101_0000.jpg
/home/pi/Desktop/images/13012025/16/26/image_13012025_16_26_02_549101_0001.jpg
/home/pi/Desktop/images/13012025/16/26/image_13012025_16_26_02_549101_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328656282","1328656276","1328656279","1328656288"],"photo_ids_order":["1328656276","1328656279","1328656282","1328656288"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5d10bbdc3b8f20fb0cc932bf0398f106.jpg","text":"TemporaryFile(/tmp/multipartBody1614243577999200814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782052537,"filename":"image_13012025_16_26_02_549101_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/632df1adbcb6f720b0080cb226230a00.jpg","text":"TemporaryFile(/tmp/multipartBody4508128836977736326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782052537,"filename":"image_13012025_16_25_02_356250_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ac63fc1ba219f8ce87007a9b0fa59fb9.jpg","text":"TemporaryFile(/tmp/multipartBody6015905966619221608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782052537,"filename":"image_13012025_16_26_02_549101_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2b7f8a7eece985b787102912cb1e04c6.jpg","text":"TemporaryFile(/tmp/multipartBody6697691441389534691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782052537,"filename":"image_13012025_16_26_02_549101_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328656282","file1":"1328656279","file0":"1328656276","file3":"1328656288"},"map_files_photo_id_array":[{"photo_id":"1328656282","filename":"file2"},{"photo_id":"1328656279","filename":"file1"},{"photo_id":"1328656276","filename":"file0"},{"photo_id":"1328656288","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328656282":["hashtag1","hashtag2"]},{"1328656276":["hashtag1","hashtag2"]},{"1328656279":["hashtag1","hashtag2"]},{"1328656288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328656282, 1328656276, 1328656279, 1328656288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.51250100135803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:27:22.610873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/26/image_13012025_16_26_02_549101_0003.jpg', '/home/pi/Desktop/images/13012025/16/27/image_13012025_16_27_02_709985_0000.jpg', '/home/pi/Desktop/images/13012025/16/27/image_13012025_16_27_02_709985_0001.jpg', '/home/pi/Desktop/images/13012025/16/27/image_13012025_16_27_02_709985_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/26/image_13012025_16_26_02_549101_0003.jpg
/home/pi/Desktop/images/13012025/16/27/image_13012025_16_27_02_709985_0000.jpg
/home/pi/Desktop/images/13012025/16/27/image_13012025_16_27_02_709985_0001.jpg
/home/pi/Desktop/images/13012025/16/27/image_13012025_16_27_02_709985_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328656338","1328656322","1328656333","1328656327"],"photo_ids_order":["1328656322","1328656327","1328656333","1328656338"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2035670020c67ae9c025e39b63c96ad2.jpg","text":"TemporaryFile(/tmp/multipartBody8352282399471781763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782112785,"filename":"image_13012025_16_27_02_709985_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/35b916f51794bf269f586148057ef568.jpg","text":"TemporaryFile(/tmp/multipartBody4873539547836258811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782112785,"filename":"image_13012025_16_26_02_549101_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ade7017be9c0cb6fabaf459b1e36dbc2.jpg","text":"TemporaryFile(/tmp/multipartBody4507310568258005260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782112785,"filename":"image_13012025_16_27_02_709985_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6892775f2b93789a7f89347686f5d45b.jpg","text":"TemporaryFile(/tmp/multipartBody8902537163248075121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782112785,"filename":"image_13012025_16_27_02_709985_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328656333","file1":"1328656327","file0":"1328656322","file3":"1328656338"},"map_files_photo_id_array":[{"photo_id":"1328656333","filename":"file2"},{"photo_id":"1328656327","filename":"file1"},{"photo_id":"1328656322","filename":"file0"},{"photo_id":"1328656338","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328656338":["hashtag1","hashtag2"]},{"1328656322":["hashtag1","hashtag2"]},{"1328656333":["hashtag1","hashtag2"]},{"1328656327":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328656338, 1328656322, 1328656333, 1328656327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.734156131744385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:28:22.791672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/27/image_13012025_16_27_02_709985_0003.jpg', '/home/pi/Desktop/images/13012025/16/28/image_13012025_16_28_03_073875_0000.jpg', '/home/pi/Desktop/images/13012025/16/28/image_13012025_16_28_03_073875_0001.jpg', '/home/pi/Desktop/images/13012025/16/28/image_13012025_16_28_03_073875_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/27/image_13012025_16_27_02_709985_0003.jpg
/home/pi/Desktop/images/13012025/16/28/image_13012025_16_28_03_073875_0000.jpg
/home/pi/Desktop/images/13012025/16/28/image_13012025_16_28_03_073875_0001.jpg
/home/pi/Desktop/images/13012025/16/28/image_13012025_16_28_03_073875_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328656389","1328656455","1328656463","1328656398"],"photo_ids_order":["1328656389","1328656398","1328656455","1328656463"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4f9290f59567fe88bba1e641b5d3fad7.jpg","text":"TemporaryFile(/tmp/multipartBody5346892939850393408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782172951,"filename":"image_13012025_16_27_02_709985_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aec2e9b10734196d66c7c7bee4c771f0.jpg","text":"TemporaryFile(/tmp/multipartBody1129937942667979964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782172951,"filename":"image_13012025_16_28_03_073875_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2da5b137b2588e5ba261700f368f9cc7.jpg","text":"TemporaryFile(/tmp/multipartBody3203762775646338534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782172951,"filename":"image_13012025_16_28_03_073875_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/06cd598a399c75c1abd6c1c9e9e01fb4.jpg","text":"TemporaryFile(/tmp/multipartBody8687107884602240933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782172951,"filename":"image_13012025_16_28_03_073875_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328656455","file1":"1328656398","file0":"1328656389","file3":"1328656463"},"map_files_photo_id_array":[{"photo_id":"1328656455","filename":"file2"},{"photo_id":"1328656398","filename":"file1"},{"photo_id":"1328656389","filename":"file0"},{"photo_id":"1328656463","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328656389":["hashtag1","hashtag2"]},{"1328656455":["hashtag1","hashtag2"]},{"1328656463":["hashtag1","hashtag2"]},{"1328656398":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328656389, 1328656455, 1328656463, 1328656398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.962616205215454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:29:21.993204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/28/image_13012025_16_28_03_073875_0003.jpg', '/home/pi/Desktop/images/13012025/16/29/image_13012025_16_29_03_155473_0000.jpg', '/home/pi/Desktop/images/13012025/16/29/image_13012025_16_29_03_155473_0001.jpg', '/home/pi/Desktop/images/13012025/16/29/image_13012025_16_29_03_155473_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/28/image_13012025_16_28_03_073875_0003.jpg
/home/pi/Desktop/images/13012025/16/29/image_13012025_16_29_03_155473_0000.jpg
/home/pi/Desktop/images/13012025/16/29/image_13012025_16_29_03_155473_0001.jpg
/home/pi/Desktop/images/13012025/16/29/image_13012025_16_29_03_155473_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328656686","1328656689","1328656531","1328656609"],"photo_ids_order":["1328656531","1328656609","1328656686","1328656689"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d67032daaada1cbde522f8122749f95a.jpg","text":"TemporaryFile(/tmp/multipartBody976691849250093371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782232281,"filename":"image_13012025_16_29_03_155473_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/368072f8f0b2affab8d9c866377f13a1.jpg","text":"TemporaryFile(/tmp/multipartBody4541774539855440327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782232281,"filename":"image_13012025_16_29_03_155473_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/85ea2051f16f1d289c0be12eb1d03dc7.jpg","text":"TemporaryFile(/tmp/multipartBody4308439536703037059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782232281,"filename":"image_13012025_16_28_03_073875_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/48610452163573b73f8cf68eaea379a1.jpg","text":"TemporaryFile(/tmp/multipartBody5940527704890325337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782232281,"filename":"image_13012025_16_29_03_155473_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328656686","file1":"1328656609","file0":"1328656531","file3":"1328656689"},"map_files_photo_id_array":[{"photo_id":"1328656686","filename":"file2"},{"photo_id":"1328656609","filename":"file1"},{"photo_id":"1328656531","filename":"file0"},{"photo_id":"1328656689","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328656686":["hashtag1","hashtag2"]},{"1328656689":["hashtag1","hashtag2"]},{"1328656531":["hashtag1","hashtag2"]},{"1328656609":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328656686, 1328656689, 1328656531, 1328656609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.23633003234863 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:30:22.160347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/29/image_13012025_16_29_03_155473_0003.jpg', '/home/pi/Desktop/images/13012025/16/30/image_13012025_16_30_02_445429_0000.jpg', '/home/pi/Desktop/images/13012025/16/30/image_13012025_16_30_02_445429_0001.jpg', '/home/pi/Desktop/images/13012025/16/30/image_13012025_16_30_02_445429_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/29/image_13012025_16_29_03_155473_0003.jpg
/home/pi/Desktop/images/13012025/16/30/image_13012025_16_30_02_445429_0000.jpg
/home/pi/Desktop/images/13012025/16/30/image_13012025_16_30_02_445429_0001.jpg
/home/pi/Desktop/images/13012025/16/30/image_13012025_16_30_02_445429_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328656713","1328656722","1328656710","1328656718"],"photo_ids_order":["1328656710","1328656713","1328656718","1328656722"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f2ce687db07ab78c71e15ea01bbffb5a.jpg","text":"TemporaryFile(/tmp/multipartBody7802799949672305843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782292374,"filename":"image_13012025_16_30_02_445429_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6fe9ed88bf4f70014c5fe5f3accb59aa.jpg","text":"TemporaryFile(/tmp/multipartBody4557786540921606855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782292374,"filename":"image_13012025_16_30_02_445429_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/66f87dcfddc19e2becfa2a6f352ffb25.jpg","text":"TemporaryFile(/tmp/multipartBody8759719445291667489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782292374,"filename":"image_13012025_16_29_03_155473_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a94661ac878f75f07e5755647e694dfe.jpg","text":"TemporaryFile(/tmp/multipartBody7987745814445464731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782292374,"filename":"image_13012025_16_30_02_445429_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328656718","file1":"1328656713","file0":"1328656710","file3":"1328656722"},"map_files_photo_id_array":[{"photo_id":"1328656718","filename":"file2"},{"photo_id":"1328656713","filename":"file1"},{"photo_id":"1328656710","filename":"file0"},{"photo_id":"1328656722","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328656713":["hashtag1","hashtag2"]},{"1328656722":["hashtag1","hashtag2"]},{"1328656710":["hashtag1","hashtag2"]},{"1328656718":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328656713, 1328656722, 1328656710, 1328656718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.13890504837036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:31:22.304509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/30/image_13012025_16_30_02_445429_0003.jpg', '/home/pi/Desktop/images/13012025/16/31/image_13012025_16_31_02_461812_0000.jpg', '/home/pi/Desktop/images/13012025/16/31/image_13012025_16_31_02_461812_0001.jpg', '/home/pi/Desktop/images/13012025/16/31/image_13012025_16_31_02_461812_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/30/image_13012025_16_30_02_445429_0003.jpg
/home/pi/Desktop/images/13012025/16/31/image_13012025_16_31_02_461812_0000.jpg
/home/pi/Desktop/images/13012025/16/31/image_13012025_16_31_02_461812_0001.jpg
/home/pi/Desktop/images/13012025/16/31/image_13012025_16_31_02_461812_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328656950","1328656833","1328656783","1328656879"],"photo_ids_order":["1328656783","1328656833","1328656879","1328656950"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/422a7f645d9f52f48588acc5c1356970.jpg","text":"TemporaryFile(/tmp/multipartBody1144734357032258404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782352577,"filename":"image_13012025_16_31_02_461812_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/77c295f56c424eeb48de332c8d2c3a51.jpg","text":"TemporaryFile(/tmp/multipartBody724629698681331412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782352577,"filename":"image_13012025_16_31_02_461812_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b73a87dc6df950ba1559b61be8a0c556.jpg","text":"TemporaryFile(/tmp/multipartBody8397485295102031716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782352577,"filename":"image_13012025_16_30_02_445429_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f2d578cc2537861b363c47a82e70b955.jpg","text":"TemporaryFile(/tmp/multipartBody9139293007545994793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782352577,"filename":"image_13012025_16_31_02_461812_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328656879","file1":"1328656833","file0":"1328656783","file3":"1328656950"},"map_files_photo_id_array":[{"photo_id":"1328656879","filename":"file2"},{"photo_id":"1328656833","filename":"file1"},{"photo_id":"1328656783","filename":"file0"},{"photo_id":"1328656950","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328656950":["hashtag1","hashtag2"]},{"1328656833":["hashtag1","hashtag2"]},{"1328656783":["hashtag1","hashtag2"]},{"1328656879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328656950, 1328656833, 1328656783, 1328656879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.08947706222534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:32:22.513147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/31/image_13012025_16_31_02_461812_0003.jpg', '/home/pi/Desktop/images/13012025/16/32/image_13012025_16_32_02_677774_0000.jpg', '/home/pi/Desktop/images/13012025/16/32/image_13012025_16_32_02_677774_0001.jpg', '/home/pi/Desktop/images/13012025/16/32/image_13012025_16_32_02_677774_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/31/image_13012025_16_31_02_461812_0003.jpg
/home/pi/Desktop/images/13012025/16/32/image_13012025_16_32_02_677774_0000.jpg
/home/pi/Desktop/images/13012025/16/32/image_13012025_16_32_02_677774_0001.jpg
/home/pi/Desktop/images/13012025/16/32/image_13012025_16_32_02_677774_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328657121","1328657113","1328657116","1328657110"],"photo_ids_order":["1328657110","1328657113","1328657116","1328657121"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e35a92b16001abbbad2695edc541f9a9.jpg","text":"TemporaryFile(/tmp/multipartBody6557895275372625624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782412772,"filename":"image_13012025_16_32_02_677774_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ae24fed759078cbde4d5435d33251444.jpg","text":"TemporaryFile(/tmp/multipartBody4931199126100299135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782412772,"filename":"image_13012025_16_32_02_677774_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/610782c958999c5524b275e587f16fa6.jpg","text":"TemporaryFile(/tmp/multipartBody8400847335882375927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782412772,"filename":"image_13012025_16_32_02_677774_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/24d58a51ac4fa8ad3bd9313b930f1a0f.jpg","text":"TemporaryFile(/tmp/multipartBody5419017255261386170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782412772,"filename":"image_13012025_16_31_02_461812_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328657116","file1":"1328657113","file0":"1328657110","file3":"1328657121"},"map_files_photo_id_array":[{"photo_id":"1328657116","filename":"file2"},{"photo_id":"1328657113","filename":"file1"},{"photo_id":"1328657110","filename":"file0"},{"photo_id":"1328657121","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328657121":["hashtag1","hashtag2"]},{"1328657113":["hashtag1","hashtag2"]},{"1328657116":["hashtag1","hashtag2"]},{"1328657110":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328657121, 1328657113, 1328657116, 1328657110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.297680139541626 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:33:22.616789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/32/image_13012025_16_32_02_677774_0003.jpg', '/home/pi/Desktop/images/13012025/16/33/image_13012025_16_33_02_856788_0000.jpg', '/home/pi/Desktop/images/13012025/16/33/image_13012025_16_33_02_856788_0001.jpg', '/home/pi/Desktop/images/13012025/16/33/image_13012025_16_33_02_856788_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/32/image_13012025_16_32_02_677774_0003.jpg
/home/pi/Desktop/images/13012025/16/33/image_13012025_16_33_02_856788_0000.jpg
/home/pi/Desktop/images/13012025/16/33/image_13012025_16_33_02_856788_0001.jpg
/home/pi/Desktop/images/13012025/16/33/image_13012025_16_33_02_856788_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328657165","1328657150","1328657137","1328657142"],"photo_ids_order":["1328657137","1328657142","1328657150","1328657165"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/292e5afc15492ba326cd6c26130612ae.jpg","text":"TemporaryFile(/tmp/multipartBody534231330978541672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782472784,"filename":"image_13012025_16_33_02_856788_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1b9d9e6fa320cf52b66b6a9c36e44436.jpg","text":"TemporaryFile(/tmp/multipartBody9047939691312159848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782472784,"filename":"image_13012025_16_33_02_856788_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2dc554a4f18c3b22619206c0c86574d8.jpg","text":"TemporaryFile(/tmp/multipartBody5860851458584858564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782472784,"filename":"image_13012025_16_32_02_677774_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5ebea400bd55025a31637b045bc7dc60.jpg","text":"TemporaryFile(/tmp/multipartBody5113206049966892835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782472784,"filename":"image_13012025_16_33_02_856788_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328657150","file1":"1328657142","file0":"1328657137","file3":"1328657165"},"map_files_photo_id_array":[{"photo_id":"1328657150","filename":"file2"},{"photo_id":"1328657142","filename":"file1"},{"photo_id":"1328657137","filename":"file0"},{"photo_id":"1328657165","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328657165":["hashtag1","hashtag2"]},{"1328657150":["hashtag1","hashtag2"]},{"1328657137":["hashtag1","hashtag2"]},{"1328657142":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328657165, 1328657150, 1328657137, 1328657142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.25125980377197 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:34:22.852494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/33/image_13012025_16_33_02_856788_0003.jpg', '/home/pi/Desktop/images/13012025/16/34/image_13012025_16_34_03_012372_0000.jpg', '/home/pi/Desktop/images/13012025/16/34/image_13012025_16_34_03_012372_0001.jpg', '/home/pi/Desktop/images/13012025/16/34/image_13012025_16_34_03_012372_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/33/image_13012025_16_33_02_856788_0003.jpg
/home/pi/Desktop/images/13012025/16/34/image_13012025_16_34_03_012372_0000.jpg
/home/pi/Desktop/images/13012025/16/34/image_13012025_16_34_03_012372_0001.jpg
/home/pi/Desktop/images/13012025/16/34/image_13012025_16_34_03_012372_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328658062","1328658066","1328658069","1328658063"],"photo_ids_order":["1328658062","1328658063","1328658066","1328658069"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d7239d47d86250bc452ee92c52e28fe6.jpg","text":"TemporaryFile(/tmp/multipartBody3609555537248997728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782533224,"filename":"image_13012025_16_33_02_856788_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2c8d24b1a7c872d3196e3ff17ba96112.jpg","text":"TemporaryFile(/tmp/multipartBody1092732946367244536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782533224,"filename":"image_13012025_16_34_03_012372_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0a045bead8de3abee113c53c54f9fc55.jpg","text":"TemporaryFile(/tmp/multipartBody3494867412448012484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782533224,"filename":"image_13012025_16_34_03_012372_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b19b0f4404bf1386937cd48b688ec52d.jpg","text":"TemporaryFile(/tmp/multipartBody7219624770577175856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782533224,"filename":"image_13012025_16_34_03_012372_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328658066","file1":"1328658063","file0":"1328658062","file3":"1328658069"},"map_files_photo_id_array":[{"photo_id":"1328658066","filename":"file2"},{"photo_id":"1328658063","filename":"file1"},{"photo_id":"1328658062","filename":"file0"},{"photo_id":"1328658069","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328658062":["hashtag1","hashtag2"]},{"1328658066":["hashtag1","hashtag2"]},{"1328658069":["hashtag1","hashtag2"]},{"1328658063":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328658062, 1328658066, 1328658069, 1328658063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.57701110839844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:35:21.909394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/34/image_13012025_16_34_03_012372_0003.jpg', '/home/pi/Desktop/images/13012025/16/35/image_13012025_16_35_03_147535_0000.jpg', '/home/pi/Desktop/images/13012025/16/35/image_13012025_16_35_03_147535_0001.jpg', '/home/pi/Desktop/images/13012025/16/35/image_13012025_16_35_03_147535_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/34/image_13012025_16_34_03_012372_0003.jpg
/home/pi/Desktop/images/13012025/16/35/image_13012025_16_35_03_147535_0000.jpg
/home/pi/Desktop/images/13012025/16/35/image_13012025_16_35_03_147535_0001.jpg
/home/pi/Desktop/images/13012025/16/35/image_13012025_16_35_03_147535_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328658306","1328658356","1328658308","1328658352"],"photo_ids_order":["1328658306","1328658308","1328658352","1328658356"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b168016a7228731e2493ad7d7db5a352.jpg","text":"TemporaryFile(/tmp/multipartBody6894771385040847066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782592126,"filename":"image_13012025_16_34_03_012372_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/94f16c8b4d9da6eba90c56f3d5ae73d6.jpg","text":"TemporaryFile(/tmp/multipartBody3089818326074717853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782592126,"filename":"image_13012025_16_35_03_147535_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c0b102e915b588b58129b8b85a659433.jpg","text":"TemporaryFile(/tmp/multipartBody8222884780619710877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782592126,"filename":"image_13012025_16_35_03_147535_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d3968efa9fad24d145f3ef12e3be5367.jpg","text":"TemporaryFile(/tmp/multipartBody5557999078752287331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782592126,"filename":"image_13012025_16_35_03_147535_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328658352","file1":"1328658308","file0":"1328658306","file3":"1328658356"},"map_files_photo_id_array":[{"photo_id":"1328658352","filename":"file2"},{"photo_id":"1328658308","filename":"file1"},{"photo_id":"1328658306","filename":"file0"},{"photo_id":"1328658356","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328658306":["hashtag1","hashtag2"]},{"1328658356":["hashtag1","hashtag2"]},{"1328658308":["hashtag1","hashtag2"]},{"1328658352":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328658306, 1328658356, 1328658308, 1328658352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.4692268371582 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:36:22.366107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/35/image_13012025_16_35_03_147535_0003.jpg', '/home/pi/Desktop/images/13012025/16/36/image_13012025_16_36_02_256847_0000.jpg', '/home/pi/Desktop/images/13012025/16/36/image_13012025_16_36_02_256847_0001.jpg', '/home/pi/Desktop/images/13012025/16/36/image_13012025_16_36_02_256847_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/35/image_13012025_16_35_03_147535_0003.jpg
/home/pi/Desktop/images/13012025/16/36/image_13012025_16_36_02_256847_0000.jpg
/home/pi/Desktop/images/13012025/16/36/image_13012025_16_36_02_256847_0001.jpg
/home/pi/Desktop/images/13012025/16/36/image_13012025_16_36_02_256847_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328658377","1328658381","1328658399","1328658371"],"photo_ids_order":["1328658371","1328658377","1328658381","1328658399"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b30510f8f18222a783640ca9b14b8449.jpg","text":"TemporaryFile(/tmp/multipartBody5452600636607752683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782661468,"filename":"image_13012025_16_36_02_256847_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1149f3d76b0d31893f4ca69f3c033102.jpg","text":"TemporaryFile(/tmp/multipartBody3794311821201381767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782661468,"filename":"image_13012025_16_36_02_256847_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/33f7040d340afa9de83b1b26519d5bbb.jpg","text":"TemporaryFile(/tmp/multipartBody8822530428918059276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782661468,"filename":"image_13012025_16_36_02_256847_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/01f019b3923b446c67511c40bbd9fb59.jpg","text":"TemporaryFile(/tmp/multipartBody5423672752385326068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782661468,"filename":"image_13012025_16_35_03_147535_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328658381","file1":"1328658377","file0":"1328658371","file3":"1328658399"},"map_files_photo_id_array":[{"photo_id":"1328658381","filename":"file2"},{"photo_id":"1328658377","filename":"file1"},{"photo_id":"1328658371","filename":"file0"},{"photo_id":"1328658399","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328658377":["hashtag1","hashtag2"]},{"1328658381":["hashtag1","hashtag2"]},{"1328658399":["hashtag1","hashtag2"]},{"1328658371":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328658377, 1328658381, 1328658399, 1328658371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 50.448028564453125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:37:22.644401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/36/image_13012025_16_36_02_256847_0003.jpg', '/home/pi/Desktop/images/13012025/16/37/image_13012025_16_37_02_720721_0000.jpg', '/home/pi/Desktop/images/13012025/16/37/image_13012025_16_37_02_720721_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/36/image_13012025_16_36_02_256847_0003.jpg
/home/pi/Desktop/images/13012025/16/37/image_13012025_16_37_02_720721_0000.jpg
/home/pi/Desktop/images/13012025/16/37/image_13012025_16_37_02_720721_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328658482","1328658427","1328658486"],"photo_ids_order":["1328658427","1328658482","1328658486"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a4d7bdfbcd6d60eed3f0f67120f4f576.jpg","text":"TemporaryFile(/tmp/multipartBody7392472951927107981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782710515,"filename":"image_13012025_16_37_02_720721_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fecd252fcca80954eec23f1dc749b06d.jpg","text":"TemporaryFile(/tmp/multipartBody736357798464980239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782710515,"filename":"image_13012025_16_36_02_256847_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f470b970b73d992635f45b14fcaaf748.jpg","text":"TemporaryFile(/tmp/multipartBody6066380288230601598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782710515,"filename":"image_13012025_16_37_02_720721_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328658486","file1":"1328658482","file0":"1328658427"},"map_files_photo_id_array":[{"photo_id":"1328658486","filename":"file2"},{"photo_id":"1328658482","filename":"file1"},{"photo_id":"1328658427","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328658482":["hashtag1","hashtag2"]},{"1328658427":["hashtag1","hashtag2"]},{"1328658486":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328658482, 1328658427, 1328658486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.44518518447876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 16:38:03.133179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:38:22.767882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/37/image_13012025_16_37_02_720721_0003.jpg', '/home/pi/Desktop/images/13012025/16/38/image_13012025_16_38_02_878638_0000.jpg', '/home/pi/Desktop/images/13012025/16/38/image_13012025_16_38_02_878638_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/37/image_13012025_16_37_02_720721_0003.jpg
/home/pi/Desktop/images/13012025/16/38/image_13012025_16_38_02_878638_0000.jpg
/home/pi/Desktop/images/13012025/16/38/image_13012025_16_38_02_878638_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328658554","1328658517","1328658546"],"photo_ids_order":["1328658517","1328658546","1328658554"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d3aa6cece24a2d22c7a48f368ff7c897.jpg","text":"TemporaryFile(/tmp/multipartBody6758496666720832484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782770586,"filename":"image_13012025_16_38_02_878638_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3961fcd8fb00592cab6502d4aa56496f.jpg","text":"TemporaryFile(/tmp/multipartBody2659688358620960031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782770586,"filename":"image_13012025_16_37_02_720721_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f63f7e6dcc821807baf6468de8c410c1.jpg","text":"TemporaryFile(/tmp/multipartBody6643067155256788175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782770586,"filename":"image_13012025_16_38_02_878638_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328658554","file1":"1328658546","file0":"1328658517"},"map_files_photo_id_array":[{"photo_id":"1328658554","filename":"file2"},{"photo_id":"1328658546","filename":"file1"},{"photo_id":"1328658517","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328658554":["hashtag1","hashtag2"]},{"1328658517":["hashtag1","hashtag2"]},{"1328658546":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328658554, 1328658517, 1328658546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.63545036315918 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 16:39:02.557078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:39:21.991605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/38/image_13012025_16_38_02_878638_0003.jpg', '/home/pi/Desktop/images/13012025/16/39/image_13012025_16_39_03_072553_0000.jpg', '/home/pi/Desktop/images/13012025/16/39/image_13012025_16_39_03_072553_0001.jpg', '/home/pi/Desktop/images/13012025/16/39/image_13012025_16_39_03_072553_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/38/image_13012025_16_38_02_878638_0003.jpg
/home/pi/Desktop/images/13012025/16/39/image_13012025_16_39_03_072553_0000.jpg
/home/pi/Desktop/images/13012025/16/39/image_13012025_16_39_03_072553_0001.jpg
/home/pi/Desktop/images/13012025/16/39/image_13012025_16_39_03_072553_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328658704","1328658679","1328658690","1328658684"],"photo_ids_order":["1328658679","1328658684","1328658690","1328658704"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1f9148c9ee7842b44978533bb15ede76.jpg","text":"TemporaryFile(/tmp/multipartBody2771701708585044265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782832288,"filename":"image_13012025_16_39_03_072553_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8957d95d62c55400ff58722c34dc2b74.jpg","text":"TemporaryFile(/tmp/multipartBody8270143628946228775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782832288,"filename":"image_13012025_16_38_02_878638_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9653d73aafbdf0a584f6e9898fe51b3b.jpg","text":"TemporaryFile(/tmp/multipartBody7241604440988016060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782832288,"filename":"image_13012025_16_39_03_072553_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8e93657c3414379dcebb4238d09ff8dd.jpg","text":"TemporaryFile(/tmp/multipartBody1266410855972945093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782832288,"filename":"image_13012025_16_39_03_072553_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328658690","file1":"1328658684","file0":"1328658679","file3":"1328658704"},"map_files_photo_id_array":[{"photo_id":"1328658690","filename":"file2"},{"photo_id":"1328658684","filename":"file1"},{"photo_id":"1328658679","filename":"file0"},{"photo_id":"1328658704","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328658704":["hashtag1","hashtag2"]},{"1328658679":["hashtag1","hashtag2"]},{"1328658690":["hashtag1","hashtag2"]},{"1328658684":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328658704, 1328658679, 1328658690, 1328658684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.24476718902588 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:40:22.181588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/39/image_13012025_16_39_03_072553_0003.jpg', '/home/pi/Desktop/images/13012025/16/40/image_13012025_16_40_02_369585_0000.jpg', '/home/pi/Desktop/images/13012025/16/40/image_13012025_16_40_02_369585_0001.jpg', '/home/pi/Desktop/images/13012025/16/40/image_13012025_16_40_02_369585_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/39/image_13012025_16_39_03_072553_0003.jpg
/home/pi/Desktop/images/13012025/16/40/image_13012025_16_40_02_369585_0000.jpg
/home/pi/Desktop/images/13012025/16/40/image_13012025_16_40_02_369585_0001.jpg
/home/pi/Desktop/images/13012025/16/40/image_13012025_16_40_02_369585_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.916715383529663 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 16:40:42.161269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/39/image_13012025_16_39_03_072553_0003.jpg', '/home/pi/Desktop/images/13012025/16/40/image_13012025_16_40_02_369585_0000.jpg', '/home/pi/Desktop/images/13012025/16/40/image_13012025_16_40_02_369585_0001.jpg', '/home/pi/Desktop/images/13012025/16/40/image_13012025_16_40_02_369585_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/39/image_13012025_16_39_03_072553_0003.jpg
/home/pi/Desktop/images/13012025/16/40/image_13012025_16_40_02_369585_0000.jpg
/home/pi/Desktop/images/13012025/16/40/image_13012025_16_40_02_369585_0001.jpg
/home/pi/Desktop/images/13012025/16/40/image_13012025_16_40_02_369585_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328658752","1328658754","1328658756","1328658750"],"photo_ids_order":["1328658750","1328658752","1328658754","1328658756"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d66b5f360533ba9e5e2750f41cd1b980.jpg","text":"TemporaryFile(/tmp/multipartBody2715168703664281623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782912469,"filename":"image_13012025_16_40_02_369585_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/518758d7469dab549d16a6f5cab55517.jpg","text":"TemporaryFile(/tmp/multipartBody5729748087353431124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782912469,"filename":"image_13012025_16_40_02_369585_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/42b36913ee14af76ee18b7c0506e82ea.jpg","text":"TemporaryFile(/tmp/multipartBody5413713425389638257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782912469,"filename":"image_13012025_16_40_02_369585_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d7ef7193cc5d0cd477c855cb27f3dde6.jpg","text":"TemporaryFile(/tmp/multipartBody3058998627250199772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782912469,"filename":"image_13012025_16_39_03_072553_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328658754","file1":"1328658752","file0":"1328658750","file3":"1328658756"},"map_files_photo_id_array":[{"photo_id":"1328658754","filename":"file2"},{"photo_id":"1328658752","filename":"file1"},{"photo_id":"1328658750","filename":"file0"},{"photo_id":"1328658756","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328658752":["hashtag1","hashtag2"]},{"1328658754":["hashtag1","hashtag2"]},{"1328658756":["hashtag1","hashtag2"]},{"1328658750":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328658752, 1328658754, 1328658756, 1328658750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.583558320999146 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 16:41:32.366784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/40/image_13012025_16_40_02_369585_0003.jpg', '/home/pi/Desktop/images/13012025/16/41/image_13012025_16_41_02_460775_0000.jpg', '/home/pi/Desktop/images/13012025/16/41/image_13012025_16_41_02_460775_0001.jpg', '/home/pi/Desktop/images/13012025/16/41/image_13012025_16_41_02_460775_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/40/image_13012025_16_40_02_369585_0003.jpg
/home/pi/Desktop/images/13012025/16/41/image_13012025_16_41_02_460775_0000.jpg
/home/pi/Desktop/images/13012025/16/41/image_13012025_16_41_02_460775_0001.jpg
/home/pi/Desktop/images/13012025/16/41/image_13012025_16_41_02_460775_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328658769","1328658765","1328658780","1328658774"],"photo_ids_order":["1328658765","1328658769","1328658774","1328658780"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d1b97082f195134c089eda644b29aed1.jpg","text":"TemporaryFile(/tmp/multipartBody6487341116303749127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782962614,"filename":"image_13012025_16_41_02_460775_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fcda77a256bbdf37443cc97d65c02cbc.jpg","text":"TemporaryFile(/tmp/multipartBody3497562219296671365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782962614,"filename":"image_13012025_16_40_02_369585_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fc9852de760791c444cb855c057fa94e.jpg","text":"TemporaryFile(/tmp/multipartBody983272057408079895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782962614,"filename":"image_13012025_16_41_02_460775_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e0a3a333c989a5cb72489297003c1c5f.jpg","text":"TemporaryFile(/tmp/multipartBody7670293308605485522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736782962614,"filename":"image_13012025_16_41_02_460775_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328658774","file1":"1328658769","file0":"1328658765","file3":"1328658780"},"map_files_photo_id_array":[{"photo_id":"1328658774","filename":"file2"},{"photo_id":"1328658769","filename":"file1"},{"photo_id":"1328658765","filename":"file0"},{"photo_id":"1328658780","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328658769":["hashtag1","hashtag2"]},{"1328658765":["hashtag1","hashtag2"]},{"1328658780":["hashtag1","hashtag2"]},{"1328658774":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328658769, 1328658765, 1328658780, 1328658774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.207650899887085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:42:22.558689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/41/image_13012025_16_41_02_460775_0003.jpg', '/home/pi/Desktop/images/13012025/16/42/image_13012025_16_42_02_791266_0000.jpg', '/home/pi/Desktop/images/13012025/16/42/image_13012025_16_42_02_791266_0001.jpg', '/home/pi/Desktop/images/13012025/16/42/image_13012025_16_42_02_791266_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/41/image_13012025_16_41_02_460775_0003.jpg
/home/pi/Desktop/images/13012025/16/42/image_13012025_16_42_02_791266_0000.jpg
/home/pi/Desktop/images/13012025/16/42/image_13012025_16_42_02_791266_0001.jpg
/home/pi/Desktop/images/13012025/16/42/image_13012025_16_42_02_791266_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328658998","1328658985","1328658970","1328658973"],"photo_ids_order":["1328658970","1328658973","1328658985","1328658998"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c6476d63f0836227b0d69c6f73a69c62.jpg","text":"TemporaryFile(/tmp/multipartBody6340960584284196447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783013086,"filename":"image_13012025_16_42_02_791266_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cef67ebe002cba0c88411b325a7f01d2.jpg","text":"TemporaryFile(/tmp/multipartBody3399335884370717825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783013086,"filename":"image_13012025_16_42_02_791266_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f0e94992b5853b73b48b898fdc64f399.jpg","text":"TemporaryFile(/tmp/multipartBody707745724879443977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783013086,"filename":"image_13012025_16_41_02_460775_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ab75ffb42f5445868ecd39a7c6cc69e3.jpg","text":"TemporaryFile(/tmp/multipartBody4980684491985796550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783013086,"filename":"image_13012025_16_42_02_791266_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328658985","file1":"1328658973","file0":"1328658970","file3":"1328658998"},"map_files_photo_id_array":[{"photo_id":"1328658985","filename":"file2"},{"photo_id":"1328658973","filename":"file1"},{"photo_id":"1328658970","filename":"file0"},{"photo_id":"1328658998","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328658998":["hashtag1","hashtag2"]},{"1328658985":["hashtag1","hashtag2"]},{"1328658970":["hashtag1","hashtag2"]},{"1328658973":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328658998, 1328658985, 1328658970, 1328658973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.98030471801758 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:43:22.773396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/42/image_13012025_16_42_02_791266_0003.jpg', '/home/pi/Desktop/images/13012025/16/43/image_13012025_16_43_02_951714_0000.jpg', '/home/pi/Desktop/images/13012025/16/43/image_13012025_16_43_02_951714_0001.jpg', '/home/pi/Desktop/images/13012025/16/43/image_13012025_16_43_02_951714_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/42/image_13012025_16_42_02_791266_0003.jpg
/home/pi/Desktop/images/13012025/16/43/image_13012025_16_43_02_951714_0000.jpg
/home/pi/Desktop/images/13012025/16/43/image_13012025_16_43_02_951714_0001.jpg
/home/pi/Desktop/images/13012025/16/43/image_13012025_16_43_02_951714_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328659016","1328659018","1328659020","1328659014"],"photo_ids_order":["1328659014","1328659016","1328659018","1328659020"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/01e72bb4eb64783b305473bbd7f3b658.jpg","text":"TemporaryFile(/tmp/multipartBody1673060815735733017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783072977,"filename":"image_13012025_16_43_02_951714_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1266e4259ed168a3266a862735ef5c7e.jpg","text":"TemporaryFile(/tmp/multipartBody2365034566124040305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783072977,"filename":"image_13012025_16_43_02_951714_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ac0339ee2ac84cf7d8cab900ffae656f.jpg","text":"TemporaryFile(/tmp/multipartBody2000721338242297045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783072977,"filename":"image_13012025_16_43_02_951714_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c31372d4c01927340c4af7f1ff9bcd75.jpg","text":"TemporaryFile(/tmp/multipartBody6875128573170627369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783072977,"filename":"image_13012025_16_42_02_791266_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328659018","file1":"1328659016","file0":"1328659014","file3":"1328659020"},"map_files_photo_id_array":[{"photo_id":"1328659018","filename":"file2"},{"photo_id":"1328659016","filename":"file1"},{"photo_id":"1328659014","filename":"file0"},{"photo_id":"1328659020","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328659016":["hashtag1","hashtag2"]},{"1328659018":["hashtag1","hashtag2"]},{"1328659020":["hashtag1","hashtag2"]},{"1328659014":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328659016, 1328659018, 1328659020, 1328659014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.39187288284302 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:44:21.946914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/43/image_13012025_16_43_02_951714_0003.jpg', '/home/pi/Desktop/images/13012025/16/44/image_13012025_16_44_03_112144_0001.jpg', '/home/pi/Desktop/images/13012025/16/44/image_13012025_16_44_03_112144_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/43/image_13012025_16_43_02_951714_0003.jpg
/home/pi/Desktop/images/13012025/16/44/image_13012025_16_44_03_112144_0001.jpg
/home/pi/Desktop/images/13012025/16/44/image_13012025_16_44_03_112144_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328659042","1328659044","1328659038"],"photo_ids_order":["1328659038","1328659042","1328659044"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5262a0078f93796c99391ae20323e813.jpg","text":"TemporaryFile(/tmp/multipartBody4742076231640200374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783129707,"filename":"image_13012025_16_44_03_112144_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b56d3b817cf9c48130383ab0f33c5485.jpg","text":"TemporaryFile(/tmp/multipartBody5975614682803319763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783129707,"filename":"image_13012025_16_44_03_112144_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3b31023361b46e962459aaf9e69d8fe3.jpg","text":"TemporaryFile(/tmp/multipartBody3816949836337275017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783129707,"filename":"image_13012025_16_43_02_951714_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328659044","file1":"1328659042","file0":"1328659038"},"map_files_photo_id_array":[{"photo_id":"1328659044","filename":"file2"},{"photo_id":"1328659042","filename":"file1"},{"photo_id":"1328659038","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328659042":["hashtag1","hashtag2"]},{"1328659044":["hashtag1","hashtag2"]},{"1328659038":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328659042, 1328659044, 1328659038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.640448808670044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 16:45:02.521262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:45:22.060438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/44/image_13012025_16_44_03_112144_0003.jpg', '/home/pi/Desktop/images/13012025/16/45/image_13012025_16_45_02_298796_0000.jpg', '/home/pi/Desktop/images/13012025/16/45/image_13012025_16_45_02_298796_0001.jpg', '/home/pi/Desktop/images/13012025/16/45/image_13012025_16_45_02_298796_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/44/image_13012025_16_44_03_112144_0003.jpg
/home/pi/Desktop/images/13012025/16/45/image_13012025_16_45_02_298796_0000.jpg
/home/pi/Desktop/images/13012025/16/45/image_13012025_16_45_02_298796_0001.jpg
/home/pi/Desktop/images/13012025/16/45/image_13012025_16_45_02_298796_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328659244","1328659333","1328659359","1328659391"],"photo_ids_order":["1328659244","1328659333","1328659359","1328659391"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ca7634c5e682b44ede960a58200b63c1.jpg","text":"TemporaryFile(/tmp/multipartBody6570923617875382000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783192167,"filename":"image_13012025_16_44_03_112144_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d5b7ee2f6dffbe1c8ed628fdb33ccf62.jpg","text":"TemporaryFile(/tmp/multipartBody3045258364101866831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783192167,"filename":"image_13012025_16_45_02_298796_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/397667a265cade1b17b93c82746d8c09.jpg","text":"TemporaryFile(/tmp/multipartBody4750950263149920165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783192167,"filename":"image_13012025_16_45_02_298796_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4330d4c700b4498aa73bd3dbc6563248.jpg","text":"TemporaryFile(/tmp/multipartBody8919726937591325228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783192167,"filename":"image_13012025_16_45_02_298796_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328659359","file1":"1328659333","file0":"1328659244","file3":"1328659391"},"map_files_photo_id_array":[{"photo_id":"1328659359","filename":"file2"},{"photo_id":"1328659333","filename":"file1"},{"photo_id":"1328659244","filename":"file0"},{"photo_id":"1328659391","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328659244":["hashtag1","hashtag2"]},{"1328659333":["hashtag1","hashtag2"]},{"1328659359":["hashtag1","hashtag2"]},{"1328659391":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328659244, 1328659333, 1328659359, 1328659391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.86443638801575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 16:46:02.628079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:46:22.144249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/45/image_13012025_16_45_02_298796_0003.jpg', '/home/pi/Desktop/images/13012025/16/46/image_13012025_16_46_02_372778_0000.jpg', '/home/pi/Desktop/images/13012025/16/46/image_13012025_16_46_02_372778_0001.jpg', '/home/pi/Desktop/images/13012025/16/46/image_13012025_16_46_02_372778_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/45/image_13012025_16_45_02_298796_0003.jpg
/home/pi/Desktop/images/13012025/16/46/image_13012025_16_46_02_372778_0000.jpg
/home/pi/Desktop/images/13012025/16/46/image_13012025_16_46_02_372778_0001.jpg
/home/pi/Desktop/images/13012025/16/46/image_13012025_16_46_02_372778_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328659423","1328659420","1328659416","1328659413"],"photo_ids_order":["1328659413","1328659416","1328659420","1328659423"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b899e138d83476dbf8ef796947c1a5be.jpg","text":"TemporaryFile(/tmp/multipartBody8357047627207866168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783252377,"filename":"image_13012025_16_46_02_372778_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/576e149fe680b9c30e288cd0e36e8d0e.jpg","text":"TemporaryFile(/tmp/multipartBody3682416333194661373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783252377,"filename":"image_13012025_16_46_02_372778_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/83226dd5b8765de096c5c29a3eb89bf2.jpg","text":"TemporaryFile(/tmp/multipartBody2544177516163804428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783252377,"filename":"image_13012025_16_46_02_372778_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/be02b41636306669452b91d978c68ebc.jpg","text":"TemporaryFile(/tmp/multipartBody7982056150146342264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783252377,"filename":"image_13012025_16_45_02_298796_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328659420","file1":"1328659416","file0":"1328659413","file3":"1328659423"},"map_files_photo_id_array":[{"photo_id":"1328659420","filename":"file2"},{"photo_id":"1328659416","filename":"file1"},{"photo_id":"1328659413","filename":"file0"},{"photo_id":"1328659423","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328659423":["hashtag1","hashtag2"]},{"1328659420":["hashtag1","hashtag2"]},{"1328659416":["hashtag1","hashtag2"]},{"1328659413":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328659423, 1328659420, 1328659416, 1328659413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.24907374382019 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:47:22.325222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/46/image_13012025_16_46_02_372778_0003.jpg', '/home/pi/Desktop/images/13012025/16/47/image_13012025_16_47_02_477458_0000.jpg', '/home/pi/Desktop/images/13012025/16/47/image_13012025_16_47_02_477458_0001.jpg', '/home/pi/Desktop/images/13012025/16/47/image_13012025_16_47_02_477458_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/46/image_13012025_16_46_02_372778_0003.jpg
/home/pi/Desktop/images/13012025/16/47/image_13012025_16_47_02_477458_0000.jpg
/home/pi/Desktop/images/13012025/16/47/image_13012025_16_47_02_477458_0001.jpg
/home/pi/Desktop/images/13012025/16/47/image_13012025_16_47_02_477458_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328659442","1328659437","1328659446","1328659451"],"photo_ids_order":["1328659437","1328659442","1328659446","1328659451"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/24859871eadc1b931ae8571ebdf7ac6d.jpg","text":"TemporaryFile(/tmp/multipartBody3560960328939201034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783312570,"filename":"image_13012025_16_47_02_477458_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/29aa36364017dabdb4a2c5b8fa8c20db.jpg","text":"TemporaryFile(/tmp/multipartBody6656095393987413522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783312570,"filename":"image_13012025_16_46_02_372778_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f21ae353d6af2d2fa9c65639f5ba9c4f.jpg","text":"TemporaryFile(/tmp/multipartBody4215633473798164463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783312570,"filename":"image_13012025_16_47_02_477458_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/05e8109b1bb00d14349a243350434f86.jpg","text":"TemporaryFile(/tmp/multipartBody8353129208592164983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783312570,"filename":"image_13012025_16_47_02_477458_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328659446","file1":"1328659442","file0":"1328659437","file3":"1328659451"},"map_files_photo_id_array":[{"photo_id":"1328659446","filename":"file2"},{"photo_id":"1328659442","filename":"file1"},{"photo_id":"1328659437","filename":"file0"},{"photo_id":"1328659451","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328659442":["hashtag1","hashtag2"]},{"1328659437":["hashtag1","hashtag2"]},{"1328659446":["hashtag1","hashtag2"]},{"1328659451":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328659442, 1328659437, 1328659446, 1328659451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.62939500808716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:48:22.546628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/47/image_13012025_16_47_02_477458_0003.jpg', '/home/pi/Desktop/images/13012025/16/48/image_13012025_16_48_02_760561_0000.jpg', '/home/pi/Desktop/images/13012025/16/48/image_13012025_16_48_02_760561_0001.jpg', '/home/pi/Desktop/images/13012025/16/48/image_13012025_16_48_02_760561_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/47/image_13012025_16_47_02_477458_0003.jpg
/home/pi/Desktop/images/13012025/16/48/image_13012025_16_48_02_760561_0000.jpg
/home/pi/Desktop/images/13012025/16/48/image_13012025_16_48_02_760561_0001.jpg
/home/pi/Desktop/images/13012025/16/48/image_13012025_16_48_02_760561_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328659612","1328659638","1328659608","1328659619"],"photo_ids_order":["1328659608","1328659612","1328659619","1328659638"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e98d78f6a59b8238a660bc13e72bc967.jpg","text":"TemporaryFile(/tmp/multipartBody7345322209631284676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783372909,"filename":"image_13012025_16_48_02_760561_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/554bed9f66ea6d0b82e80c8aeed75ffa.jpg","text":"TemporaryFile(/tmp/multipartBody3275975228714257392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783372909,"filename":"image_13012025_16_48_02_760561_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/96d67326489fbb21b9bc7f37a954881b.jpg","text":"TemporaryFile(/tmp/multipartBody1255823429890661904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783372909,"filename":"image_13012025_16_47_02_477458_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/60680d7ec8c032ac0d2d48316aadfc84.jpg","text":"TemporaryFile(/tmp/multipartBody4956553072617015976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783372909,"filename":"image_13012025_16_48_02_760561_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328659619","file1":"1328659612","file0":"1328659608","file3":"1328659638"},"map_files_photo_id_array":[{"photo_id":"1328659619","filename":"file2"},{"photo_id":"1328659612","filename":"file1"},{"photo_id":"1328659608","filename":"file0"},{"photo_id":"1328659638","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328659612":["hashtag1","hashtag2"]},{"1328659638":["hashtag1","hashtag2"]},{"1328659608":["hashtag1","hashtag2"]},{"1328659619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328659612, 1328659638, 1328659608, 1328659619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.60889768600464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:49:22.892237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/48/image_13012025_16_48_02_760561_0003.jpg', '/home/pi/Desktop/images/13012025/16/49/image_13012025_16_49_02_962140_0000.jpg', '/home/pi/Desktop/images/13012025/16/49/image_13012025_16_49_02_962140_0001.jpg', '/home/pi/Desktop/images/13012025/16/49/image_13012025_16_49_02_962140_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/48/image_13012025_16_48_02_760561_0003.jpg
/home/pi/Desktop/images/13012025/16/49/image_13012025_16_49_02_962140_0000.jpg
/home/pi/Desktop/images/13012025/16/49/image_13012025_16_49_02_962140_0001.jpg
/home/pi/Desktop/images/13012025/16/49/image_13012025_16_49_02_962140_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328659692","1328659680","1328659688","1328659685"],"photo_ids_order":["1328659680","1328659685","1328659688","1328659692"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9c595e4e11f8d32f7a1cf519b8253642.jpg","text":"TemporaryFile(/tmp/multipartBody4404323377367506010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783433163,"filename":"image_13012025_16_49_02_962140_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9b5584c5377fe3dc9b68cfda5efd7a53.jpg","text":"TemporaryFile(/tmp/multipartBody1938280840338518064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783433163,"filename":"image_13012025_16_48_02_760561_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/834bcdc1f0fcc844c3de94026a21e9dc.jpg","text":"TemporaryFile(/tmp/multipartBody558850924949797144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783433163,"filename":"image_13012025_16_49_02_962140_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d1d24acfbdc384c36f19c4543805a974.jpg","text":"TemporaryFile(/tmp/multipartBody941925748497228936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783433163,"filename":"image_13012025_16_49_02_962140_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328659688","file1":"1328659685","file0":"1328659680","file3":"1328659692"},"map_files_photo_id_array":[{"photo_id":"1328659688","filename":"file2"},{"photo_id":"1328659685","filename":"file1"},{"photo_id":"1328659680","filename":"file0"},{"photo_id":"1328659692","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328659692":["hashtag1","hashtag2"]},{"1328659680":["hashtag1","hashtag2"]},{"1328659688":["hashtag1","hashtag2"]},{"1328659685":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328659692, 1328659680, 1328659688, 1328659685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.01226210594177 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:50:21.956377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/49/image_13012025_16_49_02_962140_0003.jpg', '/home/pi/Desktop/images/13012025/16/50/image_13012025_16_50_03_121971_0000.jpg', '/home/pi/Desktop/images/13012025/16/50/image_13012025_16_50_03_121971_0001.jpg', '/home/pi/Desktop/images/13012025/16/50/image_13012025_16_50_03_121971_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/49/image_13012025_16_49_02_962140_0003.jpg
/home/pi/Desktop/images/13012025/16/50/image_13012025_16_50_03_121971_0000.jpg
/home/pi/Desktop/images/13012025/16/50/image_13012025_16_50_03_121971_0001.jpg
/home/pi/Desktop/images/13012025/16/50/image_13012025_16_50_03_121971_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328659723","1328659717","1328659728","1328659713"],"photo_ids_order":["1328659713","1328659717","1328659723","1328659728"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/acfa889902877bdf97b96e3a894a07ad.jpg","text":"TemporaryFile(/tmp/multipartBody9005504799946841577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783492204,"filename":"image_13012025_16_50_03_121971_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e9f34b6bd488ee9b8fa9a81e0eef43da.jpg","text":"TemporaryFile(/tmp/multipartBody5108101587650298442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783492204,"filename":"image_13012025_16_50_03_121971_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0d23138385adb083f58acb86d65bedfc.jpg","text":"TemporaryFile(/tmp/multipartBody912042912256186569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783492204,"filename":"image_13012025_16_50_03_121971_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b5d1ac01dffff4699cddb126f5fd7d61.jpg","text":"TemporaryFile(/tmp/multipartBody880838945891548478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783492204,"filename":"image_13012025_16_49_02_962140_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328659723","file1":"1328659717","file0":"1328659713","file3":"1328659728"},"map_files_photo_id_array":[{"photo_id":"1328659723","filename":"file2"},{"photo_id":"1328659717","filename":"file1"},{"photo_id":"1328659713","filename":"file0"},{"photo_id":"1328659728","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328659723":["hashtag1","hashtag2"]},{"1328659717":["hashtag1","hashtag2"]},{"1328659728":["hashtag1","hashtag2"]},{"1328659713":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328659723, 1328659717, 1328659728, 1328659713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.557461738586426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:51:22.208888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/50/image_13012025_16_50_03_121971_0003.jpg', '/home/pi/Desktop/images/13012025/16/51/image_13012025_16_51_02_362668_0000.jpg', '/home/pi/Desktop/images/13012025/16/51/image_13012025_16_51_02_362668_0001.jpg', '/home/pi/Desktop/images/13012025/16/51/image_13012025_16_51_02_362668_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/50/image_13012025_16_50_03_121971_0003.jpg
/home/pi/Desktop/images/13012025/16/51/image_13012025_16_51_02_362668_0000.jpg
/home/pi/Desktop/images/13012025/16/51/image_13012025_16_51_02_362668_0001.jpg
/home/pi/Desktop/images/13012025/16/51/image_13012025_16_51_02_362668_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328659811","1328659789","1328659807","1328659764"],"photo_ids_order":["1328659764","1328659789","1328659807","1328659811"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bbbe80646c26d2744ccf270afc1b53f5.jpg","text":"TemporaryFile(/tmp/multipartBody1032842837942453657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783552560,"filename":"image_13012025_16_51_02_362668_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/22c86b79f8fa05ba4e42b8e9da6e38df.jpg","text":"TemporaryFile(/tmp/multipartBody9124101339133276930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783552560,"filename":"image_13012025_16_51_02_362668_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8e4db66132c5de608df79ed106f2f6bf.jpg","text":"TemporaryFile(/tmp/multipartBody6761317127944847410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783552560,"filename":"image_13012025_16_51_02_362668_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8e5019d33802ed22d40fabd88b6bc408.jpg","text":"TemporaryFile(/tmp/multipartBody4990743432275719854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783552560,"filename":"image_13012025_16_50_03_121971_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328659807","file1":"1328659789","file0":"1328659764","file3":"1328659811"},"map_files_photo_id_array":[{"photo_id":"1328659807","filename":"file2"},{"photo_id":"1328659789","filename":"file1"},{"photo_id":"1328659764","filename":"file0"},{"photo_id":"1328659811","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328659811":["hashtag1","hashtag2"]},{"1328659789":["hashtag1","hashtag2"]},{"1328659807":["hashtag1","hashtag2"]},{"1328659764":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328659811, 1328659789, 1328659807, 1328659764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.68134641647339 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:52:22.347921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/51/image_13012025_16_51_02_362668_0003.jpg', '/home/pi/Desktop/images/13012025/16/52/image_13012025_16_52_02_518691_0000.jpg', '/home/pi/Desktop/images/13012025/16/52/image_13012025_16_52_02_518691_0001.jpg', '/home/pi/Desktop/images/13012025/16/52/image_13012025_16_52_02_518691_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/51/image_13012025_16_51_02_362668_0003.jpg
/home/pi/Desktop/images/13012025/16/52/image_13012025_16_52_02_518691_0000.jpg
/home/pi/Desktop/images/13012025/16/52/image_13012025_16_52_02_518691_0001.jpg
/home/pi/Desktop/images/13012025/16/52/image_13012025_16_52_02_518691_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328659870","1328659873","1328659867","1328659877"],"photo_ids_order":["1328659867","1328659870","1328659873","1328659877"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/684ae52e23492f600789a6b2127e1eb7.jpg","text":"TemporaryFile(/tmp/multipartBody9194984666244996725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783613136,"filename":"image_13012025_16_52_02_518691_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bda6a65a37738ab06f096ff19fc1305a.jpg","text":"TemporaryFile(/tmp/multipartBody424520681755628695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783613136,"filename":"image_13012025_16_52_02_518691_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fe89c37f1cf7bebc5dd37f87cbe4a16a.jpg","text":"TemporaryFile(/tmp/multipartBody1680799832712157757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783613136,"filename":"image_13012025_16_51_02_362668_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e1a852c10cf171dd1cd7838c5040f8b6.jpg","text":"TemporaryFile(/tmp/multipartBody4282486088445872529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783613136,"filename":"image_13012025_16_52_02_518691_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328659873","file1":"1328659870","file0":"1328659867","file3":"1328659877"},"map_files_photo_id_array":[{"photo_id":"1328659873","filename":"file2"},{"photo_id":"1328659870","filename":"file1"},{"photo_id":"1328659867","filename":"file0"},{"photo_id":"1328659877","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328659870":["hashtag1","hashtag2"]},{"1328659873":["hashtag1","hashtag2"]},{"1328659867":["hashtag1","hashtag2"]},{"1328659877":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328659870, 1328659873, 1328659867, 1328659877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.33584403991699 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:53:22.611650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/52/image_13012025_16_52_02_518691_0003.jpg', '/home/pi/Desktop/images/13012025/16/53/image_13012025_16_53_02_707549_0000.jpg', '/home/pi/Desktop/images/13012025/16/53/image_13012025_16_53_02_707549_0001.jpg', '/home/pi/Desktop/images/13012025/16/53/image_13012025_16_53_02_707549_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/52/image_13012025_16_52_02_518691_0003.jpg
/home/pi/Desktop/images/13012025/16/53/image_13012025_16_53_02_707549_0000.jpg
/home/pi/Desktop/images/13012025/16/53/image_13012025_16_53_02_707549_0001.jpg
/home/pi/Desktop/images/13012025/16/53/image_13012025_16_53_02_707549_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328660039","1328660071","1328660124","1328660028"],"photo_ids_order":["1328660028","1328660039","1328660071","1328660124"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1ffd2d82b0858d21af0cc3665c684bd7.jpg","text":"TemporaryFile(/tmp/multipartBody4202628674132379463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783672873,"filename":"image_13012025_16_53_02_707549_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/452304adb4f1b3b2fa902dcfddcfb6f0.jpg","text":"TemporaryFile(/tmp/multipartBody7506965824543775358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783672873,"filename":"image_13012025_16_53_02_707549_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e0ee201060eddd33987687df5eab56bb.jpg","text":"TemporaryFile(/tmp/multipartBody8620108815190279954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783672873,"filename":"image_13012025_16_53_02_707549_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d35fbf16dbc48d2233d57e4e8b64dc98.jpg","text":"TemporaryFile(/tmp/multipartBody8165002181735810297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783672873,"filename":"image_13012025_16_52_02_518691_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328660071","file1":"1328660039","file0":"1328660028","file3":"1328660124"},"map_files_photo_id_array":[{"photo_id":"1328660071","filename":"file2"},{"photo_id":"1328660039","filename":"file1"},{"photo_id":"1328660028","filename":"file0"},{"photo_id":"1328660124","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328660039":["hashtag1","hashtag2"]},{"1328660071":["hashtag1","hashtag2"]},{"1328660124":["hashtag1","hashtag2"]},{"1328660028":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328660039, 1328660071, 1328660124, 1328660028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.46797847747803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 16:54:03.186357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:54:22.714562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/53/image_13012025_16_53_02_707549_0003.jpg', '/home/pi/Desktop/images/13012025/16/54/image_13012025_16_54_02_942442_0000.jpg', '/home/pi/Desktop/images/13012025/16/54/image_13012025_16_54_02_942442_0001.jpg', '/home/pi/Desktop/images/13012025/16/54/image_13012025_16_54_02_942442_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/53/image_13012025_16_53_02_707549_0003.jpg
/home/pi/Desktop/images/13012025/16/54/image_13012025_16_54_02_942442_0000.jpg
/home/pi/Desktop/images/13012025/16/54/image_13012025_16_54_02_942442_0001.jpg
/home/pi/Desktop/images/13012025/16/54/image_13012025_16_54_02_942442_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328660189","1328660170","1328660200","1328660163"],"photo_ids_order":["1328660163","1328660170","1328660189","1328660200"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9fb77db8f0a485dbf803dced03c69155.jpg","text":"TemporaryFile(/tmp/multipartBody706174796801642545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783733053,"filename":"image_13012025_16_54_02_942442_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b7c2295aaeb839ecfc6986a78a0af515.jpg","text":"TemporaryFile(/tmp/multipartBody6460680280961895103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783733053,"filename":"image_13012025_16_54_02_942442_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1d4e1fe6fc0055da2b11432bd3346219.jpg","text":"TemporaryFile(/tmp/multipartBody8248882917329500833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783733053,"filename":"image_13012025_16_54_02_942442_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c8fdd00f0e9ae9c6433060a3af7673f2.jpg","text":"TemporaryFile(/tmp/multipartBody4013363588019652054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783733053,"filename":"image_13012025_16_53_02_707549_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328660189","file1":"1328660170","file0":"1328660163","file3":"1328660200"},"map_files_photo_id_array":[{"photo_id":"1328660189","filename":"file2"},{"photo_id":"1328660170","filename":"file1"},{"photo_id":"1328660163","filename":"file0"},{"photo_id":"1328660200","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328660189":["hashtag1","hashtag2"]},{"1328660170":["hashtag1","hashtag2"]},{"1328660200":["hashtag1","hashtag2"]},{"1328660163":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328660189, 1328660170, 1328660200, 1328660163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.82418918609619 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:55:21.959440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/54/image_13012025_16_54_02_942442_0003.jpg', '/home/pi/Desktop/images/13012025/16/55/image_13012025_16_55_03_067587_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/54/image_13012025_16_54_02_942442_0003.jpg
/home/pi/Desktop/images/13012025/16/55/image_13012025_16_55_03_067587_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328660221","1328660215"],"photo_ids_order":["1328660215","1328660221"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bf7ae7d2ad389af044f2f7eeec8b6b5f.jpg","text":"TemporaryFile(/tmp/multipartBody5040024216380228964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783787474,"filename":"image_13012025_16_55_03_067587_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a0f462476078e64b728a8a4b69ae9ffb.jpg","text":"TemporaryFile(/tmp/multipartBody8481411508660003645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783787474,"filename":"image_13012025_16_54_02_942442_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328660221","file0":"1328660215"},"map_files_photo_id_array":[{"photo_id":"1328660221","filename":"file1"},{"photo_id":"1328660215","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328660221":["hashtag1","hashtag2"]},{"1328660215":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328660221, 1328660215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 27.03286862373352 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 16:55:51.935473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 16:56:02.527904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:56:22.137226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/55/image_13012025_16_55_03_067587_0003.jpg', '/home/pi/Desktop/images/13012025/16/56/image_13012025_16_56_02_299995_0000.jpg', '/home/pi/Desktop/images/13012025/16/56/image_13012025_16_56_02_299995_0001.jpg', '/home/pi/Desktop/images/13012025/16/56/image_13012025_16_56_02_299995_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/55/image_13012025_16_55_03_067587_0003.jpg
/home/pi/Desktop/images/13012025/16/56/image_13012025_16_56_02_299995_0000.jpg
/home/pi/Desktop/images/13012025/16/56/image_13012025_16_56_02_299995_0001.jpg
/home/pi/Desktop/images/13012025/16/56/image_13012025_16_56_02_299995_0002.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328660345","1328660341","1328660326","1328660335"],"photo_ids_order":["1328660326","1328660335","1328660341","1328660345"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/30b1f270ad4f9e08a1310b05f91040a7.jpg","text":"TemporaryFile(/tmp/multipartBody7460423879357376635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783852345,"filename":"image_13012025_16_56_02_299995_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/33cc704da6789be0f28a65d501c1c4e8.jpg","text":"TemporaryFile(/tmp/multipartBody3344139255751794412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783852345,"filename":"image_13012025_16_56_02_299995_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9887a7fc62ca7f6f103e840762a6a52b.jpg","text":"TemporaryFile(/tmp/multipartBody3368543833267955779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783852345,"filename":"image_13012025_16_55_03_067587_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/23fd75154b8473a1e8c0a358d78a629a.jpg","text":"TemporaryFile(/tmp/multipartBody1445434923556208519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736783852345,"filename":"image_13012025_16_56_02_299995_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328660341","file1":"1328660335","file0":"1328660326","file3":"1328660345"},"map_files_photo_id_array":[{"photo_id":"1328660341","filename":"file2"},{"photo_id":"1328660335","filename":"file1"},{"photo_id":"1328660326","filename":"file0"},{"photo_id":"1328660345","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328660345":["hashtag1","hashtag2"]},{"1328660341":["hashtag1","hashtag2"]},{"1328660326":["hashtag1","hashtag2"]},{"1328660335":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328660345, 1328660341, 1328660326, 1328660335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 62.04378414154053 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 16:57:32.343587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/56/image_13012025_16_56_02_299995_0003.jpg', '/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_02_499278_0000.jpg', '/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_02_499278_0001.jpg', '/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_02_499278_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/56/image_13012025_16_56_02_299995_0003.jpg
/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_02_499278_0000.jpg
/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_02_499278_0001.jpg
/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_02_499278_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 16:59:03.366785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/56/image_13012025_16_56_02_299995_0003.jpg', '/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_02_499278_0000.jpg', '/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_02_499278_0001.jpg', '/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_02_499278_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/56/image_13012025_16_56_02_299995_0003.jpg
/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_02_499278_0000.jpg
/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_02_499278_0001.jpg
/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_02_499278_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.090747594833374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 16:59:22.659343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/56/image_13012025_16_56_02_299995_0003.jpg', '/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_02_499278_0000.jpg', '/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_02_499278_0001.jpg', '/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_02_499278_0002.jpg', '/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_02_499278_0003.jpg', '/home/pi/Desktop/images/13012025/16/58/image_13012025_16_58_02_748407_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/56/image_13012025_16_56_02_299995_0003.jpg
/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_02_499278_0000.jpg
/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_02_499278_0001.jpg
/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_02_499278_0002.jpg
/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_02_499278_0003.jpg
/home/pi/Desktop/images/13012025/16/58/image_13012025_16_58_02_748407_0000.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328660456","1328660459","1328660451","1328660454","1328660448","1328660442"],"photo_ids_order":["1328660442","1328660448","1328660451","1328660454","1328660456","1328660459"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4e67d0a67f1fdcd8e5f52bf66ff23873.jpg","text":"TemporaryFile(/tmp/multipartBody4017317657942689282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784037875,"filename":"image_13012025_16_57_02_499278_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8daf6a4017393c83736f5029ceaca0c8.jpg","text":"TemporaryFile(/tmp/multipartBody1648151174987709361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784037875,"filename":"image_13012025_16_58_02_748407_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f84ff8cc6c795b18b2ca46f516b414dc.jpg","text":"TemporaryFile(/tmp/multipartBody5806216031809260841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784037875,"filename":"image_13012025_16_57_02_499278_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/441208f3d07edfdfe019eb93cd8597c4.jpg","text":"TemporaryFile(/tmp/multipartBody8164850388625148855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784037875,"filename":"image_13012025_16_57_02_499278_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2f5d81aba2d794093a592a0e38934668.jpg","text":"TemporaryFile(/tmp/multipartBody3409765379254417064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784037875,"filename":"image_13012025_16_57_02_499278_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/23b0c7f0af620503d408cddcadb380a6.jpg","text":"TemporaryFile(/tmp/multipartBody6085866612298605568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784037875,"filename":"image_13012025_16_56_02_299995_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328660451","file1":"1328660448","file0":"1328660442","file4":"1328660456","file5":"1328660459","file3":"1328660454"},"map_files_photo_id_array":[{"photo_id":"1328660459","filename":"file5"},{"photo_id":"1328660451","filename":"file2"},{"photo_id":"1328660456","filename":"file4"},{"photo_id":"1328660448","filename":"file1"},{"photo_id":"1328660442","filename":"file0"},{"photo_id":"1328660454","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328660456":["hashtag1","hashtag2"]},{"1328660459":["hashtag1","hashtag2"]},{"1328660451":["hashtag1","hashtag2"]},{"1328660454":["hashtag1","hashtag2"]},{"1328660448":["hashtag1","hashtag2"]},{"1328660442":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328660456, 1328660459, 1328660451, 1328660454, 1328660448, 1328660442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.92526459693909 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 17:00:31.913201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/58/image_13012025_16_58_02_748407_0001.jpg', '/home/pi/Desktop/images/13012025/16/58/image_13012025_16_58_02_748407_0002.jpg', '/home/pi/Desktop/images/13012025/16/59/image_13012025_16_59_02_892084_0000.jpg', '/home/pi/Desktop/images/13012025/16/59/image_13012025_16_59_02_892084_0001.jpg', '/home/pi/Desktop/images/13012025/16/59/image_13012025_16_59_02_892084_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/16/58/image_13012025_16_58_02_748407_0001.jpg
/home/pi/Desktop/images/13012025/16/58/image_13012025_16_58_02_748407_0002.jpg
/home/pi/Desktop/images/13012025/16/59/image_13012025_16_59_02_892084_0000.jpg
/home/pi/Desktop/images/13012025/16/59/image_13012025_16_59_02_892084_0001.jpg
/home/pi/Desktop/images/13012025/16/59/image_13012025_16_59_02_892084_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328660510","1328660621","1328660593","1328660532","1328660517"],"photo_ids_order":["1328660510","1328660517","1328660532","1328660593","1328660621"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d3e207ff7601a9f827170976979e4fb1.jpg","text":"TemporaryFile(/tmp/multipartBody8322957189663742855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784104323,"filename":"image_13012025_16_58_02_748407_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5de5477ba7701e97bd4ff767ac94d177.jpg","text":"TemporaryFile(/tmp/multipartBody3418031563709033588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784104323,"filename":"image_13012025_16_59_02_892084_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/23cdfb4bfc0a6338bee743a1ae8d3bbb.jpg","text":"TemporaryFile(/tmp/multipartBody907204460110233124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784104323,"filename":"image_13012025_16_59_02_892084_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bf774d1a51763c9013db22b3eb7d2dcd.jpg","text":"TemporaryFile(/tmp/multipartBody9155081626968303792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784104323,"filename":"image_13012025_16_59_02_892084_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/271bc97d0e183a5b1379ffba7929eaea.jpg","text":"TemporaryFile(/tmp/multipartBody1733102817437231144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784104323,"filename":"image_13012025_16_58_02_748407_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328660532","file1":"1328660517","file0":"1328660510","file4":"1328660621","file3":"1328660593"},"map_files_photo_id_array":[{"photo_id":"1328660532","filename":"file2"},{"photo_id":"1328660621","filename":"file4"},{"photo_id":"1328660517","filename":"file1"},{"photo_id":"1328660510","filename":"file0"},{"photo_id":"1328660593","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328660510":["hashtag1","hashtag2"]},{"1328660621":["hashtag1","hashtag2"]},{"1328660593":["hashtag1","hashtag2"]},{"1328660532":["hashtag1","hashtag2"]},{"1328660517":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328660510, 1328660621, 1328660593, 1328660532, 1328660517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 51.20106053352356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 17:01:32.107516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/00/image_13012025_17_00_03_191551_0000.jpg', '/home/pi/Desktop/images/13012025/17/01/image_13012025_17_01_02_265189_0000.jpg', '/home/pi/Desktop/images/13012025/17/01/image_13012025_17_01_02_265189_0001.jpg', '/home/pi/Desktop/images/13012025/17/01/image_13012025_17_01_02_265189_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/00/image_13012025_17_00_03_191551_0000.jpg
/home/pi/Desktop/images/13012025/17/01/image_13012025_17_01_02_265189_0000.jpg
/home/pi/Desktop/images/13012025/17/01/image_13012025_17_01_02_265189_0001.jpg
/home/pi/Desktop/images/13012025/17/01/image_13012025_17_01_02_265189_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328660762","1328660750","1328660757","1328660745"],"photo_ids_order":["1328660745","1328660750","1328660757","1328660762"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/85ae1c215c5391fadecc72410774257d.jpg","text":"TemporaryFile(/tmp/multipartBody8103997697951163092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784162087,"filename":"image_13012025_17_01_02_265189_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7dd6f3a18973f5c16c2e903ae88c456a.jpg","text":"TemporaryFile(/tmp/multipartBody4846680112608859785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784162087,"filename":"image_13012025_17_01_02_265189_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6fea9d362ca890deefcc09c9eff3006d.jpg","text":"TemporaryFile(/tmp/multipartBody2303194459636957146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784162087,"filename":"image_13012025_17_01_02_265189_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/079e1eb2e5d2625523c91918bb4ed395.jpg","text":"TemporaryFile(/tmp/multipartBody2595881365348915818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784162087,"filename":"image_13012025_17_00_03_191551_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328660757","file1":"1328660750","file0":"1328660745","file3":"1328660762"},"map_files_photo_id_array":[{"photo_id":"1328660757","filename":"file2"},{"photo_id":"1328660750","filename":"file1"},{"photo_id":"1328660745","filename":"file0"},{"photo_id":"1328660762","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328660762":["hashtag1","hashtag2"]},{"1328660750":["hashtag1","hashtag2"]},{"1328660757":["hashtag1","hashtag2"]},{"1328660745":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328660762, 1328660750, 1328660757, 1328660745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.84289884567261 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:02:22.415390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/01/image_13012025_17_01_02_265189_0003.jpg', '/home/pi/Desktop/images/13012025/17/02/image_13012025_17_02_02_517054_0000.jpg', '/home/pi/Desktop/images/13012025/17/02/image_13012025_17_02_02_517054_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/01/image_13012025_17_01_02_265189_0003.jpg
/home/pi/Desktop/images/13012025/17/02/image_13012025_17_02_02_517054_0000.jpg
/home/pi/Desktop/images/13012025/17/02/image_13012025_17_02_02_517054_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328660776","1328660781","1328660786"],"photo_ids_order":["1328660776","1328660781","1328660786"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e7f26d39e5d8e9edd2806253ad7d2948.jpg","text":"TemporaryFile(/tmp/multipartBody2962843284989335716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784210126,"filename":"image_13012025_17_01_02_265189_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ec59e4e80120869f1a74ddb325f1bc29.jpg","text":"TemporaryFile(/tmp/multipartBody2746952623388356991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784210126,"filename":"image_13012025_17_02_02_517054_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/67014c8fdc4c24e1f595c29526395eab.jpg","text":"TemporaryFile(/tmp/multipartBody5063455407415941834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784210126,"filename":"image_13012025_17_02_02_517054_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328660786","file1":"1328660781","file0":"1328660776"},"map_files_photo_id_array":[{"photo_id":"1328660786","filename":"file2"},{"photo_id":"1328660781","filename":"file1"},{"photo_id":"1328660776","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328660776":["hashtag1","hashtag2"]},{"1328660781":["hashtag1","hashtag2"]},{"1328660786":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328660776, 1328660781, 1328660786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.73271870613098 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:03:03.100499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:03:22.587958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/02/image_13012025_17_02_02_517054_0002.jpg', '/home/pi/Desktop/images/13012025/17/03/image_13012025_17_03_02_686135_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/02/image_13012025_17_02_02_517054_0002.jpg
/home/pi/Desktop/images/13012025/17/03/image_13012025_17_03_02_686135_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328661400","1328661396"],"photo_ids_order":["1328661396","1328661400"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8cf616df1b813f9b4b623e2e8fc09733.jpg","text":"TemporaryFile(/tmp/multipartBody706330659106993191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784267882,"filename":"image_13012025_17_03_02_686135_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/811278a843b6962763604ba30a085b04.jpg","text":"TemporaryFile(/tmp/multipartBody6378652124205556954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784267882,"filename":"image_13012025_17_02_02_517054_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328661400","file0":"1328661396"},"map_files_photo_id_array":[{"photo_id":"1328661400","filename":"file1"},{"photo_id":"1328661396","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328661400":["hashtag1","hashtag2"]},{"1328661396":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328661400, 1328661396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.638953685760498 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 17:03:52.557445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:04:03.174660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:04:22.780893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/03/image_13012025_17_03_02_686135_0002.jpg', '/home/pi/Desktop/images/13012025/17/04/image_13012025_17_04_02_947387_0000.jpg', '/home/pi/Desktop/images/13012025/17/04/image_13012025_17_04_02_947387_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/03/image_13012025_17_03_02_686135_0002.jpg
/home/pi/Desktop/images/13012025/17/04/image_13012025_17_04_02_947387_0000.jpg
/home/pi/Desktop/images/13012025/17/04/image_13012025_17_04_02_947387_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328661794","1328661791","1328661770"],"photo_ids_order":["1328661770","1328661791","1328661794"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4b6089a57d823988cbbdc912b8a5f30b.jpg","text":"TemporaryFile(/tmp/multipartBody6901457856050280353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784330439,"filename":"image_13012025_17_04_02_947387_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3177714b117583df08f57624bf751284.jpg","text":"TemporaryFile(/tmp/multipartBody4638620446124798146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784330439,"filename":"image_13012025_17_04_02_947387_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/09e05424ea9e68e3e9bd1e767c87a0d6.jpg","text":"TemporaryFile(/tmp/multipartBody3275124684892071695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784330439,"filename":"image_13012025_17_03_02_686135_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328661794","file1":"1328661791","file0":"1328661770"},"map_files_photo_id_array":[{"photo_id":"1328661794","filename":"file2"},{"photo_id":"1328661791","filename":"file1"},{"photo_id":"1328661770","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328661794":["hashtag1","hashtag2"]},{"1328661791":["hashtag1","hashtag2"]},{"1328661770":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328661794, 1328661791, 1328661770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.95898985862732 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:05:02.604257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:05:21.934823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/04/image_13012025_17_04_02_947387_0003.jpg', '/home/pi/Desktop/images/13012025/17/05/image_13012025_17_05_03_090918_0001.jpg', '/home/pi/Desktop/images/13012025/17/05/image_13012025_17_05_03_090918_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/04/image_13012025_17_04_02_947387_0003.jpg
/home/pi/Desktop/images/13012025/17/05/image_13012025_17_05_03_090918_0001.jpg
/home/pi/Desktop/images/13012025/17/05/image_13012025_17_05_03_090918_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.25592303276062 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 17:05:31.936752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/04/image_13012025_17_04_02_947387_0003.jpg', '/home/pi/Desktop/images/13012025/17/05/image_13012025_17_05_03_090918_0001.jpg', '/home/pi/Desktop/images/13012025/17/05/image_13012025_17_05_03_090918_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/04/image_13012025_17_04_02_947387_0003.jpg
/home/pi/Desktop/images/13012025/17/05/image_13012025_17_05_03_090918_0001.jpg
/home/pi/Desktop/images/13012025/17/05/image_13012025_17_05_03_090918_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328661841","1328661846","1328661837"],"photo_ids_order":["1328661837","1328661841","1328661846"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1087b523c5d78c6ebd1e76061e01be90.jpg","text":"TemporaryFile(/tmp/multipartBody6864012025362263737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784399586,"filename":"image_13012025_17_05_03_090918_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8656692982995439623d5a03033c9e6a.jpg","text":"TemporaryFile(/tmp/multipartBody8416821672180285218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784399586,"filename":"image_13012025_17_05_03_090918_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c466b1b2d5530555ef20db3149e84760.jpg","text":"TemporaryFile(/tmp/multipartBody4700282303916716618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784399586,"filename":"image_13012025_17_04_02_947387_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328661846","file1":"1328661841","file0":"1328661837"},"map_files_photo_id_array":[{"photo_id":"1328661846","filename":"file2"},{"photo_id":"1328661841","filename":"file1"},{"photo_id":"1328661837","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328661841":["hashtag1","hashtag2"]},{"1328661846":["hashtag1","hashtag2"]},{"1328661837":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328661841, 1328661846, 1328661837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.332065105438232 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:06:22.126213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/05/image_13012025_17_05_03_090918_0003.jpg', '/home/pi/Desktop/images/13012025/17/06/image_13012025_17_06_02_329410_0000.jpg', '/home/pi/Desktop/images/13012025/17/06/image_13012025_17_06_02_329410_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/05/image_13012025_17_05_03_090918_0003.jpg
/home/pi/Desktop/images/13012025/17/06/image_13012025_17_06_02_329410_0000.jpg
/home/pi/Desktop/images/13012025/17/06/image_13012025_17_06_02_329410_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328662041","1328662055","1328662043"],"photo_ids_order":["1328662041","1328662043","1328662055"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ecbaab15ff5a92c81e809d350ae31608.jpg","text":"TemporaryFile(/tmp/multipartBody5844173838549678331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784449785,"filename":"image_13012025_17_05_03_090918_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/57224a2b827f9ddce5ab09bb80fc7194.jpg","text":"TemporaryFile(/tmp/multipartBody8011666841693164180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784449785,"filename":"image_13012025_17_06_02_329410_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/083688aa3ca6918fd8cfe1ba5d10aeee.jpg","text":"TemporaryFile(/tmp/multipartBody7030292190357203171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784449785,"filename":"image_13012025_17_06_02_329410_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328662055","file1":"1328662043","file0":"1328662041"},"map_files_photo_id_array":[{"photo_id":"1328662055","filename":"file2"},{"photo_id":"1328662043","filename":"file1"},{"photo_id":"1328662041","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328662041":["hashtag1","hashtag2"]},{"1328662055":["hashtag1","hashtag2"]},{"1328662043":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328662041, 1328662055, 1328662043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.84110426902771 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:07:02.966754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:07:22.315245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/06/image_13012025_17_06_02_329410_0003.jpg', '/home/pi/Desktop/images/13012025/17/07/image_13012025_17_07_02_472154_0000.jpg', '/home/pi/Desktop/images/13012025/17/07/image_13012025_17_07_02_472154_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/06/image_13012025_17_06_02_329410_0003.jpg
/home/pi/Desktop/images/13012025/17/07/image_13012025_17_07_02_472154_0000.jpg
/home/pi/Desktop/images/13012025/17/07/image_13012025_17_07_02_472154_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328662254","1328662227","1328662250"],"photo_ids_order":["1328662227","1328662250","1328662254"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cc4175deec9b14d712f210d49bbd69df.jpg","text":"TemporaryFile(/tmp/multipartBody4328113247014858834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784509931,"filename":"image_13012025_17_07_02_472154_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/43c34c1465c886bb9fc500231a308baf.jpg","text":"TemporaryFile(/tmp/multipartBody5340922560180533963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784509931,"filename":"image_13012025_17_06_02_329410_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2bde02ec3639e999fd2d7e64906ad9ce.jpg","text":"TemporaryFile(/tmp/multipartBody2345157863097066385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784509931,"filename":"image_13012025_17_07_02_472154_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328662254","file1":"1328662250","file0":"1328662227"},"map_files_photo_id_array":[{"photo_id":"1328662254","filename":"file2"},{"photo_id":"1328662250","filename":"file1"},{"photo_id":"1328662227","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328662254":["hashtag1","hashtag2"]},{"1328662227":["hashtag1","hashtag2"]},{"1328662250":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328662254, 1328662227, 1328662250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.121904611587524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:08:02.882745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:08:22.494297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/07/image_13012025_17_07_02_472154_0003.jpg', '/home/pi/Desktop/images/13012025/17/08/image_13012025_17_08_02_667404_0000.jpg', '/home/pi/Desktop/images/13012025/17/08/image_13012025_17_08_02_667404_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/07/image_13012025_17_07_02_472154_0003.jpg
/home/pi/Desktop/images/13012025/17/08/image_13012025_17_08_02_667404_0000.jpg
/home/pi/Desktop/images/13012025/17/08/image_13012025_17_08_02_667404_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328662290","1328662296","1328662292"],"photo_ids_order":["1328662290","1328662292","1328662296"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/efcc5abfe61e808468103670eaa182bf.jpg","text":"TemporaryFile(/tmp/multipartBody6455662158749231471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784570151,"filename":"image_13012025_17_07_02_472154_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1705dfae87ee5f20782f6fe961aa8fe8.jpg","text":"TemporaryFile(/tmp/multipartBody5957656148980704009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784570151,"filename":"image_13012025_17_08_02_667404_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/82d0998acc37c70688a738d2ec25cf92.jpg","text":"TemporaryFile(/tmp/multipartBody4756711932406549049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784570151,"filename":"image_13012025_17_08_02_667404_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328662296","file1":"1328662292","file0":"1328662290"},"map_files_photo_id_array":[{"photo_id":"1328662296","filename":"file2"},{"photo_id":"1328662292","filename":"file1"},{"photo_id":"1328662290","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328662290":["hashtag1","hashtag2"]},{"1328662296":["hashtag1","hashtag2"]},{"1328662292":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328662290, 1328662296, 1328662292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.85352611541748 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:09:03.291064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:09:22.633456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/08/image_13012025_17_08_02_667404_0002.jpg', '/home/pi/Desktop/images/13012025/17/09/image_13012025_17_09_02_900148_0000.jpg', '/home/pi/Desktop/images/13012025/17/09/image_13012025_17_09_02_900148_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/08/image_13012025_17_08_02_667404_0002.jpg
/home/pi/Desktop/images/13012025/17/09/image_13012025_17_09_02_900148_0000.jpg
/home/pi/Desktop/images/13012025/17/09/image_13012025_17_09_02_900148_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328662336","1328662332","1328662381"],"photo_ids_order":["1328662332","1328662336","1328662381"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9a450f792b229b41599fa5f1de92f6de.jpg","text":"TemporaryFile(/tmp/multipartBody4157387937815101492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784630293,"filename":"image_13012025_17_09_02_900148_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4077d51c44ab338380a1d060b86e2b89.jpg","text":"TemporaryFile(/tmp/multipartBody1200278154618727765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784630293,"filename":"image_13012025_17_08_02_667404_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5e524aae587cea188b8a8c72871329e0.jpg","text":"TemporaryFile(/tmp/multipartBody6565630450344235622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784630293,"filename":"image_13012025_17_09_02_900148_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328662381","file1":"1328662336","file0":"1328662332"},"map_files_photo_id_array":[{"photo_id":"1328662381","filename":"file2"},{"photo_id":"1328662336","filename":"file1"},{"photo_id":"1328662332","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328662336":["hashtag1","hashtag2"]},{"1328662332":["hashtag1","hashtag2"]},{"1328662381":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328662336, 1328662332, 1328662381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.48588275909424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:10:02.265851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:10:21.813718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/09/image_13012025_17_09_02_900148_0003.jpg', '/home/pi/Desktop/images/13012025/17/10/image_13012025_17_10_02_950004_0000.jpg', '/home/pi/Desktop/images/13012025/17/10/image_13012025_17_10_02_950004_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/09/image_13012025_17_09_02_900148_0003.jpg
/home/pi/Desktop/images/13012025/17/10/image_13012025_17_10_02_950004_0000.jpg
/home/pi/Desktop/images/13012025/17/10/image_13012025_17_10_02_950004_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.254576683044434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 17:10:31.842319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/09/image_13012025_17_09_02_900148_0003.jpg', '/home/pi/Desktop/images/13012025/17/10/image_13012025_17_10_02_950004_0000.jpg', '/home/pi/Desktop/images/13012025/17/10/image_13012025_17_10_02_950004_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/09/image_13012025_17_09_02_900148_0003.jpg
/home/pi/Desktop/images/13012025/17/10/image_13012025_17_10_02_950004_0000.jpg
/home/pi/Desktop/images/13012025/17/10/image_13012025_17_10_02_950004_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328662470","1328662443","1328662439"],"photo_ids_order":["1328662439","1328662443","1328662470"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6b1fef427dd6a8381219be2163ee3ec6.jpg","text":"TemporaryFile(/tmp/multipartBody3117382944142485265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784699498,"filename":"image_13012025_17_10_02_950004_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b1cd30195517d99348de058cc1f2e984.jpg","text":"TemporaryFile(/tmp/multipartBody4776914117227086699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784699498,"filename":"image_13012025_17_10_02_950004_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2595c5a7113ec1851e572838ff9d1cf1.jpg","text":"TemporaryFile(/tmp/multipartBody4518872668174085893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784699498,"filename":"image_13012025_17_09_02_900148_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328662470","file1":"1328662443","file0":"1328662439"},"map_files_photo_id_array":[{"photo_id":"1328662470","filename":"file2"},{"photo_id":"1328662443","filename":"file1"},{"photo_id":"1328662439","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328662470":["hashtag1","hashtag2"]},{"1328662443":["hashtag1","hashtag2"]},{"1328662439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328662470, 1328662443, 1328662439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.329718351364136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:11:21.985710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/10/image_13012025_17_10_02_950004_0003.jpg', '/home/pi/Desktop/images/13012025/17/11/image_13012025_17_11_02_242669_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/10/image_13012025_17_10_02_950004_0003.jpg
/home/pi/Desktop/images/13012025/17/11/image_13012025_17_11_02_242669_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328662527","1328662529"],"photo_ids_order":["1328662527","1328662529"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/764af533f6c4f628a99449cf9bbde365.jpg","text":"TemporaryFile(/tmp/multipartBody2605692210955120112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784747298,"filename":"image_13012025_17_10_02_950004_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6934e8fe5871b5551cd650bb07dd2334.jpg","text":"TemporaryFile(/tmp/multipartBody3734428962770022426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784747298,"filename":"image_13012025_17_11_02_242669_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328662529","file0":"1328662527"},"map_files_photo_id_array":[{"photo_id":"1328662529","filename":"file1"},{"photo_id":"1328662527","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328662527":["hashtag1","hashtag2"]},{"1328662529":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328662527, 1328662529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.570216178894043 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 17:11:51.952357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:12:02.658654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:12:22.162712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/11/image_13012025_17_11_02_242669_0003.jpg', '/home/pi/Desktop/images/13012025/17/12/image_13012025_17_12_02_333061_0000.jpg', '/home/pi/Desktop/images/13012025/17/12/image_13012025_17_12_02_333061_0001.jpg', '/home/pi/Desktop/images/13012025/17/12/image_13012025_17_12_02_333061_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/11/image_13012025_17_11_02_242669_0003.jpg
/home/pi/Desktop/images/13012025/17/12/image_13012025_17_12_02_333061_0000.jpg
/home/pi/Desktop/images/13012025/17/12/image_13012025_17_12_02_333061_0001.jpg
/home/pi/Desktop/images/13012025/17/12/image_13012025_17_12_02_333061_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328662762","1328662639","1328662627","1328662755"],"photo_ids_order":["1328662627","1328662639","1328662755","1328662762"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7e9e18320117fe143a5ca13f9c9c7ca0.jpg","text":"TemporaryFile(/tmp/multipartBody6855171133824270610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784812181,"filename":"image_13012025_17_12_02_333061_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5b1e2a83db252f88491d2e191dbf35bc.jpg","text":"TemporaryFile(/tmp/multipartBody75021445882418094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784812181,"filename":"image_13012025_17_12_02_333061_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6d5b5e5275e81b4f34c4930667dd280a.jpg","text":"TemporaryFile(/tmp/multipartBody4089265574644173704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784812181,"filename":"image_13012025_17_11_02_242669_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/46edcde7ec4766c40c196c027f796e2e.jpg","text":"TemporaryFile(/tmp/multipartBody6245516261004599832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784812181,"filename":"image_13012025_17_12_02_333061_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328662755","file1":"1328662639","file0":"1328662627","file3":"1328662762"},"map_files_photo_id_array":[{"photo_id":"1328662755","filename":"file2"},{"photo_id":"1328662639","filename":"file1"},{"photo_id":"1328662627","filename":"file0"},{"photo_id":"1328662762","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328662762":["hashtag1","hashtag2"]},{"1328662639":["hashtag1","hashtag2"]},{"1328662627":["hashtag1","hashtag2"]},{"1328662755":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328662762, 1328662639, 1328662627, 1328662755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.54257035255432 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:13:02.959763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:13:22.320549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/12/image_13012025_17_12_02_333061_0003.jpg', '/home/pi/Desktop/images/13012025/17/13/image_13012025_17_13_02_479517_0000.jpg', '/home/pi/Desktop/images/13012025/17/13/image_13012025_17_13_02_479517_0001.jpg', '/home/pi/Desktop/images/13012025/17/13/image_13012025_17_13_02_479517_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/12/image_13012025_17_12_02_333061_0003.jpg
/home/pi/Desktop/images/13012025/17/13/image_13012025_17_13_02_479517_0000.jpg
/home/pi/Desktop/images/13012025/17/13/image_13012025_17_13_02_479517_0001.jpg
/home/pi/Desktop/images/13012025/17/13/image_13012025_17_13_02_479517_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328662816","1328662819","1328662813","1328662824"],"photo_ids_order":["1328662813","1328662816","1328662819","1328662824"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ad38c404966a9b6755070798dd4c39f9.jpg","text":"TemporaryFile(/tmp/multipartBody6196249835378965387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784872317,"filename":"image_13012025_17_13_02_479517_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/13af9d6a0028613d94498237050e5cf3.jpg","text":"TemporaryFile(/tmp/multipartBody2236988108595402557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784872317,"filename":"image_13012025_17_13_02_479517_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/039c77e5b805bca55a6bad0104082819.jpg","text":"TemporaryFile(/tmp/multipartBody2257004606340895167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784872317,"filename":"image_13012025_17_12_02_333061_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f393c5954f014c874b73dda969bf4e9b.jpg","text":"TemporaryFile(/tmp/multipartBody7447620180418360313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784872317,"filename":"image_13012025_17_13_02_479517_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328662819","file1":"1328662816","file0":"1328662813","file3":"1328662824"},"map_files_photo_id_array":[{"photo_id":"1328662819","filename":"file2"},{"photo_id":"1328662816","filename":"file1"},{"photo_id":"1328662813","filename":"file0"},{"photo_id":"1328662824","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328662816":["hashtag1","hashtag2"]},{"1328662819":["hashtag1","hashtag2"]},{"1328662813":["hashtag1","hashtag2"]},{"1328662824":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328662816, 1328662819, 1328662813, 1328662824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.08396005630493 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:14:02.926760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:14:22.475132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/13/image_13012025_17_13_02_479517_0003.jpg', '/home/pi/Desktop/images/13012025/17/14/image_13012025_17_14_02_704907_0000.jpg', '/home/pi/Desktop/images/13012025/17/14/image_13012025_17_14_02_704907_0001.jpg', '/home/pi/Desktop/images/13012025/17/14/image_13012025_17_14_02_704907_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/13/image_13012025_17_13_02_479517_0003.jpg
/home/pi/Desktop/images/13012025/17/14/image_13012025_17_14_02_704907_0000.jpg
/home/pi/Desktop/images/13012025/17/14/image_13012025_17_14_02_704907_0001.jpg
/home/pi/Desktop/images/13012025/17/14/image_13012025_17_14_02_704907_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328662874","1328662883","1328662879","1328662870"],"photo_ids_order":["1328662870","1328662874","1328662879","1328662883"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/28098e7c9a1c94fd74f0941d70ed573e.jpg","text":"TemporaryFile(/tmp/multipartBody663126453694949931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784932473,"filename":"image_13012025_17_14_02_704907_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2f0a98d15f6771689a2b2c127f40971a.jpg","text":"TemporaryFile(/tmp/multipartBody5483503051470538295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784932473,"filename":"image_13012025_17_14_02_704907_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/98b71efde7232028ce27b7180ed9b175.jpg","text":"TemporaryFile(/tmp/multipartBody741357521103006776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784932473,"filename":"image_13012025_17_14_02_704907_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d87bbd4270775230ded804bda7e92ffb.jpg","text":"TemporaryFile(/tmp/multipartBody888920337479168841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736784932473,"filename":"image_13012025_17_13_02_479517_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328662879","file1":"1328662874","file0":"1328662870","file3":"1328662883"},"map_files_photo_id_array":[{"photo_id":"1328662879","filename":"file2"},{"photo_id":"1328662874","filename":"file1"},{"photo_id":"1328662870","filename":"file0"},{"photo_id":"1328662883","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328662874":["hashtag1","hashtag2"]},{"1328662883":["hashtag1","hashtag2"]},{"1328662879":["hashtag1","hashtag2"]},{"1328662870":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328662874, 1328662883, 1328662879, 1328662870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.02588248252869 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:15:22.700199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/14/image_13012025_17_14_02_704907_0003.jpg', '/home/pi/Desktop/images/13012025/17/15/image_13012025_17_15_02_807621_0000.jpg', '/home/pi/Desktop/images/13012025/17/15/image_13012025_17_15_02_807621_0001.jpg', '/home/pi/Desktop/images/13012025/17/15/image_13012025_17_15_02_807621_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/14/image_13012025_17_14_02_704907_0003.jpg
/home/pi/Desktop/images/13012025/17/15/image_13012025_17_15_02_807621_0000.jpg
/home/pi/Desktop/images/13012025/17/15/image_13012025_17_15_02_807621_0001.jpg
/home/pi/Desktop/images/13012025/17/15/image_13012025_17_15_02_807621_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.56272840499878 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 17:15:42.687921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/14/image_13012025_17_14_02_704907_0003.jpg', '/home/pi/Desktop/images/13012025/17/15/image_13012025_17_15_02_807621_0000.jpg', '/home/pi/Desktop/images/13012025/17/15/image_13012025_17_15_02_807621_0001.jpg', '/home/pi/Desktop/images/13012025/17/15/image_13012025_17_15_02_807621_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/14/image_13012025_17_14_02_704907_0003.jpg
/home/pi/Desktop/images/13012025/17/15/image_13012025_17_15_02_807621_0000.jpg
/home/pi/Desktop/images/13012025/17/15/image_13012025_17_15_02_807621_0001.jpg
/home/pi/Desktop/images/13012025/17/15/image_13012025_17_15_02_807621_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328663113","1328663123","1328663105","1328663108"],"photo_ids_order":["1328663105","1328663108","1328663113","1328663123"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c1aee4853a6d4d1c8554f465a8146245.jpg","text":"TemporaryFile(/tmp/multipartBody6684681688081835300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785012659,"filename":"image_13012025_17_15_02_807621_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9352fb02fcdc6671bcf3ce3920bb8936.jpg","text":"TemporaryFile(/tmp/multipartBody4550167609025938701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785012659,"filename":"image_13012025_17_15_02_807621_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a0c4230e807c89a398a5d28e381ba9a6.jpg","text":"TemporaryFile(/tmp/multipartBody7282257948578403394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785012659,"filename":"image_13012025_17_14_02_704907_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9c6c57c21df411af2302501bda253bcd.jpg","text":"TemporaryFile(/tmp/multipartBody2374159834516738701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785012659,"filename":"image_13012025_17_15_02_807621_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328663113","file1":"1328663108","file0":"1328663105","file3":"1328663123"},"map_files_photo_id_array":[{"photo_id":"1328663113","filename":"file2"},{"photo_id":"1328663108","filename":"file1"},{"photo_id":"1328663105","filename":"file0"},{"photo_id":"1328663123","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328663113":["hashtag1","hashtag2"]},{"1328663123":["hashtag1","hashtag2"]},{"1328663105":["hashtag1","hashtag2"]},{"1328663108":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328663113, 1328663123, 1328663105, 1328663108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.56570291519165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:16:21.926575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/15/image_13012025_17_15_02_807621_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/15/image_13012025_17_15_02_807621_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328663155"],"photo_id":"1328663155","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3bca4caa668d0232bdce2e7514dce825.jpg","text":"TemporaryFile(/tmp/multipartBody53019276377286392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785044912,"filename":"image_13012025_17_15_02_807621_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1328663155"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1328663155"}],"hashtags":[],"portfolio_id":"19538744","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.212282419204712 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 17:16:41.975028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 17:16:51.865832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:17:02.634415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:17:22.128404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/16/image_13012025_17_16_03_089502_0001.jpg', '/home/pi/Desktop/images/13012025/17/17/image_13012025_17_17_02_293373_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/16/image_13012025_17_16_03_089502_0001.jpg
/home/pi/Desktop/images/13012025/17/17/image_13012025_17_17_02_293373_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328663200","1328663202"],"photo_ids_order":["1328663200","1328663202"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cc8af340253afe3f3a322196d3523da4.jpg","text":"TemporaryFile(/tmp/multipartBody3949453548448813060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785107451,"filename":"image_13012025_17_16_03_089502_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9c9edf5bffb9249032b18e2cfddffea4.jpg","text":"TemporaryFile(/tmp/multipartBody1894226484507557358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785107451,"filename":"image_13012025_17_17_02_293373_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328663202","file0":"1328663200"},"map_files_photo_id_array":[{"photo_id":"1328663202","filename":"file1"},{"photo_id":"1328663200","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328663200":["hashtag1","hashtag2"]},{"1328663202":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328663200, 1328663202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.104016065597534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 17:17:52.041692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:18:02.619144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:18:22.244010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/17/image_13012025_17_17_02_293373_0003.jpg', '/home/pi/Desktop/images/13012025/17/18/image_13012025_17_18_02_525485_0000.jpg', '/home/pi/Desktop/images/13012025/17/18/image_13012025_17_18_02_525485_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/17/image_13012025_17_17_02_293373_0003.jpg
/home/pi/Desktop/images/13012025/17/18/image_13012025_17_18_02_525485_0000.jpg
/home/pi/Desktop/images/13012025/17/18/image_13012025_17_18_02_525485_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.252408027648926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 17:18:32.239514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/17/image_13012025_17_17_02_293373_0003.jpg', '/home/pi/Desktop/images/13012025/17/18/image_13012025_17_18_02_525485_0000.jpg', '/home/pi/Desktop/images/13012025/17/18/image_13012025_17_18_02_525485_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/17/image_13012025_17_17_02_293373_0003.jpg
/home/pi/Desktop/images/13012025/17/18/image_13012025_17_18_02_525485_0000.jpg
/home/pi/Desktop/images/13012025/17/18/image_13012025_17_18_02_525485_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328663300","1328663290","1328663287"],"photo_ids_order":["1328663287","1328663290","1328663300"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/19d45b97e1cbfe4a3bf7fe982b2b9b88.jpg","text":"TemporaryFile(/tmp/multipartBody6633700209123343102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785179912,"filename":"image_13012025_17_18_02_525485_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/68da27914cc7acf80e0e4e7cc474a08d.jpg","text":"TemporaryFile(/tmp/multipartBody8952787156744565641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785179912,"filename":"image_13012025_17_18_02_525485_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/138eebdbd300d6ea7433247945100dec.jpg","text":"TemporaryFile(/tmp/multipartBody7972602153545193838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785179912,"filename":"image_13012025_17_17_02_293373_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328663300","file1":"1328663290","file0":"1328663287"},"map_files_photo_id_array":[{"photo_id":"1328663300","filename":"file2"},{"photo_id":"1328663290","filename":"file1"},{"photo_id":"1328663287","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328663300":["hashtag1","hashtag2"]},{"1328663290":["hashtag1","hashtag2"]},{"1328663287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328663300, 1328663290, 1328663287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.0330765247345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:19:22.399342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/18/image_13012025_17_18_02_525485_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/18/image_13012025_17_18_02_525485_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328663323"],"photo_id":"1328663323","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f7fca72e0404ff5f6b14141b088ba9fa.jpg","text":"TemporaryFile(/tmp/multipartBody4085952021767738002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785225388,"filename":"image_13012025_17_18_02_525485_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1328663323"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1328663323"}],"hashtags":[],"portfolio_id":"19538744","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.191051244735718 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 17:19:42.525358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 17:19:52.393171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:20:02.964031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:20:22.658219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/19/image_13012025_17_19_02_636950_0003.jpg', '/home/pi/Desktop/images/13012025/17/20/image_13012025_17_20_02_806533_0000.jpg', '/home/pi/Desktop/images/13012025/17/20/image_13012025_17_20_02_806533_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/19/image_13012025_17_19_02_636950_0003.jpg
/home/pi/Desktop/images/13012025/17/20/image_13012025_17_20_02_806533_0000.jpg
/home/pi/Desktop/images/13012025/17/20/image_13012025_17_20_02_806533_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328663385","1328663393","1328663390"],"photo_ids_order":["1328663385","1328663390","1328663393"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5fc79187e36ff36456d217f9eef1b987.jpg","text":"TemporaryFile(/tmp/multipartBody6114053605757576779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785290324,"filename":"image_13012025_17_19_02_636950_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c8bd5d46c9e1b5ef0a99d0c3079ac4ef.jpg","text":"TemporaryFile(/tmp/multipartBody765821466691205097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785290324,"filename":"image_13012025_17_20_02_806533_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e0d6502971a3a5f521b4ebd66a474372.jpg","text":"TemporaryFile(/tmp/multipartBody5256799668986917572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785290324,"filename":"image_13012025_17_20_02_806533_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328663393","file1":"1328663390","file0":"1328663385"},"map_files_photo_id_array":[{"photo_id":"1328663393","filename":"file2"},{"photo_id":"1328663390","filename":"file1"},{"photo_id":"1328663385","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328663385":["hashtag1","hashtag2"]},{"1328663393":["hashtag1","hashtag2"]},{"1328663390":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328663385, 1328663393, 1328663390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.23982310295105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:21:02.357245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:21:21.839053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/20/image_13012025_17_20_02_806533_0003.jpg', '/home/pi/Desktop/images/13012025/17/21/image_13012025_17_21_02_949361_0000.jpg', '/home/pi/Desktop/images/13012025/17/21/image_13012025_17_21_02_949361_0001.jpg', '/home/pi/Desktop/images/13012025/17/21/image_13012025_17_21_02_949361_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/20/image_13012025_17_20_02_806533_0003.jpg
/home/pi/Desktop/images/13012025/17/21/image_13012025_17_21_02_949361_0000.jpg
/home/pi/Desktop/images/13012025/17/21/image_13012025_17_21_02_949361_0001.jpg
/home/pi/Desktop/images/13012025/17/21/image_13012025_17_21_02_949361_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328664102","1328664026","1328663927","1328664109"],"photo_ids_order":["1328663927","1328664026","1328664102","1328664109"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fdff4ce5e5c9f0e934547288919c3c67.jpg","text":"TemporaryFile(/tmp/multipartBody249317565680804864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785351794,"filename":"image_13012025_17_21_02_949361_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1a6680801c560738d196640ca4bb5bf1.jpg","text":"TemporaryFile(/tmp/multipartBody8912849216145256339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785351794,"filename":"image_13012025_17_21_02_949361_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0daf804ab2b6f745c729ee6c0b3135c5.jpg","text":"TemporaryFile(/tmp/multipartBody1266812734997598347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785351794,"filename":"image_13012025_17_20_02_806533_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/70ab8a4b045fc67fca30c9109e4b6b08.jpg","text":"TemporaryFile(/tmp/multipartBody5632804776980387492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785351794,"filename":"image_13012025_17_21_02_949361_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328664102","file1":"1328664026","file0":"1328663927","file3":"1328664109"},"map_files_photo_id_array":[{"photo_id":"1328664102","filename":"file2"},{"photo_id":"1328664026","filename":"file1"},{"photo_id":"1328663927","filename":"file0"},{"photo_id":"1328664109","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328664102":["hashtag1","hashtag2"]},{"1328664026":["hashtag1","hashtag2"]},{"1328663927":["hashtag1","hashtag2"]},{"1328664109":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328664102, 1328664026, 1328663927, 1328664109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.26064991950989 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:22:02.294394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:22:21.951417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/21/image_13012025_17_21_02_949361_0003.jpg', '/home/pi/Desktop/images/13012025/17/22/image_13012025_17_22_02_182310_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/21/image_13012025_17_21_02_949361_0003.jpg
/home/pi/Desktop/images/13012025/17/22/image_13012025_17_22_02_182310_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328664185","1328664180"],"photo_ids_order":["1328664180","1328664185"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fba81176467844fd19a6089f5ed95e30.jpg","text":"TemporaryFile(/tmp/multipartBody17287021646195129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785407279,"filename":"image_13012025_17_22_02_182310_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/caa0f14cff67c181f75b8e097d2167d3.jpg","text":"TemporaryFile(/tmp/multipartBody6214749490917333307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785407279,"filename":"image_13012025_17_21_02_949361_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328664185","file0":"1328664180"},"map_files_photo_id_array":[{"photo_id":"1328664185","filename":"file1"},{"photo_id":"1328664180","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328664185":["hashtag1","hashtag2"]},{"1328664180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328664185, 1328664180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.21306276321411 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 17:22:51.932143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:23:02.747569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:23:22.205101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/22/image_13012025_17_22_02_182310_0003.jpg', '/home/pi/Desktop/images/13012025/17/23/image_13012025_17_23_02_318464_0000.jpg', '/home/pi/Desktop/images/13012025/17/23/image_13012025_17_23_02_318464_0001.jpg', '/home/pi/Desktop/images/13012025/17/23/image_13012025_17_23_02_318464_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/22/image_13012025_17_22_02_182310_0003.jpg
/home/pi/Desktop/images/13012025/17/23/image_13012025_17_23_02_318464_0000.jpg
/home/pi/Desktop/images/13012025/17/23/image_13012025_17_23_02_318464_0001.jpg
/home/pi/Desktop/images/13012025/17/23/image_13012025_17_23_02_318464_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328664300","1328664293","1328664311","1328664307"],"photo_ids_order":["1328664293","1328664300","1328664307","1328664311"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bdb54f3998fa80f79e28011dac905939.jpg","text":"TemporaryFile(/tmp/multipartBody4228770643686821676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785472184,"filename":"image_13012025_17_23_02_318464_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3af62961b5fc55b7fba3be1629e6b982.jpg","text":"TemporaryFile(/tmp/multipartBody3464533766211423490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785472184,"filename":"image_13012025_17_22_02_182310_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/be1040a54a68e61cd4893cdd7b457e36.jpg","text":"TemporaryFile(/tmp/multipartBody601791734102063238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785472184,"filename":"image_13012025_17_23_02_318464_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/63e15b5cf7e526e937f48d6f35ff46f7.jpg","text":"TemporaryFile(/tmp/multipartBody4978858406711394209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785472184,"filename":"image_13012025_17_23_02_318464_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328664307","file1":"1328664300","file0":"1328664293","file3":"1328664311"},"map_files_photo_id_array":[{"photo_id":"1328664307","filename":"file2"},{"photo_id":"1328664300","filename":"file1"},{"photo_id":"1328664293","filename":"file0"},{"photo_id":"1328664311","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328664300":["hashtag1","hashtag2"]},{"1328664293":["hashtag1","hashtag2"]},{"1328664311":["hashtag1","hashtag2"]},{"1328664307":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328664300, 1328664293, 1328664311, 1328664307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.77949666976929 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:24:02.767978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:24:22.312815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/23/image_13012025_17_23_02_318464_0003.jpg', '/home/pi/Desktop/images/13012025/17/24/image_13012025_17_24_02_486072_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/23/image_13012025_17_23_02_318464_0003.jpg
/home/pi/Desktop/images/13012025/17/24/image_13012025_17_24_02_486072_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328664370","1328664334"],"photo_ids_order":["1328664334","1328664370"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/18e80da01bd7f573085cb8688408676a.jpg","text":"TemporaryFile(/tmp/multipartBody4111467792085488983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785527618,"filename":"image_13012025_17_24_02_486072_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1ac6ed2c8741bfaa4b01a9d6603b9129.jpg","text":"TemporaryFile(/tmp/multipartBody4127314100980486371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785527618,"filename":"image_13012025_17_23_02_318464_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328664370","file0":"1328664334"},"map_files_photo_id_array":[{"photo_id":"1328664370","filename":"file1"},{"photo_id":"1328664334","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328664370":["hashtag1","hashtag2"]},{"1328664334":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328664370, 1328664334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.3625545501709 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 17:24:52.296954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:25:03.115877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:25:22.603796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/24/image_13012025_17_24_02_486072_0001.jpg', '/home/pi/Desktop/images/13012025/17/25/image_13012025_17_25_02_701403_0000.jpg', '/home/pi/Desktop/images/13012025/17/25/image_13012025_17_25_02_701403_0001.jpg', '/home/pi/Desktop/images/13012025/17/25/image_13012025_17_25_02_701403_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/24/image_13012025_17_24_02_486072_0001.jpg
/home/pi/Desktop/images/13012025/17/25/image_13012025_17_25_02_701403_0000.jpg
/home/pi/Desktop/images/13012025/17/25/image_13012025_17_25_02_701403_0001.jpg
/home/pi/Desktop/images/13012025/17/25/image_13012025_17_25_02_701403_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328664510","1328664504","1328664507","1328664509"],"photo_ids_order":["1328664504","1328664507","1328664509","1328664510"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/135870eb0bb4e950c7bfea1667629049.jpg","text":"TemporaryFile(/tmp/multipartBody5257734796739337427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785592639,"filename":"image_13012025_17_25_02_701403_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/987efade94ac350524e13cb676d6a0e7.jpg","text":"TemporaryFile(/tmp/multipartBody5367047642908209679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785592639,"filename":"image_13012025_17_24_02_486072_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/69416c77964653b45a1eb58354d85d3a.jpg","text":"TemporaryFile(/tmp/multipartBody6746737755752766576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785592639,"filename":"image_13012025_17_25_02_701403_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c7182b43072ce899071db60fc2428764.jpg","text":"TemporaryFile(/tmp/multipartBody8760358365928623064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785592639,"filename":"image_13012025_17_25_02_701403_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328664509","file1":"1328664507","file0":"1328664504","file3":"1328664510"},"map_files_photo_id_array":[{"photo_id":"1328664509","filename":"file2"},{"photo_id":"1328664507","filename":"file1"},{"photo_id":"1328664504","filename":"file0"},{"photo_id":"1328664510","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328664510":["hashtag1","hashtag2"]},{"1328664504":["hashtag1","hashtag2"]},{"1328664507":["hashtag1","hashtag2"]},{"1328664509":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328664510, 1328664504, 1328664507, 1328664509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.72335934638977 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:26:03.132166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:26:22.665674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/25/image_13012025_17_25_02_701403_0003.jpg', '/home/pi/Desktop/images/13012025/17/26/image_13012025_17_26_02_861203_0000.jpg', '/home/pi/Desktop/images/13012025/17/26/image_13012025_17_26_02_861203_0001.jpg', '/home/pi/Desktop/images/13012025/17/26/image_13012025_17_26_02_861203_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/25/image_13012025_17_25_02_701403_0003.jpg
/home/pi/Desktop/images/13012025/17/26/image_13012025_17_26_02_861203_0000.jpg
/home/pi/Desktop/images/13012025/17/26/image_13012025_17_26_02_861203_0001.jpg
/home/pi/Desktop/images/13012025/17/26/image_13012025_17_26_02_861203_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328664582","1328664584","1328664578","1328664580"],"photo_ids_order":["1328664578","1328664580","1328664582","1328664584"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/72814225adbcb2a6dfe46a49b9f076c6.jpg","text":"TemporaryFile(/tmp/multipartBody498986820986749776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785652862,"filename":"image_13012025_17_26_02_861203_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/454ba9a771ae36c23e9aaed73c692c62.jpg","text":"TemporaryFile(/tmp/multipartBody5391213361737077829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785652862,"filename":"image_13012025_17_26_02_861203_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ccbbd33f266ea10373963232348c2331.jpg","text":"TemporaryFile(/tmp/multipartBody8662413696671894861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785652862,"filename":"image_13012025_17_25_02_701403_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d09cad4b0e3ba1165d9a35dc89df0d30.jpg","text":"TemporaryFile(/tmp/multipartBody4626878142648468539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785652862,"filename":"image_13012025_17_26_02_861203_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328664582","file1":"1328664580","file0":"1328664578","file3":"1328664584"},"map_files_photo_id_array":[{"photo_id":"1328664582","filename":"file2"},{"photo_id":"1328664580","filename":"file1"},{"photo_id":"1328664578","filename":"file0"},{"photo_id":"1328664584","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328664582":["hashtag1","hashtag2"]},{"1328664584":["hashtag1","hashtag2"]},{"1328664578":["hashtag1","hashtag2"]},{"1328664580":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328664582, 1328664584, 1328664578, 1328664580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.06860899925232 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:27:21.920871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/26/image_13012025_17_26_02_861203_0003.jpg', '/home/pi/Desktop/images/13012025/17/27/image_13012025_17_27_03_064179_0000.jpg', '/home/pi/Desktop/images/13012025/17/27/image_13012025_17_27_03_064179_0001.jpg', '/home/pi/Desktop/images/13012025/17/27/image_13012025_17_27_03_064179_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/26/image_13012025_17_26_02_861203_0003.jpg
/home/pi/Desktop/images/13012025/17/27/image_13012025_17_27_03_064179_0000.jpg
/home/pi/Desktop/images/13012025/17/27/image_13012025_17_27_03_064179_0001.jpg
/home/pi/Desktop/images/13012025/17/27/image_13012025_17_27_03_064179_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328664618","1328664627","1328664609","1328664613"],"photo_ids_order":["1328664609","1328664613","1328664618","1328664627"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b579874523226082dd36eee1aa9b9306.jpg","text":"TemporaryFile(/tmp/multipartBody4229172671963840880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785712104,"filename":"image_13012025_17_27_03_064179_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/542802705a0df7bfb94852b52f3b6371.jpg","text":"TemporaryFile(/tmp/multipartBody3659823327922636898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785712104,"filename":"image_13012025_17_27_03_064179_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d466e87ed6cc57d25a9e34b015436692.jpg","text":"TemporaryFile(/tmp/multipartBody8447357224873398386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785712104,"filename":"image_13012025_17_26_02_861203_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4f3831c4d71cc7f90fc9d18893c8b412.jpg","text":"TemporaryFile(/tmp/multipartBody6897017741871410390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785712104,"filename":"image_13012025_17_27_03_064179_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328664618","file1":"1328664613","file0":"1328664609","file3":"1328664627"},"map_files_photo_id_array":[{"photo_id":"1328664618","filename":"file2"},{"photo_id":"1328664613","filename":"file1"},{"photo_id":"1328664609","filename":"file0"},{"photo_id":"1328664627","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328664618":["hashtag1","hashtag2"]},{"1328664627":["hashtag1","hashtag2"]},{"1328664609":["hashtag1","hashtag2"]},{"1328664613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328664618, 1328664627, 1328664609, 1328664613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.88950061798096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:28:22.158042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/27/image_13012025_17_27_03_064179_0003.jpg', '/home/pi/Desktop/images/13012025/17/28/image_13012025_17_28_02_272867_0000.jpg', '/home/pi/Desktop/images/13012025/17/28/image_13012025_17_28_02_272867_0001.jpg', '/home/pi/Desktop/images/13012025/17/28/image_13012025_17_28_02_272867_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/27/image_13012025_17_27_03_064179_0003.jpg
/home/pi/Desktop/images/13012025/17/28/image_13012025_17_28_02_272867_0000.jpg
/home/pi/Desktop/images/13012025/17/28/image_13012025_17_28_02_272867_0001.jpg
/home/pi/Desktop/images/13012025/17/28/image_13012025_17_28_02_272867_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328664683","1328664725","1328664740","1328664706"],"photo_ids_order":["1328664683","1328664706","1328664725","1328664740"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a72b9e9fb87d29d671f12a46856defca.jpg","text":"TemporaryFile(/tmp/multipartBody2969528525302091180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785772299,"filename":"image_13012025_17_27_03_064179_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/43c7250347bc0677f918247875cd2e14.jpg","text":"TemporaryFile(/tmp/multipartBody5113757196232318226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785772299,"filename":"image_13012025_17_28_02_272867_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b837056710f10c651dffa1da334ce596.jpg","text":"TemporaryFile(/tmp/multipartBody5162993919505318802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785772299,"filename":"image_13012025_17_28_02_272867_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8e3a976ea3b307538ff44be42690dbf7.jpg","text":"TemporaryFile(/tmp/multipartBody8506481139440358016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785772299,"filename":"image_13012025_17_28_02_272867_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328664725","file1":"1328664706","file0":"1328664683","file3":"1328664740"},"map_files_photo_id_array":[{"photo_id":"1328664725","filename":"file2"},{"photo_id":"1328664706","filename":"file1"},{"photo_id":"1328664683","filename":"file0"},{"photo_id":"1328664740","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328664683":["hashtag1","hashtag2"]},{"1328664725":["hashtag1","hashtag2"]},{"1328664740":["hashtag1","hashtag2"]},{"1328664706":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328664683, 1328664725, 1328664740, 1328664706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.29099154472351 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:29:02.874074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:29:22.301944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/28/image_13012025_17_28_02_272867_0003.jpg', '/home/pi/Desktop/images/13012025/17/29/image_13012025_17_29_02_461783_0000.jpg', '/home/pi/Desktop/images/13012025/17/29/image_13012025_17_29_02_461783_0001.jpg', '/home/pi/Desktop/images/13012025/17/29/image_13012025_17_29_02_461783_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/28/image_13012025_17_28_02_272867_0003.jpg
/home/pi/Desktop/images/13012025/17/29/image_13012025_17_29_02_461783_0000.jpg
/home/pi/Desktop/images/13012025/17/29/image_13012025_17_29_02_461783_0001.jpg
/home/pi/Desktop/images/13012025/17/29/image_13012025_17_29_02_461783_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328664924","1328664851","1328664830","1328664835"],"photo_ids_order":["1328664830","1328664835","1328664851","1328664924"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b6e9adcd4aba7643f68644dbe7feec17.jpg","text":"TemporaryFile(/tmp/multipartBody1923317630320517075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785832513,"filename":"image_13012025_17_29_02_461783_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b72c2c56a754b6b8a6709fe981e76415.jpg","text":"TemporaryFile(/tmp/multipartBody1061894613084385908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785832513,"filename":"image_13012025_17_29_02_461783_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c0d8a48d1c96625907b1f70dcc10de30.jpg","text":"TemporaryFile(/tmp/multipartBody7659712396463177913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785832513,"filename":"image_13012025_17_28_02_272867_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d6b78e889e6a10f93508b147b54f2721.jpg","text":"TemporaryFile(/tmp/multipartBody6955013036149647874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785832513,"filename":"image_13012025_17_29_02_461783_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328664851","file1":"1328664835","file0":"1328664830","file3":"1328664924"},"map_files_photo_id_array":[{"photo_id":"1328664851","filename":"file2"},{"photo_id":"1328664835","filename":"file1"},{"photo_id":"1328664830","filename":"file0"},{"photo_id":"1328664924","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328664924":["hashtag1","hashtag2"]},{"1328664851":["hashtag1","hashtag2"]},{"1328664830":["hashtag1","hashtag2"]},{"1328664835":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328664924, 1328664851, 1328664830, 1328664835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.23610210418701 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:30:02.669394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:30:22.496729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/29/image_13012025_17_29_02_461783_0003.jpg', '/home/pi/Desktop/images/13012025/17/30/image_13012025_17_30_02_635727_0000.jpg', '/home/pi/Desktop/images/13012025/17/30/image_13012025_17_30_02_635727_0001.jpg', '/home/pi/Desktop/images/13012025/17/30/image_13012025_17_30_02_635727_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/29/image_13012025_17_29_02_461783_0003.jpg
/home/pi/Desktop/images/13012025/17/30/image_13012025_17_30_02_635727_0000.jpg
/home/pi/Desktop/images/13012025/17/30/image_13012025_17_30_02_635727_0001.jpg
/home/pi/Desktop/images/13012025/17/30/image_13012025_17_30_02_635727_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328665056","1328665071","1328665044","1328665068"],"photo_ids_order":["1328665044","1328665056","1328665068","1328665071"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ba98d75b54a57a6388dd651eabaae7d4.jpg","text":"TemporaryFile(/tmp/multipartBody4572546130435143398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785892785,"filename":"image_13012025_17_30_02_635727_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e56021a429475841d81d13e4bce92825.jpg","text":"TemporaryFile(/tmp/multipartBody7857735571382455272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785892785,"filename":"image_13012025_17_30_02_635727_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ef88f9c8342936acc0668f0c32f2607f.jpg","text":"TemporaryFile(/tmp/multipartBody7271510041938592610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785892785,"filename":"image_13012025_17_29_02_461783_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3b9b5e76d9e5560996e4e723537a7e50.jpg","text":"TemporaryFile(/tmp/multipartBody4306639622782926232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785892785,"filename":"image_13012025_17_30_02_635727_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328665068","file1":"1328665056","file0":"1328665044","file3":"1328665071"},"map_files_photo_id_array":[{"photo_id":"1328665068","filename":"file2"},{"photo_id":"1328665056","filename":"file1"},{"photo_id":"1328665044","filename":"file0"},{"photo_id":"1328665071","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328665056":["hashtag1","hashtag2"]},{"1328665071":["hashtag1","hashtag2"]},{"1328665044":["hashtag1","hashtag2"]},{"1328665068":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328665056, 1328665071, 1328665044, 1328665068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.28618574142456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:31:03.271952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:31:22.590777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/30/image_13012025_17_30_02_635727_0003.jpg', '/home/pi/Desktop/images/13012025/17/31/image_13012025_17_31_02_820917_0000.jpg', '/home/pi/Desktop/images/13012025/17/31/image_13012025_17_31_02_820917_0001.jpg', '/home/pi/Desktop/images/13012025/17/31/image_13012025_17_31_02_820917_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/30/image_13012025_17_30_02_635727_0003.jpg
/home/pi/Desktop/images/13012025/17/31/image_13012025_17_31_02_820917_0000.jpg
/home/pi/Desktop/images/13012025/17/31/image_13012025_17_31_02_820917_0001.jpg
/home/pi/Desktop/images/13012025/17/31/image_13012025_17_31_02_820917_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328665233","1328665223","1328665219","1328665236"],"photo_ids_order":["1328665219","1328665223","1328665233","1328665236"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f2ff8916a1900ae6b315fe1024b623f4.jpg","text":"TemporaryFile(/tmp/multipartBody1173200998555211755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785952902,"filename":"image_13012025_17_31_02_820917_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ce5d40d8143babb41679b9bba9fab6d6.jpg","text":"TemporaryFile(/tmp/multipartBody6696496874487035035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785952902,"filename":"image_13012025_17_31_02_820917_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/356168d6608cc07ece23287c88abc1d4.jpg","text":"TemporaryFile(/tmp/multipartBody584133637407397863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785952902,"filename":"image_13012025_17_30_02_635727_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1f18b69538653e3b0485cc61bb891743.jpg","text":"TemporaryFile(/tmp/multipartBody7536028721647339073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736785952902,"filename":"image_13012025_17_31_02_820917_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328665233","file1":"1328665223","file0":"1328665219","file3":"1328665236"},"map_files_photo_id_array":[{"photo_id":"1328665233","filename":"file2"},{"photo_id":"1328665223","filename":"file1"},{"photo_id":"1328665219","filename":"file0"},{"photo_id":"1328665236","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328665233":["hashtag1","hashtag2"]},{"1328665223":["hashtag1","hashtag2"]},{"1328665219":["hashtag1","hashtag2"]},{"1328665236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328665233, 1328665223, 1328665219, 1328665236)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 38.79195427894592 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:32:21.911565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/31/image_13012025_17_31_02_820917_0003.jpg', '/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_03_013317_0000.jpg', '/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_03_013317_0001.jpg', '/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_03_013317_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/31/image_13012025_17_31_02_820917_0003.jpg
/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_03_013317_0000.jpg
/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_03_013317_0001.jpg
/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_03_013317_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328665248","1328665258","1328665252","1328665263"],"photo_ids_order":["1328665248","1328665252","1328665258","1328665263"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f256b75f6d6f36b7c126b26349c03683.jpg","text":"TemporaryFile(/tmp/multipartBody828605256703276955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786012151,"filename":"image_13012025_17_31_02_820917_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/86968f4ed9ceb4e47fa8b89b2504fae2.jpg","text":"TemporaryFile(/tmp/multipartBody7279783561394160650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786012151,"filename":"image_13012025_17_32_03_013317_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c1d484aa66a4b8b16fa3231acaeedf60.jpg","text":"TemporaryFile(/tmp/multipartBody2081824853801948758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786012151,"filename":"image_13012025_17_32_03_013317_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/406dad9b5834bf6b8f1fc38017edeeba.jpg","text":"TemporaryFile(/tmp/multipartBody6190057478763629867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786012151,"filename":"image_13012025_17_32_03_013317_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328665258","file1":"1328665252","file0":"1328665248","file3":"1328665263"},"map_files_photo_id_array":[{"photo_id":"1328665258","filename":"file2"},{"photo_id":"1328665252","filename":"file1"},{"photo_id":"1328665248","filename":"file0"},{"photo_id":"1328665263","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328665248":["hashtag1","hashtag2"]},{"1328665258":["hashtag1","hashtag2"]},{"1328665252":["hashtag1","hashtag2"]},{"1328665263":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328665248, 1328665258, 1328665252, 1328665263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.23657417297363 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:33:02.453054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:33:22.004735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_03_013317_0003.jpg', '/home/pi/Desktop/images/13012025/17/33/image_13012025_17_33_02_254496_0000.jpg', '/home/pi/Desktop/images/13012025/17/33/image_13012025_17_33_02_254496_0001.jpg', '/home/pi/Desktop/images/13012025/17/33/image_13012025_17_33_02_254496_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_03_013317_0003.jpg
/home/pi/Desktop/images/13012025/17/33/image_13012025_17_33_02_254496_0000.jpg
/home/pi/Desktop/images/13012025/17/33/image_13012025_17_33_02_254496_0001.jpg
/home/pi/Desktop/images/13012025/17/33/image_13012025_17_33_02_254496_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328665314","1328665277","1328665310","1328665293"],"photo_ids_order":["1328665277","1328665293","1328665310","1328665314"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8058223a4ae3c3bafba650f78952afdf.jpg","text":"TemporaryFile(/tmp/multipartBody2836523112703360984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786072310,"filename":"image_13012025_17_33_02_254496_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/682ee99cb27d4b46c5d91c369bdce20f.jpg","text":"TemporaryFile(/tmp/multipartBody5839794436539890531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786072310,"filename":"image_13012025_17_32_03_013317_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/333c660027650d5297a07fafb4a6e49b.jpg","text":"TemporaryFile(/tmp/multipartBody920926060036996009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786072310,"filename":"image_13012025_17_33_02_254496_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0add6497660aa93f012add30fe7e1c59.jpg","text":"TemporaryFile(/tmp/multipartBody3951460695889652759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786072310,"filename":"image_13012025_17_33_02_254496_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328665310","file1":"1328665293","file0":"1328665277","file3":"1328665314"},"map_files_photo_id_array":[{"photo_id":"1328665310","filename":"file2"},{"photo_id":"1328665293","filename":"file1"},{"photo_id":"1328665277","filename":"file0"},{"photo_id":"1328665314","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328665314":["hashtag1","hashtag2"]},{"1328665277":["hashtag1","hashtag2"]},{"1328665310":["hashtag1","hashtag2"]},{"1328665293":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328665314, 1328665277, 1328665310, 1328665293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.24695944786072 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:34:02.609157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:34:22.163497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/33/image_13012025_17_33_02_254496_0003.jpg', '/home/pi/Desktop/images/13012025/17/34/image_13012025_17_34_02_297932_0000.jpg', '/home/pi/Desktop/images/13012025/17/34/image_13012025_17_34_02_297932_0001.jpg', '/home/pi/Desktop/images/13012025/17/34/image_13012025_17_34_02_297932_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/33/image_13012025_17_33_02_254496_0003.jpg
/home/pi/Desktop/images/13012025/17/34/image_13012025_17_34_02_297932_0000.jpg
/home/pi/Desktop/images/13012025/17/34/image_13012025_17_34_02_297932_0001.jpg
/home/pi/Desktop/images/13012025/17/34/image_13012025_17_34_02_297932_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328665334","1328665369","1328665341","1328665338"],"photo_ids_order":["1328665334","1328665338","1328665341","1328665369"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1fa984e7fb73ee28f4a4c8f0705c3bff.jpg","text":"TemporaryFile(/tmp/multipartBody1476295999659380013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786132448,"filename":"image_13012025_17_33_02_254496_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7cc7b5194585868694999697679e1128.jpg","text":"TemporaryFile(/tmp/multipartBody2336914632551241955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786132448,"filename":"image_13012025_17_34_02_297932_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/425827a8da3381e8a9a35f040a4d76ff.jpg","text":"TemporaryFile(/tmp/multipartBody2390345807355057651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786132448,"filename":"image_13012025_17_34_02_297932_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/73f42f18a95f37cc8c743ab4710ccf75.jpg","text":"TemporaryFile(/tmp/multipartBody8512473775799298246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786132448,"filename":"image_13012025_17_34_02_297932_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328665341","file1":"1328665338","file0":"1328665334","file3":"1328665369"},"map_files_photo_id_array":[{"photo_id":"1328665341","filename":"file2"},{"photo_id":"1328665338","filename":"file1"},{"photo_id":"1328665334","filename":"file0"},{"photo_id":"1328665369","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328665334":["hashtag1","hashtag2"]},{"1328665369":["hashtag1","hashtag2"]},{"1328665341":["hashtag1","hashtag2"]},{"1328665338":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328665334, 1328665369, 1328665341, 1328665338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.68906378746033 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:35:22.392618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/34/image_13012025_17_34_02_297932_0003.jpg', '/home/pi/Desktop/images/13012025/17/35/image_13012025_17_35_02_609689_0001.jpg', '/home/pi/Desktop/images/13012025/17/35/image_13012025_17_35_02_609689_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/34/image_13012025_17_34_02_297932_0003.jpg
/home/pi/Desktop/images/13012025/17/35/image_13012025_17_35_02_609689_0001.jpg
/home/pi/Desktop/images/13012025/17/35/image_13012025_17_35_02_609689_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328665410","1328665413","1328665415"],"photo_ids_order":["1328665410","1328665413","1328665415"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/18541aba127a84caf7cf0068c02b25e7.jpg","text":"TemporaryFile(/tmp/multipartBody6549626136345686223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786190278,"filename":"image_13012025_17_34_02_297932_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5696f850a4e94b715a626474cb8b6c3f.jpg","text":"TemporaryFile(/tmp/multipartBody8783035115861381275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786190278,"filename":"image_13012025_17_35_02_609689_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dff872925a32a86b557f50d09432a017.jpg","text":"TemporaryFile(/tmp/multipartBody408848017932834326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786190278,"filename":"image_13012025_17_35_02_609689_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328665415","file1":"1328665413","file0":"1328665410"},"map_files_photo_id_array":[{"photo_id":"1328665415","filename":"file2"},{"photo_id":"1328665413","filename":"file1"},{"photo_id":"1328665410","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328665410":["hashtag1","hashtag2"]},{"1328665413":["hashtag1","hashtag2"]},{"1328665415":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328665410, 1328665413, 1328665415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.204671382904053 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:36:02.868864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:36:22.600006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/35/image_13012025_17_35_02_609689_0003.jpg', '/home/pi/Desktop/images/13012025/17/36/image_13012025_17_36_02_711261_0000.jpg', '/home/pi/Desktop/images/13012025/17/36/image_13012025_17_36_02_711261_0001.jpg', '/home/pi/Desktop/images/13012025/17/36/image_13012025_17_36_02_711261_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/35/image_13012025_17_35_02_609689_0003.jpg
/home/pi/Desktop/images/13012025/17/36/image_13012025_17_36_02_711261_0000.jpg
/home/pi/Desktop/images/13012025/17/36/image_13012025_17_36_02_711261_0001.jpg
/home/pi/Desktop/images/13012025/17/36/image_13012025_17_36_02_711261_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328665466","1328665442","1328665447","1328665452"],"photo_ids_order":["1328665442","1328665447","1328665452","1328665466"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/515775236575b367ba7dafbe3ec09b67.jpg","text":"TemporaryFile(/tmp/multipartBody3596179872586791836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786253122,"filename":"image_13012025_17_36_02_711261_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d6ddfaea0ec228fc574b1401def89731.jpg","text":"TemporaryFile(/tmp/multipartBody2077685753158603532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786253122,"filename":"image_13012025_17_35_02_609689_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/48e3c93b694b138876294ea01f34f32d.jpg","text":"TemporaryFile(/tmp/multipartBody3568828158759960503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786253122,"filename":"image_13012025_17_36_02_711261_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b8c51a81ee79f2f28e51d0e2621a55d0.jpg","text":"TemporaryFile(/tmp/multipartBody9101631158494049199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786253122,"filename":"image_13012025_17_36_02_711261_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328665452","file1":"1328665447","file0":"1328665442","file3":"1328665466"},"map_files_photo_id_array":[{"photo_id":"1328665452","filename":"file2"},{"photo_id":"1328665447","filename":"file1"},{"photo_id":"1328665442","filename":"file0"},{"photo_id":"1328665466","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328665466":["hashtag1","hashtag2"]},{"1328665442":["hashtag1","hashtag2"]},{"1328665447":["hashtag1","hashtag2"]},{"1328665452":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328665466, 1328665442, 1328665447, 1328665452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.650872468948364 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:37:22.783281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/36/image_13012025_17_36_02_711261_0003.jpg', '/home/pi/Desktop/images/13012025/17/37/image_13012025_17_37_02_890766_0000.jpg', '/home/pi/Desktop/images/13012025/17/37/image_13012025_17_37_02_890766_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/36/image_13012025_17_36_02_711261_0003.jpg
/home/pi/Desktop/images/13012025/17/37/image_13012025_17_37_02_890766_0000.jpg
/home/pi/Desktop/images/13012025/17/37/image_13012025_17_37_02_890766_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328665522","1328665525","1328665516"],"photo_ids_order":["1328665516","1328665522","1328665525"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/404426db8469a3367a91d7344734eca9.jpg","text":"TemporaryFile(/tmp/multipartBody8810355692629749924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786310674,"filename":"image_13012025_17_37_02_890766_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/10a0f2ca849a65d34b37de21da70375d.jpg","text":"TemporaryFile(/tmp/multipartBody2248873701752995748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786310674,"filename":"image_13012025_17_37_02_890766_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0c2c866c98e146e4f0db9f9a70626fff.jpg","text":"TemporaryFile(/tmp/multipartBody918337117654851438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786310674,"filename":"image_13012025_17_36_02_711261_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328665525","file1":"1328665522","file0":"1328665516"},"map_files_photo_id_array":[{"photo_id":"1328665525","filename":"file2"},{"photo_id":"1328665522","filename":"file1"},{"photo_id":"1328665516","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328665522":["hashtag1","hashtag2"]},{"1328665525":["hashtag1","hashtag2"]},{"1328665516":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328665522, 1328665525, 1328665516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.64446496963501 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:38:02.343926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:38:21.952105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/37/image_13012025_17_37_02_890766_0002.jpg', '/home/pi/Desktop/images/13012025/17/38/image_13012025_17_38_03_190574_0000.jpg', '/home/pi/Desktop/images/13012025/17/38/image_13012025_17_38_03_190574_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/37/image_13012025_17_37_02_890766_0002.jpg
/home/pi/Desktop/images/13012025/17/38/image_13012025_17_38_03_190574_0000.jpg
/home/pi/Desktop/images/13012025/17/38/image_13012025_17_38_03_190574_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328665555","1328665549","1328665552"],"photo_ids_order":["1328665549","1328665552","1328665555"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/22118020c48ed2d5d0deca1cc7bb3ec6.jpg","text":"TemporaryFile(/tmp/multipartBody5467859855200726971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786369843,"filename":"image_13012025_17_38_03_190574_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ac75be2dd1f3fef41a79bc4ef7c9a0e0.jpg","text":"TemporaryFile(/tmp/multipartBody466875494368511330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786369843,"filename":"image_13012025_17_37_02_890766_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b4dc503adff3d181c2437e2cf26fe80f.jpg","text":"TemporaryFile(/tmp/multipartBody7326308963852623734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786369843,"filename":"image_13012025_17_38_03_190574_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328665555","file1":"1328665552","file0":"1328665549"},"map_files_photo_id_array":[{"photo_id":"1328665555","filename":"file2"},{"photo_id":"1328665552","filename":"file1"},{"photo_id":"1328665549","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328665555":["hashtag1","hashtag2"]},{"1328665549":["hashtag1","hashtag2"]},{"1328665552":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328665555, 1328665549, 1328665552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.499101877212524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:39:02.651322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:39:22.140917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/38/image_13012025_17_38_03_190574_0003.jpg', '/home/pi/Desktop/images/13012025/17/39/image_13012025_17_39_02_322617_0000.jpg', '/home/pi/Desktop/images/13012025/17/39/image_13012025_17_39_02_322617_0001.jpg', '/home/pi/Desktop/images/13012025/17/39/image_13012025_17_39_02_322617_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/38/image_13012025_17_38_03_190574_0003.jpg
/home/pi/Desktop/images/13012025/17/39/image_13012025_17_39_02_322617_0000.jpg
/home/pi/Desktop/images/13012025/17/39/image_13012025_17_39_02_322617_0001.jpg
/home/pi/Desktop/images/13012025/17/39/image_13012025_17_39_02_322617_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328665673","1328665649","1328665663","1328665626"],"photo_ids_order":["1328665626","1328665649","1328665663","1328665673"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6c073f3d3cd65b9c27da923d8b06a3de.jpg","text":"TemporaryFile(/tmp/multipartBody671083679880383602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786432313,"filename":"image_13012025_17_39_02_322617_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b8e7fdf648ef559202c6ba0f1a73fac5.jpg","text":"TemporaryFile(/tmp/multipartBody8794907731090979325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786432313,"filename":"image_13012025_17_39_02_322617_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0df80338f1a2c4034010a6d3007b2481.jpg","text":"TemporaryFile(/tmp/multipartBody9116454287540833828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786432313,"filename":"image_13012025_17_39_02_322617_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9f522e25c0c000fa1ac99a754ac434e8.jpg","text":"TemporaryFile(/tmp/multipartBody1043626652581134289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786432313,"filename":"image_13012025_17_38_03_190574_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328665663","file1":"1328665649","file0":"1328665626","file3":"1328665673"},"map_files_photo_id_array":[{"photo_id":"1328665663","filename":"file2"},{"photo_id":"1328665649","filename":"file1"},{"photo_id":"1328665626","filename":"file0"},{"photo_id":"1328665673","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328665673":["hashtag1","hashtag2"]},{"1328665649":["hashtag1","hashtag2"]},{"1328665663":["hashtag1","hashtag2"]},{"1328665626":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328665673, 1328665649, 1328665663, 1328665626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.56833505630493 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:40:02.797055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:40:22.300230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/39/image_13012025_17_39_02_322617_0003.jpg', '/home/pi/Desktop/images/13012025/17/40/image_13012025_17_40_02_469573_0000.jpg', '/home/pi/Desktop/images/13012025/17/40/image_13012025_17_40_02_469573_0001.jpg', '/home/pi/Desktop/images/13012025/17/40/image_13012025_17_40_02_469573_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/39/image_13012025_17_39_02_322617_0003.jpg
/home/pi/Desktop/images/13012025/17/40/image_13012025_17_40_02_469573_0000.jpg
/home/pi/Desktop/images/13012025/17/40/image_13012025_17_40_02_469573_0001.jpg
/home/pi/Desktop/images/13012025/17/40/image_13012025_17_40_02_469573_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328665691","1328665694","1328665688","1328665699"],"photo_ids_order":["1328665688","1328665691","1328665694","1328665699"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7a03823f275cdcd36e1e9bde59b076b5.jpg","text":"TemporaryFile(/tmp/multipartBody2950817473177511309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786492624,"filename":"image_13012025_17_40_02_469573_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/422790aea953b58f09b0ce0d2be18225.jpg","text":"TemporaryFile(/tmp/multipartBody9120189181325593723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786492624,"filename":"image_13012025_17_40_02_469573_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7d507fc2d71c70c9b3658445e8ed20d9.jpg","text":"TemporaryFile(/tmp/multipartBody2391118961186575279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786492624,"filename":"image_13012025_17_39_02_322617_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6f853dbb737b000328ee903ea6944144.jpg","text":"TemporaryFile(/tmp/multipartBody6011002229167970533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786492624,"filename":"image_13012025_17_40_02_469573_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328665694","file1":"1328665691","file0":"1328665688","file3":"1328665699"},"map_files_photo_id_array":[{"photo_id":"1328665694","filename":"file2"},{"photo_id":"1328665691","filename":"file1"},{"photo_id":"1328665688","filename":"file0"},{"photo_id":"1328665699","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328665691":["hashtag1","hashtag2"]},{"1328665694":["hashtag1","hashtag2"]},{"1328665688":["hashtag1","hashtag2"]},{"1328665699":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328665691, 1328665694, 1328665688, 1328665699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.51121211051941 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:41:03.192947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:41:22.482291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/40/image_13012025_17_40_02_469573_0003.jpg', '/home/pi/Desktop/images/13012025/17/41/image_13012025_17_41_02_699230_0000.jpg', '/home/pi/Desktop/images/13012025/17/41/image_13012025_17_41_02_699230_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/40/image_13012025_17_40_02_469573_0003.jpg
/home/pi/Desktop/images/13012025/17/41/image_13012025_17_41_02_699230_0000.jpg
/home/pi/Desktop/images/13012025/17/41/image_13012025_17_41_02_699230_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328665718","1328665712","1328665715"],"photo_ids_order":["1328665712","1328665715","1328665718"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6fe274da211553db373877d02c901de2.jpg","text":"TemporaryFile(/tmp/multipartBody2411916820538248534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786550375,"filename":"image_13012025_17_41_02_699230_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5f583340cd4afcaf17cd6d2fa0f21c4c.jpg","text":"TemporaryFile(/tmp/multipartBody5206594125062316998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786550375,"filename":"image_13012025_17_40_02_469573_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f36e9da00274b63ff9394355607820ab.jpg","text":"TemporaryFile(/tmp/multipartBody7186336186664837180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786550375,"filename":"image_13012025_17_41_02_699230_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328665718","file1":"1328665715","file0":"1328665712"},"map_files_photo_id_array":[{"photo_id":"1328665718","filename":"file2"},{"photo_id":"1328665715","filename":"file1"},{"photo_id":"1328665712","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328665718":["hashtag1","hashtag2"]},{"1328665712":["hashtag1","hashtag2"]},{"1328665715":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328665718, 1328665712, 1328665715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.453741788864136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:42:03.078332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:42:22.747388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/41/image_13012025_17_41_02_699230_0003.jpg', '/home/pi/Desktop/images/13012025/17/42/image_13012025_17_42_02_921193_0000.jpg', '/home/pi/Desktop/images/13012025/17/42/image_13012025_17_42_02_921193_0001.jpg', '/home/pi/Desktop/images/13012025/17/42/image_13012025_17_42_02_921193_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/41/image_13012025_17_41_02_699230_0003.jpg
/home/pi/Desktop/images/13012025/17/42/image_13012025_17_42_02_921193_0000.jpg
/home/pi/Desktop/images/13012025/17/42/image_13012025_17_42_02_921193_0001.jpg
/home/pi/Desktop/images/13012025/17/42/image_13012025_17_42_02_921193_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328665754","1328665757","1328665752","1328665749"],"photo_ids_order":["1328665749","1328665752","1328665754","1328665757"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aa94214a0f12f2fed26546bcfd750109.jpg","text":"TemporaryFile(/tmp/multipartBody4316900345422014225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786613197,"filename":"image_13012025_17_42_02_921193_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5a4ed6f8131abc558072a454c8b19a72.jpg","text":"TemporaryFile(/tmp/multipartBody6000646715480744259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786613197,"filename":"image_13012025_17_42_02_921193_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e883679138e6b7d0b25fe7ce35dc8064.jpg","text":"TemporaryFile(/tmp/multipartBody6474166501393944166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786613197,"filename":"image_13012025_17_42_02_921193_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/569e44eba3b6c38a01fd490e4d797d9b.jpg","text":"TemporaryFile(/tmp/multipartBody1726372862949882141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786613197,"filename":"image_13012025_17_41_02_699230_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328665754","file1":"1328665752","file0":"1328665749","file3":"1328665757"},"map_files_photo_id_array":[{"photo_id":"1328665754","filename":"file2"},{"photo_id":"1328665752","filename":"file1"},{"photo_id":"1328665749","filename":"file0"},{"photo_id":"1328665757","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328665754":["hashtag1","hashtag2"]},{"1328665757":["hashtag1","hashtag2"]},{"1328665752":["hashtag1","hashtag2"]},{"1328665749":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328665754, 1328665757, 1328665752, 1328665749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.51036214828491 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:43:21.881027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/42/image_13012025_17_42_02_921193_0003.jpg', '/home/pi/Desktop/images/13012025/17/43/image_13012025_17_43_03_085383_0000.jpg', '/home/pi/Desktop/images/13012025/17/43/image_13012025_17_43_03_085383_0001.jpg', '/home/pi/Desktop/images/13012025/17/43/image_13012025_17_43_03_085383_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/42/image_13012025_17_42_02_921193_0003.jpg
/home/pi/Desktop/images/13012025/17/43/image_13012025_17_43_03_085383_0000.jpg
/home/pi/Desktop/images/13012025/17/43/image_13012025_17_43_03_085383_0001.jpg
/home/pi/Desktop/images/13012025/17/43/image_13012025_17_43_03_085383_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328665781","1328665783","1328665785","1328665779"],"photo_ids_order":["1328665779","1328665781","1328665783","1328665785"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/82e4bcc88246572fc51608e05df3b4c3.jpg","text":"TemporaryFile(/tmp/multipartBody643329334917695310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786672115,"filename":"image_13012025_17_43_03_085383_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/72a380f7a778119b717b92db1ee60ef0.jpg","text":"TemporaryFile(/tmp/multipartBody1339112913679899199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786672115,"filename":"image_13012025_17_43_03_085383_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/36ee88f0ff6d72fb454510979ef1d5a1.jpg","text":"TemporaryFile(/tmp/multipartBody6533603753661745078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786672115,"filename":"image_13012025_17_43_03_085383_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/992e4eb66f983b2098b3107052906282.jpg","text":"TemporaryFile(/tmp/multipartBody7804659831508445454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786672115,"filename":"image_13012025_17_42_02_921193_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328665783","file1":"1328665781","file0":"1328665779","file3":"1328665785"},"map_files_photo_id_array":[{"photo_id":"1328665783","filename":"file2"},{"photo_id":"1328665781","filename":"file1"},{"photo_id":"1328665779","filename":"file0"},{"photo_id":"1328665785","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328665781":["hashtag1","hashtag2"]},{"1328665783":["hashtag1","hashtag2"]},{"1328665785":["hashtag1","hashtag2"]},{"1328665779":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328665781, 1328665783, 1328665785, 1328665779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.18349885940552 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:44:02.461206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:44:22.145385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/43/image_13012025_17_43_03_085383_0003.jpg', '/home/pi/Desktop/images/13012025/17/44/image_13012025_17_44_02_229603_0000.jpg', '/home/pi/Desktop/images/13012025/17/44/image_13012025_17_44_02_229603_0001.jpg', '/home/pi/Desktop/images/13012025/17/44/image_13012025_17_44_02_229603_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/43/image_13012025_17_43_03_085383_0003.jpg
/home/pi/Desktop/images/13012025/17/44/image_13012025_17_44_02_229603_0000.jpg
/home/pi/Desktop/images/13012025/17/44/image_13012025_17_44_02_229603_0001.jpg
/home/pi/Desktop/images/13012025/17/44/image_13012025_17_44_02_229603_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328665835","1328665829","1328665838","1328665960"],"photo_ids_order":["1328665829","1328665835","1328665838","1328665960"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6b17bdca8500f5c587ec3315cae5a1e9.jpg","text":"TemporaryFile(/tmp/multipartBody6870029958374264523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786732319,"filename":"image_13012025_17_44_02_229603_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0b72a16893cf0a276bc1f69df4f23839.jpg","text":"TemporaryFile(/tmp/multipartBody1799999674472760254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786732319,"filename":"image_13012025_17_43_03_085383_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a9d9af8c5cd58bb0c2ce3ed5fa40ce06.jpg","text":"TemporaryFile(/tmp/multipartBody5883866995784061105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786732319,"filename":"image_13012025_17_44_02_229603_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e18de4feb50bbe265bc54d3f00d1e824.jpg","text":"TemporaryFile(/tmp/multipartBody1632395245469395844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786732319,"filename":"image_13012025_17_44_02_229603_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328665838","file1":"1328665835","file0":"1328665829","file3":"1328665960"},"map_files_photo_id_array":[{"photo_id":"1328665838","filename":"file2"},{"photo_id":"1328665835","filename":"file1"},{"photo_id":"1328665829","filename":"file0"},{"photo_id":"1328665960","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328665835":["hashtag1","hashtag2"]},{"1328665829":["hashtag1","hashtag2"]},{"1328665838":["hashtag1","hashtag2"]},{"1328665960":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328665835, 1328665829, 1328665838, 1328665960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.50249481201172 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:45:02.852108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:45:22.243670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/44/image_13012025_17_44_02_229603_0003.jpg', '/home/pi/Desktop/images/13012025/17/45/image_13012025_17_45_02_454062_0000.jpg', '/home/pi/Desktop/images/13012025/17/45/image_13012025_17_45_02_454062_0001.jpg', '/home/pi/Desktop/images/13012025/17/45/image_13012025_17_45_02_454062_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/44/image_13012025_17_44_02_229603_0003.jpg
/home/pi/Desktop/images/13012025/17/45/image_13012025_17_45_02_454062_0000.jpg
/home/pi/Desktop/images/13012025/17/45/image_13012025_17_45_02_454062_0001.jpg
/home/pi/Desktop/images/13012025/17/45/image_13012025_17_45_02_454062_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328666171","1328666095","1328666146","1328666110"],"photo_ids_order":["1328666095","1328666110","1328666146","1328666171"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d6d6801e4f6fb0f86987d5349b67b317.jpg","text":"TemporaryFile(/tmp/multipartBody8715650373330716716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786792549,"filename":"image_13012025_17_45_02_454062_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bfa911aec96bd7e6dbbac8d0cbb9bb5a.jpg","text":"TemporaryFile(/tmp/multipartBody9158406200916735351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786792549,"filename":"image_13012025_17_44_02_229603_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/49ddb2b446b731ed42c61b7d2de7a759.jpg","text":"TemporaryFile(/tmp/multipartBody5398949622350744251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786792549,"filename":"image_13012025_17_45_02_454062_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/920b23032e860900f858108bbb56551a.jpg","text":"TemporaryFile(/tmp/multipartBody3747057918956402948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786792549,"filename":"image_13012025_17_45_02_454062_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328666146","file1":"1328666110","file0":"1328666095","file3":"1328666171"},"map_files_photo_id_array":[{"photo_id":"1328666146","filename":"file2"},{"photo_id":"1328666110","filename":"file1"},{"photo_id":"1328666095","filename":"file0"},{"photo_id":"1328666171","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328666171":["hashtag1","hashtag2"]},{"1328666095":["hashtag1","hashtag2"]},{"1328666146":["hashtag1","hashtag2"]},{"1328666110":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328666171, 1328666095, 1328666146, 1328666110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.698988914489746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:46:02.798190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:46:22.471494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/45/image_13012025_17_45_02_454062_0003.jpg', '/home/pi/Desktop/images/13012025/17/46/image_13012025_17_46_02_664842_0000.jpg', '/home/pi/Desktop/images/13012025/17/46/image_13012025_17_46_02_664842_0001.jpg', '/home/pi/Desktop/images/13012025/17/46/image_13012025_17_46_02_664842_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/45/image_13012025_17_45_02_454062_0003.jpg
/home/pi/Desktop/images/13012025/17/46/image_13012025_17_46_02_664842_0000.jpg
/home/pi/Desktop/images/13012025/17/46/image_13012025_17_46_02_664842_0001.jpg
/home/pi/Desktop/images/13012025/17/46/image_13012025_17_46_02_664842_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328666342","1328666345","1328666330","1328666324"],"photo_ids_order":["1328666324","1328666330","1328666342","1328666345"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3069e730d1acc8a369cd9439e155fedb.jpg","text":"TemporaryFile(/tmp/multipartBody5926933806346170112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786852785,"filename":"image_13012025_17_46_02_664842_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b65115fe4ac8201d7d677072554faac1.jpg","text":"TemporaryFile(/tmp/multipartBody1406585564608683599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786852785,"filename":"image_13012025_17_46_02_664842_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/47fc30124d67b600d7c64291d2e5be61.jpg","text":"TemporaryFile(/tmp/multipartBody2274771571038512971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786852785,"filename":"image_13012025_17_46_02_664842_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/26b47208a0e119db53375654a450fb38.jpg","text":"TemporaryFile(/tmp/multipartBody6876785007082057759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786852785,"filename":"image_13012025_17_45_02_454062_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328666342","file1":"1328666330","file0":"1328666324","file3":"1328666345"},"map_files_photo_id_array":[{"photo_id":"1328666342","filename":"file2"},{"photo_id":"1328666330","filename":"file1"},{"photo_id":"1328666324","filename":"file0"},{"photo_id":"1328666345","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328666342":["hashtag1","hashtag2"]},{"1328666345":["hashtag1","hashtag2"]},{"1328666330":["hashtag1","hashtag2"]},{"1328666324":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328666342, 1328666345, 1328666330, 1328666324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.31507349014282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:47:22.601009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/46/image_13012025_17_46_02_664842_0003.jpg', '/home/pi/Desktop/images/13012025/17/47/image_13012025_17_47_02_749185_0000.jpg', '/home/pi/Desktop/images/13012025/17/47/image_13012025_17_47_02_749185_0001.jpg', '/home/pi/Desktop/images/13012025/17/47/image_13012025_17_47_02_749185_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/46/image_13012025_17_46_02_664842_0003.jpg
/home/pi/Desktop/images/13012025/17/47/image_13012025_17_47_02_749185_0000.jpg
/home/pi/Desktop/images/13012025/17/47/image_13012025_17_47_02_749185_0001.jpg
/home/pi/Desktop/images/13012025/17/47/image_13012025_17_47_02_749185_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328666384","1328666378","1328666386","1328666382"],"photo_ids_order":["1328666378","1328666382","1328666384","1328666386"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9397d3eca7d04e37efbaeb80a97d6235.jpg","text":"TemporaryFile(/tmp/multipartBody6471604079060355678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786913037,"filename":"image_13012025_17_47_02_749185_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e14b0a9a5b08f695177e414dc063b392.jpg","text":"TemporaryFile(/tmp/multipartBody4470591953970847196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786913037,"filename":"image_13012025_17_46_02_664842_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aff0639dfedbfed82e944af3d417bb9b.jpg","text":"TemporaryFile(/tmp/multipartBody5853745730976527716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786913037,"filename":"image_13012025_17_47_02_749185_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/df2e6937b1d5c6f085a6796239c332da.jpg","text":"TemporaryFile(/tmp/multipartBody2096631155247939115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786913037,"filename":"image_13012025_17_47_02_749185_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328666384","file1":"1328666382","file0":"1328666378","file3":"1328666386"},"map_files_photo_id_array":[{"photo_id":"1328666384","filename":"file2"},{"photo_id":"1328666382","filename":"file1"},{"photo_id":"1328666378","filename":"file0"},{"photo_id":"1328666386","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328666384":["hashtag1","hashtag2"]},{"1328666378":["hashtag1","hashtag2"]},{"1328666386":["hashtag1","hashtag2"]},{"1328666382":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328666384, 1328666378, 1328666386, 1328666382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.086612939834595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:48:22.790177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/47/image_13012025_17_47_02_749185_0003.jpg', '/home/pi/Desktop/images/13012025/17/48/image_13012025_17_48_02_976376_0000.jpg', '/home/pi/Desktop/images/13012025/17/48/image_13012025_17_48_02_976376_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/47/image_13012025_17_47_02_749185_0003.jpg
/home/pi/Desktop/images/13012025/17/48/image_13012025_17_48_02_976376_0000.jpg
/home/pi/Desktop/images/13012025/17/48/image_13012025_17_48_02_976376_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328666405","1328666408","1328666402"],"photo_ids_order":["1328666402","1328666405","1328666408"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5f0b45727a139b018cd175bd393de722.jpg","text":"TemporaryFile(/tmp/multipartBody7891916004364572323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786970709,"filename":"image_13012025_17_48_02_976376_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b47c5d95b485343434db827e4e78e2a2.jpg","text":"TemporaryFile(/tmp/multipartBody2698477188509267765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786970709,"filename":"image_13012025_17_48_02_976376_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c5ff79c8bf3bb8b34137ddae4325d748.jpg","text":"TemporaryFile(/tmp/multipartBody1277534533776202813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736786970709,"filename":"image_13012025_17_47_02_749185_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328666408","file1":"1328666405","file0":"1328666402"},"map_files_photo_id_array":[{"photo_id":"1328666408","filename":"file2"},{"photo_id":"1328666405","filename":"file1"},{"photo_id":"1328666402","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328666405":["hashtag1","hashtag2"]},{"1328666408":["hashtag1","hashtag2"]},{"1328666402":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328666405, 1328666408, 1328666402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.17487072944641 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:49:02.504795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:49:22.024795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/48/image_13012025_17_48_02_976376_0003.jpg', '/home/pi/Desktop/images/13012025/17/49/image_13012025_17_49_03_087378_0000.jpg', '/home/pi/Desktop/images/13012025/17/49/image_13012025_17_49_03_087378_0001.jpg', '/home/pi/Desktop/images/13012025/17/49/image_13012025_17_49_03_087378_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/48/image_13012025_17_48_02_976376_0003.jpg
/home/pi/Desktop/images/13012025/17/49/image_13012025_17_49_03_087378_0000.jpg
/home/pi/Desktop/images/13012025/17/49/image_13012025_17_49_03_087378_0001.jpg
/home/pi/Desktop/images/13012025/17/49/image_13012025_17_49_03_087378_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328666429","1328666434","1328666431","1328666425"],"photo_ids_order":["1328666425","1328666429","1328666431","1328666434"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bfcbccd02896964239a21a43279ed3a6.jpg","text":"TemporaryFile(/tmp/multipartBody4839857218419179505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787032215,"filename":"image_13012025_17_49_03_087378_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9eaa42f87c8218dd80a6a299626a7da8.jpg","text":"TemporaryFile(/tmp/multipartBody3260694721399507189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787032215,"filename":"image_13012025_17_49_03_087378_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8fbc96b31658bb67278fbd38b8add29f.jpg","text":"TemporaryFile(/tmp/multipartBody595494460941004757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787032215,"filename":"image_13012025_17_49_03_087378_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7995ab0c3dfcf057af35557e2a836e4b.jpg","text":"TemporaryFile(/tmp/multipartBody7194531612000061956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787032215,"filename":"image_13012025_17_48_02_976376_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328666431","file1":"1328666429","file0":"1328666425","file3":"1328666434"},"map_files_photo_id_array":[{"photo_id":"1328666431","filename":"file2"},{"photo_id":"1328666429","filename":"file1"},{"photo_id":"1328666425","filename":"file0"},{"photo_id":"1328666434","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328666429":["hashtag1","hashtag2"]},{"1328666434":["hashtag1","hashtag2"]},{"1328666431":["hashtag1","hashtag2"]},{"1328666425":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328666429, 1328666434, 1328666431, 1328666425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.99922060966492 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:50:22.122106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/49/image_13012025_17_49_03_087378_0003.jpg', '/home/pi/Desktop/images/13012025/17/50/image_13012025_17_50_02_279068_0000.jpg', '/home/pi/Desktop/images/13012025/17/50/image_13012025_17_50_02_279068_0001.jpg', '/home/pi/Desktop/images/13012025/17/50/image_13012025_17_50_02_279068_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/49/image_13012025_17_49_03_087378_0003.jpg
/home/pi/Desktop/images/13012025/17/50/image_13012025_17_50_02_279068_0000.jpg
/home/pi/Desktop/images/13012025/17/50/image_13012025_17_50_02_279068_0001.jpg
/home/pi/Desktop/images/13012025/17/50/image_13012025_17_50_02_279068_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328666561","1328666549","1328666557","1328666553"],"photo_ids_order":["1328666549","1328666553","1328666557","1328666561"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/23601b68f5398c1ea1eb346860f49526.jpg","text":"TemporaryFile(/tmp/multipartBody8467488184798740918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787092413,"filename":"image_13012025_17_50_02_279068_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1920271e4b87d0c2dd1fa09e68993d0f.jpg","text":"TemporaryFile(/tmp/multipartBody1168017989538338555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787092413,"filename":"image_13012025_17_49_03_087378_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9eef7383086b1d0652a52b722f7e321a.jpg","text":"TemporaryFile(/tmp/multipartBody2925825519111885887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787092413,"filename":"image_13012025_17_50_02_279068_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dfa861049b0646df33b0e2a0bdf12a4c.jpg","text":"TemporaryFile(/tmp/multipartBody3514581657165162196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787092413,"filename":"image_13012025_17_50_02_279068_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328666557","file1":"1328666553","file0":"1328666549","file3":"1328666561"},"map_files_photo_id_array":[{"photo_id":"1328666557","filename":"file2"},{"photo_id":"1328666553","filename":"file1"},{"photo_id":"1328666549","filename":"file0"},{"photo_id":"1328666561","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328666561":["hashtag1","hashtag2"]},{"1328666549":["hashtag1","hashtag2"]},{"1328666557":["hashtag1","hashtag2"]},{"1328666553":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328666561, 1328666549, 1328666557, 1328666553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.25038409233093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:51:02.731047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:51:22.250745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/50/image_13012025_17_50_02_279068_0003.jpg', '/home/pi/Desktop/images/13012025/17/51/image_13012025_17_51_02_458444_0000.jpg', '/home/pi/Desktop/images/13012025/17/51/image_13012025_17_51_02_458444_0001.jpg', '/home/pi/Desktop/images/13012025/17/51/image_13012025_17_51_02_458444_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/50/image_13012025_17_50_02_279068_0003.jpg
/home/pi/Desktop/images/13012025/17/51/image_13012025_17_51_02_458444_0000.jpg
/home/pi/Desktop/images/13012025/17/51/image_13012025_17_51_02_458444_0001.jpg
/home/pi/Desktop/images/13012025/17/51/image_13012025_17_51_02_458444_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328666743","1328666611","1328666574","1328666577"],"photo_ids_order":["1328666574","1328666577","1328666611","1328666743"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7dd5ebec0060d83cc45f62e9a8d6c33c.jpg","text":"TemporaryFile(/tmp/multipartBody287595331370337427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787152530,"filename":"image_13012025_17_51_02_458444_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b25b256f3f85db17337a65e897c8ff0f.jpg","text":"TemporaryFile(/tmp/multipartBody235393803550329183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787152530,"filename":"image_13012025_17_51_02_458444_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6e777aa321754feec971329783891040.jpg","text":"TemporaryFile(/tmp/multipartBody5595431324766829619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787152530,"filename":"image_13012025_17_50_02_279068_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5485070d3ac06e3dbc0a981669077e78.jpg","text":"TemporaryFile(/tmp/multipartBody3425920736523904612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787152530,"filename":"image_13012025_17_51_02_458444_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328666611","file1":"1328666577","file0":"1328666574","file3":"1328666743"},"map_files_photo_id_array":[{"photo_id":"1328666611","filename":"file2"},{"photo_id":"1328666577","filename":"file1"},{"photo_id":"1328666574","filename":"file0"},{"photo_id":"1328666743","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328666743":["hashtag1","hashtag2"]},{"1328666611":["hashtag1","hashtag2"]},{"1328666574":["hashtag1","hashtag2"]},{"1328666577":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328666743, 1328666611, 1328666574, 1328666577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.37147498130798 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:52:02.758425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:52:22.443752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/51/image_13012025_17_51_02_458444_0003.jpg', '/home/pi/Desktop/images/13012025/17/52/image_13012025_17_52_02_604077_0000.jpg', '/home/pi/Desktop/images/13012025/17/52/image_13012025_17_52_02_604077_0001.jpg', '/home/pi/Desktop/images/13012025/17/52/image_13012025_17_52_02_604077_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/51/image_13012025_17_51_02_458444_0003.jpg
/home/pi/Desktop/images/13012025/17/52/image_13012025_17_52_02_604077_0000.jpg
/home/pi/Desktop/images/13012025/17/52/image_13012025_17_52_02_604077_0001.jpg
/home/pi/Desktop/images/13012025/17/52/image_13012025_17_52_02_604077_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328666789","1328666784","1328666781","1328666777"],"photo_ids_order":["1328666777","1328666781","1328666784","1328666789"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c98569fea8ee44486156c8b64219ac88.jpg","text":"TemporaryFile(/tmp/multipartBody5190550200223653058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787212733,"filename":"image_13012025_17_52_02_604077_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0ed6caf49878059a79c89bbf2391c059.jpg","text":"TemporaryFile(/tmp/multipartBody5322249411935303501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787212733,"filename":"image_13012025_17_52_02_604077_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/09e05275c7c4830687a43868328a126b.jpg","text":"TemporaryFile(/tmp/multipartBody3900016363042309451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787212733,"filename":"image_13012025_17_52_02_604077_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/061715b890a3010887f088de4aecd59a.jpg","text":"TemporaryFile(/tmp/multipartBody6643597323163937138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787212733,"filename":"image_13012025_17_51_02_458444_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328666784","file1":"1328666781","file0":"1328666777","file3":"1328666789"},"map_files_photo_id_array":[{"photo_id":"1328666784","filename":"file2"},{"photo_id":"1328666781","filename":"file1"},{"photo_id":"1328666777","filename":"file0"},{"photo_id":"1328666789","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328666789":["hashtag1","hashtag2"]},{"1328666784":["hashtag1","hashtag2"]},{"1328666781":["hashtag1","hashtag2"]},{"1328666777":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328666789, 1328666784, 1328666781, 1328666777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.21706295013428 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:53:03.115774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:53:22.573163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/52/image_13012025_17_52_02_604077_0003.jpg', '/home/pi/Desktop/images/13012025/17/53/image_13012025_17_53_02_790725_0000.jpg', '/home/pi/Desktop/images/13012025/17/53/image_13012025_17_53_02_790725_0001.jpg', '/home/pi/Desktop/images/13012025/17/53/image_13012025_17_53_02_790725_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/52/image_13012025_17_52_02_604077_0003.jpg
/home/pi/Desktop/images/13012025/17/53/image_13012025_17_53_02_790725_0000.jpg
/home/pi/Desktop/images/13012025/17/53/image_13012025_17_53_02_790725_0001.jpg
/home/pi/Desktop/images/13012025/17/53/image_13012025_17_53_02_790725_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328666813","1328666816","1328666807","1328666803"],"photo_ids_order":["1328666803","1328666807","1328666813","1328666816"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9ca079e15df4674f2b8845fd48ec24af.jpg","text":"TemporaryFile(/tmp/multipartBody212387949041722511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787273060,"filename":"image_13012025_17_53_02_790725_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7430178ab40ad03ddab45ff2a0adddc5.jpg","text":"TemporaryFile(/tmp/multipartBody8511047959679047271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787273060,"filename":"image_13012025_17_53_02_790725_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f218133d980dd9d8fe670ac8b8698a77.jpg","text":"TemporaryFile(/tmp/multipartBody5742449070696624310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787273060,"filename":"image_13012025_17_53_02_790725_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ed400cb210721b0d4f95914171e1c261.jpg","text":"TemporaryFile(/tmp/multipartBody7518517662683768296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787273060,"filename":"image_13012025_17_52_02_604077_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328666813","file1":"1328666807","file0":"1328666803","file3":"1328666816"},"map_files_photo_id_array":[{"photo_id":"1328666813","filename":"file2"},{"photo_id":"1328666807","filename":"file1"},{"photo_id":"1328666803","filename":"file0"},{"photo_id":"1328666816","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328666813":["hashtag1","hashtag2"]},{"1328666816":["hashtag1","hashtag2"]},{"1328666807":["hashtag1","hashtag2"]},{"1328666803":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328666813, 1328666816, 1328666807, 1328666803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.28890013694763 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:54:22.731792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/53/image_13012025_17_53_02_790725_0003.jpg', '/home/pi/Desktop/images/13012025/17/54/image_13012025_17_54_02_974845_0000.jpg', '/home/pi/Desktop/images/13012025/17/54/image_13012025_17_54_02_974845_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/53/image_13012025_17_53_02_790725_0003.jpg
/home/pi/Desktop/images/13012025/17/54/image_13012025_17_54_02_974845_0000.jpg
/home/pi/Desktop/images/13012025/17/54/image_13012025_17_54_02_974845_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328666831","1328666825","1328666827"],"photo_ids_order":["1328666825","1328666827","1328666831"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/39fedaa21db33a1f1f7f357eba1cd54c.jpg","text":"TemporaryFile(/tmp/multipartBody5553460038899363804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787330614,"filename":"image_13012025_17_54_02_974845_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/75b0eb415b4f7ceb693eed973daf5c5b.jpg","text":"TemporaryFile(/tmp/multipartBody1902163320640142946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787330614,"filename":"image_13012025_17_53_02_790725_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/afb2f82b9f4b67835b5da152f973cd0c.jpg","text":"TemporaryFile(/tmp/multipartBody2014300483465861893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787330614,"filename":"image_13012025_17_54_02_974845_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328666831","file1":"1328666827","file0":"1328666825"},"map_files_photo_id_array":[{"photo_id":"1328666831","filename":"file2"},{"photo_id":"1328666827","filename":"file1"},{"photo_id":"1328666825","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328666831":["hashtag1","hashtag2"]},{"1328666825":["hashtag1","hashtag2"]},{"1328666827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328666831, 1328666825, 1328666827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.85587286949158 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:55:02.708312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:55:22.071583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/54/image_13012025_17_54_02_974845_0002.jpg', '/home/pi/Desktop/images/13012025/17/55/image_13012025_17_55_03_130969_0000.jpg', '/home/pi/Desktop/images/13012025/17/55/image_13012025_17_55_03_130969_0001.jpg', '/home/pi/Desktop/images/13012025/17/55/image_13012025_17_55_03_130969_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/54/image_13012025_17_54_02_974845_0002.jpg
/home/pi/Desktop/images/13012025/17/55/image_13012025_17_55_03_130969_0000.jpg
/home/pi/Desktop/images/13012025/17/55/image_13012025_17_55_03_130969_0001.jpg
/home/pi/Desktop/images/13012025/17/55/image_13012025_17_55_03_130969_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328666849","1328666854","1328666851","1328666858"],"photo_ids_order":["1328666849","1328666851","1328666854","1328666858"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0984c423d9e7cfcd5c176101cfaf03eb.jpg","text":"TemporaryFile(/tmp/multipartBody2990616013800226213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787392190,"filename":"image_13012025_17_54_02_974845_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/20497d47627766975b01d4a46837b2ef.jpg","text":"TemporaryFile(/tmp/multipartBody6433142124132530416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787392190,"filename":"image_13012025_17_55_03_130969_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0f7a051e57a307987c1c7a3ed4cdb0ed.jpg","text":"TemporaryFile(/tmp/multipartBody1875600473584769650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787392190,"filename":"image_13012025_17_55_03_130969_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/16ac5a423eee05d33ca56f1aeebef9ae.jpg","text":"TemporaryFile(/tmp/multipartBody2545413281664436475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787392190,"filename":"image_13012025_17_55_03_130969_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328666854","file1":"1328666851","file0":"1328666849","file3":"1328666858"},"map_files_photo_id_array":[{"photo_id":"1328666854","filename":"file2"},{"photo_id":"1328666851","filename":"file1"},{"photo_id":"1328666849","filename":"file0"},{"photo_id":"1328666858","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328666849":["hashtag1","hashtag2"]},{"1328666854":["hashtag1","hashtag2"]},{"1328666851":["hashtag1","hashtag2"]},{"1328666858":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328666849, 1328666854, 1328666851, 1328666858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.09435701370239 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:56:22.144774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/55/image_13012025_17_55_03_130969_0003.jpg', '/home/pi/Desktop/images/13012025/17/56/image_13012025_17_56_02_299772_0000.jpg', '/home/pi/Desktop/images/13012025/17/56/image_13012025_17_56_02_299772_0001.jpg', '/home/pi/Desktop/images/13012025/17/56/image_13012025_17_56_02_299772_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/55/image_13012025_17_55_03_130969_0003.jpg
/home/pi/Desktop/images/13012025/17/56/image_13012025_17_56_02_299772_0000.jpg
/home/pi/Desktop/images/13012025/17/56/image_13012025_17_56_02_299772_0001.jpg
/home/pi/Desktop/images/13012025/17/56/image_13012025_17_56_02_299772_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328667133","1328667064","1328667139","1328667090"],"photo_ids_order":["1328667064","1328667090","1328667133","1328667139"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4b015d8932e270895e7b09e1961c9f0d.jpg","text":"TemporaryFile(/tmp/multipartBody131131041208953199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787452234,"filename":"image_13012025_17_56_02_299772_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/882b9fad365c7492f1405d959601a7fa.jpg","text":"TemporaryFile(/tmp/multipartBody5556069403147831192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787452234,"filename":"image_13012025_17_55_03_130969_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4fc2c5c9e4514276d1e13c447a543a5e.jpg","text":"TemporaryFile(/tmp/multipartBody306964977435858505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787452234,"filename":"image_13012025_17_56_02_299772_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/18b557bc547a96ea16cbae438bfeaece.jpg","text":"TemporaryFile(/tmp/multipartBody5724142892466798724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787452234,"filename":"image_13012025_17_56_02_299772_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328667133","file1":"1328667090","file0":"1328667064","file3":"1328667139"},"map_files_photo_id_array":[{"photo_id":"1328667133","filename":"file2"},{"photo_id":"1328667090","filename":"file1"},{"photo_id":"1328667064","filename":"file0"},{"photo_id":"1328667139","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328667133":["hashtag1","hashtag2"]},{"1328667064":["hashtag1","hashtag2"]},{"1328667139":["hashtag1","hashtag2"]},{"1328667090":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328667133, 1328667064, 1328667139, 1328667090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.60465049743652 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:57:02.920046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 17:57:22.196288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/56/image_13012025_17_56_02_299772_0003.jpg', '/home/pi/Desktop/images/13012025/17/57/image_13012025_17_57_02_462128_0000.jpg', '/home/pi/Desktop/images/13012025/17/57/image_13012025_17_57_02_462128_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/56/image_13012025_17_56_02_299772_0003.jpg
/home/pi/Desktop/images/13012025/17/57/image_13012025_17_57_02_462128_0000.jpg
/home/pi/Desktop/images/13012025/17/57/image_13012025_17_57_02_462128_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.425261497497559 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 17:57:32.238766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/56/image_13012025_17_56_02_299772_0003.jpg', '/home/pi/Desktop/images/13012025/17/57/image_13012025_17_57_02_462128_0000.jpg', '/home/pi/Desktop/images/13012025/17/57/image_13012025_17_57_02_462128_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/56/image_13012025_17_56_02_299772_0003.jpg
/home/pi/Desktop/images/13012025/17/57/image_13012025_17_57_02_462128_0000.jpg
/home/pi/Desktop/images/13012025/17/57/image_13012025_17_57_02_462128_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 17:59:03.007186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/56/image_13012025_17_56_02_299772_0003.jpg', '/home/pi/Desktop/images/13012025/17/57/image_13012025_17_57_02_462128_0000.jpg', '/home/pi/Desktop/images/13012025/17/57/image_13012025_17_57_02_462128_0001.jpg', '/home/pi/Desktop/images/13012025/17/57/image_13012025_17_57_02_462128_0003.jpg', '/home/pi/Desktop/images/13012025/17/58/image_13012025_17_58_02_588243_0000.jpg', '/home/pi/Desktop/images/13012025/17/58/image_13012025_17_58_02_588243_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/56/image_13012025_17_56_02_299772_0003.jpg
/home/pi/Desktop/images/13012025/17/57/image_13012025_17_57_02_462128_0000.jpg
/home/pi/Desktop/images/13012025/17/57/image_13012025_17_57_02_462128_0001.jpg
/home/pi/Desktop/images/13012025/17/57/image_13012025_17_57_02_462128_0003.jpg
/home/pi/Desktop/images/13012025/17/58/image_13012025_17_58_02_588243_0000.jpg
/home/pi/Desktop/images/13012025/17/58/image_13012025_17_58_02_588243_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328667206","1328667199","1328667193","1328667208","1328667210","1328667203"],"photo_ids_order":["1328667193","1328667199","1328667203","1328667206","1328667208","1328667210"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8db034333f74557b89a8d5bec8656813.jpg","text":"TemporaryFile(/tmp/multipartBody3903284634961603085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787618074,"filename":"image_13012025_17_57_02_462128_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/204f8ef8d136e3d7546f5d7bd372d333.jpg","text":"TemporaryFile(/tmp/multipartBody5662709973414735403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787618074,"filename":"image_13012025_17_57_02_462128_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7592548e93d04c966f24c1908fbee769.jpg","text":"TemporaryFile(/tmp/multipartBody742621053221053618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787618074,"filename":"image_13012025_17_56_02_299772_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f09cd95222366deb8df89c1a5e68e30a.jpg","text":"TemporaryFile(/tmp/multipartBody410884577170672543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787618074,"filename":"image_13012025_17_58_02_588243_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/99ec748a51520ffe9ae98f23da8260e5.jpg","text":"TemporaryFile(/tmp/multipartBody1855107006906040405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787618074,"filename":"image_13012025_17_58_02_588243_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bda0deb388ba9d3252d02ff57cb580a9.jpg","text":"TemporaryFile(/tmp/multipartBody2764984374563934230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787618074,"filename":"image_13012025_17_57_02_462128_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328667203","file1":"1328667199","file0":"1328667193","file4":"1328667208","file5":"1328667210","file3":"1328667206"},"map_files_photo_id_array":[{"photo_id":"1328667210","filename":"file5"},{"photo_id":"1328667203","filename":"file2"},{"photo_id":"1328667208","filename":"file4"},{"photo_id":"1328667199","filename":"file1"},{"photo_id":"1328667193","filename":"file0"},{"photo_id":"1328667206","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328667206":["hashtag1","hashtag2"]},{"1328667199":["hashtag1","hashtag2"]},{"1328667193":["hashtag1","hashtag2"]},{"1328667208":["hashtag1","hashtag2"]},{"1328667210":["hashtag1","hashtag2"]},{"1328667203":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328667206, 1328667199, 1328667193, 1328667208, 1328667210, 1328667203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.42513823509216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 18:00:03.177603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/58/image_13012025_17_58_02_588243_0002.jpg', '/home/pi/Desktop/images/13012025/17/59/image_13012025_17_59_02_739051_0000.jpg', '/home/pi/Desktop/images/13012025/17/59/image_13012025_17_59_02_739051_0001.jpg', '/home/pi/Desktop/images/13012025/17/59/image_13012025_17_59_02_739051_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/58/image_13012025_17_58_02_588243_0002.jpg
/home/pi/Desktop/images/13012025/17/59/image_13012025_17_59_02_739051_0000.jpg
/home/pi/Desktop/images/13012025/17/59/image_13012025_17_59_02_739051_0001.jpg
/home/pi/Desktop/images/13012025/17/59/image_13012025_17_59_02_739051_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328667220","1328667223","1328667226","1328667230"],"photo_ids_order":["1328667220","1328667223","1328667226","1328667230"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7d460c20392f2c6ff94c38ccb556bf4e.jpg","text":"TemporaryFile(/tmp/multipartBody1192977418455765945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787673719,"filename":"image_13012025_17_58_02_588243_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e7bd1e96d86c3e506680acce06b5000c.jpg","text":"TemporaryFile(/tmp/multipartBody8574292238128690944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787673719,"filename":"image_13012025_17_59_02_739051_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d357f5d3c67da90bce4221303b5bec48.jpg","text":"TemporaryFile(/tmp/multipartBody3274249722585223290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787673719,"filename":"image_13012025_17_59_02_739051_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bf9dc305adb5dc6cf31522c63b7bdbbd.jpg","text":"TemporaryFile(/tmp/multipartBody6613023768213763853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787673719,"filename":"image_13012025_17_59_02_739051_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328667226","file1":"1328667223","file0":"1328667220","file3":"1328667230"},"map_files_photo_id_array":[{"photo_id":"1328667226","filename":"file2"},{"photo_id":"1328667223","filename":"file1"},{"photo_id":"1328667220","filename":"file0"},{"photo_id":"1328667230","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328667220":["hashtag1","hashtag2"]},{"1328667223":["hashtag1","hashtag2"]},{"1328667226":["hashtag1","hashtag2"]},{"1328667230":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328667220, 1328667223, 1328667226, 1328667230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.338783979415894 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 18:00:52.685148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/59/image_13012025_17_59_02_739051_0003.jpg', '/home/pi/Desktop/images/13012025/18/00/image_13012025_18_00_02_903386_0000.jpg', '/home/pi/Desktop/images/13012025/18/00/image_13012025_18_00_02_903386_0001.jpg', '/home/pi/Desktop/images/13012025/18/00/image_13012025_18_00_02_903386_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/17/59/image_13012025_17_59_02_739051_0003.jpg
/home/pi/Desktop/images/13012025/18/00/image_13012025_18_00_02_903386_0000.jpg
/home/pi/Desktop/images/13012025/18/00/image_13012025_18_00_02_903386_0001.jpg
/home/pi/Desktop/images/13012025/18/00/image_13012025_18_00_02_903386_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328667253","1328667241","1328667249","1328667245"],"photo_ids_order":["1328667241","1328667245","1328667249","1328667253"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/61be1cc35b1fa8d7b2f135a2d83e24ba.jpg","text":"TemporaryFile(/tmp/multipartBody3535950833479331971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787722953,"filename":"image_13012025_18_00_02_903386_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/67585f553cd3fea49b03a219952ccb73.jpg","text":"TemporaryFile(/tmp/multipartBody966896378265053513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787722953,"filename":"image_13012025_17_59_02_739051_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1db461020cc58bfe3d4a887a34803fec.jpg","text":"TemporaryFile(/tmp/multipartBody751984330300453685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787722953,"filename":"image_13012025_18_00_02_903386_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ab7880f53972b4a8da8e56c3b8810a9a.jpg","text":"TemporaryFile(/tmp/multipartBody5945504295834991236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787722953,"filename":"image_13012025_18_00_02_903386_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328667249","file1":"1328667245","file0":"1328667241","file3":"1328667253"},"map_files_photo_id_array":[{"photo_id":"1328667249","filename":"file2"},{"photo_id":"1328667245","filename":"file1"},{"photo_id":"1328667241","filename":"file0"},{"photo_id":"1328667253","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328667253":["hashtag1","hashtag2"]},{"1328667241":["hashtag1","hashtag2"]},{"1328667249":["hashtag1","hashtag2"]},{"1328667245":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328667253, 1328667241, 1328667249, 1328667245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.52452063560486 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 18:01:41.909543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/00/image_13012025_18_00_02_903386_0003.jpg', '/home/pi/Desktop/images/13012025/18/01/image_13012025_18_01_03_091434_0000.jpg', '/home/pi/Desktop/images/13012025/18/01/image_13012025_18_01_03_091434_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/00/image_13012025_18_00_02_903386_0003.jpg
/home/pi/Desktop/images/13012025/18/01/image_13012025_18_01_03_091434_0000.jpg
/home/pi/Desktop/images/13012025/18/01/image_13012025_18_01_03_091434_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328667268","1328667270","1328667269"],"photo_ids_order":["1328667268","1328667269","1328667270"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2211daca5d9277f5ddac388d28c8f365.jpg","text":"TemporaryFile(/tmp/multipartBody7812350123994070883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787769750,"filename":"image_13012025_18_00_02_903386_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2c27993219685b07a26eae81aaef62bb.jpg","text":"TemporaryFile(/tmp/multipartBody8023353209048338461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787769750,"filename":"image_13012025_18_01_03_091434_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1c5ba0a1f5b0134b5ca765d5832932de.jpg","text":"TemporaryFile(/tmp/multipartBody7778175971253587661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787769750,"filename":"image_13012025_18_01_03_091434_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328667270","file1":"1328667269","file0":"1328667268"},"map_files_photo_id_array":[{"photo_id":"1328667270","filename":"file2"},{"photo_id":"1328667269","filename":"file1"},{"photo_id":"1328667268","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328667268":["hashtag1","hashtag2"]},{"1328667270":["hashtag1","hashtag2"]},{"1328667269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328667268, 1328667270, 1328667269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.0828595161438 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:02:22.158601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/01/image_13012025_18_01_03_091434_0003.jpg', '/home/pi/Desktop/images/13012025/18/02/image_13012025_18_02_02_234609_0000.jpg', '/home/pi/Desktop/images/13012025/18/02/image_13012025_18_02_02_234609_0001.jpg', '/home/pi/Desktop/images/13012025/18/02/image_13012025_18_02_02_234609_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/01/image_13012025_18_01_03_091434_0003.jpg
/home/pi/Desktop/images/13012025/18/02/image_13012025_18_02_02_234609_0000.jpg
/home/pi/Desktop/images/13012025/18/02/image_13012025_18_02_02_234609_0001.jpg
/home/pi/Desktop/images/13012025/18/02/image_13012025_18_02_02_234609_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328667313","1328667301","1328667315","1328667293"],"photo_ids_order":["1328667293","1328667301","1328667313","1328667315"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2e232d2bf6e20c5dc2ea408de7b7db90.jpg","text":"TemporaryFile(/tmp/multipartBody6891468368757830868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787812245,"filename":"image_13012025_18_02_02_234609_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3afbb69c913aea033278a1be93199272.jpg","text":"TemporaryFile(/tmp/multipartBody7134698547226566316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787812245,"filename":"image_13012025_18_02_02_234609_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7dcb4bd8286883ff454905a3de632b1a.jpg","text":"TemporaryFile(/tmp/multipartBody1572433263292056354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787812245,"filename":"image_13012025_18_02_02_234609_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a7b150063b0320cd62b79f176a66a717.jpg","text":"TemporaryFile(/tmp/multipartBody4738696712846754096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787812245,"filename":"image_13012025_18_01_03_091434_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328667313","file1":"1328667301","file0":"1328667293","file3":"1328667315"},"map_files_photo_id_array":[{"photo_id":"1328667313","filename":"file2"},{"photo_id":"1328667301","filename":"file1"},{"photo_id":"1328667293","filename":"file0"},{"photo_id":"1328667315","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328667313":["hashtag1","hashtag2"]},{"1328667301":["hashtag1","hashtag2"]},{"1328667315":["hashtag1","hashtag2"]},{"1328667293":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328667313, 1328667301, 1328667315, 1328667293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.517590284347534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:03:22.247565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/02/image_13012025_18_02_02_234609_0003.jpg', '/home/pi/Desktop/images/13012025/18/03/image_13012025_18_03_02_454710_0000.jpg', '/home/pi/Desktop/images/13012025/18/03/image_13012025_18_03_02_454710_0001.jpg', '/home/pi/Desktop/images/13012025/18/03/image_13012025_18_03_02_454710_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/02/image_13012025_18_02_02_234609_0003.jpg
/home/pi/Desktop/images/13012025/18/03/image_13012025_18_03_02_454710_0000.jpg
/home/pi/Desktop/images/13012025/18/03/image_13012025_18_03_02_454710_0001.jpg
/home/pi/Desktop/images/13012025/18/03/image_13012025_18_03_02_454710_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328667358","1328667355","1328667351","1328667362"],"photo_ids_order":["1328667351","1328667355","1328667358","1328667362"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0196908a5ce4fd56ea0ddff277d2ea54.jpg","text":"TemporaryFile(/tmp/multipartBody3949032945689068134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787872480,"filename":"image_13012025_18_03_02_454710_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a54f2c93254e3be74c9b3bb9a4e722f3.jpg","text":"TemporaryFile(/tmp/multipartBody3989407943105406180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787872480,"filename":"image_13012025_18_03_02_454710_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/22509e9e2144f5d755a50753193b7fda.jpg","text":"TemporaryFile(/tmp/multipartBody3003321528476390066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787872480,"filename":"image_13012025_18_02_02_234609_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1ece11b32ca56f285cc780589418f191.jpg","text":"TemporaryFile(/tmp/multipartBody1987043237079353622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787872480,"filename":"image_13012025_18_03_02_454710_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328667358","file1":"1328667355","file0":"1328667351","file3":"1328667362"},"map_files_photo_id_array":[{"photo_id":"1328667358","filename":"file2"},{"photo_id":"1328667355","filename":"file1"},{"photo_id":"1328667351","filename":"file0"},{"photo_id":"1328667362","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328667358":["hashtag1","hashtag2"]},{"1328667355":["hashtag1","hashtag2"]},{"1328667351":["hashtag1","hashtag2"]},{"1328667362":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328667358, 1328667355, 1328667351, 1328667362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.64174747467041 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:04:22.508963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/03/image_13012025_18_03_02_454710_0003.jpg', '/home/pi/Desktop/images/13012025/18/04/image_13012025_18_04_02_719303_0000.jpg', '/home/pi/Desktop/images/13012025/18/04/image_13012025_18_04_02_719303_0001.jpg', '/home/pi/Desktop/images/13012025/18/04/image_13012025_18_04_02_719303_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/03/image_13012025_18_03_02_454710_0003.jpg
/home/pi/Desktop/images/13012025/18/04/image_13012025_18_04_02_719303_0000.jpg
/home/pi/Desktop/images/13012025/18/04/image_13012025_18_04_02_719303_0001.jpg
/home/pi/Desktop/images/13012025/18/04/image_13012025_18_04_02_719303_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328667382","1328667387","1328667378","1328667374"],"photo_ids_order":["1328667374","1328667378","1328667382","1328667387"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f7ff4d6b97728714febd320f5cef7009.jpg","text":"TemporaryFile(/tmp/multipartBody2383573728046740955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787932650,"filename":"image_13012025_18_04_02_719303_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a824a18ddd9ef1bb1bf4eb4ecf470f34.jpg","text":"TemporaryFile(/tmp/multipartBody7322942836602155251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787932650,"filename":"image_13012025_18_04_02_719303_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/33a3347ed3bef69abbbb645141e86d14.jpg","text":"TemporaryFile(/tmp/multipartBody5390344812830474120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787932650,"filename":"image_13012025_18_04_02_719303_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/851ddc3322e32343180a5838bab29227.jpg","text":"TemporaryFile(/tmp/multipartBody6636757750544609289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787932650,"filename":"image_13012025_18_03_02_454710_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328667382","file1":"1328667378","file0":"1328667374","file3":"1328667387"},"map_files_photo_id_array":[{"photo_id":"1328667382","filename":"file2"},{"photo_id":"1328667378","filename":"file1"},{"photo_id":"1328667374","filename":"file0"},{"photo_id":"1328667387","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328667382":["hashtag1","hashtag2"]},{"1328667387":["hashtag1","hashtag2"]},{"1328667378":["hashtag1","hashtag2"]},{"1328667374":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328667382, 1328667387, 1328667378, 1328667374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.57899832725525 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 18:05:03.256432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:05:22.626530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/04/image_13012025_18_04_02_719303_0003.jpg', '/home/pi/Desktop/images/13012025/18/05/image_13012025_18_05_02_862089_0000.jpg', '/home/pi/Desktop/images/13012025/18/05/image_13012025_18_05_02_862089_0001.jpg', '/home/pi/Desktop/images/13012025/18/05/image_13012025_18_05_02_862089_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/04/image_13012025_18_04_02_719303_0003.jpg
/home/pi/Desktop/images/13012025/18/05/image_13012025_18_05_02_862089_0000.jpg
/home/pi/Desktop/images/13012025/18/05/image_13012025_18_05_02_862089_0001.jpg
/home/pi/Desktop/images/13012025/18/05/image_13012025_18_05_02_862089_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328668578","1328668569","1328668574","1328668583"],"photo_ids_order":["1328668569","1328668574","1328668578","1328668583"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c17e4820f697af850a493714ffc06e58.jpg","text":"TemporaryFile(/tmp/multipartBody4204145115179386029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787992707,"filename":"image_13012025_18_05_02_862089_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1883dfd2e4aa94756c09897466ca70d2.jpg","text":"TemporaryFile(/tmp/multipartBody8931800095283680630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787992707,"filename":"image_13012025_18_04_02_719303_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fde705a857551ca899b1df6afe9e39c7.jpg","text":"TemporaryFile(/tmp/multipartBody1867437296686858868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787992707,"filename":"image_13012025_18_05_02_862089_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2401ceb2f487c33cd930e922ae0eb958.jpg","text":"TemporaryFile(/tmp/multipartBody3243116412056616266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736787992707,"filename":"image_13012025_18_05_02_862089_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328668578","file1":"1328668574","file0":"1328668569","file3":"1328668583"},"map_files_photo_id_array":[{"photo_id":"1328668578","filename":"file2"},{"photo_id":"1328668574","filename":"file1"},{"photo_id":"1328668569","filename":"file0"},{"photo_id":"1328668583","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328668578":["hashtag1","hashtag2"]},{"1328668569":["hashtag1","hashtag2"]},{"1328668574":["hashtag1","hashtag2"]},{"1328668583":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328668578, 1328668569, 1328668574, 1328668583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.486995458602905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:06:21.870958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/05/image_13012025_18_05_02_862089_0003.jpg', '/home/pi/Desktop/images/13012025/18/06/image_13012025_18_06_03_078260_0000.jpg', '/home/pi/Desktop/images/13012025/18/06/image_13012025_18_06_03_078260_0001.jpg', '/home/pi/Desktop/images/13012025/18/06/image_13012025_18_06_03_078260_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/05/image_13012025_18_05_02_862089_0003.jpg
/home/pi/Desktop/images/13012025/18/06/image_13012025_18_06_03_078260_0000.jpg
/home/pi/Desktop/images/13012025/18/06/image_13012025_18_06_03_078260_0001.jpg
/home/pi/Desktop/images/13012025/18/06/image_13012025_18_06_03_078260_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.57284688949585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 18:06:41.859900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/05/image_13012025_18_05_02_862089_0003.jpg', '/home/pi/Desktop/images/13012025/18/06/image_13012025_18_06_03_078260_0000.jpg', '/home/pi/Desktop/images/13012025/18/06/image_13012025_18_06_03_078260_0001.jpg', '/home/pi/Desktop/images/13012025/18/06/image_13012025_18_06_03_078260_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/05/image_13012025_18_05_02_862089_0003.jpg
/home/pi/Desktop/images/13012025/18/06/image_13012025_18_06_03_078260_0000.jpg
/home/pi/Desktop/images/13012025/18/06/image_13012025_18_06_03_078260_0001.jpg
/home/pi/Desktop/images/13012025/18/06/image_13012025_18_06_03_078260_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328668915","1328668911","1328668919","1328668907"],"photo_ids_order":["1328668907","1328668911","1328668915","1328668919"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/752b27404ce1a4630027230000086f15.jpg","text":"TemporaryFile(/tmp/multipartBody1756796946371131499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788071827,"filename":"image_13012025_18_06_03_078260_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0f79be0425041e02afec2ffd53641d1d.jpg","text":"TemporaryFile(/tmp/multipartBody1188986779935201448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788071827,"filename":"image_13012025_18_06_03_078260_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aa85ca9ae125980a9b577bd963b4d4c4.jpg","text":"TemporaryFile(/tmp/multipartBody4987564002610858355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788071827,"filename":"image_13012025_18_06_03_078260_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cbb701e4f43c9a44105abdebf91a1aa1.jpg","text":"TemporaryFile(/tmp/multipartBody5800340742342745461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788071827,"filename":"image_13012025_18_05_02_862089_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328668915","file1":"1328668911","file0":"1328668907","file3":"1328668919"},"map_files_photo_id_array":[{"photo_id":"1328668915","filename":"file2"},{"photo_id":"1328668911","filename":"file1"},{"photo_id":"1328668907","filename":"file0"},{"photo_id":"1328668919","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328668915":["hashtag1","hashtag2"]},{"1328668911":["hashtag1","hashtag2"]},{"1328668919":["hashtag1","hashtag2"]},{"1328668907":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328668915, 1328668911, 1328668919, 1328668907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.37392711639404 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:07:22.005502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/06/image_13012025_18_06_03_078260_0003.jpg', '/home/pi/Desktop/images/13012025/18/07/image_13012025_18_07_02_218001_0000.jpg', '/home/pi/Desktop/images/13012025/18/07/image_13012025_18_07_02_218001_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/06/image_13012025_18_06_03_078260_0003.jpg
/home/pi/Desktop/images/13012025/18/07/image_13012025_18_07_02_218001_0000.jpg
/home/pi/Desktop/images/13012025/18/07/image_13012025_18_07_02_218001_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328668927","1328668936","1328668938"],"photo_ids_order":["1328668927","1328668936","1328668938"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0645baa71d9290e3aa13c41e3ba4b0a1.jpg","text":"TemporaryFile(/tmp/multipartBody9150540058746259964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788109704,"filename":"image_13012025_18_06_03_078260_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d8d7885594b16106e643f053c462355c.jpg","text":"TemporaryFile(/tmp/multipartBody1830946482518988384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788109704,"filename":"image_13012025_18_07_02_218001_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/386fc216c55d34842930a58e653bcd6f.jpg","text":"TemporaryFile(/tmp/multipartBody2469872011271649474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788109704,"filename":"image_13012025_18_07_02_218001_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328668938","file1":"1328668936","file0":"1328668927"},"map_files_photo_id_array":[{"photo_id":"1328668938","filename":"file2"},{"photo_id":"1328668936","filename":"file1"},{"photo_id":"1328668927","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328668927":["hashtag1","hashtag2"]},{"1328668936":["hashtag1","hashtag2"]},{"1328668938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328668927, 1328668936, 1328668938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.8938570022583 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 18:08:02.527142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:08:22.298491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/07/image_13012025_18_07_02_218001_0002.jpg', '/home/pi/Desktop/images/13012025/18/08/image_13012025_18_08_02_411758_0000.jpg', '/home/pi/Desktop/images/13012025/18/08/image_13012025_18_08_02_411758_0001.jpg', '/home/pi/Desktop/images/13012025/18/08/image_13012025_18_08_02_411758_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/07/image_13012025_18_07_02_218001_0002.jpg
/home/pi/Desktop/images/13012025/18/08/image_13012025_18_08_02_411758_0000.jpg
/home/pi/Desktop/images/13012025/18/08/image_13012025_18_08_02_411758_0001.jpg
/home/pi/Desktop/images/13012025/18/08/image_13012025_18_08_02_411758_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328668992","1328668986","1328668989","1328668983"],"photo_ids_order":["1328668983","1328668986","1328668989","1328668992"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/852f646016d2bc9afdf361d660440e07.jpg","text":"TemporaryFile(/tmp/multipartBody7174196504283502536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788172422,"filename":"image_13012025_18_08_02_411758_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aaded8ab3ab3ee8c8c7f06ee10c2a36a.jpg","text":"TemporaryFile(/tmp/multipartBody1329529705899359466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788172422,"filename":"image_13012025_18_08_02_411758_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e619818a3b5f711a4cb5f8dc63a8e888.jpg","text":"TemporaryFile(/tmp/multipartBody8672931022732598299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788172422,"filename":"image_13012025_18_08_02_411758_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2af0113cbf6c54eaf6b24ea3ad961fc2.jpg","text":"TemporaryFile(/tmp/multipartBody5922591678696473503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788172422,"filename":"image_13012025_18_07_02_218001_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328668989","file1":"1328668986","file0":"1328668983","file3":"1328668992"},"map_files_photo_id_array":[{"photo_id":"1328668989","filename":"file2"},{"photo_id":"1328668986","filename":"file1"},{"photo_id":"1328668983","filename":"file0"},{"photo_id":"1328668992","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328668992":["hashtag1","hashtag2"]},{"1328668986":["hashtag1","hashtag2"]},{"1328668989":["hashtag1","hashtag2"]},{"1328668983":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328668992, 1328668986, 1328668989, 1328668983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.77581715583801 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 18:09:03.079507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:09:22.440386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/08/image_13012025_18_08_02_411758_0003.jpg', '/home/pi/Desktop/images/13012025/18/09/image_13012025_18_09_02_595531_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/08/image_13012025_18_08_02_411758_0003.jpg
/home/pi/Desktop/images/13012025/18/09/image_13012025_18_09_02_595531_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328669009","1328669005"],"photo_ids_order":["1328669005","1328669009"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ceea82af1f7a25dda126d7f52d1ae055.jpg","text":"TemporaryFile(/tmp/multipartBody5197071885129751825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788227766,"filename":"image_13012025_18_09_02_595531_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bf198f260b7ec79c785335c63403fb0f.jpg","text":"TemporaryFile(/tmp/multipartBody3173163086259662757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788227766,"filename":"image_13012025_18_08_02_411758_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328669009","file0":"1328669005"},"map_files_photo_id_array":[{"photo_id":"1328669009","filename":"file1"},{"photo_id":"1328669005","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328669009":["hashtag1","hashtag2"]},{"1328669005":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328669009, 1328669005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.544899225234985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 18:09:52.412021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 18:10:03.077675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:10:22.624115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/09/image_13012025_18_09_02_595531_0003.jpg', '/home/pi/Desktop/images/13012025/18/10/image_13012025_18_10_02_765985_0000.jpg', '/home/pi/Desktop/images/13012025/18/10/image_13012025_18_10_02_765985_0001.jpg', '/home/pi/Desktop/images/13012025/18/10/image_13012025_18_10_02_765985_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/09/image_13012025_18_09_02_595531_0003.jpg
/home/pi/Desktop/images/13012025/18/10/image_13012025_18_10_02_765985_0000.jpg
/home/pi/Desktop/images/13012025/18/10/image_13012025_18_10_02_765985_0001.jpg
/home/pi/Desktop/images/13012025/18/10/image_13012025_18_10_02_765985_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.742547988891602 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 18:10:42.636697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/09/image_13012025_18_09_02_595531_0003.jpg', '/home/pi/Desktop/images/13012025/18/10/image_13012025_18_10_02_765985_0000.jpg', '/home/pi/Desktop/images/13012025/18/10/image_13012025_18_10_02_765985_0001.jpg', '/home/pi/Desktop/images/13012025/18/10/image_13012025_18_10_02_765985_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/09/image_13012025_18_09_02_595531_0003.jpg
/home/pi/Desktop/images/13012025/18/10/image_13012025_18_10_02_765985_0000.jpg
/home/pi/Desktop/images/13012025/18/10/image_13012025_18_10_02_765985_0001.jpg
/home/pi/Desktop/images/13012025/18/10/image_13012025_18_10_02_765985_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328669067","1328669061","1328669063","1328669059"],"photo_ids_order":["1328669059","1328669061","1328669063","1328669067"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7c0028b602c09204ea63efdead84a094.jpg","text":"TemporaryFile(/tmp/multipartBody6772175997575152283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788312774,"filename":"image_13012025_18_10_02_765985_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/018b0288441f5715f1651a23e5f675c9.jpg","text":"TemporaryFile(/tmp/multipartBody5220267857481280869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788312774,"filename":"image_13012025_18_10_02_765985_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7c5854bdfb219cdeeac8d672603c6ab9.jpg","text":"TemporaryFile(/tmp/multipartBody9045170283178796353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788312774,"filename":"image_13012025_18_10_02_765985_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6f33990afff39df6915cef38d8a23bde.jpg","text":"TemporaryFile(/tmp/multipartBody5410815332193964455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788312774,"filename":"image_13012025_18_09_02_595531_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328669063","file1":"1328669061","file0":"1328669059","file3":"1328669067"},"map_files_photo_id_array":[{"photo_id":"1328669063","filename":"file2"},{"photo_id":"1328669061","filename":"file1"},{"photo_id":"1328669059","filename":"file0"},{"photo_id":"1328669067","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328669067":["hashtag1","hashtag2"]},{"1328669061":["hashtag1","hashtag2"]},{"1328669063":["hashtag1","hashtag2"]},{"1328669059":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328669067, 1328669061, 1328669063, 1328669059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.878978967666626 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 18:11:31.763288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/10/image_13012025_18_10_02_765985_0003.jpg', '/home/pi/Desktop/images/13012025/18/11/image_13012025_18_11_02_937452_0000.jpg', '/home/pi/Desktop/images/13012025/18/11/image_13012025_18_11_02_937452_0001.jpg', '/home/pi/Desktop/images/13012025/18/11/image_13012025_18_11_02_937452_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/10/image_13012025_18_10_02_765985_0003.jpg
/home/pi/Desktop/images/13012025/18/11/image_13012025_18_11_02_937452_0000.jpg
/home/pi/Desktop/images/13012025/18/11/image_13012025_18_11_02_937452_0001.jpg
/home/pi/Desktop/images/13012025/18/11/image_13012025_18_11_02_937452_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.802504539489746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 18:11:51.752151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/10/image_13012025_18_10_02_765985_0003.jpg', '/home/pi/Desktop/images/13012025/18/11/image_13012025_18_11_02_937452_0000.jpg', '/home/pi/Desktop/images/13012025/18/11/image_13012025_18_11_02_937452_0001.jpg', '/home/pi/Desktop/images/13012025/18/11/image_13012025_18_11_02_937452_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/10/image_13012025_18_10_02_765985_0003.jpg
/home/pi/Desktop/images/13012025/18/11/image_13012025_18_11_02_937452_0000.jpg
/home/pi/Desktop/images/13012025/18/11/image_13012025_18_11_02_937452_0001.jpg
/home/pi/Desktop/images/13012025/18/11/image_13012025_18_11_02_937452_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328669139","1328669165","1328669147","1328669143"],"photo_ids_order":["1328669139","1328669143","1328669147","1328669165"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/06164fcba646148802d98d8ae1d61d02.jpg","text":"TemporaryFile(/tmp/multipartBody3991619785695686021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788381966,"filename":"image_13012025_18_10_02_765985_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/900bf174478a1b80df0ff608a6adac8b.jpg","text":"TemporaryFile(/tmp/multipartBody5573644185630544114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788381966,"filename":"image_13012025_18_11_02_937452_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/05e874477985e4ccbd91ba4b96179c01.jpg","text":"TemporaryFile(/tmp/multipartBody1503923826024443270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788381966,"filename":"image_13012025_18_11_02_937452_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dd397301d685ba4014cd0cc43394d9b6.jpg","text":"TemporaryFile(/tmp/multipartBody4634574652052825980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788381966,"filename":"image_13012025_18_11_02_937452_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328669147","file1":"1328669143","file0":"1328669139","file3":"1328669165"},"map_files_photo_id_array":[{"photo_id":"1328669147","filename":"file2"},{"photo_id":"1328669143","filename":"file1"},{"photo_id":"1328669139","filename":"file0"},{"photo_id":"1328669165","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328669139":["hashtag1","hashtag2"]},{"1328669165":["hashtag1","hashtag2"]},{"1328669147":["hashtag1","hashtag2"]},{"1328669143":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328669139, 1328669165, 1328669147, 1328669143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.96811127662659 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 18:12:31.934507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/11/image_13012025_18_11_02_937452_0003.jpg', '/home/pi/Desktop/images/13012025/18/12/image_13012025_18_12_02_205873_0000.jpg', '/home/pi/Desktop/images/13012025/18/12/image_13012025_18_12_02_205873_0001.jpg', '/home/pi/Desktop/images/13012025/18/12/image_13012025_18_12_02_205873_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/11/image_13012025_18_11_02_937452_0003.jpg
/home/pi/Desktop/images/13012025/18/12/image_13012025_18_12_02_205873_0000.jpg
/home/pi/Desktop/images/13012025/18/12/image_13012025_18_12_02_205873_0001.jpg
/home/pi/Desktop/images/13012025/18/12/image_13012025_18_12_02_205873_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328669205","1328669210","1328669207","1328669203"],"photo_ids_order":["1328669203","1328669205","1328669207","1328669210"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d46c59c0ff58ca083f435f0d2752d806.jpg","text":"TemporaryFile(/tmp/multipartBody6641330794977657536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788422111,"filename":"image_13012025_18_12_02_205873_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/84a2a46c34107596bbc6bd0e1f6c18e7.jpg","text":"TemporaryFile(/tmp/multipartBody284699380154671180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788422111,"filename":"image_13012025_18_12_02_205873_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9a676f3dd10e0975890c86dd2db33f2b.jpg","text":"TemporaryFile(/tmp/multipartBody3888937203913156298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788422111,"filename":"image_13012025_18_12_02_205873_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9af077bc79d1def4ea59b9083180b4f4.jpg","text":"TemporaryFile(/tmp/multipartBody5716400674644184459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788422111,"filename":"image_13012025_18_11_02_937452_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328669207","file1":"1328669205","file0":"1328669203","file3":"1328669210"},"map_files_photo_id_array":[{"photo_id":"1328669207","filename":"file2"},{"photo_id":"1328669205","filename":"file1"},{"photo_id":"1328669203","filename":"file0"},{"photo_id":"1328669210","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328669205":["hashtag1","hashtag2"]},{"1328669210":["hashtag1","hashtag2"]},{"1328669207":["hashtag1","hashtag2"]},{"1328669203":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328669205, 1328669210, 1328669207, 1328669203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.17251539230347 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:13:22.178162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/12/image_13012025_18_12_02_205873_0003.jpg', '/home/pi/Desktop/images/13012025/18/13/image_13012025_18_13_02_317276_0000.jpg', '/home/pi/Desktop/images/13012025/18/13/image_13012025_18_13_02_317276_0001.jpg', '/home/pi/Desktop/images/13012025/18/13/image_13012025_18_13_02_317276_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/12/image_13012025_18_12_02_205873_0003.jpg
/home/pi/Desktop/images/13012025/18/13/image_13012025_18_13_02_317276_0000.jpg
/home/pi/Desktop/images/13012025/18/13/image_13012025_18_13_02_317276_0001.jpg
/home/pi/Desktop/images/13012025/18/13/image_13012025_18_13_02_317276_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328669259","1328669270","1328669266","1328669263"],"photo_ids_order":["1328669259","1328669263","1328669266","1328669270"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e652465f6bd59cfb959812413588714c.jpg","text":"TemporaryFile(/tmp/multipartBody2133930034864097512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788472343,"filename":"image_13012025_18_12_02_205873_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fccda12b518db4769c8899000571862e.jpg","text":"TemporaryFile(/tmp/multipartBody3329696306476582418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788472343,"filename":"image_13012025_18_13_02_317276_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6f84d7f2c497e66d9183d2d2af8e4ccc.jpg","text":"TemporaryFile(/tmp/multipartBody7013704048669668553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788472343,"filename":"image_13012025_18_13_02_317276_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/08976ea68aba86fa29eed94855db95fe.jpg","text":"TemporaryFile(/tmp/multipartBody1989495413115307851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788472343,"filename":"image_13012025_18_13_02_317276_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328669266","file1":"1328669263","file0":"1328669259","file3":"1328669270"},"map_files_photo_id_array":[{"photo_id":"1328669266","filename":"file2"},{"photo_id":"1328669263","filename":"file1"},{"photo_id":"1328669259","filename":"file0"},{"photo_id":"1328669270","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328669259":["hashtag1","hashtag2"]},{"1328669270":["hashtag1","hashtag2"]},{"1328669266":["hashtag1","hashtag2"]},{"1328669263":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328669259, 1328669270, 1328669266, 1328669263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.10266947746277 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 18:14:02.690484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:14:22.210223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/13/image_13012025_18_13_02_317276_0003.jpg', '/home/pi/Desktop/images/13012025/18/14/image_13012025_18_14_02_476646_0000.jpg', '/home/pi/Desktop/images/13012025/18/14/image_13012025_18_14_02_476646_0001.jpg', '/home/pi/Desktop/images/13012025/18/14/image_13012025_18_14_02_476646_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/13/image_13012025_18_13_02_317276_0003.jpg
/home/pi/Desktop/images/13012025/18/14/image_13012025_18_14_02_476646_0000.jpg
/home/pi/Desktop/images/13012025/18/14/image_13012025_18_14_02_476646_0001.jpg
/home/pi/Desktop/images/13012025/18/14/image_13012025_18_14_02_476646_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328669296","1328669309","1328669290","1328669302"],"photo_ids_order":["1328669290","1328669296","1328669302","1328669309"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/307d5941b8597d774d74bbe810ea5b0a.jpg","text":"TemporaryFile(/tmp/multipartBody5205286761528075597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788532228,"filename":"image_13012025_18_14_02_476646_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6d382f7fa6a5a374871ab05fd317e553.jpg","text":"TemporaryFile(/tmp/multipartBody6254183152176060332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788532228,"filename":"image_13012025_18_14_02_476646_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0bde4d8d61ac0f09a5652abbc732ab80.jpg","text":"TemporaryFile(/tmp/multipartBody7174588192243207680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788532228,"filename":"image_13012025_18_13_02_317276_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/12c615ad6541b3ee8718015776e1d587.jpg","text":"TemporaryFile(/tmp/multipartBody5144600275138950184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788532228,"filename":"image_13012025_18_14_02_476646_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328669302","file1":"1328669296","file0":"1328669290","file3":"1328669309"},"map_files_photo_id_array":[{"photo_id":"1328669302","filename":"file2"},{"photo_id":"1328669296","filename":"file1"},{"photo_id":"1328669290","filename":"file0"},{"photo_id":"1328669309","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328669296":["hashtag1","hashtag2"]},{"1328669309":["hashtag1","hashtag2"]},{"1328669290":["hashtag1","hashtag2"]},{"1328669302":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328669296, 1328669309, 1328669290, 1328669302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.06709933280945 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 18:15:02.923121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:15:22.503270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/14/image_13012025_18_14_02_476646_0003.jpg', '/home/pi/Desktop/images/13012025/18/15/image_13012025_18_15_02_587697_0000.jpg', '/home/pi/Desktop/images/13012025/18/15/image_13012025_18_15_02_587697_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/14/image_13012025_18_14_02_476646_0003.jpg
/home/pi/Desktop/images/13012025/18/15/image_13012025_18_15_02_587697_0000.jpg
/home/pi/Desktop/images/13012025/18/15/image_13012025_18_15_02_587697_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328669334","1328669337","1328669329"],"photo_ids_order":["1328669329","1328669334","1328669337"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/980cecfc7dbe39844432669bdae05d7f.jpg","text":"TemporaryFile(/tmp/multipartBody6809742670215688834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788590357,"filename":"image_13012025_18_15_02_587697_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1d37c13cf1e43223b061e96e4cd945c1.jpg","text":"TemporaryFile(/tmp/multipartBody4381652543436471662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788590357,"filename":"image_13012025_18_15_02_587697_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/60e000d706f003bee6b0a3a04ed3c322.jpg","text":"TemporaryFile(/tmp/multipartBody370398791092705506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788590357,"filename":"image_13012025_18_14_02_476646_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328669337","file1":"1328669334","file0":"1328669329"},"map_files_photo_id_array":[{"photo_id":"1328669337","filename":"file2"},{"photo_id":"1328669334","filename":"file1"},{"photo_id":"1328669329","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328669334":["hashtag1","hashtag2"]},{"1328669337":["hashtag1","hashtag2"]},{"1328669329":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328669334, 1328669337, 1328669329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.632466077804565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 18:16:03.070925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:16:22.698430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/15/image_13012025_18_15_02_587697_0003.jpg', '/home/pi/Desktop/images/13012025/18/16/image_13012025_18_16_02_850000_0000.jpg', '/home/pi/Desktop/images/13012025/18/16/image_13012025_18_16_02_850000_0001.jpg', '/home/pi/Desktop/images/13012025/18/16/image_13012025_18_16_02_850000_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/15/image_13012025_18_15_02_587697_0003.jpg
/home/pi/Desktop/images/13012025/18/16/image_13012025_18_16_02_850000_0000.jpg
/home/pi/Desktop/images/13012025/18/16/image_13012025_18_16_02_850000_0001.jpg
/home/pi/Desktop/images/13012025/18/16/image_13012025_18_16_02_850000_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328669676","1328669649","1328669663","1328669671"],"photo_ids_order":["1328669649","1328669663","1328669671","1328669676"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/95eaeb60ecbae9b069506ec9418c7e27.jpg","text":"TemporaryFile(/tmp/multipartBody6639974613445195290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788652867,"filename":"image_13012025_18_16_02_850000_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4debabb5a0d044c89f51da8062870d8f.jpg","text":"TemporaryFile(/tmp/multipartBody2128536812397507798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788652867,"filename":"image_13012025_18_15_02_587697_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a749b0aafaa5150a883ccdafa86089d5.jpg","text":"TemporaryFile(/tmp/multipartBody5283064348419030354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788652867,"filename":"image_13012025_18_16_02_850000_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/023d460db3a521dd1ca050b6c3986eed.jpg","text":"TemporaryFile(/tmp/multipartBody4247738599810782758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788652867,"filename":"image_13012025_18_16_02_850000_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328669671","file1":"1328669663","file0":"1328669649","file3":"1328669676"},"map_files_photo_id_array":[{"photo_id":"1328669671","filename":"file2"},{"photo_id":"1328669663","filename":"file1"},{"photo_id":"1328669649","filename":"file0"},{"photo_id":"1328669676","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328669676":["hashtag1","hashtag2"]},{"1328669649":["hashtag1","hashtag2"]},{"1328669663":["hashtag1","hashtag2"]},{"1328669671":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328669676, 1328669649, 1328669663, 1328669671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.357797384262085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:17:21.738075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/16/image_13012025_18_16_02_850000_0003.jpg', '/home/pi/Desktop/images/13012025/18/17/image_13012025_18_17_03_018074_0000.jpg', '/home/pi/Desktop/images/13012025/18/17/image_13012025_18_17_03_018074_0001.jpg', '/home/pi/Desktop/images/13012025/18/17/image_13012025_18_17_03_018074_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/16/image_13012025_18_16_02_850000_0003.jpg
/home/pi/Desktop/images/13012025/18/17/image_13012025_18_17_03_018074_0000.jpg
/home/pi/Desktop/images/13012025/18/17/image_13012025_18_17_03_018074_0001.jpg
/home/pi/Desktop/images/13012025/18/17/image_13012025_18_17_03_018074_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328669704","1328669715","1328669709","1328669700"],"photo_ids_order":["1328669700","1328669704","1328669709","1328669715"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b90627a36e7374585e90e265c025a5fb.jpg","text":"TemporaryFile(/tmp/multipartBody5144461395770969167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788712443,"filename":"image_13012025_18_17_03_018074_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2c33a7c3d51f14df3237c8cc3720780c.jpg","text":"TemporaryFile(/tmp/multipartBody755371567001954961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788712443,"filename":"image_13012025_18_17_03_018074_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/90c9198f9c43e968270b373a4a0f1954.jpg","text":"TemporaryFile(/tmp/multipartBody9002924431035590411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788712443,"filename":"image_13012025_18_17_03_018074_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aca07261c81a92d6da173000a42af2a2.jpg","text":"TemporaryFile(/tmp/multipartBody3886719506854591342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788712443,"filename":"image_13012025_18_16_02_850000_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328669709","file1":"1328669704","file0":"1328669700","file3":"1328669715"},"map_files_photo_id_array":[{"photo_id":"1328669709","filename":"file2"},{"photo_id":"1328669704","filename":"file1"},{"photo_id":"1328669700","filename":"file0"},{"photo_id":"1328669715","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328669704":["hashtag1","hashtag2"]},{"1328669715":["hashtag1","hashtag2"]},{"1328669709":["hashtag1","hashtag2"]},{"1328669700":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328669704, 1328669715, 1328669709, 1328669700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.721729040145874 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:18:21.983363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/17/image_13012025_18_17_03_018074_0003.jpg', '/home/pi/Desktop/images/13012025/18/18/image_13012025_18_18_02_252070_0000.jpg', '/home/pi/Desktop/images/13012025/18/18/image_13012025_18_18_02_252070_0001.jpg', '/home/pi/Desktop/images/13012025/18/18/image_13012025_18_18_02_252070_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/17/image_13012025_18_17_03_018074_0003.jpg
/home/pi/Desktop/images/13012025/18/18/image_13012025_18_18_02_252070_0000.jpg
/home/pi/Desktop/images/13012025/18/18/image_13012025_18_18_02_252070_0001.jpg
/home/pi/Desktop/images/13012025/18/18/image_13012025_18_18_02_252070_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328669868","1328669763","1328669861","1328669851"],"photo_ids_order":["1328669763","1328669851","1328669861","1328669868"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/523eece95b051b3641195c7bfc440380.jpg","text":"TemporaryFile(/tmp/multipartBody7331131714974911618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788772275,"filename":"image_13012025_18_18_02_252070_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/14e6b2a61847437d8b6891cb8956c4ac.jpg","text":"TemporaryFile(/tmp/multipartBody5118687449360781096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788772275,"filename":"image_13012025_18_17_03_018074_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/da3da7801593e15b3038bca9e18d63db.jpg","text":"TemporaryFile(/tmp/multipartBody1560019114145454491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788772275,"filename":"image_13012025_18_18_02_252070_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ed594d54d569a8657df0ea5d3946d9fb.jpg","text":"TemporaryFile(/tmp/multipartBody59034386917745181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788772275,"filename":"image_13012025_18_18_02_252070_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328669861","file1":"1328669851","file0":"1328669763","file3":"1328669868"},"map_files_photo_id_array":[{"photo_id":"1328669861","filename":"file2"},{"photo_id":"1328669851","filename":"file1"},{"photo_id":"1328669763","filename":"file0"},{"photo_id":"1328669868","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328669868":["hashtag1","hashtag2"]},{"1328669763":["hashtag1","hashtag2"]},{"1328669861":["hashtag1","hashtag2"]},{"1328669851":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328669868, 1328669763, 1328669861, 1328669851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.53563213348389 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:19:22.193718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/18/image_13012025_18_18_02_252070_0003.jpg', '/home/pi/Desktop/images/13012025/18/19/image_13012025_18_19_02_370325_0000.jpg', '/home/pi/Desktop/images/13012025/18/19/image_13012025_18_19_02_370325_0001.jpg', '/home/pi/Desktop/images/13012025/18/19/image_13012025_18_19_02_370325_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/18/image_13012025_18_18_02_252070_0003.jpg
/home/pi/Desktop/images/13012025/18/19/image_13012025_18_19_02_370325_0000.jpg
/home/pi/Desktop/images/13012025/18/19/image_13012025_18_19_02_370325_0001.jpg
/home/pi/Desktop/images/13012025/18/19/image_13012025_18_19_02_370325_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328669931","1328669913","1328669925","1328669919"],"photo_ids_order":["1328669913","1328669919","1328669925","1328669931"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9193e08a112bf0bddb14e0d56ea50409.jpg","text":"TemporaryFile(/tmp/multipartBody5942852241287805381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788832414,"filename":"image_13012025_18_19_02_370325_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0b3d2e9d4d9bd2ba8125aaa000d4c860.jpg","text":"TemporaryFile(/tmp/multipartBody3601090734593800553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788832414,"filename":"image_13012025_18_18_02_252070_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f9d1418a405e4b235930dd3f013efb4e.jpg","text":"TemporaryFile(/tmp/multipartBody5621443662402234845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788832414,"filename":"image_13012025_18_19_02_370325_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/30dfa3e7eed1901c646065cc5b836e51.jpg","text":"TemporaryFile(/tmp/multipartBody3606970359480034026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788832414,"filename":"image_13012025_18_19_02_370325_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328669925","file1":"1328669919","file0":"1328669913","file3":"1328669931"},"map_files_photo_id_array":[{"photo_id":"1328669925","filename":"file2"},{"photo_id":"1328669919","filename":"file1"},{"photo_id":"1328669913","filename":"file0"},{"photo_id":"1328669931","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328669931":["hashtag1","hashtag2"]},{"1328669913":["hashtag1","hashtag2"]},{"1328669925":["hashtag1","hashtag2"]},{"1328669919":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328669931, 1328669913, 1328669925, 1328669919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.21531009674072 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:20:22.361128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/19/image_13012025_18_19_02_370325_0003.jpg', '/home/pi/Desktop/images/13012025/18/20/image_13012025_18_20_02_555499_0000.jpg', '/home/pi/Desktop/images/13012025/18/20/image_13012025_18_20_02_555499_0001.jpg', '/home/pi/Desktop/images/13012025/18/20/image_13012025_18_20_02_555499_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/19/image_13012025_18_19_02_370325_0003.jpg
/home/pi/Desktop/images/13012025/18/20/image_13012025_18_20_02_555499_0000.jpg
/home/pi/Desktop/images/13012025/18/20/image_13012025_18_20_02_555499_0001.jpg
/home/pi/Desktop/images/13012025/18/20/image_13012025_18_20_02_555499_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328669960","1328669951","1328669965","1328669956"],"photo_ids_order":["1328669951","1328669956","1328669960","1328669965"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/82f3c626617984cd80449cf1b6c9bd41.jpg","text":"TemporaryFile(/tmp/multipartBody7034170160497089197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788892509,"filename":"image_13012025_18_20_02_555499_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/44209695f380c33a7a656740d8d175bd.jpg","text":"TemporaryFile(/tmp/multipartBody1466459228870575780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788892509,"filename":"image_13012025_18_19_02_370325_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2f35f840f4fbc8038db05329e3f13017.jpg","text":"TemporaryFile(/tmp/multipartBody212539426904727697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788892509,"filename":"image_13012025_18_20_02_555499_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/60b669667acd69efbc16de599839ad7c.jpg","text":"TemporaryFile(/tmp/multipartBody480290611116568056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788892509,"filename":"image_13012025_18_20_02_555499_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328669960","file1":"1328669956","file0":"1328669951","file3":"1328669965"},"map_files_photo_id_array":[{"photo_id":"1328669960","filename":"file2"},{"photo_id":"1328669956","filename":"file1"},{"photo_id":"1328669951","filename":"file0"},{"photo_id":"1328669965","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328669960":["hashtag1","hashtag2"]},{"1328669951":["hashtag1","hashtag2"]},{"1328669965":["hashtag1","hashtag2"]},{"1328669956":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328669960, 1328669951, 1328669965, 1328669956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.433104515075684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 18:21:03.006980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:21:22.539475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/20/image_13012025_18_20_02_555499_0003.jpg', '/home/pi/Desktop/images/13012025/18/21/image_13012025_18_21_02_647947_0000.jpg', '/home/pi/Desktop/images/13012025/18/21/image_13012025_18_21_02_647947_0001.jpg', '/home/pi/Desktop/images/13012025/18/21/image_13012025_18_21_02_647947_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/20/image_13012025_18_20_02_555499_0003.jpg
/home/pi/Desktop/images/13012025/18/21/image_13012025_18_21_02_647947_0000.jpg
/home/pi/Desktop/images/13012025/18/21/image_13012025_18_21_02_647947_0001.jpg
/home/pi/Desktop/images/13012025/18/21/image_13012025_18_21_02_647947_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328669987","1328669978","1328670003","1328669983"],"photo_ids_order":["1328669978","1328669983","1328669987","1328670003"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bcd85b1de207e22839c57c1a68c6cfc0.jpg","text":"TemporaryFile(/tmp/multipartBody5457360799042573525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788952788,"filename":"image_13012025_18_21_02_647947_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b1fe5b9d43cb03482b0fb839105f5aff.jpg","text":"TemporaryFile(/tmp/multipartBody3838613936858032052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788952788,"filename":"image_13012025_18_20_02_555499_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c4ee45ea2b1254e3170b7b3fff246be5.jpg","text":"TemporaryFile(/tmp/multipartBody6664870304989638879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788952788,"filename":"image_13012025_18_21_02_647947_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b17e81c5de7edbefbb0ece3ecd0b24b9.jpg","text":"TemporaryFile(/tmp/multipartBody2203313556516403454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736788952788,"filename":"image_13012025_18_21_02_647947_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328669987","file1":"1328669983","file0":"1328669978","file3":"1328670003"},"map_files_photo_id_array":[{"photo_id":"1328669987","filename":"file2"},{"photo_id":"1328669983","filename":"file1"},{"photo_id":"1328669978","filename":"file0"},{"photo_id":"1328670003","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328669987":["hashtag1","hashtag2"]},{"1328669978":["hashtag1","hashtag2"]},{"1328670003":["hashtag1","hashtag2"]},{"1328669983":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328669987, 1328669978, 1328670003, 1328669983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.72878456115723 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:22:22.638848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/21/image_13012025_18_21_02_647947_0003.jpg', '/home/pi/Desktop/images/13012025/18/22/image_13012025_18_22_02_864031_0000.jpg', '/home/pi/Desktop/images/13012025/18/22/image_13012025_18_22_02_864031_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/21/image_13012025_18_21_02_647947_0003.jpg
/home/pi/Desktop/images/13012025/18/22/image_13012025_18_22_02_864031_0000.jpg
/home/pi/Desktop/images/13012025/18/22/image_13012025_18_22_02_864031_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328670078","1328670074","1328670070"],"photo_ids_order":["1328670070","1328670074","1328670078"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f0493945a72bb95dcbd633a87e31f00f.jpg","text":"TemporaryFile(/tmp/multipartBody6061823162613973939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789010359,"filename":"image_13012025_18_22_02_864031_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7620d065b6fe9d5c43523d4d2da9f4dc.jpg","text":"TemporaryFile(/tmp/multipartBody4965463491472597265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789010359,"filename":"image_13012025_18_22_02_864031_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9046411125860d063c0187d2eb5092e3.jpg","text":"TemporaryFile(/tmp/multipartBody5320185272468010931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789010359,"filename":"image_13012025_18_21_02_647947_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328670078","file1":"1328670074","file0":"1328670070"},"map_files_photo_id_array":[{"photo_id":"1328670078","filename":"file2"},{"photo_id":"1328670074","filename":"file1"},{"photo_id":"1328670070","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328670078":["hashtag1","hashtag2"]},{"1328670074":["hashtag1","hashtag2"]},{"1328670070":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328670078, 1328670074, 1328670070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.44693422317505 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 18:23:02.423752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:23:21.707841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/22/image_13012025_18_22_02_864031_0002.jpg', '/home/pi/Desktop/images/13012025/18/23/image_13012025_18_23_02_989458_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/22/image_13012025_18_22_02_864031_0002.jpg
/home/pi/Desktop/images/13012025/18/23/image_13012025_18_23_02_989458_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328670124","1328670118"],"photo_ids_order":["1328670118","1328670124"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bbec3e3567168f4c6888fec789ec4e4f.jpg","text":"TemporaryFile(/tmp/multipartBody5258191556863837282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789067054,"filename":"image_13012025_18_23_02_989458_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1d27d02344f7a49feb5f9e25a3f4b64b.jpg","text":"TemporaryFile(/tmp/multipartBody5921249594438353483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789067054,"filename":"image_13012025_18_22_02_864031_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328670124","file0":"1328670118"},"map_files_photo_id_array":[{"photo_id":"1328670124","filename":"file1"},{"photo_id":"1328670118","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328670124":["hashtag1","hashtag2"]},{"1328670118":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328670124, 1328670118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.53917169570923 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 18:23:51.870205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 18:24:02.602560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:24:22.129229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/23/image_13012025_18_23_02_989458_0001.jpg', '/home/pi/Desktop/images/13012025/18/24/image_13012025_18_24_02_165869_0000.jpg', '/home/pi/Desktop/images/13012025/18/24/image_13012025_18_24_02_165869_0001.jpg', '/home/pi/Desktop/images/13012025/18/24/image_13012025_18_24_02_165869_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/23/image_13012025_18_23_02_989458_0001.jpg
/home/pi/Desktop/images/13012025/18/24/image_13012025_18_24_02_165869_0000.jpg
/home/pi/Desktop/images/13012025/18/24/image_13012025_18_24_02_165869_0001.jpg
/home/pi/Desktop/images/13012025/18/24/image_13012025_18_24_02_165869_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328670301","1328670290","1328670295","1328670286"],"photo_ids_order":["1328670286","1328670290","1328670295","1328670301"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b95d23b36600c04ac652a96ee1a5e814.jpg","text":"TemporaryFile(/tmp/multipartBody2227367251765774801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789132346,"filename":"image_13012025_18_24_02_165869_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9f078ae3552f0ac4178b852510677cc4.jpg","text":"TemporaryFile(/tmp/multipartBody3555951298082053059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789132346,"filename":"image_13012025_18_24_02_165869_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/28298d980d10e0c6ea32d0367027a3f2.jpg","text":"TemporaryFile(/tmp/multipartBody3867567123555389173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789132346,"filename":"image_13012025_18_24_02_165869_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3f2f8dcde04b3595fb024ff7f4ed54f7.jpg","text":"TemporaryFile(/tmp/multipartBody3454404339486227351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789132346,"filename":"image_13012025_18_23_02_989458_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328670295","file1":"1328670290","file0":"1328670286","file3":"1328670301"},"map_files_photo_id_array":[{"photo_id":"1328670295","filename":"file2"},{"photo_id":"1328670290","filename":"file1"},{"photo_id":"1328670286","filename":"file0"},{"photo_id":"1328670301","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328670301":["hashtag1","hashtag2"]},{"1328670290":["hashtag1","hashtag2"]},{"1328670295":["hashtag1","hashtag2"]},{"1328670286":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328670301, 1328670290, 1328670295, 1328670286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.7002899646759 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 18:25:02.843227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:25:22.200570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/24/image_13012025_18_24_02_165869_0003.jpg', '/home/pi/Desktop/images/13012025/18/25/image_13012025_18_25_02_425179_0000.jpg', '/home/pi/Desktop/images/13012025/18/25/image_13012025_18_25_02_425179_0001.jpg', '/home/pi/Desktop/images/13012025/18/25/image_13012025_18_25_02_425179_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/24/image_13012025_18_24_02_165869_0003.jpg
/home/pi/Desktop/images/13012025/18/25/image_13012025_18_25_02_425179_0000.jpg
/home/pi/Desktop/images/13012025/18/25/image_13012025_18_25_02_425179_0001.jpg
/home/pi/Desktop/images/13012025/18/25/image_13012025_18_25_02_425179_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328670328","1328670320","1328670338","1328670323"],"photo_ids_order":["1328670320","1328670323","1328670328","1328670338"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cef2c5a2262a614d1905ae849a406f26.jpg","text":"TemporaryFile(/tmp/multipartBody6645201410598376073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789192550,"filename":"image_13012025_18_25_02_425179_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a689188e9555c75b9e38c1f2505a6b47.jpg","text":"TemporaryFile(/tmp/multipartBody7895392636619082553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789192550,"filename":"image_13012025_18_24_02_165869_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/916ac7ceabf617b47e27cd3ccc4c80c6.jpg","text":"TemporaryFile(/tmp/multipartBody5090651714710587769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789192550,"filename":"image_13012025_18_25_02_425179_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cca84ef44b37b65fee7d2ed87e6b9d30.jpg","text":"TemporaryFile(/tmp/multipartBody4724211379222836479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789192550,"filename":"image_13012025_18_25_02_425179_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328670328","file1":"1328670323","file0":"1328670320","file3":"1328670338"},"map_files_photo_id_array":[{"photo_id":"1328670328","filename":"file2"},{"photo_id":"1328670323","filename":"file1"},{"photo_id":"1328670320","filename":"file0"},{"photo_id":"1328670338","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328670328":["hashtag1","hashtag2"]},{"1328670320":["hashtag1","hashtag2"]},{"1328670338":["hashtag1","hashtag2"]},{"1328670323":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328670328, 1328670320, 1328670338, 1328670323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.287461042404175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 18:26:02.762813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:26:22.472151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/25/image_13012025_18_25_02_425179_0003.jpg', '/home/pi/Desktop/images/13012025/18/26/image_13012025_18_26_02_606426_0000.jpg', '/home/pi/Desktop/images/13012025/18/26/image_13012025_18_26_02_606426_0001.jpg', '/home/pi/Desktop/images/13012025/18/26/image_13012025_18_26_02_606426_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/25/image_13012025_18_25_02_425179_0003.jpg
/home/pi/Desktop/images/13012025/18/26/image_13012025_18_26_02_606426_0000.jpg
/home/pi/Desktop/images/13012025/18/26/image_13012025_18_26_02_606426_0001.jpg
/home/pi/Desktop/images/13012025/18/26/image_13012025_18_26_02_606426_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328670381","1328670383","1328670374","1328670377"],"photo_ids_order":["1328670374","1328670377","1328670381","1328670383"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eca5df9f0563d776f43c4dfaaf197174.jpg","text":"TemporaryFile(/tmp/multipartBody3585149755558563608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789252598,"filename":"image_13012025_18_26_02_606426_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c8f7335aae1e605bd31b30af73c0ff45.jpg","text":"TemporaryFile(/tmp/multipartBody3807483504956730068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789252598,"filename":"image_13012025_18_26_02_606426_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8b93fea1758b18cc0e4ecbc2cbb42fc3.jpg","text":"TemporaryFile(/tmp/multipartBody1294923638452604036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789252598,"filename":"image_13012025_18_25_02_425179_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d6a7ac37a92497f8081005b7004d6ed6.jpg","text":"TemporaryFile(/tmp/multipartBody6587729172945642828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789252598,"filename":"image_13012025_18_26_02_606426_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328670381","file1":"1328670377","file0":"1328670374","file3":"1328670383"},"map_files_photo_id_array":[{"photo_id":"1328670381","filename":"file2"},{"photo_id":"1328670377","filename":"file1"},{"photo_id":"1328670374","filename":"file0"},{"photo_id":"1328670383","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328670381":["hashtag1","hashtag2"]},{"1328670383":["hashtag1","hashtag2"]},{"1328670374":["hashtag1","hashtag2"]},{"1328670377":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328670381, 1328670383, 1328670374, 1328670377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.42964792251587 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:27:22.615706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/26/image_13012025_18_26_02_606426_0003.jpg', '/home/pi/Desktop/images/13012025/18/27/image_13012025_18_27_02_799500_0000.jpg', '/home/pi/Desktop/images/13012025/18/27/image_13012025_18_27_02_799500_0001.jpg', '/home/pi/Desktop/images/13012025/18/27/image_13012025_18_27_02_799500_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/26/image_13012025_18_26_02_606426_0003.jpg
/home/pi/Desktop/images/13012025/18/27/image_13012025_18_27_02_799500_0000.jpg
/home/pi/Desktop/images/13012025/18/27/image_13012025_18_27_02_799500_0001.jpg
/home/pi/Desktop/images/13012025/18/27/image_13012025_18_27_02_799500_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.865813493728638 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 18:27:42.598602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/26/image_13012025_18_26_02_606426_0003.jpg', '/home/pi/Desktop/images/13012025/18/27/image_13012025_18_27_02_799500_0000.jpg', '/home/pi/Desktop/images/13012025/18/27/image_13012025_18_27_02_799500_0001.jpg', '/home/pi/Desktop/images/13012025/18/27/image_13012025_18_27_02_799500_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/26/image_13012025_18_26_02_606426_0003.jpg
/home/pi/Desktop/images/13012025/18/27/image_13012025_18_27_02_799500_0000.jpg
/home/pi/Desktop/images/13012025/18/27/image_13012025_18_27_02_799500_0001.jpg
/home/pi/Desktop/images/13012025/18/27/image_13012025_18_27_02_799500_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328670526","1328670534","1328670528","1328670536"],"photo_ids_order":["1328670526","1328670528","1328670534","1328670536"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b5c7f980e329c69ad8a78e5c289d90e0.jpg","text":"TemporaryFile(/tmp/multipartBody8058164440206192914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789332858,"filename":"image_13012025_18_26_02_606426_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0894cc158cf790fe209eb76bd817700d.jpg","text":"TemporaryFile(/tmp/multipartBody1684609073928604667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789332858,"filename":"image_13012025_18_27_02_799500_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6645a9b2942c5fd043adb0e3ef891071.jpg","text":"TemporaryFile(/tmp/multipartBody3155169237584894443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789332858,"filename":"image_13012025_18_27_02_799500_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/16e34bb598068753d67af451852f50ce.jpg","text":"TemporaryFile(/tmp/multipartBody6518612233084139147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789332858,"filename":"image_13012025_18_27_02_799500_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328670534","file1":"1328670528","file0":"1328670526","file3":"1328670536"},"map_files_photo_id_array":[{"photo_id":"1328670534","filename":"file2"},{"photo_id":"1328670528","filename":"file1"},{"photo_id":"1328670526","filename":"file0"},{"photo_id":"1328670536","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328670526":["hashtag1","hashtag2"]},{"1328670534":["hashtag1","hashtag2"]},{"1328670528":["hashtag1","hashtag2"]},{"1328670536":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328670526, 1328670534, 1328670528, 1328670536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.72657585144043 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:28:22.796190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/27/image_13012025_18_27_02_799500_0003.jpg', '/home/pi/Desktop/images/13012025/18/28/image_13012025_18_28_03_025330_0000.jpg', '/home/pi/Desktop/images/13012025/18/28/image_13012025_18_28_03_025330_0001.jpg', '/home/pi/Desktop/images/13012025/18/28/image_13012025_18_28_03_025330_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/27/image_13012025_18_27_02_799500_0003.jpg
/home/pi/Desktop/images/13012025/18/28/image_13012025_18_28_03_025330_0000.jpg
/home/pi/Desktop/images/13012025/18/28/image_13012025_18_28_03_025330_0001.jpg
/home/pi/Desktop/images/13012025/18/28/image_13012025_18_28_03_025330_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328670604","1328670616","1328670598","1328670577"],"photo_ids_order":["1328670577","1328670598","1328670604","1328670616"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/83799bb226dc5a772f837e615439b8ea.jpg","text":"TemporaryFile(/tmp/multipartBody530528962036424142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789372999,"filename":"image_13012025_18_28_03_025330_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/94251fc79595e8191f16456e88108692.jpg","text":"TemporaryFile(/tmp/multipartBody3406490940108591499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789372999,"filename":"image_13012025_18_28_03_025330_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1834598a511bc50268d5a932c4fe8a43.jpg","text":"TemporaryFile(/tmp/multipartBody4596304758463116865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789372999,"filename":"image_13012025_18_28_03_025330_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0e1c7cad0b740118bd7f7eabbb410cf5.jpg","text":"TemporaryFile(/tmp/multipartBody6332749436376367591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789372999,"filename":"image_13012025_18_27_02_799500_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328670604","file1":"1328670598","file0":"1328670577","file3":"1328670616"},"map_files_photo_id_array":[{"photo_id":"1328670604","filename":"file2"},{"photo_id":"1328670598","filename":"file1"},{"photo_id":"1328670577","filename":"file0"},{"photo_id":"1328670616","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328670604":["hashtag1","hashtag2"]},{"1328670616":["hashtag1","hashtag2"]},{"1328670598":["hashtag1","hashtag2"]},{"1328670577":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328670604, 1328670616, 1328670598, 1328670577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.24430322647095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 18:29:02.546999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:29:21.929496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/28/image_13012025_18_28_03_025330_0003.jpg', '/home/pi/Desktop/images/13012025/18/29/image_13012025_18_29_03_151944_0000.jpg', '/home/pi/Desktop/images/13012025/18/29/image_13012025_18_29_03_151944_0001.jpg', '/home/pi/Desktop/images/13012025/18/29/image_13012025_18_29_03_151944_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/28/image_13012025_18_28_03_025330_0003.jpg
/home/pi/Desktop/images/13012025/18/29/image_13012025_18_29_03_151944_0000.jpg
/home/pi/Desktop/images/13012025/18/29/image_13012025_18_29_03_151944_0001.jpg
/home/pi/Desktop/images/13012025/18/29/image_13012025_18_29_03_151944_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328670670","1328670678","1328670665","1328670661"],"photo_ids_order":["1328670661","1328670665","1328670670","1328670678"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/072043c7aba43f01cb3728db88c4e50b.jpg","text":"TemporaryFile(/tmp/multipartBody3115778693941616132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789432103,"filename":"image_13012025_18_29_03_151944_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a22afede24cb9b12457efe3e180ece47.jpg","text":"TemporaryFile(/tmp/multipartBody4778677881401731685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789432103,"filename":"image_13012025_18_29_03_151944_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/853a656c8f00f46d37eab94627a26c9b.jpg","text":"TemporaryFile(/tmp/multipartBody4487633960777422931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789432103,"filename":"image_13012025_18_29_03_151944_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/66f45d88a987bd29d067e39bee3ccfa8.jpg","text":"TemporaryFile(/tmp/multipartBody6295450700051339508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789432103,"filename":"image_13012025_18_28_03_025330_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328670670","file1":"1328670665","file0":"1328670661","file3":"1328670678"},"map_files_photo_id_array":[{"photo_id":"1328670670","filename":"file2"},{"photo_id":"1328670665","filename":"file1"},{"photo_id":"1328670661","filename":"file0"},{"photo_id":"1328670678","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328670670":["hashtag1","hashtag2"]},{"1328670678":["hashtag1","hashtag2"]},{"1328670665":["hashtag1","hashtag2"]},{"1328670661":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328670670, 1328670678, 1328670665, 1328670661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.94541335105896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 18:30:02.403283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:30:22.107661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/29/image_13012025_18_29_03_151944_0003.jpg', '/home/pi/Desktop/images/13012025/18/30/image_13012025_18_30_02_316525_0000.jpg', '/home/pi/Desktop/images/13012025/18/30/image_13012025_18_30_02_316525_0001.jpg', '/home/pi/Desktop/images/13012025/18/30/image_13012025_18_30_02_316525_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/29/image_13012025_18_29_03_151944_0003.jpg
/home/pi/Desktop/images/13012025/18/30/image_13012025_18_30_02_316525_0000.jpg
/home/pi/Desktop/images/13012025/18/30/image_13012025_18_30_02_316525_0001.jpg
/home/pi/Desktop/images/13012025/18/30/image_13012025_18_30_02_316525_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328670696","1328670743","1328670734","1328670701"],"photo_ids_order":["1328670696","1328670701","1328670734","1328670743"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7776ecd6caf5fdf8344152134ce14da8.jpg","text":"TemporaryFile(/tmp/multipartBody2358366016826278719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789492307,"filename":"image_13012025_18_29_03_151944_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d091cd0df8c4f9d5924ce4670641c686.jpg","text":"TemporaryFile(/tmp/multipartBody4902315408354720900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789492307,"filename":"image_13012025_18_30_02_316525_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/466f56fc4b0da4d5ffdee09f750dc3a6.jpg","text":"TemporaryFile(/tmp/multipartBody2461147433511379797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789492307,"filename":"image_13012025_18_30_02_316525_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/689872cf11789f3a0e0073a2acc296af.jpg","text":"TemporaryFile(/tmp/multipartBody3548206446657085722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789492307,"filename":"image_13012025_18_30_02_316525_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328670734","file1":"1328670701","file0":"1328670696","file3":"1328670743"},"map_files_photo_id_array":[{"photo_id":"1328670734","filename":"file2"},{"photo_id":"1328670701","filename":"file1"},{"photo_id":"1328670696","filename":"file0"},{"photo_id":"1328670743","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328670696":["hashtag1","hashtag2"]},{"1328670743":["hashtag1","hashtag2"]},{"1328670734":["hashtag1","hashtag2"]},{"1328670701":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328670696, 1328670743, 1328670734, 1328670701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.819477558135986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 18:31:02.981836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:31:22.329177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/30/image_13012025_18_30_02_316525_0003.jpg', '/home/pi/Desktop/images/13012025/18/31/image_13012025_18_31_02_472039_0000.jpg', '/home/pi/Desktop/images/13012025/18/31/image_13012025_18_31_02_472039_0001.jpg', '/home/pi/Desktop/images/13012025/18/31/image_13012025_18_31_02_472039_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/30/image_13012025_18_30_02_316525_0003.jpg
/home/pi/Desktop/images/13012025/18/31/image_13012025_18_31_02_472039_0000.jpg
/home/pi/Desktop/images/13012025/18/31/image_13012025_18_31_02_472039_0001.jpg
/home/pi/Desktop/images/13012025/18/31/image_13012025_18_31_02_472039_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328671086","1328671095","1328671068","1328671103"],"photo_ids_order":["1328671068","1328671086","1328671095","1328671103"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ea3e1ad7f381ae732d7bb3a9443eeba7.jpg","text":"TemporaryFile(/tmp/multipartBody7244041017453322848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789552399,"filename":"image_13012025_18_31_02_472039_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6a2234a5efce8093b865b1615a9735fa.jpg","text":"TemporaryFile(/tmp/multipartBody4144957380906537710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789552399,"filename":"image_13012025_18_31_02_472039_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c4da6627b4f820cfd5f87c67a3e8c838.jpg","text":"TemporaryFile(/tmp/multipartBody3702566404980025830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789552399,"filename":"image_13012025_18_30_02_316525_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/28e845eeffa71365871447078661eaaa.jpg","text":"TemporaryFile(/tmp/multipartBody9134580340610642695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789552399,"filename":"image_13012025_18_31_02_472039_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328671095","file1":"1328671086","file0":"1328671068","file3":"1328671103"},"map_files_photo_id_array":[{"photo_id":"1328671095","filename":"file2"},{"photo_id":"1328671086","filename":"file1"},{"photo_id":"1328671068","filename":"file0"},{"photo_id":"1328671103","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328671086":["hashtag1","hashtag2"]},{"1328671095":["hashtag1","hashtag2"]},{"1328671068":["hashtag1","hashtag2"]},{"1328671103":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328671086, 1328671095, 1328671068, 1328671103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.354848861694336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 18:32:02.878143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:32:22.501967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/31/image_13012025_18_31_02_472039_0003.jpg', '/home/pi/Desktop/images/13012025/18/32/image_13012025_18_32_02_677986_0000.jpg', '/home/pi/Desktop/images/13012025/18/32/image_13012025_18_32_02_677986_0001.jpg', '/home/pi/Desktop/images/13012025/18/32/image_13012025_18_32_02_677986_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/31/image_13012025_18_31_02_472039_0003.jpg
/home/pi/Desktop/images/13012025/18/32/image_13012025_18_32_02_677986_0000.jpg
/home/pi/Desktop/images/13012025/18/32/image_13012025_18_32_02_677986_0001.jpg
/home/pi/Desktop/images/13012025/18/32/image_13012025_18_32_02_677986_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.817143201828003 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 18:32:42.534768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/31/image_13012025_18_31_02_472039_0003.jpg', '/home/pi/Desktop/images/13012025/18/32/image_13012025_18_32_02_677986_0000.jpg', '/home/pi/Desktop/images/13012025/18/32/image_13012025_18_32_02_677986_0001.jpg', '/home/pi/Desktop/images/13012025/18/32/image_13012025_18_32_02_677986_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/31/image_13012025_18_31_02_472039_0003.jpg
/home/pi/Desktop/images/13012025/18/32/image_13012025_18_32_02_677986_0000.jpg
/home/pi/Desktop/images/13012025/18/32/image_13012025_18_32_02_677986_0001.jpg
/home/pi/Desktop/images/13012025/18/32/image_13012025_18_32_02_677986_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328671149","1328671146","1328671153","1328671141"],"photo_ids_order":["1328671141","1328671146","1328671149","1328671153"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/39930ff264a1dc86bd837220bf8d932b.jpg","text":"TemporaryFile(/tmp/multipartBody5560225240440701044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789632754,"filename":"image_13012025_18_32_02_677986_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a643bacba64d47cdf36b46260044ba1b.jpg","text":"TemporaryFile(/tmp/multipartBody3533704219834282467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789632754,"filename":"image_13012025_18_32_02_677986_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/841f435e91133248ecd5989978c514da.jpg","text":"TemporaryFile(/tmp/multipartBody5607919351599280276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789632754,"filename":"image_13012025_18_32_02_677986_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a7ede327708629430fa10c0813c0e000.jpg","text":"TemporaryFile(/tmp/multipartBody6561242639452701145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789632754,"filename":"image_13012025_18_31_02_472039_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328671149","file1":"1328671146","file0":"1328671141","file3":"1328671153"},"map_files_photo_id_array":[{"photo_id":"1328671149","filename":"file2"},{"photo_id":"1328671146","filename":"file1"},{"photo_id":"1328671141","filename":"file0"},{"photo_id":"1328671153","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328671149":["hashtag1","hashtag2"]},{"1328671146":["hashtag1","hashtag2"]},{"1328671153":["hashtag1","hashtag2"]},{"1328671141":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328671149, 1328671146, 1328671153, 1328671141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.589476585388184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:33:22.697444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/32/image_13012025_18_32_02_677986_0003.jpg', '/home/pi/Desktop/images/13012025/18/33/image_13012025_18_33_02_891574_0000.jpg', '/home/pi/Desktop/images/13012025/18/33/image_13012025_18_33_02_891574_0001.jpg', '/home/pi/Desktop/images/13012025/18/33/image_13012025_18_33_02_891574_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/32/image_13012025_18_32_02_677986_0003.jpg
/home/pi/Desktop/images/13012025/18/33/image_13012025_18_33_02_891574_0000.jpg
/home/pi/Desktop/images/13012025/18/33/image_13012025_18_33_02_891574_0001.jpg
/home/pi/Desktop/images/13012025/18/33/image_13012025_18_33_02_891574_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328671182","1328671176","1328671170","1328671165"],"photo_ids_order":["1328671165","1328671170","1328671176","1328671182"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/63ffed2494596b6b307e4f6251a201e8.jpg","text":"TemporaryFile(/tmp/multipartBody1981051010930163559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789672901,"filename":"image_13012025_18_33_02_891574_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/edfd74b3bbe9a5a346b4b75f7f63ca65.jpg","text":"TemporaryFile(/tmp/multipartBody6519737663895379570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789672901,"filename":"image_13012025_18_33_02_891574_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/73656df4eb89b7ea0fab6fef9060b472.jpg","text":"TemporaryFile(/tmp/multipartBody3459248677310796478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789672901,"filename":"image_13012025_18_33_02_891574_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4a440f96ad90a44800243d9e92f0e427.jpg","text":"TemporaryFile(/tmp/multipartBody2530175767378824250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789672901,"filename":"image_13012025_18_32_02_677986_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328671176","file1":"1328671170","file0":"1328671165","file3":"1328671182"},"map_files_photo_id_array":[{"photo_id":"1328671176","filename":"file2"},{"photo_id":"1328671170","filename":"file1"},{"photo_id":"1328671165","filename":"file0"},{"photo_id":"1328671182","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328671182":["hashtag1","hashtag2"]},{"1328671176":["hashtag1","hashtag2"]},{"1328671170":["hashtag1","hashtag2"]},{"1328671165":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328671182, 1328671176, 1328671170, 1328671165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.47019004821777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 18:34:02.315407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:34:21.911425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/33/image_13012025_18_33_02_891574_0003.jpg', '/home/pi/Desktop/images/13012025/18/34/image_13012025_18_34_03_131537_0000.jpg', '/home/pi/Desktop/images/13012025/18/34/image_13012025_18_34_03_131537_0001.jpg', '/home/pi/Desktop/images/13012025/18/34/image_13012025_18_34_03_131537_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/33/image_13012025_18_33_02_891574_0003.jpg
/home/pi/Desktop/images/13012025/18/34/image_13012025_18_34_03_131537_0000.jpg
/home/pi/Desktop/images/13012025/18/34/image_13012025_18_34_03_131537_0001.jpg
/home/pi/Desktop/images/13012025/18/34/image_13012025_18_34_03_131537_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328671233","1328671212","1328671217","1328671202"],"photo_ids_order":["1328671202","1328671212","1328671217","1328671233"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1a52f88ebfb4a3721c014840f256aac2.jpg","text":"TemporaryFile(/tmp/multipartBody8265636581154419223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789732227,"filename":"image_13012025_18_34_03_131537_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/668855f0553ba184cba12bd8e4b3e32f.jpg","text":"TemporaryFile(/tmp/multipartBody4178196771118232749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789732227,"filename":"image_13012025_18_34_03_131537_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8b5a545635005baf4c82c81fd85994ba.jpg","text":"TemporaryFile(/tmp/multipartBody1389756331447687442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789732227,"filename":"image_13012025_18_34_03_131537_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2c0c4352fda5415b05e5664ba17fdae5.jpg","text":"TemporaryFile(/tmp/multipartBody7044696078810029266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789732227,"filename":"image_13012025_18_33_02_891574_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328671217","file1":"1328671212","file0":"1328671202","file3":"1328671233"},"map_files_photo_id_array":[{"photo_id":"1328671217","filename":"file2"},{"photo_id":"1328671212","filename":"file1"},{"photo_id":"1328671202","filename":"file0"},{"photo_id":"1328671233","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328671233":["hashtag1","hashtag2"]},{"1328671212":["hashtag1","hashtag2"]},{"1328671217":["hashtag1","hashtag2"]},{"1328671202":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328671233, 1328671212, 1328671217, 1328671202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.24501967430115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 18:35:02.650890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:35:22.150498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/34/image_13012025_18_34_03_131537_0003.jpg', '/home/pi/Desktop/images/13012025/18/35/image_13012025_18_35_02_251684_0000.jpg', '/home/pi/Desktop/images/13012025/18/35/image_13012025_18_35_02_251684_0001.jpg', '/home/pi/Desktop/images/13012025/18/35/image_13012025_18_35_02_251684_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/34/image_13012025_18_34_03_131537_0003.jpg
/home/pi/Desktop/images/13012025/18/35/image_13012025_18_35_02_251684_0000.jpg
/home/pi/Desktop/images/13012025/18/35/image_13012025_18_35_02_251684_0001.jpg
/home/pi/Desktop/images/13012025/18/35/image_13012025_18_35_02_251684_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328671269","1328671358","1328671264","1328671267"],"photo_ids_order":["1328671264","1328671267","1328671269","1328671358"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/06c85da5430d6c003deae835106f0353.jpg","text":"TemporaryFile(/tmp/multipartBody773626108776494086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789792414,"filename":"image_13012025_18_35_02_251684_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/766aa3fbdc7b11f63cf5ca001909a0d2.jpg","text":"TemporaryFile(/tmp/multipartBody6531630643958636676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789792414,"filename":"image_13012025_18_35_02_251684_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6ed26f4f3f2f2acc43c60e643d5dcf40.jpg","text":"TemporaryFile(/tmp/multipartBody2639051320130561722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789792414,"filename":"image_13012025_18_34_03_131537_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f2469ebb28c4072e8f4fdb8fb57fe191.jpg","text":"TemporaryFile(/tmp/multipartBody821439516650016195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789792414,"filename":"image_13012025_18_35_02_251684_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328671269","file1":"1328671267","file0":"1328671264","file3":"1328671358"},"map_files_photo_id_array":[{"photo_id":"1328671269","filename":"file2"},{"photo_id":"1328671267","filename":"file1"},{"photo_id":"1328671264","filename":"file0"},{"photo_id":"1328671358","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328671269":["hashtag1","hashtag2"]},{"1328671358":["hashtag1","hashtag2"]},{"1328671264":["hashtag1","hashtag2"]},{"1328671267":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328671269, 1328671358, 1328671264, 1328671267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.56335115432739 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:36:22.349594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/35/image_13012025_18_35_02_251684_0003.jpg', '/home/pi/Desktop/images/13012025/18/36/image_13012025_18_36_02_461373_0000.jpg', '/home/pi/Desktop/images/13012025/18/36/image_13012025_18_36_02_461373_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/35/image_13012025_18_35_02_251684_0003.jpg
/home/pi/Desktop/images/13012025/18/36/image_13012025_18_36_02_461373_0000.jpg
/home/pi/Desktop/images/13012025/18/36/image_13012025_18_36_02_461373_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.370795011520386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 18:36:32.329157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/35/image_13012025_18_35_02_251684_0003.jpg', '/home/pi/Desktop/images/13012025/18/36/image_13012025_18_36_02_461373_0000.jpg', '/home/pi/Desktop/images/13012025/18/36/image_13012025_18_36_02_461373_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/35/image_13012025_18_35_02_251684_0003.jpg
/home/pi/Desktop/images/13012025/18/36/image_13012025_18_36_02_461373_0000.jpg
/home/pi/Desktop/images/13012025/18/36/image_13012025_18_36_02_461373_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328671470","1328671473","1328671466"],"photo_ids_order":["1328671466","1328671470","1328671473"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/36bcd3d730aa87a1a15a09356e4f823b.jpg","text":"TemporaryFile(/tmp/multipartBody1052001609078357816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789860108,"filename":"image_13012025_18_36_02_461373_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/77c5d273d6a4d892536d10b531d1e869.jpg","text":"TemporaryFile(/tmp/multipartBody3726877821759831092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789860108,"filename":"image_13012025_18_36_02_461373_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b86d9a83f1db078cb69d3dd49a07a303.jpg","text":"TemporaryFile(/tmp/multipartBody5379257326018220855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789860108,"filename":"image_13012025_18_35_02_251684_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328671473","file1":"1328671470","file0":"1328671466"},"map_files_photo_id_array":[{"photo_id":"1328671473","filename":"file2"},{"photo_id":"1328671470","filename":"file1"},{"photo_id":"1328671466","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328671470":["hashtag1","hashtag2"]},{"1328671473":["hashtag1","hashtag2"]},{"1328671466":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328671470, 1328671473, 1328671466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.833102226257324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:37:22.570779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/36/image_13012025_18_36_02_461373_0003.jpg', '/home/pi/Desktop/images/13012025/18/37/image_13012025_18_37_02_768497_0000.jpg', '/home/pi/Desktop/images/13012025/18/37/image_13012025_18_37_02_768497_0001.jpg', '/home/pi/Desktop/images/13012025/18/37/image_13012025_18_37_02_768497_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/36/image_13012025_18_36_02_461373_0003.jpg
/home/pi/Desktop/images/13012025/18/37/image_13012025_18_37_02_768497_0000.jpg
/home/pi/Desktop/images/13012025/18/37/image_13012025_18_37_02_768497_0001.jpg
/home/pi/Desktop/images/13012025/18/37/image_13012025_18_37_02_768497_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328671557","1328671506","1328671499","1328671522"],"photo_ids_order":["1328671499","1328671506","1328671522","1328671557"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/52940308dfea5e84992e3343291f009b.jpg","text":"TemporaryFile(/tmp/multipartBody1396924867628884071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789912780,"filename":"image_13012025_18_37_02_768497_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/01acd347691e191f4a1d70749804859b.jpg","text":"TemporaryFile(/tmp/multipartBody5158008602135828116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789912780,"filename":"image_13012025_18_37_02_768497_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f9b1df8dd3a557f45f7f23199bb728d2.jpg","text":"TemporaryFile(/tmp/multipartBody2414519115704842963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789912780,"filename":"image_13012025_18_36_02_461373_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4ee1ffb1ff9e8d332932d70a1acb826e.jpg","text":"TemporaryFile(/tmp/multipartBody2795215687874420729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789912780,"filename":"image_13012025_18_37_02_768497_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328671522","file1":"1328671506","file0":"1328671499","file3":"1328671557"},"map_files_photo_id_array":[{"photo_id":"1328671522","filename":"file2"},{"photo_id":"1328671506","filename":"file1"},{"photo_id":"1328671499","filename":"file0"},{"photo_id":"1328671557","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328671557":["hashtag1","hashtag2"]},{"1328671506":["hashtag1","hashtag2"]},{"1328671499":["hashtag1","hashtag2"]},{"1328671522":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328671557, 1328671506, 1328671499, 1328671522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.954426765441895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:38:22.731320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/37/image_13012025_18_37_02_768497_0003.jpg', '/home/pi/Desktop/images/13012025/18/38/image_13012025_18_38_02_928313_0000.jpg', '/home/pi/Desktop/images/13012025/18/38/image_13012025_18_38_02_928313_0001.jpg', '/home/pi/Desktop/images/13012025/18/38/image_13012025_18_38_02_928313_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/37/image_13012025_18_37_02_768497_0003.jpg
/home/pi/Desktop/images/13012025/18/38/image_13012025_18_38_02_928313_0000.jpg
/home/pi/Desktop/images/13012025/18/38/image_13012025_18_38_02_928313_0001.jpg
/home/pi/Desktop/images/13012025/18/38/image_13012025_18_38_02_928313_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328671590","1328671739","1328671639","1328671593"],"photo_ids_order":["1328671590","1328671593","1328671639","1328671739"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/30f8fdf7317ddf40595924dbdb15c3d3.jpg","text":"TemporaryFile(/tmp/multipartBody4605702744127625043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789973047,"filename":"image_13012025_18_37_02_768497_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a424a2e40d15b39165bcac0cfd5d2687.jpg","text":"TemporaryFile(/tmp/multipartBody2601316356513015527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789973047,"filename":"image_13012025_18_38_02_928313_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1055a7b2b44ae45955524d9d3a298e10.jpg","text":"TemporaryFile(/tmp/multipartBody6715140682593654965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789973047,"filename":"image_13012025_18_38_02_928313_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f5868a3f8a8abe7e35c834b020e4d129.jpg","text":"TemporaryFile(/tmp/multipartBody4127415113173168145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736789973047,"filename":"image_13012025_18_38_02_928313_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328671639","file1":"1328671593","file0":"1328671590","file3":"1328671739"},"map_files_photo_id_array":[{"photo_id":"1328671639","filename":"file2"},{"photo_id":"1328671593","filename":"file1"},{"photo_id":"1328671590","filename":"file0"},{"photo_id":"1328671739","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328671590":["hashtag1","hashtag2"]},{"1328671739":["hashtag1","hashtag2"]},{"1328671639":["hashtag1","hashtag2"]},{"1328671593":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328671590, 1328671739, 1328671639, 1328671593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.5979962348938 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:39:21.881256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/38/image_13012025_18_38_02_928313_0003.jpg', '/home/pi/Desktop/images/13012025/18/39/image_13012025_18_39_03_097317_0000.jpg', '/home/pi/Desktop/images/13012025/18/39/image_13012025_18_39_03_097317_0001.jpg', '/home/pi/Desktop/images/13012025/18/39/image_13012025_18_39_03_097317_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/38/image_13012025_18_38_02_928313_0003.jpg
/home/pi/Desktop/images/13012025/18/39/image_13012025_18_39_03_097317_0000.jpg
/home/pi/Desktop/images/13012025/18/39/image_13012025_18_39_03_097317_0001.jpg
/home/pi/Desktop/images/13012025/18/39/image_13012025_18_39_03_097317_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328671821","1328671817","1328671808","1328671813"],"photo_ids_order":["1328671808","1328671813","1328671817","1328671821"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fb3ac42092c27d7b5390ad9f07199fbe.jpg","text":"TemporaryFile(/tmp/multipartBody3315691720765053473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790032066,"filename":"image_13012025_18_39_03_097317_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2b1142fd7927f936c37e2d4b75fad35f.jpg","text":"TemporaryFile(/tmp/multipartBody684707489548617644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790032066,"filename":"image_13012025_18_39_03_097317_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c2161d26e93815e101c0137c42499ebf.jpg","text":"TemporaryFile(/tmp/multipartBody837050116271408270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790032066,"filename":"image_13012025_18_38_02_928313_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/be27ded2c481002ce08ec211f61eab48.jpg","text":"TemporaryFile(/tmp/multipartBody7500921749245826312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790032066,"filename":"image_13012025_18_39_03_097317_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328671817","file1":"1328671813","file0":"1328671808","file3":"1328671821"},"map_files_photo_id_array":[{"photo_id":"1328671817","filename":"file2"},{"photo_id":"1328671813","filename":"file1"},{"photo_id":"1328671808","filename":"file0"},{"photo_id":"1328671821","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328671821":["hashtag1","hashtag2"]},{"1328671817":["hashtag1","hashtag2"]},{"1328671808":["hashtag1","hashtag2"]},{"1328671813":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328671821, 1328671817, 1328671808, 1328671813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.215906858444214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:40:22.118792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/39/image_13012025_18_39_03_097317_0003.jpg', '/home/pi/Desktop/images/13012025/18/40/image_13012025_18_40_02_226977_0000.jpg', '/home/pi/Desktop/images/13012025/18/40/image_13012025_18_40_02_226977_0001.jpg', '/home/pi/Desktop/images/13012025/18/40/image_13012025_18_40_02_226977_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/39/image_13012025_18_39_03_097317_0003.jpg
/home/pi/Desktop/images/13012025/18/40/image_13012025_18_40_02_226977_0000.jpg
/home/pi/Desktop/images/13012025/18/40/image_13012025_18_40_02_226977_0001.jpg
/home/pi/Desktop/images/13012025/18/40/image_13012025_18_40_02_226977_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.831002473831177 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 18:40:41.983558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/39/image_13012025_18_39_03_097317_0003.jpg', '/home/pi/Desktop/images/13012025/18/40/image_13012025_18_40_02_226977_0000.jpg', '/home/pi/Desktop/images/13012025/18/40/image_13012025_18_40_02_226977_0001.jpg', '/home/pi/Desktop/images/13012025/18/40/image_13012025_18_40_02_226977_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/39/image_13012025_18_39_03_097317_0003.jpg
/home/pi/Desktop/images/13012025/18/40/image_13012025_18_40_02_226977_0000.jpg
/home/pi/Desktop/images/13012025/18/40/image_13012025_18_40_02_226977_0001.jpg
/home/pi/Desktop/images/13012025/18/40/image_13012025_18_40_02_226977_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328671883","1328671902","1328671928","1328671904"],"photo_ids_order":["1328671883","1328671902","1328671904","1328671928"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9302b48bfb1c44e55a734171398d6897.jpg","text":"TemporaryFile(/tmp/multipartBody646508588422929032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790112243,"filename":"image_13012025_18_39_03_097317_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/86eca1876b465a67a45798c9a30be386.jpg","text":"TemporaryFile(/tmp/multipartBody2472236688083475172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790112243,"filename":"image_13012025_18_40_02_226977_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/81b7672e43d367e66386afb3074438f5.jpg","text":"TemporaryFile(/tmp/multipartBody4705657471023490386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790112243,"filename":"image_13012025_18_40_02_226977_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a5d069d099a5c306959f112d79becddc.jpg","text":"TemporaryFile(/tmp/multipartBody833285006402733603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790112243,"filename":"image_13012025_18_40_02_226977_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328671904","file1":"1328671902","file0":"1328671883","file3":"1328671928"},"map_files_photo_id_array":[{"photo_id":"1328671904","filename":"file2"},{"photo_id":"1328671902","filename":"file1"},{"photo_id":"1328671883","filename":"file0"},{"photo_id":"1328671928","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328671883":["hashtag1","hashtag2"]},{"1328671902":["hashtag1","hashtag2"]},{"1328671928":["hashtag1","hashtag2"]},{"1328671904":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328671883, 1328671902, 1328671928, 1328671904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.674678564071655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 18:41:32.235862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/40/image_13012025_18_40_02_226977_0003.jpg', '/home/pi/Desktop/images/13012025/18/41/image_13012025_18_41_02_372057_0000.jpg', '/home/pi/Desktop/images/13012025/18/41/image_13012025_18_41_02_372057_0001.jpg', '/home/pi/Desktop/images/13012025/18/41/image_13012025_18_41_02_372057_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/40/image_13012025_18_40_02_226977_0003.jpg
/home/pi/Desktop/images/13012025/18/41/image_13012025_18_41_02_372057_0000.jpg
/home/pi/Desktop/images/13012025/18/41/image_13012025_18_41_02_372057_0001.jpg
/home/pi/Desktop/images/13012025/18/41/image_13012025_18_41_02_372057_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328671986","1328671982","1328671985","1328671964"],"photo_ids_order":["1328671964","1328671982","1328671985","1328671986"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a750fa912a9774518e87f4a9673c1262.jpg","text":"TemporaryFile(/tmp/multipartBody6317538431526229247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790162349,"filename":"image_13012025_18_41_02_372057_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/17c31e915ee2a0fd66297172e3eb8930.jpg","text":"TemporaryFile(/tmp/multipartBody3881860805766474273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790162349,"filename":"image_13012025_18_41_02_372057_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f403b0cbdfa240620c71289efb26f912.jpg","text":"TemporaryFile(/tmp/multipartBody8465682212036497896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790162349,"filename":"image_13012025_18_41_02_372057_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2497ec05e2abbbd9de45070c49a3b9e0.jpg","text":"TemporaryFile(/tmp/multipartBody4630025174685465453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790162349,"filename":"image_13012025_18_40_02_226977_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328671985","file1":"1328671982","file0":"1328671964","file3":"1328671986"},"map_files_photo_id_array":[{"photo_id":"1328671985","filename":"file2"},{"photo_id":"1328671982","filename":"file1"},{"photo_id":"1328671964","filename":"file0"},{"photo_id":"1328671986","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328671986":["hashtag1","hashtag2"]},{"1328671982":["hashtag1","hashtag2"]},{"1328671985":["hashtag1","hashtag2"]},{"1328671964":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328671986, 1328671982, 1328671985, 1328671964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.148685455322266 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:42:22.490062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/41/image_13012025_18_41_02_372057_0003.jpg', '/home/pi/Desktop/images/13012025/18/42/image_13012025_18_42_02_709946_0000.jpg', '/home/pi/Desktop/images/13012025/18/42/image_13012025_18_42_02_709946_0001.jpg', '/home/pi/Desktop/images/13012025/18/42/image_13012025_18_42_02_709946_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/41/image_13012025_18_41_02_372057_0003.jpg
/home/pi/Desktop/images/13012025/18/42/image_13012025_18_42_02_709946_0000.jpg
/home/pi/Desktop/images/13012025/18/42/image_13012025_18_42_02_709946_0001.jpg
/home/pi/Desktop/images/13012025/18/42/image_13012025_18_42_02_709946_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328672124","1328672129","1328672114","1328672134"],"photo_ids_order":["1328672114","1328672124","1328672129","1328672134"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8bc3d5326cecde8c497e1950210222d0.jpg","text":"TemporaryFile(/tmp/multipartBody6383083997358667172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790212659,"filename":"image_13012025_18_42_02_709946_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c5d528e525f51e9b607d5a28672a4476.jpg","text":"TemporaryFile(/tmp/multipartBody1308325395544770724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790212659,"filename":"image_13012025_18_42_02_709946_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/85f416d64246564e0282bbd82d1fb7a7.jpg","text":"TemporaryFile(/tmp/multipartBody6222026807378997105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790212659,"filename":"image_13012025_18_41_02_372057_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/da41dd73a547360bb9ee9fd4935f85e3.jpg","text":"TemporaryFile(/tmp/multipartBody6173748657713607049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790212659,"filename":"image_13012025_18_42_02_709946_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328672129","file1":"1328672124","file0":"1328672114","file3":"1328672134"},"map_files_photo_id_array":[{"photo_id":"1328672129","filename":"file2"},{"photo_id":"1328672124","filename":"file1"},{"photo_id":"1328672114","filename":"file0"},{"photo_id":"1328672134","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328672124":["hashtag1","hashtag2"]},{"1328672129":["hashtag1","hashtag2"]},{"1328672114":["hashtag1","hashtag2"]},{"1328672134":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328672124, 1328672129, 1328672114, 1328672134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.171926975250244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 18:43:03.239865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:43:22.662242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/42/image_13012025_18_42_02_709946_0003.jpg', '/home/pi/Desktop/images/13012025/18/43/image_13012025_18_43_02_852635_0000.jpg', '/home/pi/Desktop/images/13012025/18/43/image_13012025_18_43_02_852635_0001.jpg', '/home/pi/Desktop/images/13012025/18/43/image_13012025_18_43_02_852635_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/42/image_13012025_18_42_02_709946_0003.jpg
/home/pi/Desktop/images/13012025/18/43/image_13012025_18_43_02_852635_0000.jpg
/home/pi/Desktop/images/13012025/18/43/image_13012025_18_43_02_852635_0001.jpg
/home/pi/Desktop/images/13012025/18/43/image_13012025_18_43_02_852635_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328672211","1328672207","1328672204","1328672209"],"photo_ids_order":["1328672204","1328672207","1328672209","1328672211"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2218b5cf6e062e6ea581fdad4b7eaa29.jpg","text":"TemporaryFile(/tmp/multipartBody1685182799910096867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790272995,"filename":"image_13012025_18_43_02_852635_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/23c8b03d25bc07d7516edaacc42e2734.jpg","text":"TemporaryFile(/tmp/multipartBody4954836862288880653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790272995,"filename":"image_13012025_18_43_02_852635_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/42c1879e330e30e8b3bc406291526d3e.jpg","text":"TemporaryFile(/tmp/multipartBody6114599489374187705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790272995,"filename":"image_13012025_18_42_02_709946_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fbd9314c448d885ed8116fbe35a73b4f.jpg","text":"TemporaryFile(/tmp/multipartBody1186327497136946275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790272995,"filename":"image_13012025_18_43_02_852635_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328672209","file1":"1328672207","file0":"1328672204","file3":"1328672211"},"map_files_photo_id_array":[{"photo_id":"1328672209","filename":"file2"},{"photo_id":"1328672207","filename":"file1"},{"photo_id":"1328672204","filename":"file0"},{"photo_id":"1328672211","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328672211":["hashtag1","hashtag2"]},{"1328672207":["hashtag1","hashtag2"]},{"1328672204":["hashtag1","hashtag2"]},{"1328672209":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328672211, 1328672207, 1328672204, 1328672209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.082414865493774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:44:21.794659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/43/image_13012025_18_43_02_852635_0003.jpg', '/home/pi/Desktop/images/13012025/18/44/image_13012025_18_44_02_996128_0000.jpg', '/home/pi/Desktop/images/13012025/18/44/image_13012025_18_44_02_996128_0001.jpg', '/home/pi/Desktop/images/13012025/18/44/image_13012025_18_44_02_996128_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/43/image_13012025_18_43_02_852635_0003.jpg
/home/pi/Desktop/images/13012025/18/44/image_13012025_18_44_02_996128_0000.jpg
/home/pi/Desktop/images/13012025/18/44/image_13012025_18_44_02_996128_0001.jpg
/home/pi/Desktop/images/13012025/18/44/image_13012025_18_44_02_996128_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328672231","1328672240","1328672248","1328672245"],"photo_ids_order":["1328672231","1328672240","1328672245","1328672248"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3b4db683dfe5d267c4a5959d05ff833b.jpg","text":"TemporaryFile(/tmp/multipartBody7898525249457628956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790332064,"filename":"image_13012025_18_43_02_852635_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0b92f2bf226e6339c8a5ef5bc1c97976.jpg","text":"TemporaryFile(/tmp/multipartBody6936976074012553889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790332064,"filename":"image_13012025_18_44_02_996128_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/adb745abecf2995ec794a19d2d0d1f34.jpg","text":"TemporaryFile(/tmp/multipartBody1686041883200999158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790332064,"filename":"image_13012025_18_44_02_996128_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f84a7fce47a5012734e1b07ffd02d140.jpg","text":"TemporaryFile(/tmp/multipartBody1080931399895359852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790332064,"filename":"image_13012025_18_44_02_996128_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328672245","file1":"1328672240","file0":"1328672231","file3":"1328672248"},"map_files_photo_id_array":[{"photo_id":"1328672245","filename":"file2"},{"photo_id":"1328672240","filename":"file1"},{"photo_id":"1328672231","filename":"file0"},{"photo_id":"1328672248","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328672231":["hashtag1","hashtag2"]},{"1328672240":["hashtag1","hashtag2"]},{"1328672248":["hashtag1","hashtag2"]},{"1328672245":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328672231, 1328672240, 1328672248, 1328672245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.542582988739014 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:45:21.912315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/44/image_13012025_18_44_02_996128_0003.jpg', '/home/pi/Desktop/images/13012025/18/45/image_13012025_18_45_02_145635_0001.jpg', '/home/pi/Desktop/images/13012025/18/45/image_13012025_18_45_02_145635_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/44/image_13012025_18_44_02_996128_0003.jpg
/home/pi/Desktop/images/13012025/18/45/image_13012025_18_45_02_145635_0001.jpg
/home/pi/Desktop/images/13012025/18/45/image_13012025_18_45_02_145635_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328672301","1328672272","1328672277"],"photo_ids_order":["1328672272","1328672277","1328672301"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f9fba811f1ddfb26d564528ab4f74e09.jpg","text":"TemporaryFile(/tmp/multipartBody12822424388768062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790389678,"filename":"image_13012025_18_45_02_145635_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/30f20c4cc384b47a457ae77a4a365bd3.jpg","text":"TemporaryFile(/tmp/multipartBody3641545535383214666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790389678,"filename":"image_13012025_18_44_02_996128_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/30629a8c2c113996961f1a39dbb7c92a.jpg","text":"TemporaryFile(/tmp/multipartBody5225126729806642128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790389678,"filename":"image_13012025_18_45_02_145635_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328672301","file1":"1328672277","file0":"1328672272"},"map_files_photo_id_array":[{"photo_id":"1328672301","filename":"file2"},{"photo_id":"1328672277","filename":"file1"},{"photo_id":"1328672272","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328672301":["hashtag1","hashtag2"]},{"1328672272":["hashtag1","hashtag2"]},{"1328672277":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328672301, 1328672272, 1328672277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.591524362564087 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 18:46:02.597289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:46:22.155968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/45/image_13012025_18_45_02_145635_0003.jpg', '/home/pi/Desktop/images/13012025/18/46/image_13012025_18_46_02_383964_0000.jpg', '/home/pi/Desktop/images/13012025/18/46/image_13012025_18_46_02_383964_0001.jpg', '/home/pi/Desktop/images/13012025/18/46/image_13012025_18_46_02_383964_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/45/image_13012025_18_45_02_145635_0003.jpg
/home/pi/Desktop/images/13012025/18/46/image_13012025_18_46_02_383964_0000.jpg
/home/pi/Desktop/images/13012025/18/46/image_13012025_18_46_02_383964_0001.jpg
/home/pi/Desktop/images/13012025/18/46/image_13012025_18_46_02_383964_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328672511","1328672348","1328672404","1328672772"],"photo_ids_order":["1328672348","1328672404","1328672511","1328672772"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2184014d27efcb12c5fb3bd6eff9b65a.jpg","text":"TemporaryFile(/tmp/multipartBody2619615427939425243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790452250,"filename":"image_13012025_18_46_02_383964_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ef267d3af0c2d254ad2fe62e8b0ecc45.jpg","text":"TemporaryFile(/tmp/multipartBody7492365752767637360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790452250,"filename":"image_13012025_18_45_02_145635_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1fa786f6901bb13fc7a66034954efdbb.jpg","text":"TemporaryFile(/tmp/multipartBody5277383433471848719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790452250,"filename":"image_13012025_18_46_02_383964_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/affa54ee4253c2038f31e8ded8c04011.jpg","text":"TemporaryFile(/tmp/multipartBody2161222318976275895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790452250,"filename":"image_13012025_18_46_02_383964_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328672511","file1":"1328672404","file0":"1328672348","file3":"1328672772"},"map_files_photo_id_array":[{"photo_id":"1328672511","filename":"file2"},{"photo_id":"1328672404","filename":"file1"},{"photo_id":"1328672348","filename":"file0"},{"photo_id":"1328672772","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328672511":["hashtag1","hashtag2"]},{"1328672348":["hashtag1","hashtag2"]},{"1328672404":["hashtag1","hashtag2"]},{"1328672772":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328672511, 1328672348, 1328672404, 1328672772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.508769273757935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 18:47:03.046009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:47:22.360039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/46/image_13012025_18_46_02_383964_0003.jpg', '/home/pi/Desktop/images/13012025/18/47/image_13012025_18_47_02_550072_0000.jpg', '/home/pi/Desktop/images/13012025/18/47/image_13012025_18_47_02_550072_0001.jpg', '/home/pi/Desktop/images/13012025/18/47/image_13012025_18_47_02_550072_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/46/image_13012025_18_46_02_383964_0003.jpg
/home/pi/Desktop/images/13012025/18/47/image_13012025_18_47_02_550072_0000.jpg
/home/pi/Desktop/images/13012025/18/47/image_13012025_18_47_02_550072_0001.jpg
/home/pi/Desktop/images/13012025/18/47/image_13012025_18_47_02_550072_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328673661","1328673433","1328673535","1328673418"],"photo_ids_order":["1328673418","1328673433","1328673535","1328673661"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2eb3b6857b6360e2d8e9311cf4b8edbb.jpg","text":"TemporaryFile(/tmp/multipartBody7836353369161525644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790512510,"filename":"image_13012025_18_47_02_550072_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2ca45e7a81bba167a2d5f272837db5a9.jpg","text":"TemporaryFile(/tmp/multipartBody5306248447684250325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790512510,"filename":"image_13012025_18_47_02_550072_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8394239c063b01a6f87c884191343255.jpg","text":"TemporaryFile(/tmp/multipartBody4925820892824426915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790512510,"filename":"image_13012025_18_47_02_550072_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/45163d0230a296221e287a547b0f53fa.jpg","text":"TemporaryFile(/tmp/multipartBody3379457760640644238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790512510,"filename":"image_13012025_18_46_02_383964_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328673535","file1":"1328673433","file0":"1328673418","file3":"1328673661"},"map_files_photo_id_array":[{"photo_id":"1328673535","filename":"file2"},{"photo_id":"1328673433","filename":"file1"},{"photo_id":"1328673418","filename":"file0"},{"photo_id":"1328673661","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328673661":["hashtag1","hashtag2"]},{"1328673433":["hashtag1","hashtag2"]},{"1328673535":["hashtag1","hashtag2"]},{"1328673418":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328673661, 1328673433, 1328673535, 1328673418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.55602025985718 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 18:48:02.907166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:48:22.536081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/47/image_13012025_18_47_02_550072_0003.jpg', '/home/pi/Desktop/images/13012025/18/48/image_13012025_18_48_02_747249_0000.jpg', '/home/pi/Desktop/images/13012025/18/48/image_13012025_18_48_02_747249_0001.jpg', '/home/pi/Desktop/images/13012025/18/48/image_13012025_18_48_02_747249_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/47/image_13012025_18_47_02_550072_0003.jpg
/home/pi/Desktop/images/13012025/18/48/image_13012025_18_48_02_747249_0000.jpg
/home/pi/Desktop/images/13012025/18/48/image_13012025_18_48_02_747249_0001.jpg
/home/pi/Desktop/images/13012025/18/48/image_13012025_18_48_02_747249_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328673707","1328673701","1328673704","1328673712"],"photo_ids_order":["1328673701","1328673704","1328673707","1328673712"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3af3a25cae85c1396792bb308ca49577.jpg","text":"TemporaryFile(/tmp/multipartBody2820459739865357179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790572623,"filename":"image_13012025_18_48_02_747249_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/649da2d85046a3e099a70b3443179390.jpg","text":"TemporaryFile(/tmp/multipartBody775041529112552992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790572623,"filename":"image_13012025_18_47_02_550072_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9cc34812b017171721dcbffb40019640.jpg","text":"TemporaryFile(/tmp/multipartBody6962312882712421697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790572623,"filename":"image_13012025_18_48_02_747249_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/02fdf91253723c0dfa3a2c438f4b9d88.jpg","text":"TemporaryFile(/tmp/multipartBody7964403524995590719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790572623,"filename":"image_13012025_18_48_02_747249_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328673707","file1":"1328673704","file0":"1328673701","file3":"1328673712"},"map_files_photo_id_array":[{"photo_id":"1328673707","filename":"file2"},{"photo_id":"1328673704","filename":"file1"},{"photo_id":"1328673701","filename":"file0"},{"photo_id":"1328673712","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328673707":["hashtag1","hashtag2"]},{"1328673701":["hashtag1","hashtag2"]},{"1328673704":["hashtag1","hashtag2"]},{"1328673712":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328673707, 1328673701, 1328673704, 1328673712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.60212993621826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 18:49:03.395947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:49:22.725502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/48/image_13012025_18_48_02_747249_0003.jpg', '/home/pi/Desktop/images/13012025/18/49/image_13012025_18_49_02_965354_0000.jpg', '/home/pi/Desktop/images/13012025/18/49/image_13012025_18_49_02_965354_0001.jpg', '/home/pi/Desktop/images/13012025/18/49/image_13012025_18_49_02_965354_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/48/image_13012025_18_48_02_747249_0003.jpg
/home/pi/Desktop/images/13012025/18/49/image_13012025_18_49_02_965354_0000.jpg
/home/pi/Desktop/images/13012025/18/49/image_13012025_18_49_02_965354_0001.jpg
/home/pi/Desktop/images/13012025/18/49/image_13012025_18_49_02_965354_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.700469732284546 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 18:49:42.747279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/48/image_13012025_18_48_02_747249_0003.jpg', '/home/pi/Desktop/images/13012025/18/49/image_13012025_18_49_02_965354_0000.jpg', '/home/pi/Desktop/images/13012025/18/49/image_13012025_18_49_02_965354_0001.jpg', '/home/pi/Desktop/images/13012025/18/49/image_13012025_18_49_02_965354_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/48/image_13012025_18_48_02_747249_0003.jpg
/home/pi/Desktop/images/13012025/18/49/image_13012025_18_49_02_965354_0000.jpg
/home/pi/Desktop/images/13012025/18/49/image_13012025_18_49_02_965354_0001.jpg
/home/pi/Desktop/images/13012025/18/49/image_13012025_18_49_02_965354_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328673767","1328673777","1328673771","1328673774"],"photo_ids_order":["1328673767","1328673771","1328673774","1328673777"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b8c03d3b9336b0c1db380622e48864ef.jpg","text":"TemporaryFile(/tmp/multipartBody5043911166242064558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790652835,"filename":"image_13012025_18_48_02_747249_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/51f51af7c78964b0c7001ef5e510d39d.jpg","text":"TemporaryFile(/tmp/multipartBody1691030235902606544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790652835,"filename":"image_13012025_18_49_02_965354_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cc614dfe617463ad4c7ad631e29ff449.jpg","text":"TemporaryFile(/tmp/multipartBody7082625715689547926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790652835,"filename":"image_13012025_18_49_02_965354_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/792046e450ddf4f4f994f9f47647aadd.jpg","text":"TemporaryFile(/tmp/multipartBody4326427002627331128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790652835,"filename":"image_13012025_18_49_02_965354_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328673774","file1":"1328673771","file0":"1328673767","file3":"1328673777"},"map_files_photo_id_array":[{"photo_id":"1328673774","filename":"file2"},{"photo_id":"1328673771","filename":"file1"},{"photo_id":"1328673767","filename":"file0"},{"photo_id":"1328673777","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328673767":["hashtag1","hashtag2"]},{"1328673777":["hashtag1","hashtag2"]},{"1328673771":["hashtag1","hashtag2"]},{"1328673774":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328673767, 1328673777, 1328673771, 1328673774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.37120318412781 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:50:21.895355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/49/image_13012025_18_49_02_965354_0003.jpg', '/home/pi/Desktop/images/13012025/18/50/image_13012025_18_50_03_103448_0000.jpg', '/home/pi/Desktop/images/13012025/18/50/image_13012025_18_50_03_103448_0001.jpg', '/home/pi/Desktop/images/13012025/18/50/image_13012025_18_50_03_103448_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/49/image_13012025_18_49_02_965354_0003.jpg
/home/pi/Desktop/images/13012025/18/50/image_13012025_18_50_03_103448_0000.jpg
/home/pi/Desktop/images/13012025/18/50/image_13012025_18_50_03_103448_0001.jpg
/home/pi/Desktop/images/13012025/18/50/image_13012025_18_50_03_103448_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328673794","1328673811","1328673807","1328673791"],"photo_ids_order":["1328673791","1328673794","1328673807","1328673811"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/83f385f73b31decc7f2552721af70ca4.jpg","text":"TemporaryFile(/tmp/multipartBody441125885248927976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790691842,"filename":"image_13012025_18_50_03_103448_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9755b625d288aec75bd085f7b6aaaf2f.jpg","text":"TemporaryFile(/tmp/multipartBody2469208015576179717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790691842,"filename":"image_13012025_18_50_03_103448_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6d2355c006a06a8f148583c758ca39db.jpg","text":"TemporaryFile(/tmp/multipartBody2534692828744663411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790691842,"filename":"image_13012025_18_50_03_103448_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/43d0f3d466fe4518ebcd42144a771aab.jpg","text":"TemporaryFile(/tmp/multipartBody6154770992480352906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790691842,"filename":"image_13012025_18_49_02_965354_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328673807","file1":"1328673794","file0":"1328673791","file3":"1328673811"},"map_files_photo_id_array":[{"photo_id":"1328673807","filename":"file2"},{"photo_id":"1328673794","filename":"file1"},{"photo_id":"1328673791","filename":"file0"},{"photo_id":"1328673811","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328673794":["hashtag1","hashtag2"]},{"1328673811":["hashtag1","hashtag2"]},{"1328673807":["hashtag1","hashtag2"]},{"1328673791":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328673794, 1328673811, 1328673807, 1328673791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.98438906669617 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 18:51:02.708629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:51:22.063758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/50/image_13012025_18_50_03_103448_0003.jpg', '/home/pi/Desktop/images/13012025/18/51/image_13012025_18_51_02_338593_0000.jpg', '/home/pi/Desktop/images/13012025/18/51/image_13012025_18_51_02_338593_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/50/image_13012025_18_50_03_103448_0003.jpg
/home/pi/Desktop/images/13012025/18/51/image_13012025_18_51_02_338593_0000.jpg
/home/pi/Desktop/images/13012025/18/51/image_13012025_18_51_02_338593_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328673866","1328673871","1328673870"],"photo_ids_order":["1328673866","1328673870","1328673871"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/139db07eefb9b78dc5c7ab3c22cfe4f8.jpg","text":"TemporaryFile(/tmp/multipartBody333152924548870565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790749649,"filename":"image_13012025_18_50_03_103448_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7cf149e5f1fe51c7f5827cea49378c9f.jpg","text":"TemporaryFile(/tmp/multipartBody2072112276361420228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790749649,"filename":"image_13012025_18_51_02_338593_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/58ab27e7dfee7fb401cdc8565110aa6b.jpg","text":"TemporaryFile(/tmp/multipartBody860124603313586048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790749649,"filename":"image_13012025_18_51_02_338593_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328673871","file1":"1328673870","file0":"1328673866"},"map_files_photo_id_array":[{"photo_id":"1328673871","filename":"file2"},{"photo_id":"1328673870","filename":"file1"},{"photo_id":"1328673866","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328673866":["hashtag1","hashtag2"]},{"1328673871":["hashtag1","hashtag2"]},{"1328673870":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328673866, 1328673871, 1328673870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.936965227127075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 18:52:02.767279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:52:22.370737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/51/image_13012025_18_51_02_338593_0003.jpg', '/home/pi/Desktop/images/13012025/18/52/image_13012025_18_52_02_485322_0000.jpg', '/home/pi/Desktop/images/13012025/18/52/image_13012025_18_52_02_485322_0001.jpg', '/home/pi/Desktop/images/13012025/18/52/image_13012025_18_52_02_485322_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/51/image_13012025_18_51_02_338593_0003.jpg
/home/pi/Desktop/images/13012025/18/52/image_13012025_18_52_02_485322_0000.jpg
/home/pi/Desktop/images/13012025/18/52/image_13012025_18_52_02_485322_0001.jpg
/home/pi/Desktop/images/13012025/18/52/image_13012025_18_52_02_485322_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328673923","1328673920","1328673912","1328673915"],"photo_ids_order":["1328673912","1328673915","1328673920","1328673923"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4f95441cfb5f2b71df4c942c9a87593e.jpg","text":"TemporaryFile(/tmp/multipartBody7029924985239373753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790812677,"filename":"image_13012025_18_52_02_485322_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8e84f7b129813e5ceeb53f0320af4eac.jpg","text":"TemporaryFile(/tmp/multipartBody5487135173631017870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790812677,"filename":"image_13012025_18_52_02_485322_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1342e39789aa069907bc668c0f0cda8e.jpg","text":"TemporaryFile(/tmp/multipartBody3032313635886943535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790812677,"filename":"image_13012025_18_51_02_338593_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c530ece1434d0e8ef409804aa58001fc.jpg","text":"TemporaryFile(/tmp/multipartBody2416951700485516511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790812677,"filename":"image_13012025_18_52_02_485322_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328673920","file1":"1328673915","file0":"1328673912","file3":"1328673923"},"map_files_photo_id_array":[{"photo_id":"1328673920","filename":"file2"},{"photo_id":"1328673915","filename":"file1"},{"photo_id":"1328673912","filename":"file0"},{"photo_id":"1328673923","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328673923":["hashtag1","hashtag2"]},{"1328673920":["hashtag1","hashtag2"]},{"1328673912":["hashtag1","hashtag2"]},{"1328673915":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328673923, 1328673920, 1328673912, 1328673915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.405251026153564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 18:53:03.244886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:53:22.516255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/52/image_13012025_18_52_02_485322_0003.jpg', '/home/pi/Desktop/images/13012025/18/53/image_13012025_18_53_02_706650_0000.jpg', '/home/pi/Desktop/images/13012025/18/53/image_13012025_18_53_02_706650_0001.jpg', '/home/pi/Desktop/images/13012025/18/53/image_13012025_18_53_02_706650_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/52/image_13012025_18_52_02_485322_0003.jpg
/home/pi/Desktop/images/13012025/18/53/image_13012025_18_53_02_706650_0000.jpg
/home/pi/Desktop/images/13012025/18/53/image_13012025_18_53_02_706650_0001.jpg
/home/pi/Desktop/images/13012025/18/53/image_13012025_18_53_02_706650_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328673958","1328673960","1328673963","1328674002"],"photo_ids_order":["1328673958","1328673960","1328673963","1328674002"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/861019640b05bb1d480e75a29715bec4.jpg","text":"TemporaryFile(/tmp/multipartBody559836558277432980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790872784,"filename":"image_13012025_18_52_02_485322_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8f7e6e14aac992e66993e43acfc532af.jpg","text":"TemporaryFile(/tmp/multipartBody933994059214902521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790872784,"filename":"image_13012025_18_53_02_706650_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3b0108ab92621bea58b5262c9b395c3b.jpg","text":"TemporaryFile(/tmp/multipartBody800757494968927952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790872784,"filename":"image_13012025_18_53_02_706650_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/73e77ae7a71d17ab5a151c8c4ba6c21b.jpg","text":"TemporaryFile(/tmp/multipartBody1411750057043262137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790872784,"filename":"image_13012025_18_53_02_706650_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328673963","file1":"1328673960","file0":"1328673958","file3":"1328674002"},"map_files_photo_id_array":[{"photo_id":"1328673963","filename":"file2"},{"photo_id":"1328673960","filename":"file1"},{"photo_id":"1328673958","filename":"file0"},{"photo_id":"1328674002","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328673958":["hashtag1","hashtag2"]},{"1328673960":["hashtag1","hashtag2"]},{"1328673963":["hashtag1","hashtag2"]},{"1328674002":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328673958, 1328673960, 1328673963, 1328674002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.36860418319702 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 18:54:03.047960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:54:22.702626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/53/image_13012025_18_53_02_706650_0003.jpg', '/home/pi/Desktop/images/13012025/18/54/image_13012025_18_54_02_872648_0000.jpg', '/home/pi/Desktop/images/13012025/18/54/image_13012025_18_54_02_872648_0001.jpg', '/home/pi/Desktop/images/13012025/18/54/image_13012025_18_54_02_872648_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/53/image_13012025_18_53_02_706650_0003.jpg
/home/pi/Desktop/images/13012025/18/54/image_13012025_18_54_02_872648_0000.jpg
/home/pi/Desktop/images/13012025/18/54/image_13012025_18_54_02_872648_0001.jpg
/home/pi/Desktop/images/13012025/18/54/image_13012025_18_54_02_872648_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328674567","1328674576","1328674689","1328674572"],"photo_ids_order":["1328674567","1328674572","1328674576","1328674689"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/849b8045d7561dd7b73c9a4d95dd23b3.jpg","text":"TemporaryFile(/tmp/multipartBody6580650179556318713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790932881,"filename":"image_13012025_18_53_02_706650_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eb2310764dc6e1718735d55ae9295271.jpg","text":"TemporaryFile(/tmp/multipartBody3092749526385870238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790932881,"filename":"image_13012025_18_54_02_872648_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cd6f0356fa7cb7bc00057ce4a6da6fca.jpg","text":"TemporaryFile(/tmp/multipartBody7231003230381652636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790932881,"filename":"image_13012025_18_54_02_872648_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/64c22ff7f757db32e6e11f9861f49d59.jpg","text":"TemporaryFile(/tmp/multipartBody1838911558068926435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790932881,"filename":"image_13012025_18_54_02_872648_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328674576","file1":"1328674572","file0":"1328674567","file3":"1328674689"},"map_files_photo_id_array":[{"photo_id":"1328674576","filename":"file2"},{"photo_id":"1328674572","filename":"file1"},{"photo_id":"1328674567","filename":"file0"},{"photo_id":"1328674689","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328674567":["hashtag1","hashtag2"]},{"1328674576":["hashtag1","hashtag2"]},{"1328674689":["hashtag1","hashtag2"]},{"1328674572":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328674567, 1328674576, 1328674689, 1328674572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.78611397743225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:55:21.859938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/54/image_13012025_18_54_02_872648_0003.jpg', '/home/pi/Desktop/images/13012025/18/55/image_13012025_18_55_03_066717_0000.jpg', '/home/pi/Desktop/images/13012025/18/55/image_13012025_18_55_03_066717_0001.jpg', '/home/pi/Desktop/images/13012025/18/55/image_13012025_18_55_03_066717_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/54/image_13012025_18_54_02_872648_0003.jpg
/home/pi/Desktop/images/13012025/18/55/image_13012025_18_55_03_066717_0000.jpg
/home/pi/Desktop/images/13012025/18/55/image_13012025_18_55_03_066717_0001.jpg
/home/pi/Desktop/images/13012025/18/55/image_13012025_18_55_03_066717_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328674814","1328674808","1328674810","1328674818"],"photo_ids_order":["1328674808","1328674810","1328674814","1328674818"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e8453fdea4467cdd869676c4b4346cc5.jpg","text":"TemporaryFile(/tmp/multipartBody1465501677465759211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790992062,"filename":"image_13012025_18_55_03_066717_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fc3e3bd2273a8eb66e021f73258b8df1.jpg","text":"TemporaryFile(/tmp/multipartBody6182850142667296198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790992062,"filename":"image_13012025_18_54_02_872648_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4f83e263fa46b26fb718037d64cf979a.jpg","text":"TemporaryFile(/tmp/multipartBody5024002933526161295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790992062,"filename":"image_13012025_18_55_03_066717_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b4579bd4fe17167f7adf2672fd5fa074.jpg","text":"TemporaryFile(/tmp/multipartBody1265078111071572767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736790992062,"filename":"image_13012025_18_55_03_066717_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328674814","file1":"1328674810","file0":"1328674808","file3":"1328674818"},"map_files_photo_id_array":[{"photo_id":"1328674814","filename":"file2"},{"photo_id":"1328674810","filename":"file1"},{"photo_id":"1328674808","filename":"file0"},{"photo_id":"1328674818","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328674814":["hashtag1","hashtag2"]},{"1328674808":["hashtag1","hashtag2"]},{"1328674810":["hashtag1","hashtag2"]},{"1328674818":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328674814, 1328674808, 1328674810, 1328674818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.51791024208069 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 18:56:02.439318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:56:22.007117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/55/image_13012025_18_55_03_066717_0003.jpg', '/home/pi/Desktop/images/13012025/18/56/image_13012025_18_56_02_211024_0000.jpg', '/home/pi/Desktop/images/13012025/18/56/image_13012025_18_56_02_211024_0001.jpg', '/home/pi/Desktop/images/13012025/18/56/image_13012025_18_56_02_211024_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/55/image_13012025_18_55_03_066717_0003.jpg
/home/pi/Desktop/images/13012025/18/56/image_13012025_18_56_02_211024_0000.jpg
/home/pi/Desktop/images/13012025/18/56/image_13012025_18_56_02_211024_0001.jpg
/home/pi/Desktop/images/13012025/18/56/image_13012025_18_56_02_211024_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328675010","1328675004","1328675007","1328675000"],"photo_ids_order":["1328675000","1328675004","1328675007","1328675010"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4a7839182c802ab18d5bb8ec87f52d5f.jpg","text":"TemporaryFile(/tmp/multipartBody617767323309213518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791052125,"filename":"image_13012025_18_56_02_211024_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0a11260f841c3205c27094f0a5686522.jpg","text":"TemporaryFile(/tmp/multipartBody3661978195630532427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791052125,"filename":"image_13012025_18_56_02_211024_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2054eda64bc7ef779a2d054ad9df361a.jpg","text":"TemporaryFile(/tmp/multipartBody257617378907516491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791052125,"filename":"image_13012025_18_56_02_211024_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7c043f0fc7cc0143590549e487e9547a.jpg","text":"TemporaryFile(/tmp/multipartBody688164617218904899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791052125,"filename":"image_13012025_18_55_03_066717_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328675007","file1":"1328675004","file0":"1328675000","file3":"1328675010"},"map_files_photo_id_array":[{"photo_id":"1328675007","filename":"file2"},{"photo_id":"1328675004","filename":"file1"},{"photo_id":"1328675000","filename":"file0"},{"photo_id":"1328675010","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328675010":["hashtag1","hashtag2"]},{"1328675004":["hashtag1","hashtag2"]},{"1328675007":["hashtag1","hashtag2"]},{"1328675000":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328675010, 1328675004, 1328675007, 1328675000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.54626202583313 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 18:57:02.762511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:57:22.211467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/56/image_13012025_18_56_02_211024_0003.jpg', '/home/pi/Desktop/images/13012025/18/57/image_13012025_18_57_02_322462_0000.jpg', '/home/pi/Desktop/images/13012025/18/57/image_13012025_18_57_02_322462_0001.jpg', '/home/pi/Desktop/images/13012025/18/57/image_13012025_18_57_02_322462_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/56/image_13012025_18_56_02_211024_0003.jpg
/home/pi/Desktop/images/13012025/18/57/image_13012025_18_57_02_322462_0000.jpg
/home/pi/Desktop/images/13012025/18/57/image_13012025_18_57_02_322462_0001.jpg
/home/pi/Desktop/images/13012025/18/57/image_13012025_18_57_02_322462_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328675047","1328675052","1328675037","1328675042"],"photo_ids_order":["1328675037","1328675042","1328675047","1328675052"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f6b0c2e61c412ae3bd31f2ba537f8d16.jpg","text":"TemporaryFile(/tmp/multipartBody5205539583723727091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791112331,"filename":"image_13012025_18_57_02_322462_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d471b4cc3ba166392a4f3c72fb5db567.jpg","text":"TemporaryFile(/tmp/multipartBody3411446068520584909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791112331,"filename":"image_13012025_18_57_02_322462_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/584c7086c2b4097c976f71a6ef77bc00.jpg","text":"TemporaryFile(/tmp/multipartBody9110687857282957105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791112331,"filename":"image_13012025_18_56_02_211024_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8d0a139faf3c954100a23eab4eca4ea0.jpg","text":"TemporaryFile(/tmp/multipartBody237363052177115263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791112331,"filename":"image_13012025_18_57_02_322462_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328675047","file1":"1328675042","file0":"1328675037","file3":"1328675052"},"map_files_photo_id_array":[{"photo_id":"1328675047","filename":"file2"},{"photo_id":"1328675042","filename":"file1"},{"photo_id":"1328675037","filename":"file0"},{"photo_id":"1328675052","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328675047":["hashtag1","hashtag2"]},{"1328675052":["hashtag1","hashtag2"]},{"1328675037":["hashtag1","hashtag2"]},{"1328675042":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328675047, 1328675052, 1328675037, 1328675042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.861093521118164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 18:59:03.203173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 18:59:22.452348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/57/image_13012025_18_57_02_322462_0003.jpg', '/home/pi/Desktop/images/13012025/18/58/image_13012025_18_58_02_598489_0000.jpg', '/home/pi/Desktop/images/13012025/18/58/image_13012025_18_58_02_598489_0001.jpg', '/home/pi/Desktop/images/13012025/18/58/image_13012025_18_58_02_598489_0002.jpg', '/home/pi/Desktop/images/13012025/18/58/image_13012025_18_58_02_598489_0003.jpg', '/home/pi/Desktop/images/13012025/18/59/image_13012025_18_59_02_656365_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/57/image_13012025_18_57_02_322462_0003.jpg
/home/pi/Desktop/images/13012025/18/58/image_13012025_18_58_02_598489_0000.jpg
/home/pi/Desktop/images/13012025/18/58/image_13012025_18_58_02_598489_0001.jpg
/home/pi/Desktop/images/13012025/18/58/image_13012025_18_58_02_598489_0002.jpg
/home/pi/Desktop/images/13012025/18/58/image_13012025_18_58_02_598489_0003.jpg
/home/pi/Desktop/images/13012025/18/59/image_13012025_18_59_02_656365_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328675123","1328675117","1328675125","1328675119","1328675121","1328675112"],"photo_ids_order":["1328675112","1328675117","1328675119","1328675121","1328675123","1328675125"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/333485935e3fd72b8941c5ba20fd95d2.jpg","text":"TemporaryFile(/tmp/multipartBody6568088770225970757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791237311,"filename":"image_13012025_18_58_02_598489_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dc9af7e8e770ff3666dc5974cc9db367.jpg","text":"TemporaryFile(/tmp/multipartBody5536834513322470245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791237311,"filename":"image_13012025_18_58_02_598489_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/95f9a1b16de42b57d7303b412acf62f8.jpg","text":"TemporaryFile(/tmp/multipartBody449585298461113445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791237311,"filename":"image_13012025_18_59_02_656365_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ffaa3467822b78898a324edb649faba7.jpg","text":"TemporaryFile(/tmp/multipartBody4406704186464782275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791237311,"filename":"image_13012025_18_58_02_598489_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8d78cd5c148c416319000dd2ad931434.jpg","text":"TemporaryFile(/tmp/multipartBody8532288050684791578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791237311,"filename":"image_13012025_18_58_02_598489_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9d2580b518b0cbb60fb2b0afdb7ae5cb.jpg","text":"TemporaryFile(/tmp/multipartBody5802121252316867525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791237311,"filename":"image_13012025_18_57_02_322462_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328675119","file1":"1328675117","file0":"1328675112","file4":"1328675123","file5":"1328675125","file3":"1328675121"},"map_files_photo_id_array":[{"photo_id":"1328675125","filename":"file5"},{"photo_id":"1328675119","filename":"file2"},{"photo_id":"1328675123","filename":"file4"},{"photo_id":"1328675117","filename":"file1"},{"photo_id":"1328675112","filename":"file0"},{"photo_id":"1328675121","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328675123":["hashtag1","hashtag2"]},{"1328675117":["hashtag1","hashtag2"]},{"1328675125":["hashtag1","hashtag2"]},{"1328675119":["hashtag1","hashtag2"]},{"1328675121":["hashtag1","hashtag2"]},{"1328675112":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328675123, 1328675117, 1328675125, 1328675119, 1328675121, 1328675112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.82251787185669 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:00:22.591030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/59/image_13012025_18_59_02_656365_0001.jpg', '/home/pi/Desktop/images/13012025/18/59/image_13012025_18_59_02_656365_0002.jpg', '/home/pi/Desktop/images/13012025/18/59/image_13012025_18_59_02_656365_0003.jpg', '/home/pi/Desktop/images/13012025/19/00/image_13012025_19_00_02_830525_0000.jpg', '/home/pi/Desktop/images/13012025/19/00/image_13012025_19_00_02_830525_0001.jpg', '/home/pi/Desktop/images/13012025/19/00/image_13012025_19_00_02_830525_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/18/59/image_13012025_18_59_02_656365_0001.jpg
/home/pi/Desktop/images/13012025/18/59/image_13012025_18_59_02_656365_0002.jpg
/home/pi/Desktop/images/13012025/18/59/image_13012025_18_59_02_656365_0003.jpg
/home/pi/Desktop/images/13012025/19/00/image_13012025_19_00_02_830525_0000.jpg
/home/pi/Desktop/images/13012025/19/00/image_13012025_19_00_02_830525_0001.jpg
/home/pi/Desktop/images/13012025/19/00/image_13012025_19_00_02_830525_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328675161","1328675288","1328675282","1328675156","1328675153","1328675228"],"photo_ids_order":["1328675153","1328675156","1328675161","1328675228","1328675282","1328675288"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1b3ccf970e2681fae4202887b4381f2b.jpg","text":"TemporaryFile(/tmp/multipartBody3026861612646358012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791297389,"filename":"image_13012025_18_59_02_656365_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3fdec9aa6f4e0d850465330b4166fd29.jpg","text":"TemporaryFile(/tmp/multipartBody3176948546029012204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791297389,"filename":"image_13012025_19_00_02_830525_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fddf841ab83ca643787b8b7ad55c4df1.jpg","text":"TemporaryFile(/tmp/multipartBody7382387536894945998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791297389,"filename":"image_13012025_19_00_02_830525_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/925e524b6bafb65c0a3203728fdbefdb.jpg","text":"TemporaryFile(/tmp/multipartBody9163173559309284974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791297389,"filename":"image_13012025_18_59_02_656365_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/33c913d086771aa4153619fd46802c98.jpg","text":"TemporaryFile(/tmp/multipartBody4622508562433184966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791297389,"filename":"image_13012025_18_59_02_656365_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5ca611b6685de2234a75779f79537a00.jpg","text":"TemporaryFile(/tmp/multipartBody8675868714023641423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791297389,"filename":"image_13012025_19_00_02_830525_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328675161","file1":"1328675156","file0":"1328675153","file4":"1328675282","file5":"1328675288","file3":"1328675228"},"map_files_photo_id_array":[{"photo_id":"1328675288","filename":"file5"},{"photo_id":"1328675161","filename":"file2"},{"photo_id":"1328675282","filename":"file4"},{"photo_id":"1328675156","filename":"file1"},{"photo_id":"1328675153","filename":"file0"},{"photo_id":"1328675228","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328675161":["hashtag1","hashtag2"]},{"1328675288":["hashtag1","hashtag2"]},{"1328675282":["hashtag1","hashtag2"]},{"1328675156":["hashtag1","hashtag2"]},{"1328675153":["hashtag1","hashtag2"]},{"1328675228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328675161, 1328675288, 1328675282, 1328675156, 1328675153, 1328675228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.009461402893066 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:01:21.814444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/00/image_13012025_19_00_02_830525_0003.jpg', '/home/pi/Desktop/images/13012025/19/01/image_13012025_19_01_02_960878_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/00/image_13012025_19_00_02_830525_0003.jpg
/home/pi/Desktop/images/13012025/19/01/image_13012025_19_01_02_960878_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328675299","1328675303"],"photo_ids_order":["1328675299","1328675303"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/78e75e9852510909a8fbc09ba3c64ad6.jpg","text":"TemporaryFile(/tmp/multipartBody1377290466386434606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791347310,"filename":"image_13012025_19_00_02_830525_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fd91e1288414e8d5bb86f09494624d31.jpg","text":"TemporaryFile(/tmp/multipartBody2584920885400460885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791347310,"filename":"image_13012025_19_01_02_960878_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328675303","file0":"1328675299"},"map_files_photo_id_array":[{"photo_id":"1328675303","filename":"file1"},{"photo_id":"1328675299","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328675299":["hashtag1","hashtag2"]},{"1328675303":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328675299, 1328675303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.32703971862793 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 19:01:51.802674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 19:02:02.565273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:02:22.055853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/01/image_13012025_19_01_02_960878_0002.jpg', '/home/pi/Desktop/images/13012025/19/02/image_13012025_19_02_02_136442_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/01/image_13012025_19_01_02_960878_0002.jpg
/home/pi/Desktop/images/13012025/19/02/image_13012025_19_02_02_136442_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328675359","1328675362"],"photo_ids_order":["1328675359","1328675362"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0a4fcc6c6dc01d1f0416de7777cf6da3.jpg","text":"TemporaryFile(/tmp/multipartBody1077675634421896450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791407515,"filename":"image_13012025_19_01_02_960878_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/acf3f2544603824308f7f81ec9c9de58.jpg","text":"TemporaryFile(/tmp/multipartBody33503378685591155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791407515,"filename":"image_13012025_19_02_02_136442_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328675362","file0":"1328675359"},"map_files_photo_id_array":[{"photo_id":"1328675362","filename":"file1"},{"photo_id":"1328675359","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328675359":["hashtag1","hashtag2"]},{"1328675362":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328675359, 1328675362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.496628999710083 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 19:02:51.982485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 19:03:02.692065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:03:22.181058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/02/image_13012025_19_02_02_136442_0002.jpg', '/home/pi/Desktop/images/13012025/19/03/image_13012025_19_03_02_355014_0000.jpg', '/home/pi/Desktop/images/13012025/19/03/image_13012025_19_03_02_355014_0001.jpg', '/home/pi/Desktop/images/13012025/19/03/image_13012025_19_03_02_355014_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/02/image_13012025_19_02_02_136442_0002.jpg
/home/pi/Desktop/images/13012025/19/03/image_13012025_19_03_02_355014_0000.jpg
/home/pi/Desktop/images/13012025/19/03/image_13012025_19_03_02_355014_0001.jpg
/home/pi/Desktop/images/13012025/19/03/image_13012025_19_03_02_355014_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328676149","1328675873","1328676032","1328675963"],"photo_ids_order":["1328675873","1328675963","1328676032","1328676149"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c25bdeeccf15efbc209728efbe93adfa.jpg","text":"TemporaryFile(/tmp/multipartBody8904755007049235129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791472356,"filename":"image_13012025_19_03_02_355014_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3cede4bb915702e192ae5240a428e522.jpg","text":"TemporaryFile(/tmp/multipartBody4534820110396236141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791472356,"filename":"image_13012025_19_02_02_136442_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f5466019bb4d78f12c5f005c1b74a2ac.jpg","text":"TemporaryFile(/tmp/multipartBody3384508056983246970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791472356,"filename":"image_13012025_19_03_02_355014_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0c737b1a3a01d8c7875f6162d300396b.jpg","text":"TemporaryFile(/tmp/multipartBody5428217214733047385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791472356,"filename":"image_13012025_19_03_02_355014_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328676032","file1":"1328675963","file0":"1328675873","file3":"1328676149"},"map_files_photo_id_array":[{"photo_id":"1328676032","filename":"file2"},{"photo_id":"1328675963","filename":"file1"},{"photo_id":"1328675873","filename":"file0"},{"photo_id":"1328676149","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328676149":["hashtag1","hashtag2"]},{"1328675873":["hashtag1","hashtag2"]},{"1328676032":["hashtag1","hashtag2"]},{"1328675963":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328676149, 1328675873, 1328676032, 1328675963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.06801700592041 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 19:04:02.816628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:04:22.299080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/03/image_13012025_19_03_02_355014_0003.jpg', '/home/pi/Desktop/images/13012025/19/04/image_13012025_19_04_02_533922_0000.jpg', '/home/pi/Desktop/images/13012025/19/04/image_13012025_19_04_02_533922_0001.jpg', '/home/pi/Desktop/images/13012025/19/04/image_13012025_19_04_02_533922_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/03/image_13012025_19_03_02_355014_0003.jpg
/home/pi/Desktop/images/13012025/19/04/image_13012025_19_04_02_533922_0000.jpg
/home/pi/Desktop/images/13012025/19/04/image_13012025_19_04_02_533922_0001.jpg
/home/pi/Desktop/images/13012025/19/04/image_13012025_19_04_02_533922_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328676940","1328676945","1328676914","1328676973"],"photo_ids_order":["1328676914","1328676940","1328676945","1328676973"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7bd7d44cd1e9872e1c0fb5b6e4448aa5.jpg","text":"TemporaryFile(/tmp/multipartBody6671777844337718379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791532440,"filename":"image_13012025_19_04_02_533922_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b288d99b59edc783e0f7e0afdfb8d424.jpg","text":"TemporaryFile(/tmp/multipartBody7209548950242778746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791532440,"filename":"image_13012025_19_04_02_533922_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8f2d1d3ba7ab6d5183418db9eb5546d4.jpg","text":"TemporaryFile(/tmp/multipartBody2466397679119114020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791532440,"filename":"image_13012025_19_03_02_355014_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0c1809fb848bffda94a9a5514a701d06.jpg","text":"TemporaryFile(/tmp/multipartBody6674655762864924006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791532440,"filename":"image_13012025_19_04_02_533922_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328676945","file1":"1328676940","file0":"1328676914","file3":"1328676973"},"map_files_photo_id_array":[{"photo_id":"1328676945","filename":"file2"},{"photo_id":"1328676940","filename":"file1"},{"photo_id":"1328676914","filename":"file0"},{"photo_id":"1328676973","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328676940":["hashtag1","hashtag2"]},{"1328676945":["hashtag1","hashtag2"]},{"1328676914":["hashtag1","hashtag2"]},{"1328676973":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328676940, 1328676945, 1328676914, 1328676973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.605087757110596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:05:22.523894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/04/image_13012025_19_04_02_533922_0003.jpg', '/home/pi/Desktop/images/13012025/19/05/image_13012025_19_05_02_655090_0000.jpg', '/home/pi/Desktop/images/13012025/19/05/image_13012025_19_05_02_655090_0001.jpg', '/home/pi/Desktop/images/13012025/19/05/image_13012025_19_05_02_655090_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/04/image_13012025_19_04_02_533922_0003.jpg
/home/pi/Desktop/images/13012025/19/05/image_13012025_19_05_02_655090_0000.jpg
/home/pi/Desktop/images/13012025/19/05/image_13012025_19_05_02_655090_0001.jpg
/home/pi/Desktop/images/13012025/19/05/image_13012025_19_05_02_655090_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328677023","1328677028","1328677031","1328677025"],"photo_ids_order":["1328677023","1328677025","1328677028","1328677031"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/92241645367f11662c09d0be609345a5.jpg","text":"TemporaryFile(/tmp/multipartBody1436893849119867858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791592845,"filename":"image_13012025_19_04_02_533922_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e07856866121ac96f342d9862079d023.jpg","text":"TemporaryFile(/tmp/multipartBody2636634559404843224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791592845,"filename":"image_13012025_19_05_02_655090_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fd4dcd9603045d22df882e0b680629f5.jpg","text":"TemporaryFile(/tmp/multipartBody5719017254311516956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791592845,"filename":"image_13012025_19_05_02_655090_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7452762d487fdfe0e2186224525961ae.jpg","text":"TemporaryFile(/tmp/multipartBody8044061157598064992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791592845,"filename":"image_13012025_19_05_02_655090_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328677028","file1":"1328677025","file0":"1328677023","file3":"1328677031"},"map_files_photo_id_array":[{"photo_id":"1328677028","filename":"file2"},{"photo_id":"1328677025","filename":"file1"},{"photo_id":"1328677023","filename":"file0"},{"photo_id":"1328677031","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328677023":["hashtag1","hashtag2"]},{"1328677028":["hashtag1","hashtag2"]},{"1328677031":["hashtag1","hashtag2"]},{"1328677025":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328677023, 1328677028, 1328677031, 1328677025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.546653747558594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:06:22.749710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/05/image_13012025_19_05_02_655090_0003.jpg', '/home/pi/Desktop/images/13012025/19/06/image_13012025_19_06_02_916788_0000.jpg', '/home/pi/Desktop/images/13012025/19/06/image_13012025_19_06_02_916788_0001.jpg', '/home/pi/Desktop/images/13012025/19/06/image_13012025_19_06_02_916788_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/05/image_13012025_19_05_02_655090_0003.jpg
/home/pi/Desktop/images/13012025/19/06/image_13012025_19_06_02_916788_0000.jpg
/home/pi/Desktop/images/13012025/19/06/image_13012025_19_06_02_916788_0001.jpg
/home/pi/Desktop/images/13012025/19/06/image_13012025_19_06_02_916788_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328677068","1328677050","1328677046","1328677147"],"photo_ids_order":["1328677046","1328677050","1328677068","1328677147"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/64893b304fc0d1efe691565f5210761e.jpg","text":"TemporaryFile(/tmp/multipartBody8184973449762889282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791652847,"filename":"image_13012025_19_06_02_916788_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/decb7d3970e16112cebbacf020fd1b12.jpg","text":"TemporaryFile(/tmp/multipartBody1790122023697778538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791652847,"filename":"image_13012025_19_06_02_916788_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a4f6d345c8a5c76df65e3120321f3f59.jpg","text":"TemporaryFile(/tmp/multipartBody3956001735759097942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791652847,"filename":"image_13012025_19_05_02_655090_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ad05c4e24257b6d5c7b5f747a5bfef5d.jpg","text":"TemporaryFile(/tmp/multipartBody3843491418028461450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791652847,"filename":"image_13012025_19_06_02_916788_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328677068","file1":"1328677050","file0":"1328677046","file3":"1328677147"},"map_files_photo_id_array":[{"photo_id":"1328677068","filename":"file2"},{"photo_id":"1328677050","filename":"file1"},{"photo_id":"1328677046","filename":"file0"},{"photo_id":"1328677147","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328677068":["hashtag1","hashtag2"]},{"1328677050":["hashtag1","hashtag2"]},{"1328677046":["hashtag1","hashtag2"]},{"1328677147":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328677068, 1328677050, 1328677046, 1328677147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.90235495567322 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:07:21.982465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/06/image_13012025_19_06_02_916788_0003.jpg', '/home/pi/Desktop/images/13012025/19/07/image_13012025_19_07_03_103485_0000.jpg', '/home/pi/Desktop/images/13012025/19/07/image_13012025_19_07_03_103485_0001.jpg', '/home/pi/Desktop/images/13012025/19/07/image_13012025_19_07_03_103485_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/06/image_13012025_19_06_02_916788_0003.jpg
/home/pi/Desktop/images/13012025/19/07/image_13012025_19_07_03_103485_0000.jpg
/home/pi/Desktop/images/13012025/19/07/image_13012025_19_07_03_103485_0001.jpg
/home/pi/Desktop/images/13012025/19/07/image_13012025_19_07_03_103485_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328677158","1328677294","1328677288","1328677156"],"photo_ids_order":["1328677156","1328677158","1328677288","1328677294"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7aa7874031551df5269ef2bca4ec90ae.jpg","text":"TemporaryFile(/tmp/multipartBody3732628614916936837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791712072,"filename":"image_13012025_19_07_03_103485_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/00308589b05d21c4cd1dd22334647d40.jpg","text":"TemporaryFile(/tmp/multipartBody3686275104269891800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791712072,"filename":"image_13012025_19_07_03_103485_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fecac99e86f1af49207cfa5258d614b8.jpg","text":"TemporaryFile(/tmp/multipartBody5754504216184930337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791712072,"filename":"image_13012025_19_07_03_103485_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c4d94f68814d01f31f1bcb64a6d383a6.jpg","text":"TemporaryFile(/tmp/multipartBody672369184064815434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791712072,"filename":"image_13012025_19_06_02_916788_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328677288","file1":"1328677158","file0":"1328677156","file3":"1328677294"},"map_files_photo_id_array":[{"photo_id":"1328677288","filename":"file2"},{"photo_id":"1328677158","filename":"file1"},{"photo_id":"1328677156","filename":"file0"},{"photo_id":"1328677294","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328677158":["hashtag1","hashtag2"]},{"1328677294":["hashtag1","hashtag2"]},{"1328677288":["hashtag1","hashtag2"]},{"1328677156":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328677158, 1328677294, 1328677288, 1328677156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.21990752220154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:08:22.136822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/07/image_13012025_19_07_03_103485_0003.jpg', '/home/pi/Desktop/images/13012025/19/08/image_13012025_19_08_02_334945_0001.jpg', '/home/pi/Desktop/images/13012025/19/08/image_13012025_19_08_02_334945_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/07/image_13012025_19_07_03_103485_0003.jpg
/home/pi/Desktop/images/13012025/19/08/image_13012025_19_08_02_334945_0001.jpg
/home/pi/Desktop/images/13012025/19/08/image_13012025_19_08_02_334945_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328677341","1328677336","1328677339"],"photo_ids_order":["1328677336","1328677339","1328677341"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8289d026446ce7848fc3a3e620b79c58.jpg","text":"TemporaryFile(/tmp/multipartBody858304177770803362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791769878,"filename":"image_13012025_19_08_02_334945_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9f1ed01bd9efd7d8dd9f03309cb737f9.jpg","text":"TemporaryFile(/tmp/multipartBody4423353719919593275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791769878,"filename":"image_13012025_19_07_03_103485_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d2044eeea4cc9843217b3c83e57ea8d8.jpg","text":"TemporaryFile(/tmp/multipartBody6732114116836053756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791769878,"filename":"image_13012025_19_08_02_334945_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328677341","file1":"1328677339","file0":"1328677336"},"map_files_photo_id_array":[{"photo_id":"1328677341","filename":"file2"},{"photo_id":"1328677339","filename":"file1"},{"photo_id":"1328677336","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328677341":["hashtag1","hashtag2"]},{"1328677336":["hashtag1","hashtag2"]},{"1328677339":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328677341, 1328677336, 1328677339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.904542922973633 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 19:09:02.892623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:09:22.447408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/08/image_13012025_19_08_02_334945_0003.jpg', '/home/pi/Desktop/images/13012025/19/09/image_13012025_19_09_02_502814_0000.jpg', '/home/pi/Desktop/images/13012025/19/09/image_13012025_19_09_02_502814_0001.jpg', '/home/pi/Desktop/images/13012025/19/09/image_13012025_19_09_02_502814_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/08/image_13012025_19_08_02_334945_0003.jpg
/home/pi/Desktop/images/13012025/19/09/image_13012025_19_09_02_502814_0000.jpg
/home/pi/Desktop/images/13012025/19/09/image_13012025_19_09_02_502814_0001.jpg
/home/pi/Desktop/images/13012025/19/09/image_13012025_19_09_02_502814_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328677374","1328677401","1328677409","1328677372"],"photo_ids_order":["1328677372","1328677374","1328677401","1328677409"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/637948826e328dd4f0a39edc360e0129.jpg","text":"TemporaryFile(/tmp/multipartBody8687314238879972992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791832618,"filename":"image_13012025_19_09_02_502814_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/23c27ede1175e9982527221507e82fed.jpg","text":"TemporaryFile(/tmp/multipartBody6434198483099594204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791832618,"filename":"image_13012025_19_09_02_502814_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6259177883dd05c11cab66adb769d1da.jpg","text":"TemporaryFile(/tmp/multipartBody8227541730756990314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791832618,"filename":"image_13012025_19_09_02_502814_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5139f9d44c9086f445ab1a56452bd562.jpg","text":"TemporaryFile(/tmp/multipartBody4071046121525158460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791832618,"filename":"image_13012025_19_08_02_334945_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328677401","file1":"1328677374","file0":"1328677372","file3":"1328677409"},"map_files_photo_id_array":[{"photo_id":"1328677401","filename":"file2"},{"photo_id":"1328677374","filename":"file1"},{"photo_id":"1328677372","filename":"file0"},{"photo_id":"1328677409","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328677374":["hashtag1","hashtag2"]},{"1328677401":["hashtag1","hashtag2"]},{"1328677409":["hashtag1","hashtag2"]},{"1328677372":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328677374, 1328677401, 1328677409, 1328677372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.509469985961914 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:10:22.523124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/09/image_13012025_19_09_02_502814_0003.jpg', '/home/pi/Desktop/images/13012025/19/10/image_13012025_19_10_02_750472_0000.jpg', '/home/pi/Desktop/images/13012025/19/10/image_13012025_19_10_02_750472_0001.jpg', '/home/pi/Desktop/images/13012025/19/10/image_13012025_19_10_02_750472_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/09/image_13012025_19_09_02_502814_0003.jpg
/home/pi/Desktop/images/13012025/19/10/image_13012025_19_10_02_750472_0000.jpg
/home/pi/Desktop/images/13012025/19/10/image_13012025_19_10_02_750472_0001.jpg
/home/pi/Desktop/images/13012025/19/10/image_13012025_19_10_02_750472_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.879231691360474 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 19:10:42.488440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/09/image_13012025_19_09_02_502814_0003.jpg', '/home/pi/Desktop/images/13012025/19/10/image_13012025_19_10_02_750472_0000.jpg', '/home/pi/Desktop/images/13012025/19/10/image_13012025_19_10_02_750472_0001.jpg', '/home/pi/Desktop/images/13012025/19/10/image_13012025_19_10_02_750472_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/09/image_13012025_19_09_02_502814_0003.jpg
/home/pi/Desktop/images/13012025/19/10/image_13012025_19_10_02_750472_0000.jpg
/home/pi/Desktop/images/13012025/19/10/image_13012025_19_10_02_750472_0001.jpg
/home/pi/Desktop/images/13012025/19/10/image_13012025_19_10_02_750472_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328677454","1328677459","1328677462","1328677456"],"photo_ids_order":["1328677454","1328677456","1328677459","1328677462"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b1912997501dbed9d9fac1140d7b9a79.jpg","text":"TemporaryFile(/tmp/multipartBody5845865394390979465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791912772,"filename":"image_13012025_19_09_02_502814_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2561fb5462b5d2c93a549d4050de9bff.jpg","text":"TemporaryFile(/tmp/multipartBody6564582846461934510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791912772,"filename":"image_13012025_19_10_02_750472_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f15184b26d6629a02650f40e4b3ef08d.jpg","text":"TemporaryFile(/tmp/multipartBody1624570034874803508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791912772,"filename":"image_13012025_19_10_02_750472_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/10fa3a1122fda629a631e811eda40ae8.jpg","text":"TemporaryFile(/tmp/multipartBody1409939210468707520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791912772,"filename":"image_13012025_19_10_02_750472_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328677459","file1":"1328677456","file0":"1328677454","file3":"1328677462"},"map_files_photo_id_array":[{"photo_id":"1328677459","filename":"file2"},{"photo_id":"1328677456","filename":"file1"},{"photo_id":"1328677454","filename":"file0"},{"photo_id":"1328677462","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328677454":["hashtag1","hashtag2"]},{"1328677459":["hashtag1","hashtag2"]},{"1328677462":["hashtag1","hashtag2"]},{"1328677456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328677454, 1328677459, 1328677462, 1328677456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.351542949676514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:11:22.674882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/10/image_13012025_19_10_02_750472_0003.jpg', '/home/pi/Desktop/images/13012025/19/11/image_13012025_19_11_02_878954_0000.jpg', '/home/pi/Desktop/images/13012025/19/11/image_13012025_19_11_02_878954_0001.jpg', '/home/pi/Desktop/images/13012025/19/11/image_13012025_19_11_02_878954_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/10/image_13012025_19_10_02_750472_0003.jpg
/home/pi/Desktop/images/13012025/19/11/image_13012025_19_11_02_878954_0000.jpg
/home/pi/Desktop/images/13012025/19/11/image_13012025_19_11_02_878954_0001.jpg
/home/pi/Desktop/images/13012025/19/11/image_13012025_19_11_02_878954_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328677476","1328677485","1328677473","1328677488"],"photo_ids_order":["1328677473","1328677476","1328677485","1328677488"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/68a31344e474d7efc50738112425011b.jpg","text":"TemporaryFile(/tmp/multipartBody7581151503093698486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791952863,"filename":"image_13012025_19_11_02_878954_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f5965b5e24002b10432fc605c963bacb.jpg","text":"TemporaryFile(/tmp/multipartBody7978156968942724373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791952863,"filename":"image_13012025_19_11_02_878954_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/910952c972698fbb6d3944fb64a2b5cc.jpg","text":"TemporaryFile(/tmp/multipartBody4114060188579839297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791952863,"filename":"image_13012025_19_10_02_750472_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/531a08d344a91733ea3e2a794b4d71a0.jpg","text":"TemporaryFile(/tmp/multipartBody2086519171230915989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736791952863,"filename":"image_13012025_19_11_02_878954_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328677485","file1":"1328677476","file0":"1328677473","file3":"1328677488"},"map_files_photo_id_array":[{"photo_id":"1328677485","filename":"file2"},{"photo_id":"1328677476","filename":"file1"},{"photo_id":"1328677473","filename":"file0"},{"photo_id":"1328677488","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328677476":["hashtag1","hashtag2"]},{"1328677485":["hashtag1","hashtag2"]},{"1328677473":["hashtag1","hashtag2"]},{"1328677488":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328677476, 1328677485, 1328677473, 1328677488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.43374681472778 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:12:21.882648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/11/image_13012025_19_11_02_878954_0003.jpg', '/home/pi/Desktop/images/13012025/19/12/image_13012025_19_12_03_064828_0000.jpg', '/home/pi/Desktop/images/13012025/19/12/image_13012025_19_12_03_064828_0001.jpg', '/home/pi/Desktop/images/13012025/19/12/image_13012025_19_12_03_064828_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/11/image_13012025_19_11_02_878954_0003.jpg
/home/pi/Desktop/images/13012025/19/12/image_13012025_19_12_03_064828_0000.jpg
/home/pi/Desktop/images/13012025/19/12/image_13012025_19_12_03_064828_0001.jpg
/home/pi/Desktop/images/13012025/19/12/image_13012025_19_12_03_064828_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328677533","1328677536","1328677521","1328677529"],"photo_ids_order":["1328677521","1328677529","1328677533","1328677536"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3a4d03228bc5e12f9cad7aa061c19838.jpg","text":"TemporaryFile(/tmp/multipartBody1009177158316631915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792012126,"filename":"image_13012025_19_12_03_064828_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8e6274c2d572a50259e4983a39529027.jpg","text":"TemporaryFile(/tmp/multipartBody878700485973927807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792012126,"filename":"image_13012025_19_12_03_064828_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b3c674745a880234f92ad32c6b655ff5.jpg","text":"TemporaryFile(/tmp/multipartBody402861879478247535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792012126,"filename":"image_13012025_19_11_02_878954_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/38765f0d5ffb106e584b53e1b5d794ac.jpg","text":"TemporaryFile(/tmp/multipartBody8596111289183728395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792012126,"filename":"image_13012025_19_12_03_064828_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328677533","file1":"1328677529","file0":"1328677521","file3":"1328677536"},"map_files_photo_id_array":[{"photo_id":"1328677533","filename":"file2"},{"photo_id":"1328677529","filename":"file1"},{"photo_id":"1328677521","filename":"file0"},{"photo_id":"1328677536","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328677533":["hashtag1","hashtag2"]},{"1328677536":["hashtag1","hashtag2"]},{"1328677521":["hashtag1","hashtag2"]},{"1328677529":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328677533, 1328677536, 1328677521, 1328677529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.73388433456421 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 19:13:02.542747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:13:22.079246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/12/image_13012025_19_12_03_064828_0003.jpg', '/home/pi/Desktop/images/13012025/19/13/image_13012025_19_13_02_241893_0000.jpg', '/home/pi/Desktop/images/13012025/19/13/image_13012025_19_13_02_241893_0001.jpg', '/home/pi/Desktop/images/13012025/19/13/image_13012025_19_13_02_241893_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/12/image_13012025_19_12_03_064828_0003.jpg
/home/pi/Desktop/images/13012025/19/13/image_13012025_19_13_02_241893_0000.jpg
/home/pi/Desktop/images/13012025/19/13/image_13012025_19_13_02_241893_0001.jpg
/home/pi/Desktop/images/13012025/19/13/image_13012025_19_13_02_241893_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328677683","1328677572","1328677610","1328677579"],"photo_ids_order":["1328677572","1328677579","1328677610","1328677683"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/893fcd182d5134897ffd2ad18171fe4b.jpg","text":"TemporaryFile(/tmp/multipartBody3561082146816148127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792072366,"filename":"image_13012025_19_13_02_241893_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4feaa0ec69dc6c906866d3771be3c1d2.jpg","text":"TemporaryFile(/tmp/multipartBody7114795616359005072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792072366,"filename":"image_13012025_19_12_03_064828_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ddf897aae52487cbb9fd5a3e7c7b3a4f.jpg","text":"TemporaryFile(/tmp/multipartBody539667231781835846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792072366,"filename":"image_13012025_19_13_02_241893_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/507244dbd4782549c53433119558fcc8.jpg","text":"TemporaryFile(/tmp/multipartBody7486530719611987277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792072366,"filename":"image_13012025_19_13_02_241893_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328677610","file1":"1328677579","file0":"1328677572","file3":"1328677683"},"map_files_photo_id_array":[{"photo_id":"1328677610","filename":"file2"},{"photo_id":"1328677579","filename":"file1"},{"photo_id":"1328677572","filename":"file0"},{"photo_id":"1328677683","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328677683":["hashtag1","hashtag2"]},{"1328677572":["hashtag1","hashtag2"]},{"1328677610":["hashtag1","hashtag2"]},{"1328677579":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328677683, 1328677572, 1328677610, 1328677579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.48232364654541 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 19:14:02.606433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:14:22.200643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/13/image_13012025_19_13_02_241893_0003.jpg', '/home/pi/Desktop/images/13012025/19/14/image_13012025_19_14_02_483616_0000.jpg', '/home/pi/Desktop/images/13012025/19/14/image_13012025_19_14_02_483616_0001.jpg', '/home/pi/Desktop/images/13012025/19/14/image_13012025_19_14_02_483616_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/13/image_13012025_19_13_02_241893_0003.jpg
/home/pi/Desktop/images/13012025/19/14/image_13012025_19_14_02_483616_0000.jpg
/home/pi/Desktop/images/13012025/19/14/image_13012025_19_14_02_483616_0001.jpg
/home/pi/Desktop/images/13012025/19/14/image_13012025_19_14_02_483616_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328677721","1328677730","1328677726","1328677735"],"photo_ids_order":["1328677721","1328677726","1328677730","1328677735"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/31f711a344a7044b87a9f1cb643f5589.jpg","text":"TemporaryFile(/tmp/multipartBody238364960987212291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792132381,"filename":"image_13012025_19_13_02_241893_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/26454ada70f20344a877dedc16053e5e.jpg","text":"TemporaryFile(/tmp/multipartBody3937668607410654606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792132381,"filename":"image_13012025_19_14_02_483616_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fe54d894a61212af749870b1e373fdb2.jpg","text":"TemporaryFile(/tmp/multipartBody2049930429765672186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792132381,"filename":"image_13012025_19_14_02_483616_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1db04857021c3bf6a6f3b73c47c8bdd3.jpg","text":"TemporaryFile(/tmp/multipartBody4910683483263341983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792132381,"filename":"image_13012025_19_14_02_483616_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328677730","file1":"1328677726","file0":"1328677721","file3":"1328677735"},"map_files_photo_id_array":[{"photo_id":"1328677730","filename":"file2"},{"photo_id":"1328677726","filename":"file1"},{"photo_id":"1328677721","filename":"file0"},{"photo_id":"1328677735","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328677721":["hashtag1","hashtag2"]},{"1328677730":["hashtag1","hashtag2"]},{"1328677726":["hashtag1","hashtag2"]},{"1328677735":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328677721, 1328677730, 1328677726, 1328677735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.22571420669556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 19:15:02.890158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:15:22.438385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/14/image_13012025_19_14_02_483616_0003.jpg', '/home/pi/Desktop/images/13012025/19/15/image_13012025_19_15_02_592585_0000.jpg', '/home/pi/Desktop/images/13012025/19/15/image_13012025_19_15_02_592585_0001.jpg', '/home/pi/Desktop/images/13012025/19/15/image_13012025_19_15_02_592585_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/14/image_13012025_19_14_02_483616_0003.jpg
/home/pi/Desktop/images/13012025/19/15/image_13012025_19_15_02_592585_0000.jpg
/home/pi/Desktop/images/13012025/19/15/image_13012025_19_15_02_592585_0001.jpg
/home/pi/Desktop/images/13012025/19/15/image_13012025_19_15_02_592585_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328677766","1328677754","1328677756","1328677750"],"photo_ids_order":["1328677750","1328677754","1328677756","1328677766"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3b318cdaed7a3c7ffa443f5541a2aab8.jpg","text":"TemporaryFile(/tmp/multipartBody7726098556691253426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792192693,"filename":"image_13012025_19_15_02_592585_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2bb75162204694b8bb604529bde435ea.jpg","text":"TemporaryFile(/tmp/multipartBody5798114192894971011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792192693,"filename":"image_13012025_19_15_02_592585_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0e019a4dad147de6e9af145eef3596f6.jpg","text":"TemporaryFile(/tmp/multipartBody7841014136621951974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792192693,"filename":"image_13012025_19_15_02_592585_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5f44b316b9b398d254a2f98c50b0bddb.jpg","text":"TemporaryFile(/tmp/multipartBody9172683499319658981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792192693,"filename":"image_13012025_19_14_02_483616_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328677756","file1":"1328677754","file0":"1328677750","file3":"1328677766"},"map_files_photo_id_array":[{"photo_id":"1328677756","filename":"file2"},{"photo_id":"1328677754","filename":"file1"},{"photo_id":"1328677750","filename":"file0"},{"photo_id":"1328677766","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328677766":["hashtag1","hashtag2"]},{"1328677754":["hashtag1","hashtag2"]},{"1328677756":["hashtag1","hashtag2"]},{"1328677750":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328677766, 1328677754, 1328677756, 1328677750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.61211657524109 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:16:22.538956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/15/image_13012025_19_15_02_592585_0003.jpg', '/home/pi/Desktop/images/13012025/19/16/image_13012025_19_16_02_776263_0000.jpg', '/home/pi/Desktop/images/13012025/19/16/image_13012025_19_16_02_776263_0001.jpg', '/home/pi/Desktop/images/13012025/19/16/image_13012025_19_16_02_776263_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/15/image_13012025_19_15_02_592585_0003.jpg
/home/pi/Desktop/images/13012025/19/16/image_13012025_19_16_02_776263_0000.jpg
/home/pi/Desktop/images/13012025/19/16/image_13012025_19_16_02_776263_0001.jpg
/home/pi/Desktop/images/13012025/19/16/image_13012025_19_16_02_776263_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328678148","1328678159","1328678122","1328678145"],"photo_ids_order":["1328678122","1328678145","1328678148","1328678159"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/47a71b287e5e847f8c317e41dbe187dd.jpg","text":"TemporaryFile(/tmp/multipartBody4154563984429861890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792252740,"filename":"image_13012025_19_16_02_776263_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7c331a0078a48ac583de11461addf830.jpg","text":"TemporaryFile(/tmp/multipartBody6403698727336366192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792252740,"filename":"image_13012025_19_16_02_776263_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6cc39648a312a4078fd8412e77781c81.jpg","text":"TemporaryFile(/tmp/multipartBody1929360233871290513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792252740,"filename":"image_13012025_19_15_02_592585_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/998361bcc0eed3584778e78e04429ec6.jpg","text":"TemporaryFile(/tmp/multipartBody3067358784765415102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792252740,"filename":"image_13012025_19_16_02_776263_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328678148","file1":"1328678145","file0":"1328678122","file3":"1328678159"},"map_files_photo_id_array":[{"photo_id":"1328678148","filename":"file2"},{"photo_id":"1328678145","filename":"file1"},{"photo_id":"1328678122","filename":"file0"},{"photo_id":"1328678159","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328678148":["hashtag1","hashtag2"]},{"1328678159":["hashtag1","hashtag2"]},{"1328678122":["hashtag1","hashtag2"]},{"1328678145":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328678148, 1328678159, 1328678122, 1328678145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.69320631027222 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:17:22.709101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/16/image_13012025_19_16_02_776263_0003.jpg', '/home/pi/Desktop/images/13012025/19/17/image_13012025_19_17_03_004268_0000.jpg', '/home/pi/Desktop/images/13012025/19/17/image_13012025_19_17_03_004268_0001.jpg', '/home/pi/Desktop/images/13012025/19/17/image_13012025_19_17_03_004268_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/16/image_13012025_19_16_02_776263_0003.jpg
/home/pi/Desktop/images/13012025/19/17/image_13012025_19_17_03_004268_0000.jpg
/home/pi/Desktop/images/13012025/19/17/image_13012025_19_17_03_004268_0001.jpg
/home/pi/Desktop/images/13012025/19/17/image_13012025_19_17_03_004268_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328678266","1328678269","1328678242","1328678262"],"photo_ids_order":["1328678242","1328678262","1328678266","1328678269"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e2ce158c732129753330a5dcb980dc76.jpg","text":"TemporaryFile(/tmp/multipartBody2954003060968922112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792312847,"filename":"image_13012025_19_17_03_004268_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7999dc17ef43253f20cbd110984b6c3b.jpg","text":"TemporaryFile(/tmp/multipartBody4739493010924721328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792312847,"filename":"image_13012025_19_17_03_004268_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bdf0cc678ecd93869dc474c808e2e1d4.jpg","text":"TemporaryFile(/tmp/multipartBody7633663273019155577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792312847,"filename":"image_13012025_19_16_02_776263_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f16241f0a790e2cab1fa42aa6f9875ac.jpg","text":"TemporaryFile(/tmp/multipartBody5903257673750856857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792312847,"filename":"image_13012025_19_17_03_004268_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328678266","file1":"1328678262","file0":"1328678242","file3":"1328678269"},"map_files_photo_id_array":[{"photo_id":"1328678266","filename":"file2"},{"photo_id":"1328678262","filename":"file1"},{"photo_id":"1328678242","filename":"file0"},{"photo_id":"1328678269","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328678266":["hashtag1","hashtag2"]},{"1328678269":["hashtag1","hashtag2"]},{"1328678242":["hashtag1","hashtag2"]},{"1328678262":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328678266, 1328678269, 1328678242, 1328678262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.30280566215515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:18:21.980602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/17/image_13012025_19_17_03_004268_0003.jpg', '/home/pi/Desktop/images/13012025/19/18/image_13012025_19_18_03_094033_0000.jpg', '/home/pi/Desktop/images/13012025/19/18/image_13012025_19_18_03_094033_0001.jpg', '/home/pi/Desktop/images/13012025/19/18/image_13012025_19_18_03_094033_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/17/image_13012025_19_17_03_004268_0003.jpg
/home/pi/Desktop/images/13012025/19/18/image_13012025_19_18_03_094033_0000.jpg
/home/pi/Desktop/images/13012025/19/18/image_13012025_19_18_03_094033_0001.jpg
/home/pi/Desktop/images/13012025/19/18/image_13012025_19_18_03_094033_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328678396","1328678387","1328678371","1328678391"],"photo_ids_order":["1328678371","1328678387","1328678391","1328678396"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b35067ca0602f72386c1135d4a798361.jpg","text":"TemporaryFile(/tmp/multipartBody4691576893248612727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792372285,"filename":"image_13012025_19_18_03_094033_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c61fe3630dcfa4e05bf2a4d744a9c1cb.jpg","text":"TemporaryFile(/tmp/multipartBody4513520208961019975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792372285,"filename":"image_13012025_19_18_03_094033_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c4fd7f719030c9cfb60704b9e76ad9c3.jpg","text":"TemporaryFile(/tmp/multipartBody5792552028935119147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792372285,"filename":"image_13012025_19_17_03_004268_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/57ffc93b8a1e94b5dcf5143f2266c5b0.jpg","text":"TemporaryFile(/tmp/multipartBody2757003174672995968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792372285,"filename":"image_13012025_19_18_03_094033_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328678391","file1":"1328678387","file0":"1328678371","file3":"1328678396"},"map_files_photo_id_array":[{"photo_id":"1328678391","filename":"file2"},{"photo_id":"1328678387","filename":"file1"},{"photo_id":"1328678371","filename":"file0"},{"photo_id":"1328678396","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328678396":["hashtag1","hashtag2"]},{"1328678387":["hashtag1","hashtag2"]},{"1328678371":["hashtag1","hashtag2"]},{"1328678391":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328678396, 1328678387, 1328678371, 1328678391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.79573845863342 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:19:22.080121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/18/image_13012025_19_18_03_094033_0003.jpg', '/home/pi/Desktop/images/13012025/19/19/image_13012025_19_19_02_288400_0000.jpg', '/home/pi/Desktop/images/13012025/19/19/image_13012025_19_19_02_288400_0001.jpg', '/home/pi/Desktop/images/13012025/19/19/image_13012025_19_19_02_288400_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/18/image_13012025_19_18_03_094033_0003.jpg
/home/pi/Desktop/images/13012025/19/19/image_13012025_19_19_02_288400_0000.jpg
/home/pi/Desktop/images/13012025/19/19/image_13012025_19_19_02_288400_0001.jpg
/home/pi/Desktop/images/13012025/19/19/image_13012025_19_19_02_288400_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328678513","1328678519","1328678545","1328678565"],"photo_ids_order":["1328678513","1328678519","1328678545","1328678565"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e39eb5bc41f7e2584fc8057e9b6662f9.jpg","text":"TemporaryFile(/tmp/multipartBody7718997150983785302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792432309,"filename":"image_13012025_19_18_03_094033_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9611e53909efeaac26dbc9cc5c7f04e7.jpg","text":"TemporaryFile(/tmp/multipartBody4086574914204921153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792432309,"filename":"image_13012025_19_19_02_288400_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3ce092f99966fcdfc65bf3cae35bafe6.jpg","text":"TemporaryFile(/tmp/multipartBody7285348082254136881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792432309,"filename":"image_13012025_19_19_02_288400_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2add84d952ec2367dcdb646deb431a49.jpg","text":"TemporaryFile(/tmp/multipartBody1923375246156966271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792432309,"filename":"image_13012025_19_19_02_288400_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328678545","file1":"1328678519","file0":"1328678513","file3":"1328678565"},"map_files_photo_id_array":[{"photo_id":"1328678545","filename":"file2"},{"photo_id":"1328678519","filename":"file1"},{"photo_id":"1328678513","filename":"file0"},{"photo_id":"1328678565","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328678513":["hashtag1","hashtag2"]},{"1328678519":["hashtag1","hashtag2"]},{"1328678545":["hashtag1","hashtag2"]},{"1328678565":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328678513, 1328678519, 1328678545, 1328678565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.902273416519165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:20:22.188809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/19/image_13012025_19_19_02_288400_0003.jpg', '/home/pi/Desktop/images/13012025/19/20/image_13012025_19_20_02_388341_0000.jpg', '/home/pi/Desktop/images/13012025/19/20/image_13012025_19_20_02_388341_0001.jpg', '/home/pi/Desktop/images/13012025/19/20/image_13012025_19_20_02_388341_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/19/image_13012025_19_19_02_288400_0003.jpg
/home/pi/Desktop/images/13012025/19/20/image_13012025_19_20_02_388341_0000.jpg
/home/pi/Desktop/images/13012025/19/20/image_13012025_19_20_02_388341_0001.jpg
/home/pi/Desktop/images/13012025/19/20/image_13012025_19_20_02_388341_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.862097978591919 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 19:20:42.266710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/19/image_13012025_19_19_02_288400_0003.jpg', '/home/pi/Desktop/images/13012025/19/20/image_13012025_19_20_02_388341_0000.jpg', '/home/pi/Desktop/images/13012025/19/20/image_13012025_19_20_02_388341_0001.jpg', '/home/pi/Desktop/images/13012025/19/20/image_13012025_19_20_02_388341_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/19/image_13012025_19_19_02_288400_0003.jpg
/home/pi/Desktop/images/13012025/19/20/image_13012025_19_20_02_388341_0000.jpg
/home/pi/Desktop/images/13012025/19/20/image_13012025_19_20_02_388341_0001.jpg
/home/pi/Desktop/images/13012025/19/20/image_13012025_19_20_02_388341_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328678631","1328678633","1328678632","1328678635"],"photo_ids_order":["1328678631","1328678632","1328678633","1328678635"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1b15bab9c45206c96ea9cec067f1910d.jpg","text":"TemporaryFile(/tmp/multipartBody4397765084068499297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792512537,"filename":"image_13012025_19_19_02_288400_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/064d9bfd09ade468960f055de3af7441.jpg","text":"TemporaryFile(/tmp/multipartBody1739242608537561165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792512537,"filename":"image_13012025_19_20_02_388341_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/895a81868e7396687b968abf08a463c3.jpg","text":"TemporaryFile(/tmp/multipartBody6910462673550375140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792512537,"filename":"image_13012025_19_20_02_388341_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4d8ca94dc7c49fba515db44fbafa0112.jpg","text":"TemporaryFile(/tmp/multipartBody3162315475679781354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792512537,"filename":"image_13012025_19_20_02_388341_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328678633","file1":"1328678632","file0":"1328678631","file3":"1328678635"},"map_files_photo_id_array":[{"photo_id":"1328678633","filename":"file2"},{"photo_id":"1328678632","filename":"file1"},{"photo_id":"1328678631","filename":"file0"},{"photo_id":"1328678635","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328678631":["hashtag1","hashtag2"]},{"1328678633":["hashtag1","hashtag2"]},{"1328678632":["hashtag1","hashtag2"]},{"1328678635":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328678631, 1328678633, 1328678632, 1328678635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.53594470024109 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 19:21:32.415017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/20/image_13012025_19_20_02_388341_0003.jpg', '/home/pi/Desktop/images/13012025/19/21/image_13012025_19_21_02_548988_0000.jpg', '/home/pi/Desktop/images/13012025/19/21/image_13012025_19_21_02_548988_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/20/image_13012025_19_20_02_388341_0003.jpg
/home/pi/Desktop/images/13012025/19/21/image_13012025_19_21_02_548988_0000.jpg
/home/pi/Desktop/images/13012025/19/21/image_13012025_19_21_02_548988_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328678837","1328678852","1328678807"],"photo_ids_order":["1328678807","1328678837","1328678852"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b47dc69aed8ababcdf330092270f2a08.jpg","text":"TemporaryFile(/tmp/multipartBody1074098378520760349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792560145,"filename":"image_13012025_19_21_02_548988_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7ada8b42a44b565b7dc933544e294386.jpg","text":"TemporaryFile(/tmp/multipartBody3466139929985832656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792560145,"filename":"image_13012025_19_21_02_548988_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/414ca0924e45ba6feda94f628a4b2c64.jpg","text":"TemporaryFile(/tmp/multipartBody6642058031381726543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792560145,"filename":"image_13012025_19_20_02_388341_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328678852","file1":"1328678837","file0":"1328678807"},"map_files_photo_id_array":[{"photo_id":"1328678852","filename":"file2"},{"photo_id":"1328678837","filename":"file1"},{"photo_id":"1328678807","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328678837":["hashtag1","hashtag2"]},{"1328678852":["hashtag1","hashtag2"]},{"1328678807":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328678837, 1328678852, 1328678807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.368479013442993 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:22:22.676224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/21/image_13012025_19_21_02_548988_0003.jpg', '/home/pi/Desktop/images/13012025/19/22/image_13012025_19_22_02_827844_0000.jpg', '/home/pi/Desktop/images/13012025/19/22/image_13012025_19_22_02_827844_0001.jpg', '/home/pi/Desktop/images/13012025/19/22/image_13012025_19_22_02_827844_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/21/image_13012025_19_21_02_548988_0003.jpg
/home/pi/Desktop/images/13012025/19/22/image_13012025_19_22_02_827844_0000.jpg
/home/pi/Desktop/images/13012025/19/22/image_13012025_19_22_02_827844_0001.jpg
/home/pi/Desktop/images/13012025/19/22/image_13012025_19_22_02_827844_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328678867","1328678879","1328678872","1328678875"],"photo_ids_order":["1328678867","1328678872","1328678875","1328678879"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1bd9f2c7c2300f743c92700b237ce8b8.jpg","text":"TemporaryFile(/tmp/multipartBody2081138633030950434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792612773,"filename":"image_13012025_19_21_02_548988_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1e67c8545b825b682d71b0307171f3d8.jpg","text":"TemporaryFile(/tmp/multipartBody8181270902376086580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792612773,"filename":"image_13012025_19_22_02_827844_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fd90e141e7b9507ef3510b165d72d66e.jpg","text":"TemporaryFile(/tmp/multipartBody7126858466343650270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792612773,"filename":"image_13012025_19_22_02_827844_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e33af12ad021a0bc25680980034be14f.jpg","text":"TemporaryFile(/tmp/multipartBody8716641629188100463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792612773,"filename":"image_13012025_19_22_02_827844_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328678875","file1":"1328678872","file0":"1328678867","file3":"1328678879"},"map_files_photo_id_array":[{"photo_id":"1328678875","filename":"file2"},{"photo_id":"1328678872","filename":"file1"},{"photo_id":"1328678867","filename":"file0"},{"photo_id":"1328678879","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328678867":["hashtag1","hashtag2"]},{"1328678879":["hashtag1","hashtag2"]},{"1328678872":["hashtag1","hashtag2"]},{"1328678875":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328678867, 1328678879, 1328678872, 1328678875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.39907264709473 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 19:23:02.447030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:23:21.758538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/22/image_13012025_19_22_02_827844_0003.jpg', '/home/pi/Desktop/images/13012025/19/23/image_13012025_19_23_02_928486_0000.jpg', '/home/pi/Desktop/images/13012025/19/23/image_13012025_19_23_02_928486_0001.jpg', '/home/pi/Desktop/images/13012025/19/23/image_13012025_19_23_02_928486_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/22/image_13012025_19_22_02_827844_0003.jpg
/home/pi/Desktop/images/13012025/19/23/image_13012025_19_23_02_928486_0000.jpg
/home/pi/Desktop/images/13012025/19/23/image_13012025_19_23_02_928486_0001.jpg
/home/pi/Desktop/images/13012025/19/23/image_13012025_19_23_02_928486_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328678901","1328678904","1328678897","1328678908"],"photo_ids_order":["1328678897","1328678901","1328678904","1328678908"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/48ffa74420414adeed9bcd5cf9b2e998.jpg","text":"TemporaryFile(/tmp/multipartBody4668343385787814455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792671917,"filename":"image_13012025_19_23_02_928486_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bfbf089e6004e3d2dc8d6aabf30b82e2.jpg","text":"TemporaryFile(/tmp/multipartBody8154747114849706867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792671917,"filename":"image_13012025_19_23_02_928486_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/335baff1db423e71b096a45e486d4cc3.jpg","text":"TemporaryFile(/tmp/multipartBody7762650160686405791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792671917,"filename":"image_13012025_19_22_02_827844_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eddd026abf8beceb2697dd25371af0eb.jpg","text":"TemporaryFile(/tmp/multipartBody5059072216193247353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792671917,"filename":"image_13012025_19_23_02_928486_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328678904","file1":"1328678901","file0":"1328678897","file3":"1328678908"},"map_files_photo_id_array":[{"photo_id":"1328678904","filename":"file2"},{"photo_id":"1328678901","filename":"file1"},{"photo_id":"1328678897","filename":"file0"},{"photo_id":"1328678908","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328678901":["hashtag1","hashtag2"]},{"1328678904":["hashtag1","hashtag2"]},{"1328678897":["hashtag1","hashtag2"]},{"1328678908":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328678901, 1328678904, 1328678897, 1328678908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.53050971031189 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:24:21.913954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/23/image_13012025_19_23_02_928486_0003.jpg', '/home/pi/Desktop/images/13012025/19/24/image_13012025_19_24_02_181049_0000.jpg', '/home/pi/Desktop/images/13012025/19/24/image_13012025_19_24_02_181049_0001.jpg', '/home/pi/Desktop/images/13012025/19/24/image_13012025_19_24_02_181049_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/23/image_13012025_19_23_02_928486_0003.jpg
/home/pi/Desktop/images/13012025/19/24/image_13012025_19_24_02_181049_0000.jpg
/home/pi/Desktop/images/13012025/19/24/image_13012025_19_24_02_181049_0001.jpg
/home/pi/Desktop/images/13012025/19/24/image_13012025_19_24_02_181049_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328678963","1328678957","1328678933","1328678943"],"photo_ids_order":["1328678933","1328678943","1328678957","1328678963"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/84ce5a28c248d94e3bc82cfeaf0e0045.jpg","text":"TemporaryFile(/tmp/multipartBody2655459762608329611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792732213,"filename":"image_13012025_19_24_02_181049_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ec26c20099a069e9c5b51db95aa0d3d0.jpg","text":"TemporaryFile(/tmp/multipartBody9033595626872754026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792732213,"filename":"image_13012025_19_24_02_181049_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b05788b38bee08e48833f30dce6106b1.jpg","text":"TemporaryFile(/tmp/multipartBody9052877241850140927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792732213,"filename":"image_13012025_19_23_02_928486_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/be9c38f4b4e2b8f0ef6fa6cdc5c3753f.jpg","text":"TemporaryFile(/tmp/multipartBody8967444064806399805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792732213,"filename":"image_13012025_19_24_02_181049_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328678957","file1":"1328678943","file0":"1328678933","file3":"1328678963"},"map_files_photo_id_array":[{"photo_id":"1328678957","filename":"file2"},{"photo_id":"1328678943","filename":"file1"},{"photo_id":"1328678933","filename":"file0"},{"photo_id":"1328678963","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328678963":["hashtag1","hashtag2"]},{"1328678957":["hashtag1","hashtag2"]},{"1328678933":["hashtag1","hashtag2"]},{"1328678943":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328678963, 1328678957, 1328678933, 1328678943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.18100595474243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 19:25:02.546414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:25:21.993631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/24/image_13012025_19_24_02_181049_0003.jpg', '/home/pi/Desktop/images/13012025/19/25/image_13012025_19_25_02_264015_0000.jpg', '/home/pi/Desktop/images/13012025/19/25/image_13012025_19_25_02_264015_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/24/image_13012025_19_24_02_181049_0003.jpg
/home/pi/Desktop/images/13012025/19/25/image_13012025_19_25_02_264015_0000.jpg
/home/pi/Desktop/images/13012025/19/25/image_13012025_19_25_02_264015_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328679002","1328678998","1328679009"],"photo_ids_order":["1328678998","1328679002","1328679009"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0f8e7c22bf09b4f026d33213ae302df1.jpg","text":"TemporaryFile(/tmp/multipartBody8226290637095438780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792789694,"filename":"image_13012025_19_25_02_264015_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2a12d863e691cd74f4f868042e98789a.jpg","text":"TemporaryFile(/tmp/multipartBody5520614678820303422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792789694,"filename":"image_13012025_19_24_02_181049_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/21c57e2b4cb9ab12372f84c82973c8a0.jpg","text":"TemporaryFile(/tmp/multipartBody312776269959739328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792789694,"filename":"image_13012025_19_25_02_264015_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328679009","file1":"1328679002","file0":"1328678998"},"map_files_photo_id_array":[{"photo_id":"1328679009","filename":"file2"},{"photo_id":"1328679002","filename":"file1"},{"photo_id":"1328678998","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328679002":["hashtag1","hashtag2"]},{"1328678998":["hashtag1","hashtag2"]},{"1328679009":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328679002, 1328678998, 1328679009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.221536874771118 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 19:26:02.615140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:26:22.215227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/25/image_13012025_19_25_02_264015_0002.jpg', '/home/pi/Desktop/images/13012025/19/26/image_13012025_19_26_02_416525_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/25/image_13012025_19_25_02_264015_0002.jpg
/home/pi/Desktop/images/13012025/19/26/image_13012025_19_26_02_416525_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328679029","1328679026"],"photo_ids_order":["1328679026","1328679029"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3244184ea3ee5ce75950134794a65560.jpg","text":"TemporaryFile(/tmp/multipartBody2955289123017248393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792847711,"filename":"image_13012025_19_26_02_416525_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1fd7215790afbb3ac20f32cae6fb6bf5.jpg","text":"TemporaryFile(/tmp/multipartBody2009874058822276874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792847711,"filename":"image_13012025_19_25_02_264015_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328679029","file0":"1328679026"},"map_files_photo_id_array":[{"photo_id":"1328679029","filename":"file1"},{"photo_id":"1328679026","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328679029":["hashtag1","hashtag2"]},{"1328679026":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328679029, 1328679026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.164290189743042 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 19:26:52.192997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 19:27:03.047998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:27:22.432788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/26/image_13012025_19_26_02_416525_0002.jpg', '/home/pi/Desktop/images/13012025/19/27/image_13012025_19_27_02_534068_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/26/image_13012025_19_26_02_416525_0002.jpg
/home/pi/Desktop/images/13012025/19/27/image_13012025_19_27_02_534068_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328679100","1328679087"],"photo_ids_order":["1328679087","1328679100"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/04bd6d63d7b7f68d4c17e1b5d4572b8c.jpg","text":"TemporaryFile(/tmp/multipartBody8402980200711326540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792907780,"filename":"image_13012025_19_27_02_534068_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ca5c7e4324e7b188d2191d054eeb168c.jpg","text":"TemporaryFile(/tmp/multipartBody2484243100472345921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792907780,"filename":"image_13012025_19_26_02_416525_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328679100","file0":"1328679087"},"map_files_photo_id_array":[{"photo_id":"1328679100","filename":"file1"},{"photo_id":"1328679087","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328679100":["hashtag1","hashtag2"]},{"1328679087":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328679100, 1328679087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.580996990203857 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 19:27:52.381034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 19:28:03.020244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:28:22.593151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/27/image_13012025_19_27_02_534068_0001.jpg', '/home/pi/Desktop/images/13012025/19/28/image_13012025_19_28_02_855563_0000.jpg', '/home/pi/Desktop/images/13012025/19/28/image_13012025_19_28_02_855563_0001.jpg', '/home/pi/Desktop/images/13012025/19/28/image_13012025_19_28_02_855563_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/27/image_13012025_19_27_02_534068_0001.jpg
/home/pi/Desktop/images/13012025/19/28/image_13012025_19_28_02_855563_0000.jpg
/home/pi/Desktop/images/13012025/19/28/image_13012025_19_28_02_855563_0001.jpg
/home/pi/Desktop/images/13012025/19/28/image_13012025_19_28_02_855563_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328679149","1328679141","1328679144","1328679138"],"photo_ids_order":["1328679138","1328679141","1328679144","1328679149"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ee73711d38f9eac692410734690e1790.jpg","text":"TemporaryFile(/tmp/multipartBody7088930956928417420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792972737,"filename":"image_13012025_19_28_02_855563_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/59c04f57f487b7779f23700f2c4f96c7.jpg","text":"TemporaryFile(/tmp/multipartBody2773741266048731782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792972737,"filename":"image_13012025_19_28_02_855563_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/18416105caf166ae9a5781ae7443bddc.jpg","text":"TemporaryFile(/tmp/multipartBody8350173573802010291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792972737,"filename":"image_13012025_19_28_02_855563_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e504c97b498633c7c962a8a1c55dd869.jpg","text":"TemporaryFile(/tmp/multipartBody3547618996783228463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736792972737,"filename":"image_13012025_19_27_02_534068_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328679144","file1":"1328679141","file0":"1328679138","file3":"1328679149"},"map_files_photo_id_array":[{"photo_id":"1328679144","filename":"file2"},{"photo_id":"1328679141","filename":"file1"},{"photo_id":"1328679138","filename":"file0"},{"photo_id":"1328679149","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328679149":["hashtag1","hashtag2"]},{"1328679141":["hashtag1","hashtag2"]},{"1328679144":["hashtag1","hashtag2"]},{"1328679138":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328679149, 1328679141, 1328679144, 1328679138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.98332905769348 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 19:29:03.402008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:29:22.652395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/28/image_13012025_19_28_02_855563_0003.jpg', '/home/pi/Desktop/images/13012025/19/29/image_13012025_19_29_02_941884_0000.jpg', '/home/pi/Desktop/images/13012025/19/29/image_13012025_19_29_02_941884_0001.jpg', '/home/pi/Desktop/images/13012025/19/29/image_13012025_19_29_02_941884_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/28/image_13012025_19_28_02_855563_0003.jpg
/home/pi/Desktop/images/13012025/19/29/image_13012025_19_29_02_941884_0000.jpg
/home/pi/Desktop/images/13012025/19/29/image_13012025_19_29_02_941884_0001.jpg
/home/pi/Desktop/images/13012025/19/29/image_13012025_19_29_02_941884_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328679185","1328679176","1328679180","1328679182"],"photo_ids_order":["1328679176","1328679180","1328679182","1328679185"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/de81e1e79e0c4a935fcedd8a9e30bda0.jpg","text":"TemporaryFile(/tmp/multipartBody4133088074676983295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793032763,"filename":"image_13012025_19_29_02_941884_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5539d2a9e97c444ec8bad4b982fc6f93.jpg","text":"TemporaryFile(/tmp/multipartBody784753308198423103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793032763,"filename":"image_13012025_19_28_02_855563_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0a2f2ca55d688ce10ac3a4766c38a938.jpg","text":"TemporaryFile(/tmp/multipartBody207832300449233621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793032763,"filename":"image_13012025_19_29_02_941884_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/36f94ec281a9d8661914f7dad9533568.jpg","text":"TemporaryFile(/tmp/multipartBody5799112263470385518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793032763,"filename":"image_13012025_19_29_02_941884_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328679182","file1":"1328679180","file0":"1328679176","file3":"1328679185"},"map_files_photo_id_array":[{"photo_id":"1328679182","filename":"file2"},{"photo_id":"1328679180","filename":"file1"},{"photo_id":"1328679176","filename":"file0"},{"photo_id":"1328679185","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328679185":["hashtag1","hashtag2"]},{"1328679176":["hashtag1","hashtag2"]},{"1328679180":["hashtag1","hashtag2"]},{"1328679182":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328679185, 1328679176, 1328679180, 1328679182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.613393783569336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:30:21.933818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/29/image_13012025_19_29_02_941884_0003.jpg', '/home/pi/Desktop/images/13012025/19/30/image_13012025_19_30_03_168155_0000.jpg', '/home/pi/Desktop/images/13012025/19/30/image_13012025_19_30_03_168155_0001.jpg', '/home/pi/Desktop/images/13012025/19/30/image_13012025_19_30_03_168155_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/29/image_13012025_19_29_02_941884_0003.jpg
/home/pi/Desktop/images/13012025/19/30/image_13012025_19_30_03_168155_0000.jpg
/home/pi/Desktop/images/13012025/19/30/image_13012025_19_30_03_168155_0001.jpg
/home/pi/Desktop/images/13012025/19/30/image_13012025_19_30_03_168155_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328679362","1328679413","1328679381","1328679420"],"photo_ids_order":["1328679362","1328679381","1328679413","1328679420"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9b42602d3df5f03a85699f5b086852c2.jpg","text":"TemporaryFile(/tmp/multipartBody2586543397145562358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793091777,"filename":"image_13012025_19_29_02_941884_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fc3eb9da675e6fd039052af4ca81feaa.jpg","text":"TemporaryFile(/tmp/multipartBody2755751396854890871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793091777,"filename":"image_13012025_19_30_03_168155_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3cf39be85207c81fe5f2813319db7bb3.jpg","text":"TemporaryFile(/tmp/multipartBody3613627733199853904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793091777,"filename":"image_13012025_19_30_03_168155_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a8ea838becd62b2d38cec45e4beae861.jpg","text":"TemporaryFile(/tmp/multipartBody4586510221982360311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793091777,"filename":"image_13012025_19_30_03_168155_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328679413","file1":"1328679381","file0":"1328679362","file3":"1328679420"},"map_files_photo_id_array":[{"photo_id":"1328679413","filename":"file2"},{"photo_id":"1328679381","filename":"file1"},{"photo_id":"1328679362","filename":"file0"},{"photo_id":"1328679420","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328679362":["hashtag1","hashtag2"]},{"1328679413":["hashtag1","hashtag2"]},{"1328679381":["hashtag1","hashtag2"]},{"1328679420":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328679362, 1328679413, 1328679381, 1328679420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.84274649620056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:31:22.083797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/30/image_13012025_19_30_03_168155_0003.jpg', '/home/pi/Desktop/images/13012025/19/31/image_13012025_19_31_02_233021_0000.jpg', '/home/pi/Desktop/images/13012025/19/31/image_13012025_19_31_02_233021_0001.jpg', '/home/pi/Desktop/images/13012025/19/31/image_13012025_19_31_02_233021_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/30/image_13012025_19_30_03_168155_0003.jpg
/home/pi/Desktop/images/13012025/19/31/image_13012025_19_31_02_233021_0000.jpg
/home/pi/Desktop/images/13012025/19/31/image_13012025_19_31_02_233021_0001.jpg
/home/pi/Desktop/images/13012025/19/31/image_13012025_19_31_02_233021_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328679590","1328679608","1328679595","1328679599"],"photo_ids_order":["1328679590","1328679595","1328679599","1328679608"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8836b75f77e5da667a48f246e4062d7f.jpg","text":"TemporaryFile(/tmp/multipartBody5654112418606204931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793151928,"filename":"image_13012025_19_30_03_168155_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/31b067c833eff7e0372d1d2183fb7ffe.jpg","text":"TemporaryFile(/tmp/multipartBody1542767712253623884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793151928,"filename":"image_13012025_19_31_02_233021_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bb70846d696d10ee0860733ba534500a.jpg","text":"TemporaryFile(/tmp/multipartBody592939854142931648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793151928,"filename":"image_13012025_19_31_02_233021_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/abee4ad99d58d8ebc69dbd1637a61539.jpg","text":"TemporaryFile(/tmp/multipartBody3754122142760362721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793151928,"filename":"image_13012025_19_31_02_233021_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328679599","file1":"1328679595","file0":"1328679590","file3":"1328679608"},"map_files_photo_id_array":[{"photo_id":"1328679599","filename":"file2"},{"photo_id":"1328679595","filename":"file1"},{"photo_id":"1328679590","filename":"file0"},{"photo_id":"1328679608","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328679590":["hashtag1","hashtag2"]},{"1328679608":["hashtag1","hashtag2"]},{"1328679595":["hashtag1","hashtag2"]},{"1328679599":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328679590, 1328679608, 1328679595, 1328679599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.11207914352417 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:32:22.264927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/31/image_13012025_19_31_02_233021_0003.jpg', '/home/pi/Desktop/images/13012025/19/32/image_13012025_19_32_02_393715_0000.jpg', '/home/pi/Desktop/images/13012025/19/32/image_13012025_19_32_02_393715_0001.jpg', '/home/pi/Desktop/images/13012025/19/32/image_13012025_19_32_02_393715_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/31/image_13012025_19_31_02_233021_0003.jpg
/home/pi/Desktop/images/13012025/19/32/image_13012025_19_32_02_393715_0000.jpg
/home/pi/Desktop/images/13012025/19/32/image_13012025_19_32_02_393715_0001.jpg
/home/pi/Desktop/images/13012025/19/32/image_13012025_19_32_02_393715_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.336483716964722 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 19:32:42.265600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/31/image_13012025_19_31_02_233021_0003.jpg', '/home/pi/Desktop/images/13012025/19/32/image_13012025_19_32_02_393715_0000.jpg', '/home/pi/Desktop/images/13012025/19/32/image_13012025_19_32_02_393715_0001.jpg', '/home/pi/Desktop/images/13012025/19/32/image_13012025_19_32_02_393715_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/31/image_13012025_19_31_02_233021_0003.jpg
/home/pi/Desktop/images/13012025/19/32/image_13012025_19_32_02_393715_0000.jpg
/home/pi/Desktop/images/13012025/19/32/image_13012025_19_32_02_393715_0001.jpg
/home/pi/Desktop/images/13012025/19/32/image_13012025_19_32_02_393715_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328679745","1328679733","1328679736","1328679738"],"photo_ids_order":["1328679733","1328679736","1328679738","1328679745"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/46305013dc28f771b068a60b5b4cc892.jpg","text":"TemporaryFile(/tmp/multipartBody2688878608560211004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793232008,"filename":"image_13012025_19_32_02_393715_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2cec3ac1e958adcda8cbb40d8e935ed5.jpg","text":"TemporaryFile(/tmp/multipartBody1114980017844163681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793232008,"filename":"image_13012025_19_31_02_233021_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a1d025c466754b67fcc642db761f7b18.jpg","text":"TemporaryFile(/tmp/multipartBody6806982349792641880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793232008,"filename":"image_13012025_19_32_02_393715_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cc98bb2f0b9c21a4aae79ca3646a23e3.jpg","text":"TemporaryFile(/tmp/multipartBody5305890142144016798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793232008,"filename":"image_13012025_19_32_02_393715_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328679738","file1":"1328679736","file0":"1328679733","file3":"1328679745"},"map_files_photo_id_array":[{"photo_id":"1328679738","filename":"file2"},{"photo_id":"1328679736","filename":"file1"},{"photo_id":"1328679733","filename":"file0"},{"photo_id":"1328679745","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328679745":["hashtag1","hashtag2"]},{"1328679733":["hashtag1","hashtag2"]},{"1328679736":["hashtag1","hashtag2"]},{"1328679738":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328679745, 1328679733, 1328679736, 1328679738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.09544610977173 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:33:22.499424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/32/image_13012025_19_32_02_393715_0003.jpg', '/home/pi/Desktop/images/13012025/19/33/image_13012025_19_33_02_633650_0000.jpg', '/home/pi/Desktop/images/13012025/19/33/image_13012025_19_33_02_633650_0001.jpg', '/home/pi/Desktop/images/13012025/19/33/image_13012025_19_33_02_633650_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/32/image_13012025_19_32_02_393715_0003.jpg
/home/pi/Desktop/images/13012025/19/33/image_13012025_19_33_02_633650_0000.jpg
/home/pi/Desktop/images/13012025/19/33/image_13012025_19_33_02_633650_0001.jpg
/home/pi/Desktop/images/13012025/19/33/image_13012025_19_33_02_633650_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328679755","1328679790","1328679786","1328679768"],"photo_ids_order":["1328679755","1328679768","1328679786","1328679790"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2f4238e6f46bedf023479842fae18674.jpg","text":"TemporaryFile(/tmp/multipartBody4168564778004820491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793272856,"filename":"image_13012025_19_32_02_393715_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f093e2ad6e8aca182ac94d0e37c26008.jpg","text":"TemporaryFile(/tmp/multipartBody6860779389823147275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793272856,"filename":"image_13012025_19_33_02_633650_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/74ccf0c8d6dc184c4af24f5ca728d7ea.jpg","text":"TemporaryFile(/tmp/multipartBody1986473218258731944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793272856,"filename":"image_13012025_19_33_02_633650_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/985a4578ccf1bff0b950e6c1f5998550.jpg","text":"TemporaryFile(/tmp/multipartBody8557893566278034630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793272856,"filename":"image_13012025_19_33_02_633650_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328679786","file1":"1328679768","file0":"1328679755","file3":"1328679790"},"map_files_photo_id_array":[{"photo_id":"1328679786","filename":"file2"},{"photo_id":"1328679768","filename":"file1"},{"photo_id":"1328679755","filename":"file0"},{"photo_id":"1328679790","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328679755":["hashtag1","hashtag2"]},{"1328679790":["hashtag1","hashtag2"]},{"1328679786":["hashtag1","hashtag2"]},{"1328679768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328679755, 1328679790, 1328679786, 1328679768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.87475538253784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 19:34:03.060071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:34:22.615826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/33/image_13012025_19_33_02_633650_0003.jpg', '/home/pi/Desktop/images/13012025/19/34/image_13012025_19_34_02_806357_0000.jpg', '/home/pi/Desktop/images/13012025/19/34/image_13012025_19_34_02_806357_0001.jpg', '/home/pi/Desktop/images/13012025/19/34/image_13012025_19_34_02_806357_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/33/image_13012025_19_33_02_633650_0003.jpg
/home/pi/Desktop/images/13012025/19/34/image_13012025_19_34_02_806357_0000.jpg
/home/pi/Desktop/images/13012025/19/34/image_13012025_19_34_02_806357_0001.jpg
/home/pi/Desktop/images/13012025/19/34/image_13012025_19_34_02_806357_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328679818","1328679812","1328679807","1328679822"],"photo_ids_order":["1328679807","1328679812","1328679818","1328679822"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3586b20b7738061e72f5c2538559d2a6.jpg","text":"TemporaryFile(/tmp/multipartBody2162128825561641118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793332489,"filename":"image_13012025_19_34_02_806357_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5facf9143ad3aba6cdcce3a38c0c180d.jpg","text":"TemporaryFile(/tmp/multipartBody6790804811219937426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793332489,"filename":"image_13012025_19_34_02_806357_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/60382c9be7d74e8d24c74ca16cf63e3f.jpg","text":"TemporaryFile(/tmp/multipartBody3614433924304386599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793332489,"filename":"image_13012025_19_33_02_633650_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e3d3c65cc2bd58daa49ab20b1fdaa000.jpg","text":"TemporaryFile(/tmp/multipartBody1189037246607480348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793332489,"filename":"image_13012025_19_34_02_806357_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328679818","file1":"1328679812","file0":"1328679807","file3":"1328679822"},"map_files_photo_id_array":[{"photo_id":"1328679818","filename":"file2"},{"photo_id":"1328679812","filename":"file1"},{"photo_id":"1328679807","filename":"file0"},{"photo_id":"1328679822","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328679818":["hashtag1","hashtag2"]},{"1328679812":["hashtag1","hashtag2"]},{"1328679807":["hashtag1","hashtag2"]},{"1328679822":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328679818, 1328679812, 1328679807, 1328679822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.31527256965637 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:35:21.778774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/34/image_13012025_19_34_02_806357_0003.jpg', '/home/pi/Desktop/images/13012025/19/35/image_13012025_19_35_03_000049_0000.jpg', '/home/pi/Desktop/images/13012025/19/35/image_13012025_19_35_03_000049_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/34/image_13012025_19_34_02_806357_0003.jpg
/home/pi/Desktop/images/13012025/19/35/image_13012025_19_35_03_000049_0000.jpg
/home/pi/Desktop/images/13012025/19/35/image_13012025_19_35_03_000049_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328679841","1328679837","1328679834"],"photo_ids_order":["1328679834","1328679837","1328679841"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5c44500eb2419e1af0b1eb70ae504cd9.jpg","text":"TemporaryFile(/tmp/multipartBody727055749628862831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793389315,"filename":"image_13012025_19_35_03_000049_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/279bb5f2a4d9d56b75e8b6f9fb3cc685.jpg","text":"TemporaryFile(/tmp/multipartBody8884676785270366463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793389315,"filename":"image_13012025_19_35_03_000049_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/86013628f9843ca0118391f6e157eadd.jpg","text":"TemporaryFile(/tmp/multipartBody5839455763012613667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793389315,"filename":"image_13012025_19_34_02_806357_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328679841","file1":"1328679837","file0":"1328679834"},"map_files_photo_id_array":[{"photo_id":"1328679841","filename":"file2"},{"photo_id":"1328679837","filename":"file1"},{"photo_id":"1328679834","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328679841":["hashtag1","hashtag2"]},{"1328679837":["hashtag1","hashtag2"]},{"1328679834":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328679841, 1328679837, 1328679834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.534498929977417 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 19:36:02.396989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:36:22.046653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/35/image_13012025_19_35_03_000049_0002.jpg', '/home/pi/Desktop/images/13012025/19/36/image_13012025_19_36_02_168875_0001.jpg', '/home/pi/Desktop/images/13012025/19/36/image_13012025_19_36_02_168875_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/35/image_13012025_19_35_03_000049_0002.jpg
/home/pi/Desktop/images/13012025/19/36/image_13012025_19_36_02_168875_0001.jpg
/home/pi/Desktop/images/13012025/19/36/image_13012025_19_36_02_168875_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.0539374351501465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 19:36:31.955724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/35/image_13012025_19_35_03_000049_0002.jpg', '/home/pi/Desktop/images/13012025/19/36/image_13012025_19_36_02_168875_0001.jpg', '/home/pi/Desktop/images/13012025/19/36/image_13012025_19_36_02_168875_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/35/image_13012025_19_35_03_000049_0002.jpg
/home/pi/Desktop/images/13012025/19/36/image_13012025_19_36_02_168875_0001.jpg
/home/pi/Desktop/images/13012025/19/36/image_13012025_19_36_02_168875_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328679866","1328679868","1328679870"],"photo_ids_order":["1328679866","1328679868","1328679870"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/11748d75c162b0704bf2b4b90a9ef766.jpg","text":"TemporaryFile(/tmp/multipartBody2043860770415247823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793459386,"filename":"image_13012025_19_35_03_000049_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8fba8e926bf242fc0880a7d8b3ead51e.jpg","text":"TemporaryFile(/tmp/multipartBody543117438086130262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793459386,"filename":"image_13012025_19_36_02_168875_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3f2e0302469b1d9f8372add1728bfe8e.jpg","text":"TemporaryFile(/tmp/multipartBody830711666519644207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793459386,"filename":"image_13012025_19_36_02_168875_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328679870","file1":"1328679868","file0":"1328679866"},"map_files_photo_id_array":[{"photo_id":"1328679870","filename":"file2"},{"photo_id":"1328679868","filename":"file1"},{"photo_id":"1328679866","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328679866":["hashtag1","hashtag2"]},{"1328679868":["hashtag1","hashtag2"]},{"1328679870":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328679866, 1328679868, 1328679870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.36898946762085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:37:22.138107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/36/image_13012025_19_36_02_168875_0003.jpg', '/home/pi/Desktop/images/13012025/19/37/image_13012025_19_37_02_400392_0000.jpg', '/home/pi/Desktop/images/13012025/19/37/image_13012025_19_37_02_400392_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/36/image_13012025_19_36_02_168875_0003.jpg
/home/pi/Desktop/images/13012025/19/37/image_13012025_19_37_02_400392_0000.jpg
/home/pi/Desktop/images/13012025/19/37/image_13012025_19_37_02_400392_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328679911","1328679916","1328679918"],"photo_ids_order":["1328679911","1328679916","1328679918"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/86178ca5fa21c2e199a75b907a8d3e05.jpg","text":"TemporaryFile(/tmp/multipartBody8655820442608948806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793509595,"filename":"image_13012025_19_36_02_168875_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/246486263c96cc931729e78e579e2658.jpg","text":"TemporaryFile(/tmp/multipartBody7856997092565009584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793509595,"filename":"image_13012025_19_37_02_400392_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2e35fecd5be0093e6aba6a9829fdd681.jpg","text":"TemporaryFile(/tmp/multipartBody8963534369566373500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793509595,"filename":"image_13012025_19_37_02_400392_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328679918","file1":"1328679916","file0":"1328679911"},"map_files_photo_id_array":[{"photo_id":"1328679918","filename":"file2"},{"photo_id":"1328679916","filename":"file1"},{"photo_id":"1328679911","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328679911":["hashtag1","hashtag2"]},{"1328679916":["hashtag1","hashtag2"]},{"1328679918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328679911, 1328679916, 1328679918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.15281128883362 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 19:38:02.792779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:38:22.401027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/37/image_13012025_19_37_02_400392_0003.jpg', '/home/pi/Desktop/images/13012025/19/38/image_13012025_19_38_02_489384_0000.jpg', '/home/pi/Desktop/images/13012025/19/38/image_13012025_19_38_02_489384_0001.jpg', '/home/pi/Desktop/images/13012025/19/38/image_13012025_19_38_02_489384_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/37/image_13012025_19_37_02_400392_0003.jpg
/home/pi/Desktop/images/13012025/19/38/image_13012025_19_38_02_489384_0000.jpg
/home/pi/Desktop/images/13012025/19/38/image_13012025_19_38_02_489384_0001.jpg
/home/pi/Desktop/images/13012025/19/38/image_13012025_19_38_02_489384_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328679941","1328679944","1328679943","1328679937"],"photo_ids_order":["1328679937","1328679941","1328679943","1328679944"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/36c3933e41598de6369813045bbbbcb2.jpg","text":"TemporaryFile(/tmp/multipartBody2271680527076755296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793572132,"filename":"image_13012025_19_38_02_489384_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8a7b5265b02c17c87bdf1c76c2269373.jpg","text":"TemporaryFile(/tmp/multipartBody2644151491930112051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793572132,"filename":"image_13012025_19_38_02_489384_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/70d80e1eb7a4531d664692e4c2c0d585.jpg","text":"TemporaryFile(/tmp/multipartBody2906933935646466394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793572132,"filename":"image_13012025_19_38_02_489384_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eb79d2d19715aa7df9ecf239c0ec2db1.jpg","text":"TemporaryFile(/tmp/multipartBody3928361136764076767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793572132,"filename":"image_13012025_19_37_02_400392_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328679943","file1":"1328679941","file0":"1328679937","file3":"1328679944"},"map_files_photo_id_array":[{"photo_id":"1328679943","filename":"file2"},{"photo_id":"1328679941","filename":"file1"},{"photo_id":"1328679937","filename":"file0"},{"photo_id":"1328679944","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328679941":["hashtag1","hashtag2"]},{"1328679944":["hashtag1","hashtag2"]},{"1328679943":["hashtag1","hashtag2"]},{"1328679937":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328679941, 1328679944, 1328679943, 1328679937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.836771965026855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:39:22.553657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/38/image_13012025_19_38_02_489384_0003.jpg', '/home/pi/Desktop/images/13012025/19/39/image_13012025_19_39_02_722872_0000.jpg', '/home/pi/Desktop/images/13012025/19/39/image_13012025_19_39_02_722872_0001.jpg', '/home/pi/Desktop/images/13012025/19/39/image_13012025_19_39_02_722872_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/38/image_13012025_19_38_02_489384_0003.jpg
/home/pi/Desktop/images/13012025/19/39/image_13012025_19_39_02_722872_0000.jpg
/home/pi/Desktop/images/13012025/19/39/image_13012025_19_39_02_722872_0001.jpg
/home/pi/Desktop/images/13012025/19/39/image_13012025_19_39_02_722872_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328679994","1328680022","1328680013","1328679996"],"photo_ids_order":["1328679994","1328679996","1328680013","1328680022"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e51d20f9fbee4c7a4f32a9d178bc7eba.jpg","text":"TemporaryFile(/tmp/multipartBody1445587338408049924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793632575,"filename":"image_13012025_19_38_02_489384_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/402db13c774058978a8ec7cca23d2284.jpg","text":"TemporaryFile(/tmp/multipartBody3145652473089567803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793632575,"filename":"image_13012025_19_39_02_722872_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7a5ebc6db6dee08ae3ae803fe0131ba2.jpg","text":"TemporaryFile(/tmp/multipartBody7245038489937592608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793632575,"filename":"image_13012025_19_39_02_722872_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a874c8aabdc13d9f8a25186514cb9ae5.jpg","text":"TemporaryFile(/tmp/multipartBody3913186996858728121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793632575,"filename":"image_13012025_19_39_02_722872_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328680013","file1":"1328679996","file0":"1328679994","file3":"1328680022"},"map_files_photo_id_array":[{"photo_id":"1328680013","filename":"file2"},{"photo_id":"1328679996","filename":"file1"},{"photo_id":"1328679994","filename":"file0"},{"photo_id":"1328680022","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328679994":["hashtag1","hashtag2"]},{"1328680022":["hashtag1","hashtag2"]},{"1328680013":["hashtag1","hashtag2"]},{"1328679996":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328679994, 1328680022, 1328680013, 1328679996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.613126277923584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 19:40:02.440677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:40:22.088630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/39/image_13012025_19_39_02_722872_0003.jpg', '/home/pi/Desktop/images/13012025/19/40/image_13012025_19_40_03_030101_0000.jpg', '/home/pi/Desktop/images/13012025/19/40/image_13012025_19_40_03_030101_0001.jpg', '/home/pi/Desktop/images/13012025/19/40/image_13012025_19_40_03_030101_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/39/image_13012025_19_39_02_722872_0003.jpg
/home/pi/Desktop/images/13012025/19/40/image_13012025_19_40_03_030101_0000.jpg
/home/pi/Desktop/images/13012025/19/40/image_13012025_19_40_03_030101_0001.jpg
/home/pi/Desktop/images/13012025/19/40/image_13012025_19_40_03_030101_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328680046","1328680055","1328680058","1328680051"],"photo_ids_order":["1328680046","1328680051","1328680055","1328680058"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ab2faf798f232d7fc4663c7e2c38e48f.jpg","text":"TemporaryFile(/tmp/multipartBody2324169721137681910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793692554,"filename":"image_13012025_19_39_02_722872_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e41b54b6faaba2bef0ac15d695bf5457.jpg","text":"TemporaryFile(/tmp/multipartBody6207142236268040815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793692554,"filename":"image_13012025_19_40_03_030101_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/faf76025d3261c0cfb99470fab3db312.jpg","text":"TemporaryFile(/tmp/multipartBody7643796344102357148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793692554,"filename":"image_13012025_19_40_03_030101_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/baddaba56f4f8d3c7a110cc4e27377a3.jpg","text":"TemporaryFile(/tmp/multipartBody4905844682403558142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793692554,"filename":"image_13012025_19_40_03_030101_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328680055","file1":"1328680051","file0":"1328680046","file3":"1328680058"},"map_files_photo_id_array":[{"photo_id":"1328680055","filename":"file2"},{"photo_id":"1328680051","filename":"file1"},{"photo_id":"1328680046","filename":"file0"},{"photo_id":"1328680058","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328680046":["hashtag1","hashtag2"]},{"1328680055":["hashtag1","hashtag2"]},{"1328680058":["hashtag1","hashtag2"]},{"1328680051":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328680046, 1328680055, 1328680058, 1328680051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.39060091972351 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 19:41:02.963421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:41:22.281727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/40/image_13012025_19_40_03_030101_0003.jpg', '/home/pi/Desktop/images/13012025/19/41/image_13012025_19_41_02_427060_0000.jpg', '/home/pi/Desktop/images/13012025/19/41/image_13012025_19_41_02_427060_0001.jpg', '/home/pi/Desktop/images/13012025/19/41/image_13012025_19_41_02_427060_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/40/image_13012025_19_40_03_030101_0003.jpg
/home/pi/Desktop/images/13012025/19/41/image_13012025_19_41_02_427060_0000.jpg
/home/pi/Desktop/images/13012025/19/41/image_13012025_19_41_02_427060_0001.jpg
/home/pi/Desktop/images/13012025/19/41/image_13012025_19_41_02_427060_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328680157","1328680162","1328680153","1328680149"],"photo_ids_order":["1328680149","1328680153","1328680157","1328680162"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2f1b5cb426a1fd074884380f902ff978.jpg","text":"TemporaryFile(/tmp/multipartBody5759286474670230928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793752531,"filename":"image_13012025_19_41_02_427060_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9fead2ae3377aab4ab48ef93bad1cb97.jpg","text":"TemporaryFile(/tmp/multipartBody5900608074372572809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793752531,"filename":"image_13012025_19_41_02_427060_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/58ee0d449adc406416041c69f9e8ddb6.jpg","text":"TemporaryFile(/tmp/multipartBody700398894505852303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793752531,"filename":"image_13012025_19_41_02_427060_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/629f2f02aed78692152c3d0dbb7f2286.jpg","text":"TemporaryFile(/tmp/multipartBody4771214413258228068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793752531,"filename":"image_13012025_19_40_03_030101_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328680157","file1":"1328680153","file0":"1328680149","file3":"1328680162"},"map_files_photo_id_array":[{"photo_id":"1328680157","filename":"file2"},{"photo_id":"1328680153","filename":"file1"},{"photo_id":"1328680149","filename":"file0"},{"photo_id":"1328680162","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328680157":["hashtag1","hashtag2"]},{"1328680162":["hashtag1","hashtag2"]},{"1328680153":["hashtag1","hashtag2"]},{"1328680149":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328680157, 1328680162, 1328680153, 1328680149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.82296967506409 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:42:22.574485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/41/image_13012025_19_41_02_427060_0003.jpg', '/home/pi/Desktop/images/13012025/19/42/image_13012025_19_42_02_675225_0000.jpg', '/home/pi/Desktop/images/13012025/19/42/image_13012025_19_42_02_675225_0001.jpg', '/home/pi/Desktop/images/13012025/19/42/image_13012025_19_42_02_675225_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/41/image_13012025_19_41_02_427060_0003.jpg
/home/pi/Desktop/images/13012025/19/42/image_13012025_19_42_02_675225_0000.jpg
/home/pi/Desktop/images/13012025/19/42/image_13012025_19_42_02_675225_0001.jpg
/home/pi/Desktop/images/13012025/19/42/image_13012025_19_42_02_675225_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328680212","1328680241","1328680214","1328680228"],"photo_ids_order":["1328680212","1328680214","1328680228","1328680241"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/df9419848885ebaa5eb22c4461dfde30.jpg","text":"TemporaryFile(/tmp/multipartBody3317957564854653829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793813015,"filename":"image_13012025_19_41_02_427060_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/68ec852d5b8ada1873046c5a88e3cd61.jpg","text":"TemporaryFile(/tmp/multipartBody2399665533402951490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793813015,"filename":"image_13012025_19_42_02_675225_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fa379dbda9b90029f83fbaf9753123cd.jpg","text":"TemporaryFile(/tmp/multipartBody7415214634386344601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793813015,"filename":"image_13012025_19_42_02_675225_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/62dc3dadf7dffa6756e418352d283ce0.jpg","text":"TemporaryFile(/tmp/multipartBody6644312078590015769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793813015,"filename":"image_13012025_19_42_02_675225_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328680228","file1":"1328680214","file0":"1328680212","file3":"1328680241"},"map_files_photo_id_array":[{"photo_id":"1328680228","filename":"file2"},{"photo_id":"1328680214","filename":"file1"},{"photo_id":"1328680212","filename":"file0"},{"photo_id":"1328680241","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328680212":["hashtag1","hashtag2"]},{"1328680241":["hashtag1","hashtag2"]},{"1328680214":["hashtag1","hashtag2"]},{"1328680228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328680212, 1328680241, 1328680214, 1328680228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.398884773254395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:43:22.661875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/42/image_13012025_19_42_02_675225_0003.jpg', '/home/pi/Desktop/images/13012025/19/43/image_13012025_19_43_02_764601_0000.jpg', '/home/pi/Desktop/images/13012025/19/43/image_13012025_19_43_02_764601_0001.jpg', '/home/pi/Desktop/images/13012025/19/43/image_13012025_19_43_02_764601_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/42/image_13012025_19_42_02_675225_0003.jpg
/home/pi/Desktop/images/13012025/19/43/image_13012025_19_43_02_764601_0000.jpg
/home/pi/Desktop/images/13012025/19/43/image_13012025_19_43_02_764601_0001.jpg
/home/pi/Desktop/images/13012025/19/43/image_13012025_19_43_02_764601_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328680263","1328680271","1328680265","1328680268"],"photo_ids_order":["1328680263","1328680265","1328680268","1328680271"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/51d039fc86fe8f19250f99e2da1be173.jpg","text":"TemporaryFile(/tmp/multipartBody5384392642932417263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793872955,"filename":"image_13012025_19_42_02_675225_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/382b9e49e3681dc195c8e8131d888cc4.jpg","text":"TemporaryFile(/tmp/multipartBody3856175432886947093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793872955,"filename":"image_13012025_19_43_02_764601_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dd45c388b7b2651f905c0c6c4471190d.jpg","text":"TemporaryFile(/tmp/multipartBody4989037823726768204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793872955,"filename":"image_13012025_19_43_02_764601_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cc229005a7b729afc8e2d3adb54cf567.jpg","text":"TemporaryFile(/tmp/multipartBody2195730258051085325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793872955,"filename":"image_13012025_19_43_02_764601_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328680268","file1":"1328680265","file0":"1328680263","file3":"1328680271"},"map_files_photo_id_array":[{"photo_id":"1328680268","filename":"file2"},{"photo_id":"1328680265","filename":"file1"},{"photo_id":"1328680263","filename":"file0"},{"photo_id":"1328680271","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328680263":["hashtag1","hashtag2"]},{"1328680271":["hashtag1","hashtag2"]},{"1328680265":["hashtag1","hashtag2"]},{"1328680268":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328680263, 1328680271, 1328680265, 1328680268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.11182951927185 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:44:21.845809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/43/image_13012025_19_43_02_764601_0003.jpg', '/home/pi/Desktop/images/13012025/19/44/image_13012025_19_44_03_057027_0000.jpg', '/home/pi/Desktop/images/13012025/19/44/image_13012025_19_44_03_057027_0001.jpg', '/home/pi/Desktop/images/13012025/19/44/image_13012025_19_44_03_057027_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/43/image_13012025_19_43_02_764601_0003.jpg
/home/pi/Desktop/images/13012025/19/44/image_13012025_19_44_03_057027_0000.jpg
/home/pi/Desktop/images/13012025/19/44/image_13012025_19_44_03_057027_0001.jpg
/home/pi/Desktop/images/13012025/19/44/image_13012025_19_44_03_057027_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328680292","1328680295","1328680298","1328680301"],"photo_ids_order":["1328680292","1328680295","1328680298","1328680301"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f5a28c382135b561d9f741c19c307a48.jpg","text":"TemporaryFile(/tmp/multipartBody8188296435917614271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793932101,"filename":"image_13012025_19_43_02_764601_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e2feb74077f4431ef8f6c925ea2f92c2.jpg","text":"TemporaryFile(/tmp/multipartBody6826471073712598596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793932101,"filename":"image_13012025_19_44_03_057027_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e9d5e92350d320d1763dfa6cda86dd7f.jpg","text":"TemporaryFile(/tmp/multipartBody5558041074274474908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793932101,"filename":"image_13012025_19_44_03_057027_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ff4c2b8d7a84f0b5c332be8f8f16300e.jpg","text":"TemporaryFile(/tmp/multipartBody1004016759345559559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793932101,"filename":"image_13012025_19_44_03_057027_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328680298","file1":"1328680295","file0":"1328680292","file3":"1328680301"},"map_files_photo_id_array":[{"photo_id":"1328680298","filename":"file2"},{"photo_id":"1328680295","filename":"file1"},{"photo_id":"1328680292","filename":"file0"},{"photo_id":"1328680301","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328680292":["hashtag1","hashtag2"]},{"1328680295":["hashtag1","hashtag2"]},{"1328680298":["hashtag1","hashtag2"]},{"1328680301":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328680292, 1328680295, 1328680298, 1328680301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.506829023361206 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 19:45:02.583358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:45:22.021589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/44/image_13012025_19_44_03_057027_0003.jpg', '/home/pi/Desktop/images/13012025/19/45/image_13012025_19_45_02_135198_0000.jpg', '/home/pi/Desktop/images/13012025/19/45/image_13012025_19_45_02_135198_0001.jpg', '/home/pi/Desktop/images/13012025/19/45/image_13012025_19_45_02_135198_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/44/image_13012025_19_44_03_057027_0003.jpg
/home/pi/Desktop/images/13012025/19/45/image_13012025_19_45_02_135198_0000.jpg
/home/pi/Desktop/images/13012025/19/45/image_13012025_19_45_02_135198_0001.jpg
/home/pi/Desktop/images/13012025/19/45/image_13012025_19_45_02_135198_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328680499","1328680317","1328680312","1328680479"],"photo_ids_order":["1328680312","1328680317","1328680479","1328680499"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9733c49820059ffc1ad80a164fde4e0e.jpg","text":"TemporaryFile(/tmp/multipartBody6341063451354755370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793992139,"filename":"image_13012025_19_45_02_135198_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b8686c7cb9d7b5feced68958cef615e1.jpg","text":"TemporaryFile(/tmp/multipartBody587903066272240700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793992139,"filename":"image_13012025_19_45_02_135198_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/62c287000ff5ba5f32b1ce4f0cd00ae3.jpg","text":"TemporaryFile(/tmp/multipartBody925319411598222762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793992139,"filename":"image_13012025_19_44_03_057027_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3b0fa5725c0bddb3dc9cc9967e02aafc.jpg","text":"TemporaryFile(/tmp/multipartBody4040426011725950427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736793992139,"filename":"image_13012025_19_45_02_135198_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328680479","file1":"1328680317","file0":"1328680312","file3":"1328680499"},"map_files_photo_id_array":[{"photo_id":"1328680479","filename":"file2"},{"photo_id":"1328680317","filename":"file1"},{"photo_id":"1328680312","filename":"file0"},{"photo_id":"1328680499","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328680499":["hashtag1","hashtag2"]},{"1328680317":["hashtag1","hashtag2"]},{"1328680312":["hashtag1","hashtag2"]},{"1328680479":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328680499, 1328680317, 1328680312, 1328680479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.94028878211975 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:46:22.249407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/45/image_13012025_19_45_02_135198_0003.jpg', '/home/pi/Desktop/images/13012025/19/46/image_13012025_19_46_02_425972_0000.jpg', '/home/pi/Desktop/images/13012025/19/46/image_13012025_19_46_02_425972_0001.jpg', '/home/pi/Desktop/images/13012025/19/46/image_13012025_19_46_02_425972_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/45/image_13012025_19_45_02_135198_0003.jpg
/home/pi/Desktop/images/13012025/19/46/image_13012025_19_46_02_425972_0000.jpg
/home/pi/Desktop/images/13012025/19/46/image_13012025_19_46_02_425972_0001.jpg
/home/pi/Desktop/images/13012025/19/46/image_13012025_19_46_02_425972_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328680710","1328680853","1328680706","1328680740"],"photo_ids_order":["1328680706","1328680710","1328680740","1328680853"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cd4d331291bb378aa2a5b4e5ceb5b3dc.jpg","text":"TemporaryFile(/tmp/multipartBody5051765200466504675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794052371,"filename":"image_13012025_19_46_02_425972_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/39053518b1b0b2707d3a09cf6f951fe4.jpg","text":"TemporaryFile(/tmp/multipartBody4847769659195002568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794052371,"filename":"image_13012025_19_46_02_425972_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/245c62ac8df2b5fc830eaa3a0152f32e.jpg","text":"TemporaryFile(/tmp/multipartBody4367134482634368944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794052371,"filename":"image_13012025_19_45_02_135198_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ccbf5b42c0c060281966bd1b4c8f6d9c.jpg","text":"TemporaryFile(/tmp/multipartBody4419368815614990137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794052371,"filename":"image_13012025_19_46_02_425972_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328680740","file1":"1328680710","file0":"1328680706","file3":"1328680853"},"map_files_photo_id_array":[{"photo_id":"1328680740","filename":"file2"},{"photo_id":"1328680710","filename":"file1"},{"photo_id":"1328680706","filename":"file0"},{"photo_id":"1328680853","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328680710":["hashtag1","hashtag2"]},{"1328680853":["hashtag1","hashtag2"]},{"1328680706":["hashtag1","hashtag2"]},{"1328680740":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328680710, 1328680853, 1328680706, 1328680740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.43302655220032 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:47:22.456544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/46/image_13012025_19_46_02_425972_0003.jpg', '/home/pi/Desktop/images/13012025/19/47/image_13012025_19_47_02_592233_0000.jpg', '/home/pi/Desktop/images/13012025/19/47/image_13012025_19_47_02_592233_0001.jpg', '/home/pi/Desktop/images/13012025/19/47/image_13012025_19_47_02_592233_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/46/image_13012025_19_46_02_425972_0003.jpg
/home/pi/Desktop/images/13012025/19/47/image_13012025_19_47_02_592233_0000.jpg
/home/pi/Desktop/images/13012025/19/47/image_13012025_19_47_02_592233_0001.jpg
/home/pi/Desktop/images/13012025/19/47/image_13012025_19_47_02_592233_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328680877","1328680886","1328680871","1328680881"],"photo_ids_order":["1328680871","1328680877","1328680881","1328680886"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1cd649aee1ecbe216112d1c78f3199cf.jpg","text":"TemporaryFile(/tmp/multipartBody426672211168805213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794112567,"filename":"image_13012025_19_47_02_592233_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1a407ef1c40097443d604f1b68c946d8.jpg","text":"TemporaryFile(/tmp/multipartBody855949405567315176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794112567,"filename":"image_13012025_19_47_02_592233_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/52c4d81bf9d6992d56587cc5c975ea8e.jpg","text":"TemporaryFile(/tmp/multipartBody8228864322200163214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794112567,"filename":"image_13012025_19_46_02_425972_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3eff353ced345c541ab2900871a1a251.jpg","text":"TemporaryFile(/tmp/multipartBody2983437932285869162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794112567,"filename":"image_13012025_19_47_02_592233_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328680881","file1":"1328680877","file0":"1328680871","file3":"1328680886"},"map_files_photo_id_array":[{"photo_id":"1328680881","filename":"file2"},{"photo_id":"1328680877","filename":"file1"},{"photo_id":"1328680871","filename":"file0"},{"photo_id":"1328680886","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328680877":["hashtag1","hashtag2"]},{"1328680886":["hashtag1","hashtag2"]},{"1328680871":["hashtag1","hashtag2"]},{"1328680881":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328680877, 1328680886, 1328680871, 1328680881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.051934242248535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 19:48:02.903450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:48:22.544796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/47/image_13012025_19_47_02_592233_0003.jpg', '/home/pi/Desktop/images/13012025/19/48/image_13012025_19_48_02_810340_0000.jpg', '/home/pi/Desktop/images/13012025/19/48/image_13012025_19_48_02_810340_0001.jpg', '/home/pi/Desktop/images/13012025/19/48/image_13012025_19_48_02_810340_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/47/image_13012025_19_47_02_592233_0003.jpg
/home/pi/Desktop/images/13012025/19/48/image_13012025_19_48_02_810340_0000.jpg
/home/pi/Desktop/images/13012025/19/48/image_13012025_19_48_02_810340_0001.jpg
/home/pi/Desktop/images/13012025/19/48/image_13012025_19_48_02_810340_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.78939175605774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 19:48:42.639610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/47/image_13012025_19_47_02_592233_0003.jpg', '/home/pi/Desktop/images/13012025/19/48/image_13012025_19_48_02_810340_0000.jpg', '/home/pi/Desktop/images/13012025/19/48/image_13012025_19_48_02_810340_0001.jpg', '/home/pi/Desktop/images/13012025/19/48/image_13012025_19_48_02_810340_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/47/image_13012025_19_47_02_592233_0003.jpg
/home/pi/Desktop/images/13012025/19/48/image_13012025_19_48_02_810340_0000.jpg
/home/pi/Desktop/images/13012025/19/48/image_13012025_19_48_02_810340_0001.jpg
/home/pi/Desktop/images/13012025/19/48/image_13012025_19_48_02_810340_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328680908","1328680907","1328680919","1328680910"],"photo_ids_order":["1328680907","1328680908","1328680910","1328680919"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1f349f6514f4320c8914038655fd37a3.jpg","text":"TemporaryFile(/tmp/multipartBody5628243780895295638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794192839,"filename":"image_13012025_19_48_02_810340_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0c43897fcfbda920909c71200d51abba.jpg","text":"TemporaryFile(/tmp/multipartBody5120170409580992864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794192839,"filename":"image_13012025_19_47_02_592233_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e62a83403ed4afbf003802636784cf55.jpg","text":"TemporaryFile(/tmp/multipartBody6567012184126569777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794192839,"filename":"image_13012025_19_48_02_810340_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b767a4f5f5dc12d1d854d491b7483d2e.jpg","text":"TemporaryFile(/tmp/multipartBody8979143930496161476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794192839,"filename":"image_13012025_19_48_02_810340_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328680910","file1":"1328680908","file0":"1328680907","file3":"1328680919"},"map_files_photo_id_array":[{"photo_id":"1328680910","filename":"file2"},{"photo_id":"1328680908","filename":"file1"},{"photo_id":"1328680907","filename":"file0"},{"photo_id":"1328680919","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328680908":["hashtag1","hashtag2"]},{"1328680907":["hashtag1","hashtag2"]},{"1328680919":["hashtag1","hashtag2"]},{"1328680910":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328680908, 1328680907, 1328680919, 1328680910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.241841554641724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 19:49:32.767234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/48/image_13012025_19_48_02_810340_0003.jpg', '/home/pi/Desktop/images/13012025/19/49/image_13012025_19_49_02_932521_0000.jpg', '/home/pi/Desktop/images/13012025/19/49/image_13012025_19_49_02_932521_0001.jpg', '/home/pi/Desktop/images/13012025/19/49/image_13012025_19_49_02_932521_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/48/image_13012025_19_48_02_810340_0003.jpg
/home/pi/Desktop/images/13012025/19/49/image_13012025_19_49_02_932521_0000.jpg
/home/pi/Desktop/images/13012025/19/49/image_13012025_19_49_02_932521_0001.jpg
/home/pi/Desktop/images/13012025/19/49/image_13012025_19_49_02_932521_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328681083","1328681077","1328681038","1328681079"],"photo_ids_order":["1328681038","1328681077","1328681079","1328681083"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/89237b3df02245ecd8e87091f2bef42c.jpg","text":"TemporaryFile(/tmp/multipartBody1535457903248249779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794242915,"filename":"image_13012025_19_49_02_932521_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0df36bea23d2dc8f9181c9de0463a463.jpg","text":"TemporaryFile(/tmp/multipartBody6322009255835555150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794242915,"filename":"image_13012025_19_49_02_932521_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/45909084e9c2d3ec8b3d3c6c581fec34.jpg","text":"TemporaryFile(/tmp/multipartBody467398167438722219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794242915,"filename":"image_13012025_19_48_02_810340_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/79e4adc2d637e4dfae192c2e33f028bf.jpg","text":"TemporaryFile(/tmp/multipartBody4540822152118353760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794242915,"filename":"image_13012025_19_49_02_932521_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328681079","file1":"1328681077","file0":"1328681038","file3":"1328681083"},"map_files_photo_id_array":[{"photo_id":"1328681079","filename":"file2"},{"photo_id":"1328681077","filename":"file1"},{"photo_id":"1328681038","filename":"file0"},{"photo_id":"1328681083","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328681083":["hashtag1","hashtag2"]},{"1328681077":["hashtag1","hashtag2"]},{"1328681038":["hashtag1","hashtag2"]},{"1328681079":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328681083, 1328681077, 1328681038, 1328681079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.94351553916931 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:50:21.952596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/49/image_13012025_19_49_02_932521_0003.jpg', '/home/pi/Desktop/images/13012025/19/50/image_13012025_19_50_03_143922_0000.jpg', '/home/pi/Desktop/images/13012025/19/50/image_13012025_19_50_03_143922_0001.jpg', '/home/pi/Desktop/images/13012025/19/50/image_13012025_19_50_03_143922_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/49/image_13012025_19_49_02_932521_0003.jpg
/home/pi/Desktop/images/13012025/19/50/image_13012025_19_50_03_143922_0000.jpg
/home/pi/Desktop/images/13012025/19/50/image_13012025_19_50_03_143922_0001.jpg
/home/pi/Desktop/images/13012025/19/50/image_13012025_19_50_03_143922_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328681106","1328681097","1328681101","1328681103"],"photo_ids_order":["1328681097","1328681101","1328681103","1328681106"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d7d2ee075b8315d83e486ee340b222fd.jpg","text":"TemporaryFile(/tmp/multipartBody568661219752831604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794292024,"filename":"image_13012025_19_50_03_143922_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ce37cde241ddf8692678a20157aad8b9.jpg","text":"TemporaryFile(/tmp/multipartBody7006901205598705352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794292024,"filename":"image_13012025_19_49_02_932521_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/67e0ddea1b32d76a74e165bc16e326bf.jpg","text":"TemporaryFile(/tmp/multipartBody3567088479363670249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794292024,"filename":"image_13012025_19_50_03_143922_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fc9f289608064ec9ba26b6b728995460.jpg","text":"TemporaryFile(/tmp/multipartBody3253043655525378155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794292024,"filename":"image_13012025_19_50_03_143922_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328681103","file1":"1328681101","file0":"1328681097","file3":"1328681106"},"map_files_photo_id_array":[{"photo_id":"1328681103","filename":"file2"},{"photo_id":"1328681101","filename":"file1"},{"photo_id":"1328681097","filename":"file0"},{"photo_id":"1328681106","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328681106":["hashtag1","hashtag2"]},{"1328681097":["hashtag1","hashtag2"]},{"1328681101":["hashtag1","hashtag2"]},{"1328681103":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328681106, 1328681097, 1328681101, 1328681103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.40196967124939 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 19:51:02.962880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:51:22.172977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/50/image_13012025_19_50_03_143922_0003.jpg', '/home/pi/Desktop/images/13012025/19/51/image_13012025_19_51_02_314103_0000.jpg', '/home/pi/Desktop/images/13012025/19/51/image_13012025_19_51_02_314103_0001.jpg', '/home/pi/Desktop/images/13012025/19/51/image_13012025_19_51_02_314103_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/50/image_13012025_19_50_03_143922_0003.jpg
/home/pi/Desktop/images/13012025/19/51/image_13012025_19_51_02_314103_0000.jpg
/home/pi/Desktop/images/13012025/19/51/image_13012025_19_51_02_314103_0001.jpg
/home/pi/Desktop/images/13012025/19/51/image_13012025_19_51_02_314103_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328681132","1328681125","1328681128","1328681130"],"photo_ids_order":["1328681125","1328681128","1328681130","1328681132"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5386072df04b9250bc8ebd290c1e1419.jpg","text":"TemporaryFile(/tmp/multipartBody2448839324363069794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794352381,"filename":"image_13012025_19_51_02_314103_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/17f93c05ff903fc56bdb53714da8621a.jpg","text":"TemporaryFile(/tmp/multipartBody6004847537133384127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794352381,"filename":"image_13012025_19_50_03_143922_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/230931e2c6df7dea99d635b91d7a9d70.jpg","text":"TemporaryFile(/tmp/multipartBody8552783653551521448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794352381,"filename":"image_13012025_19_51_02_314103_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/72dbd3a51222ad73d0ce2bb2cefeba81.jpg","text":"TemporaryFile(/tmp/multipartBody2779180315205509105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794352381,"filename":"image_13012025_19_51_02_314103_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328681130","file1":"1328681128","file0":"1328681125","file3":"1328681132"},"map_files_photo_id_array":[{"photo_id":"1328681130","filename":"file2"},{"photo_id":"1328681128","filename":"file1"},{"photo_id":"1328681125","filename":"file0"},{"photo_id":"1328681132","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328681132":["hashtag1","hashtag2"]},{"1328681125":["hashtag1","hashtag2"]},{"1328681128":["hashtag1","hashtag2"]},{"1328681130":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328681132, 1328681125, 1328681128, 1328681130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.38292717933655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 19:52:02.759353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:52:22.308233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/51/image_13012025_19_51_02_314103_0003.jpg', '/home/pi/Desktop/images/13012025/19/52/image_13012025_19_52_02_506009_0000.jpg', '/home/pi/Desktop/images/13012025/19/52/image_13012025_19_52_02_506009_0001.jpg', '/home/pi/Desktop/images/13012025/19/52/image_13012025_19_52_02_506009_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/51/image_13012025_19_51_02_314103_0003.jpg
/home/pi/Desktop/images/13012025/19/52/image_13012025_19_52_02_506009_0000.jpg
/home/pi/Desktop/images/13012025/19/52/image_13012025_19_52_02_506009_0001.jpg
/home/pi/Desktop/images/13012025/19/52/image_13012025_19_52_02_506009_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328681152","1328681157","1328681169","1328681154"],"photo_ids_order":["1328681152","1328681154","1328681157","1328681169"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/90fb24a6b0bdf19eebad6cf123a274fe.jpg","text":"TemporaryFile(/tmp/multipartBody8370983672003213609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794412470,"filename":"image_13012025_19_51_02_314103_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8d3f8bbd1fdb9fec99859c70b41270cd.jpg","text":"TemporaryFile(/tmp/multipartBody1913054273534053459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794412470,"filename":"image_13012025_19_52_02_506009_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d6dbc9e485bc81aacbb14c563c8ba0e0.jpg","text":"TemporaryFile(/tmp/multipartBody105221145860810150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794412470,"filename":"image_13012025_19_52_02_506009_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f5bbe89342e40c730ff6fb26d6718108.jpg","text":"TemporaryFile(/tmp/multipartBody2523655440367835225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794412470,"filename":"image_13012025_19_52_02_506009_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328681157","file1":"1328681154","file0":"1328681152","file3":"1328681169"},"map_files_photo_id_array":[{"photo_id":"1328681157","filename":"file2"},{"photo_id":"1328681154","filename":"file1"},{"photo_id":"1328681152","filename":"file0"},{"photo_id":"1328681169","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328681152":["hashtag1","hashtag2"]},{"1328681157":["hashtag1","hashtag2"]},{"1328681169":["hashtag1","hashtag2"]},{"1328681154":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328681152, 1328681157, 1328681169, 1328681154)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.83500599861145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:53:22.503455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/52/image_13012025_19_52_02_506009_0003.jpg', '/home/pi/Desktop/images/13012025/19/53/image_13012025_19_53_02_683665_0000.jpg', '/home/pi/Desktop/images/13012025/19/53/image_13012025_19_53_02_683665_0001.jpg', '/home/pi/Desktop/images/13012025/19/53/image_13012025_19_53_02_683665_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/52/image_13012025_19_52_02_506009_0003.jpg
/home/pi/Desktop/images/13012025/19/53/image_13012025_19_53_02_683665_0000.jpg
/home/pi/Desktop/images/13012025/19/53/image_13012025_19_53_02_683665_0001.jpg
/home/pi/Desktop/images/13012025/19/53/image_13012025_19_53_02_683665_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328681270","1328681386","1328681592","1328681495"],"photo_ids_order":["1328681270","1328681386","1328681495","1328681592"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d02b10d5f0d6f87a32f0cfd90c043c30.jpg","text":"TemporaryFile(/tmp/multipartBody5299302595148052183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794472730,"filename":"image_13012025_19_52_02_506009_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a0514bb7f6df5b825638a883fb2af548.jpg","text":"TemporaryFile(/tmp/multipartBody6446220842157618566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794472730,"filename":"image_13012025_19_53_02_683665_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c42080fa7c23e7361a00e7be6cb40268.jpg","text":"TemporaryFile(/tmp/multipartBody4898436996655804570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794472730,"filename":"image_13012025_19_53_02_683665_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7b1292e858badb25c9e4dc6baaee8f8a.jpg","text":"TemporaryFile(/tmp/multipartBody8610823526616705348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794472730,"filename":"image_13012025_19_53_02_683665_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328681495","file1":"1328681386","file0":"1328681270","file3":"1328681592"},"map_files_photo_id_array":[{"photo_id":"1328681495","filename":"file2"},{"photo_id":"1328681386","filename":"file1"},{"photo_id":"1328681270","filename":"file0"},{"photo_id":"1328681592","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328681270":["hashtag1","hashtag2"]},{"1328681386":["hashtag1","hashtag2"]},{"1328681592":["hashtag1","hashtag2"]},{"1328681495":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328681270, 1328681386, 1328681592, 1328681495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.4328396320343 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 19:54:03.132550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:54:22.693702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/53/image_13012025_19_53_02_683665_0003.jpg', '/home/pi/Desktop/images/13012025/19/54/image_13012025_19_54_02_790755_0000.jpg', '/home/pi/Desktop/images/13012025/19/54/image_13012025_19_54_02_790755_0001.jpg', '/home/pi/Desktop/images/13012025/19/54/image_13012025_19_54_02_790755_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/53/image_13012025_19_53_02_683665_0003.jpg
/home/pi/Desktop/images/13012025/19/54/image_13012025_19_54_02_790755_0000.jpg
/home/pi/Desktop/images/13012025/19/54/image_13012025_19_54_02_790755_0001.jpg
/home/pi/Desktop/images/13012025/19/54/image_13012025_19_54_02_790755_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328682097","1328682197","1328682245","1328682068"],"photo_ids_order":["1328682068","1328682097","1328682197","1328682245"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d09cb7ebc3b32eea80c65d2bd5e5781a.jpg","text":"TemporaryFile(/tmp/multipartBody5449267567675571227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794532742,"filename":"image_13012025_19_54_02_790755_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/74e1a4b2edc59df72738c3e99cfbee4f.jpg","text":"TemporaryFile(/tmp/multipartBody6849319560484208992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794532742,"filename":"image_13012025_19_54_02_790755_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/231c3ce2a5d0f4e85beec3a1e91b05b7.jpg","text":"TemporaryFile(/tmp/multipartBody5616399773039910177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794532742,"filename":"image_13012025_19_54_02_790755_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7307baa04a05d50bacd87effbc12bbf1.jpg","text":"TemporaryFile(/tmp/multipartBody5599472886849614745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794532742,"filename":"image_13012025_19_53_02_683665_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328682197","file1":"1328682097","file0":"1328682068","file3":"1328682245"},"map_files_photo_id_array":[{"photo_id":"1328682197","filename":"file2"},{"photo_id":"1328682097","filename":"file1"},{"photo_id":"1328682068","filename":"file0"},{"photo_id":"1328682245","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328682097":["hashtag1","hashtag2"]},{"1328682197":["hashtag1","hashtag2"]},{"1328682245":["hashtag1","hashtag2"]},{"1328682068":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328682097, 1328682197, 1328682245, 1328682068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.70954203605652 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:55:21.831468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/54/image_13012025_19_54_02_790755_0003.jpg', '/home/pi/Desktop/images/13012025/19/55/image_13012025_19_55_03_003830_0000.jpg', '/home/pi/Desktop/images/13012025/19/55/image_13012025_19_55_03_003830_0001.jpg', '/home/pi/Desktop/images/13012025/19/55/image_13012025_19_55_03_003830_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/54/image_13012025_19_54_02_790755_0003.jpg
/home/pi/Desktop/images/13012025/19/55/image_13012025_19_55_03_003830_0000.jpg
/home/pi/Desktop/images/13012025/19/55/image_13012025_19_55_03_003830_0001.jpg
/home/pi/Desktop/images/13012025/19/55/image_13012025_19_55_03_003830_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328682409","1328682411","1328682405","1328682377"],"photo_ids_order":["1328682377","1328682405","1328682409","1328682411"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e67c07edd88ebfeec7e9ded92bf35b28.jpg","text":"TemporaryFile(/tmp/multipartBody7539971590336532280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794591938,"filename":"image_13012025_19_55_03_003830_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4f40bfd92e76625475106f4c5ae4225b.jpg","text":"TemporaryFile(/tmp/multipartBody48155480440818660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794591938,"filename":"image_13012025_19_55_03_003830_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b27488a45d578ba296f143697d332319.jpg","text":"TemporaryFile(/tmp/multipartBody1526796500571460263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794591938,"filename":"image_13012025_19_55_03_003830_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/696f9c8349ac481ece283bce648f1b2b.jpg","text":"TemporaryFile(/tmp/multipartBody3210195379918694694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794591938,"filename":"image_13012025_19_54_02_790755_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328682409","file1":"1328682405","file0":"1328682377","file3":"1328682411"},"map_files_photo_id_array":[{"photo_id":"1328682409","filename":"file2"},{"photo_id":"1328682405","filename":"file1"},{"photo_id":"1328682377","filename":"file0"},{"photo_id":"1328682411","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328682409":["hashtag1","hashtag2"]},{"1328682411":["hashtag1","hashtag2"]},{"1328682405":["hashtag1","hashtag2"]},{"1328682377":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328682409, 1328682411, 1328682405, 1328682377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.52877688407898 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:56:22.058969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/55/image_13012025_19_55_03_003830_0003.jpg', '/home/pi/Desktop/images/13012025/19/56/image_13012025_19_56_02_256215_0000.jpg', '/home/pi/Desktop/images/13012025/19/56/image_13012025_19_56_02_256215_0001.jpg', '/home/pi/Desktop/images/13012025/19/56/image_13012025_19_56_02_256215_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/55/image_13012025_19_55_03_003830_0003.jpg
/home/pi/Desktop/images/13012025/19/56/image_13012025_19_56_02_256215_0000.jpg
/home/pi/Desktop/images/13012025/19/56/image_13012025_19_56_02_256215_0001.jpg
/home/pi/Desktop/images/13012025/19/56/image_13012025_19_56_02_256215_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328682442","1328682432","1328682435","1328682444"],"photo_ids_order":["1328682432","1328682435","1328682442","1328682444"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1e036488f21fa1e1644ebeda507c6b1e.jpg","text":"TemporaryFile(/tmp/multipartBody8768851233693971059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794652340,"filename":"image_13012025_19_56_02_256215_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/73110812601d03d554702e6baa7d6f41.jpg","text":"TemporaryFile(/tmp/multipartBody3599482863091409567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794652340,"filename":"image_13012025_19_55_03_003830_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/17f21b67dd1fedee136479bee2c6d5ee.jpg","text":"TemporaryFile(/tmp/multipartBody7625314836091760011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794652340,"filename":"image_13012025_19_56_02_256215_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8b1a6b8c4e4d9c8c411ea661d2315508.jpg","text":"TemporaryFile(/tmp/multipartBody5872796713730707392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794652340,"filename":"image_13012025_19_56_02_256215_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328682442","file1":"1328682435","file0":"1328682432","file3":"1328682444"},"map_files_photo_id_array":[{"photo_id":"1328682442","filename":"file2"},{"photo_id":"1328682435","filename":"file1"},{"photo_id":"1328682432","filename":"file0"},{"photo_id":"1328682444","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328682442":["hashtag1","hashtag2"]},{"1328682432":["hashtag1","hashtag2"]},{"1328682435":["hashtag1","hashtag2"]},{"1328682444":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328682442, 1328682432, 1328682435, 1328682444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.87566256523132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 19:57:22.258365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/56/image_13012025_19_56_02_256215_0003.jpg', '/home/pi/Desktop/images/13012025/19/57/image_13012025_19_57_02_404909_0000.jpg', '/home/pi/Desktop/images/13012025/19/57/image_13012025_19_57_02_404909_0001.jpg', '/home/pi/Desktop/images/13012025/19/57/image_13012025_19_57_02_404909_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/56/image_13012025_19_56_02_256215_0003.jpg
/home/pi/Desktop/images/13012025/19/57/image_13012025_19_57_02_404909_0000.jpg
/home/pi/Desktop/images/13012025/19/57/image_13012025_19_57_02_404909_0001.jpg
/home/pi/Desktop/images/13012025/19/57/image_13012025_19_57_02_404909_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328682469","1328682470","1328682464","1328682467"],"photo_ids_order":["1328682464","1328682467","1328682469","1328682470"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e5da5527884d05e6a73ff90a9972ded0.jpg","text":"TemporaryFile(/tmp/multipartBody1071846543935308194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794712590,"filename":"image_13012025_19_57_02_404909_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bad05d747b0624d389d32023a9ea4c31.jpg","text":"TemporaryFile(/tmp/multipartBody4475528152584830182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794712590,"filename":"image_13012025_19_57_02_404909_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/37b9e6c909139bad72f308423c452594.jpg","text":"TemporaryFile(/tmp/multipartBody3584275030316228744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794712590,"filename":"image_13012025_19_56_02_256215_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f38836a90d3cfb88e86e45ad975d1289.jpg","text":"TemporaryFile(/tmp/multipartBody4927310873117626332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794712590,"filename":"image_13012025_19_57_02_404909_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328682469","file1":"1328682467","file0":"1328682464","file3":"1328682470"},"map_files_photo_id_array":[{"photo_id":"1328682469","filename":"file2"},{"photo_id":"1328682467","filename":"file1"},{"photo_id":"1328682464","filename":"file0"},{"photo_id":"1328682470","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328682469":["hashtag1","hashtag2"]},{"1328682470":["hashtag1","hashtag2"]},{"1328682464":["hashtag1","hashtag2"]},{"1328682467":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328682469, 1328682470, 1328682464, 1328682467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.984407901763916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 19:59:03.236590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/57/image_13012025_19_57_02_404909_0003.jpg', '/home/pi/Desktop/images/13012025/19/58/image_13012025_19_58_02_601718_0000.jpg', '/home/pi/Desktop/images/13012025/19/58/image_13012025_19_58_02_601718_0001.jpg', '/home/pi/Desktop/images/13012025/19/58/image_13012025_19_58_02_601718_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/57/image_13012025_19_57_02_404909_0003.jpg
/home/pi/Desktop/images/13012025/19/58/image_13012025_19_58_02_601718_0000.jpg
/home/pi/Desktop/images/13012025/19/58/image_13012025_19_58_02_601718_0001.jpg
/home/pi/Desktop/images/13012025/19/58/image_13012025_19_58_02_601718_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328682643","1328682637","1328682600","1328682563"],"photo_ids_order":["1328682563","1328682600","1328682637","1328682643"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bd76eea27fea8118f2a1f62f77bf5aa3.jpg","text":"TemporaryFile(/tmp/multipartBody2635666881842013513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794813516,"filename":"image_13012025_19_58_02_601718_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/034d7fe7c4d26a97fdf1ae3811a24c6b.jpg","text":"TemporaryFile(/tmp/multipartBody4374117082602242998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794813516,"filename":"image_13012025_19_58_02_601718_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/45ddf877f702e075ffb11eaf20aaf219.jpg","text":"TemporaryFile(/tmp/multipartBody2136799416228946952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794813516,"filename":"image_13012025_19_58_02_601718_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d2f580041e173f61a5d4cdb6379db5d8.jpg","text":"TemporaryFile(/tmp/multipartBody3382978555942681358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794813516,"filename":"image_13012025_19_57_02_404909_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328682637","file1":"1328682600","file0":"1328682563","file3":"1328682643"},"map_files_photo_id_array":[{"photo_id":"1328682637","filename":"file2"},{"photo_id":"1328682600","filename":"file1"},{"photo_id":"1328682563","filename":"file0"},{"photo_id":"1328682643","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328682643":["hashtag1","hashtag2"]},{"1328682637":["hashtag1","hashtag2"]},{"1328682600":["hashtag1","hashtag2"]},{"1328682563":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328682643, 1328682637, 1328682600, 1328682563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.233994007110596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 19:59:52.631850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/58/image_13012025_19_58_02_601718_0003.jpg', '/home/pi/Desktop/images/13012025/19/59/image_13012025_19_59_02_778058_0000.jpg', '/home/pi/Desktop/images/13012025/19/59/image_13012025_19_59_02_778058_0001.jpg', '/home/pi/Desktop/images/13012025/19/59/image_13012025_19_59_02_778058_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/58/image_13012025_19_58_02_601718_0003.jpg
/home/pi/Desktop/images/13012025/19/59/image_13012025_19_59_02_778058_0000.jpg
/home/pi/Desktop/images/13012025/19/59/image_13012025_19_59_02_778058_0001.jpg
/home/pi/Desktop/images/13012025/19/59/image_13012025_19_59_02_778058_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328682859","1328682879","1328682828","1328682815"],"photo_ids_order":["1328682815","1328682828","1328682859","1328682879"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/be6379af6d1c47c92661351bbc2baa3c.jpg","text":"TemporaryFile(/tmp/multipartBody8395863908133774134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794862677,"filename":"image_13012025_19_59_02_778058_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/937695d2ba15fb33363354954d38179f.jpg","text":"TemporaryFile(/tmp/multipartBody6750449830033258676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794862677,"filename":"image_13012025_19_59_02_778058_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ae5039babfa1079c87b02875b6a62535.jpg","text":"TemporaryFile(/tmp/multipartBody4201333795769813711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794862677,"filename":"image_13012025_19_59_02_778058_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c01a51bb2db2bc24832f9ffc0751d8c6.jpg","text":"TemporaryFile(/tmp/multipartBody97128342628841103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794862677,"filename":"image_13012025_19_58_02_601718_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328682859","file1":"1328682828","file0":"1328682815","file3":"1328682879"},"map_files_photo_id_array":[{"photo_id":"1328682859","filename":"file2"},{"photo_id":"1328682828","filename":"file1"},{"photo_id":"1328682815","filename":"file0"},{"photo_id":"1328682879","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328682859":["hashtag1","hashtag2"]},{"1328682879":["hashtag1","hashtag2"]},{"1328682828":["hashtag1","hashtag2"]},{"1328682815":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328682859, 1328682879, 1328682828, 1328682815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.90485095977783 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 20:00:41.851101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/59/image_13012025_19_59_02_778058_0003.jpg', '/home/pi/Desktop/images/13012025/20/00/image_13012025_20_00_02_981004_0000.jpg', '/home/pi/Desktop/images/13012025/20/00/image_13012025_20_00_02_981004_0001.jpg', '/home/pi/Desktop/images/13012025/20/00/image_13012025_20_00_02_981004_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/19/59/image_13012025_19_59_02_778058_0003.jpg
/home/pi/Desktop/images/13012025/20/00/image_13012025_20_00_02_981004_0000.jpg
/home/pi/Desktop/images/13012025/20/00/image_13012025_20_00_02_981004_0001.jpg
/home/pi/Desktop/images/13012025/20/00/image_13012025_20_00_02_981004_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328682926","1328682925","1328682928","1328682932"],"photo_ids_order":["1328682925","1328682926","1328682928","1328682932"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ee5161ddde602c3bc7fa33b8f5f9b809.jpg","text":"TemporaryFile(/tmp/multipartBody2951508860176176230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794912070,"filename":"image_13012025_20_00_02_981004_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/16f7f18de36d6c144c2c3f9a43f6e342.jpg","text":"TemporaryFile(/tmp/multipartBody5858410940880335282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794912070,"filename":"image_13012025_19_59_02_778058_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/31a12ffbebbc08de41c2e3366d33ccec.jpg","text":"TemporaryFile(/tmp/multipartBody9134127921233813865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794912070,"filename":"image_13012025_20_00_02_981004_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b0db9e254d1c16f8cc2316bbd44d5852.jpg","text":"TemporaryFile(/tmp/multipartBody7397653553793413370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794912070,"filename":"image_13012025_20_00_02_981004_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328682928","file1":"1328682926","file0":"1328682925","file3":"1328682932"},"map_files_photo_id_array":[{"photo_id":"1328682928","filename":"file2"},{"photo_id":"1328682926","filename":"file1"},{"photo_id":"1328682925","filename":"file0"},{"photo_id":"1328682932","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328682926":["hashtag1","hashtag2"]},{"1328682925":["hashtag1","hashtag2"]},{"1328682928":["hashtag1","hashtag2"]},{"1328682932":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328682926, 1328682925, 1328682928, 1328682932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.51340198516846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 20:01:31.994803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/00/image_13012025_20_00_02_981004_0003.jpg', '/home/pi/Desktop/images/13012025/20/01/image_13012025_20_01_02_280373_0000.jpg', '/home/pi/Desktop/images/13012025/20/01/image_13012025_20_01_02_280373_0001.jpg', '/home/pi/Desktop/images/13012025/20/01/image_13012025_20_01_02_280373_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/00/image_13012025_20_00_02_981004_0003.jpg
/home/pi/Desktop/images/13012025/20/01/image_13012025_20_01_02_280373_0000.jpg
/home/pi/Desktop/images/13012025/20/01/image_13012025_20_01_02_280373_0001.jpg
/home/pi/Desktop/images/13012025/20/01/image_13012025_20_01_02_280373_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328683272","1328683154","1328683049","1328683025"],"photo_ids_order":["1328683025","1328683049","1328683154","1328683272"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0442a54070992599be80ccc626b55781.jpg","text":"TemporaryFile(/tmp/multipartBody570630941298054357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794962206,"filename":"image_13012025_20_01_02_280373_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4720f84df54de41926dbe2d67af835f5.jpg","text":"TemporaryFile(/tmp/multipartBody7447133099768380272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794962206,"filename":"image_13012025_20_01_02_280373_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a16c227b89038137aff1a0461313ab31.jpg","text":"TemporaryFile(/tmp/multipartBody6975105441743426126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794962206,"filename":"image_13012025_20_01_02_280373_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cedbd00b27d4228a4413ca8719f675be.jpg","text":"TemporaryFile(/tmp/multipartBody4586799523406747543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736794962206,"filename":"image_13012025_20_00_02_981004_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328683154","file1":"1328683049","file0":"1328683025","file3":"1328683272"},"map_files_photo_id_array":[{"photo_id":"1328683154","filename":"file2"},{"photo_id":"1328683049","filename":"file1"},{"photo_id":"1328683025","filename":"file0"},{"photo_id":"1328683272","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328683272":["hashtag1","hashtag2"]},{"1328683154":["hashtag1","hashtag2"]},{"1328683049":["hashtag1","hashtag2"]},{"1328683025":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328683272, 1328683154, 1328683049, 1328683025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.41757774353027 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:02:22.125827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/01/image_13012025_20_01_02_280373_0003.jpg', '/home/pi/Desktop/images/13012025/20/02/image_13012025_20_02_02_421975_0000.jpg', '/home/pi/Desktop/images/13012025/20/02/image_13012025_20_02_02_421975_0001.jpg', '/home/pi/Desktop/images/13012025/20/02/image_13012025_20_02_02_421975_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/01/image_13012025_20_01_02_280373_0003.jpg
/home/pi/Desktop/images/13012025/20/02/image_13012025_20_02_02_421975_0000.jpg
/home/pi/Desktop/images/13012025/20/02/image_13012025_20_02_02_421975_0001.jpg
/home/pi/Desktop/images/13012025/20/02/image_13012025_20_02_02_421975_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328683837","1328683848","1328683842","1328683845"],"photo_ids_order":["1328683837","1328683842","1328683845","1328683848"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e77962cafa8ad1197ca9a5bf7a3ac60a.jpg","text":"TemporaryFile(/tmp/multipartBody8669226460299879061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795012327,"filename":"image_13012025_20_01_02_280373_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/38ef7029db8774a4ac0aea26c90bf732.jpg","text":"TemporaryFile(/tmp/multipartBody1136739497304727521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795012327,"filename":"image_13012025_20_02_02_421975_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0565c741e07b2cc54b5cf430db539706.jpg","text":"TemporaryFile(/tmp/multipartBody4761537546865098464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795012327,"filename":"image_13012025_20_02_02_421975_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a5647457710e159430c122619ed1ab72.jpg","text":"TemporaryFile(/tmp/multipartBody6324407401465057705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795012327,"filename":"image_13012025_20_02_02_421975_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328683845","file1":"1328683842","file0":"1328683837","file3":"1328683848"},"map_files_photo_id_array":[{"photo_id":"1328683845","filename":"file2"},{"photo_id":"1328683842","filename":"file1"},{"photo_id":"1328683837","filename":"file0"},{"photo_id":"1328683848","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328683837":["hashtag1","hashtag2"]},{"1328683848":["hashtag1","hashtag2"]},{"1328683842":["hashtag1","hashtag2"]},{"1328683845":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328683837, 1328683848, 1328683842, 1328683845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.25896692276001 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:03:02.801147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:03:22.226977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/02/image_13012025_20_02_02_421975_0003.jpg', '/home/pi/Desktop/images/13012025/20/03/image_13012025_20_03_02_497584_0000.jpg', '/home/pi/Desktop/images/13012025/20/03/image_13012025_20_03_02_497584_0001.jpg', '/home/pi/Desktop/images/13012025/20/03/image_13012025_20_03_02_497584_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/02/image_13012025_20_02_02_421975_0003.jpg
/home/pi/Desktop/images/13012025/20/03/image_13012025_20_03_02_497584_0000.jpg
/home/pi/Desktop/images/13012025/20/03/image_13012025_20_03_02_497584_0001.jpg
/home/pi/Desktop/images/13012025/20/03/image_13012025_20_03_02_497584_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328684178","1328684198","1328684185","1328684173"],"photo_ids_order":["1328684173","1328684178","1328684185","1328684198"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9e65cbc9b57e984fb00ed5cf7e9104dd.jpg","text":"TemporaryFile(/tmp/multipartBody1517158775064051380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795072316,"filename":"image_13012025_20_03_02_497584_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d4d914859f7351493830df3b56e8d719.jpg","text":"TemporaryFile(/tmp/multipartBody644730934115752907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795072316,"filename":"image_13012025_20_03_02_497584_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e7a8edd86289ef4ba915c66eeeaecd99.jpg","text":"TemporaryFile(/tmp/multipartBody5504543886956277031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795072316,"filename":"image_13012025_20_03_02_497584_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b0935746e23e9236ebaa093e8c90e4dc.jpg","text":"TemporaryFile(/tmp/multipartBody52226997798573375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795072316,"filename":"image_13012025_20_02_02_421975_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328684185","file1":"1328684178","file0":"1328684173","file3":"1328684198"},"map_files_photo_id_array":[{"photo_id":"1328684185","filename":"file2"},{"photo_id":"1328684178","filename":"file1"},{"photo_id":"1328684173","filename":"file0"},{"photo_id":"1328684198","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328684178":["hashtag1","hashtag2"]},{"1328684198":["hashtag1","hashtag2"]},{"1328684185":["hashtag1","hashtag2"]},{"1328684173":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328684178, 1328684198, 1328684185, 1328684173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.48618268966675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:04:02.882562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:04:22.479177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/03/image_13012025_20_03_02_497584_0003.jpg', '/home/pi/Desktop/images/13012025/20/04/image_13012025_20_04_02_694495_0000.jpg', '/home/pi/Desktop/images/13012025/20/04/image_13012025_20_04_02_694495_0001.jpg', '/home/pi/Desktop/images/13012025/20/04/image_13012025_20_04_02_694495_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/03/image_13012025_20_03_02_497584_0003.jpg
/home/pi/Desktop/images/13012025/20/04/image_13012025_20_04_02_694495_0000.jpg
/home/pi/Desktop/images/13012025/20/04/image_13012025_20_04_02_694495_0001.jpg
/home/pi/Desktop/images/13012025/20/04/image_13012025_20_04_02_694495_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.035766363143921 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 20:04:42.488851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/03/image_13012025_20_03_02_497584_0003.jpg', '/home/pi/Desktop/images/13012025/20/04/image_13012025_20_04_02_694495_0000.jpg', '/home/pi/Desktop/images/13012025/20/04/image_13012025_20_04_02_694495_0001.jpg', '/home/pi/Desktop/images/13012025/20/04/image_13012025_20_04_02_694495_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/03/image_13012025_20_03_02_497584_0003.jpg
/home/pi/Desktop/images/13012025/20/04/image_13012025_20_04_02_694495_0000.jpg
/home/pi/Desktop/images/13012025/20/04/image_13012025_20_04_02_694495_0001.jpg
/home/pi/Desktop/images/13012025/20/04/image_13012025_20_04_02_694495_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328684230","1328684228","1328684233","1328684227"],"photo_ids_order":["1328684227","1328684228","1328684230","1328684233"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ac99d92b6112bc228054b2c66ee4845e.jpg","text":"TemporaryFile(/tmp/multipartBody8477314970864612549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795152948,"filename":"image_13012025_20_04_02_694495_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9eb9a16d7b935e2133c8d5a9ce04ad54.jpg","text":"TemporaryFile(/tmp/multipartBody6035365829882844167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795152948,"filename":"image_13012025_20_04_02_694495_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f2eb193823107da639db8b164d9668ac.jpg","text":"TemporaryFile(/tmp/multipartBody5244721409207771351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795152948,"filename":"image_13012025_20_04_02_694495_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/80decb6a6a9b8b16d6261737f45139a0.jpg","text":"TemporaryFile(/tmp/multipartBody6999086282610963875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795152948,"filename":"image_13012025_20_03_02_497584_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328684230","file1":"1328684228","file0":"1328684227","file3":"1328684233"},"map_files_photo_id_array":[{"photo_id":"1328684230","filename":"file2"},{"photo_id":"1328684228","filename":"file1"},{"photo_id":"1328684227","filename":"file0"},{"photo_id":"1328684233","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328684230":["hashtag1","hashtag2"]},{"1328684228":["hashtag1","hashtag2"]},{"1328684233":["hashtag1","hashtag2"]},{"1328684227":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328684230, 1328684228, 1328684233, 1328684227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.37906098365784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:05:22.672990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/04/image_13012025_20_04_02_694495_0003.jpg', '/home/pi/Desktop/images/13012025/20/05/image_13012025_20_05_02_810175_0000.jpg', '/home/pi/Desktop/images/13012025/20/05/image_13012025_20_05_02_810175_0001.jpg', '/home/pi/Desktop/images/13012025/20/05/image_13012025_20_05_02_810175_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/04/image_13012025_20_04_02_694495_0003.jpg
/home/pi/Desktop/images/13012025/20/05/image_13012025_20_05_02_810175_0000.jpg
/home/pi/Desktop/images/13012025/20/05/image_13012025_20_05_02_810175_0001.jpg
/home/pi/Desktop/images/13012025/20/05/image_13012025_20_05_02_810175_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328684407","1328684251","1328684347","1328684254"],"photo_ids_order":["1328684251","1328684254","1328684347","1328684407"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/56bfa0752d473cbb3f548fe9e1d33765.jpg","text":"TemporaryFile(/tmp/multipartBody3016478673047431507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795192805,"filename":"image_13012025_20_05_02_810175_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/17d6aac7c78e60958153dca3e945428e.jpg","text":"TemporaryFile(/tmp/multipartBody2057625416842347616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795192805,"filename":"image_13012025_20_04_02_694495_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8b012e5278a7afe5b9129ab4bc894e75.jpg","text":"TemporaryFile(/tmp/multipartBody6525595971799033572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795192805,"filename":"image_13012025_20_05_02_810175_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/23ba543166acd1ba91c78eb20ec2a496.jpg","text":"TemporaryFile(/tmp/multipartBody1043551642523265623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795192805,"filename":"image_13012025_20_05_02_810175_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328684347","file1":"1328684254","file0":"1328684251","file3":"1328684407"},"map_files_photo_id_array":[{"photo_id":"1328684347","filename":"file2"},{"photo_id":"1328684254","filename":"file1"},{"photo_id":"1328684251","filename":"file0"},{"photo_id":"1328684407","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328684407":["hashtag1","hashtag2"]},{"1328684251":["hashtag1","hashtag2"]},{"1328684347":["hashtag1","hashtag2"]},{"1328684254":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328684407, 1328684251, 1328684347, 1328684254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.53743004798889 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:06:21.863899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/05/image_13012025_20_05_02_810175_0003.jpg', '/home/pi/Desktop/images/13012025/20/06/image_13012025_20_06_03_059897_0000.jpg', '/home/pi/Desktop/images/13012025/20/06/image_13012025_20_06_03_059897_0001.jpg', '/home/pi/Desktop/images/13012025/20/06/image_13012025_20_06_03_059897_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/05/image_13012025_20_05_02_810175_0003.jpg
/home/pi/Desktop/images/13012025/20/06/image_13012025_20_06_03_059897_0000.jpg
/home/pi/Desktop/images/13012025/20/06/image_13012025_20_06_03_059897_0001.jpg
/home/pi/Desktop/images/13012025/20/06/image_13012025_20_06_03_059897_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328685252","1328684713","1328684979","1328684826"],"photo_ids_order":["1328684713","1328684826","1328684979","1328685252"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2fb42ae6d9c35bbc2056ec8882bb31fa.jpg","text":"TemporaryFile(/tmp/multipartBody7562173878682465324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795252028,"filename":"image_13012025_20_06_03_059897_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7fb41d08077b72c9b36569b2ea62d6b4.jpg","text":"TemporaryFile(/tmp/multipartBody4043520126945841204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795252028,"filename":"image_13012025_20_05_02_810175_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/64e439d2c8ef9c7ed7c0a022cebcabf8.jpg","text":"TemporaryFile(/tmp/multipartBody2570872529243919847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795252028,"filename":"image_13012025_20_06_03_059897_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0b31efffb33f98e614fbe1db0bea9abb.jpg","text":"TemporaryFile(/tmp/multipartBody2820939593965529456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795252028,"filename":"image_13012025_20_06_03_059897_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328684979","file1":"1328684826","file0":"1328684713","file3":"1328685252"},"map_files_photo_id_array":[{"photo_id":"1328684979","filename":"file2"},{"photo_id":"1328684826","filename":"file1"},{"photo_id":"1328684713","filename":"file0"},{"photo_id":"1328685252","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328685252":["hashtag1","hashtag2"]},{"1328684713":["hashtag1","hashtag2"]},{"1328684979":["hashtag1","hashtag2"]},{"1328684826":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328685252, 1328684713, 1328684979, 1328684826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.7962760925293 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:07:02.572753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:07:21.924109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/06/image_13012025_20_06_03_059897_0003.jpg', '/home/pi/Desktop/images/13012025/20/07/image_13012025_20_07_02_148792_0000.jpg', '/home/pi/Desktop/images/13012025/20/07/image_13012025_20_07_02_148792_0001.jpg', '/home/pi/Desktop/images/13012025/20/07/image_13012025_20_07_02_148792_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/06/image_13012025_20_06_03_059897_0003.jpg
/home/pi/Desktop/images/13012025/20/07/image_13012025_20_07_02_148792_0000.jpg
/home/pi/Desktop/images/13012025/20/07/image_13012025_20_07_02_148792_0001.jpg
/home/pi/Desktop/images/13012025/20/07/image_13012025_20_07_02_148792_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328685672","1328685677","1328685938","1328685681"],"photo_ids_order":["1328685672","1328685677","1328685681","1328685938"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/de8ff37512c60a724f3bb25edf0785e7.jpg","text":"TemporaryFile(/tmp/multipartBody1727634748809044030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795312114,"filename":"image_13012025_20_06_03_059897_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d376a0f5babef0b0df9c99a205075721.jpg","text":"TemporaryFile(/tmp/multipartBody5076074732007354721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795312114,"filename":"image_13012025_20_07_02_148792_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/60d350b56abcb122934d37a670e45361.jpg","text":"TemporaryFile(/tmp/multipartBody3134215156503173529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795312114,"filename":"image_13012025_20_07_02_148792_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a6429cf1423a039000eac34e6ae26e95.jpg","text":"TemporaryFile(/tmp/multipartBody5452677203917446777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795312114,"filename":"image_13012025_20_07_02_148792_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328685681","file1":"1328685677","file0":"1328685672","file3":"1328685938"},"map_files_photo_id_array":[{"photo_id":"1328685681","filename":"file2"},{"photo_id":"1328685677","filename":"file1"},{"photo_id":"1328685672","filename":"file0"},{"photo_id":"1328685938","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328685672":["hashtag1","hashtag2"]},{"1328685677":["hashtag1","hashtag2"]},{"1328685938":["hashtag1","hashtag2"]},{"1328685681":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328685672, 1328685677, 1328685938, 1328685681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.143338441848755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:08:22.214510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/07/image_13012025_20_07_02_148792_0003.jpg', '/home/pi/Desktop/images/13012025/20/08/image_13012025_20_08_02_352930_0000.jpg', '/home/pi/Desktop/images/13012025/20/08/image_13012025_20_08_02_352930_0001.jpg', '/home/pi/Desktop/images/13012025/20/08/image_13012025_20_08_02_352930_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/07/image_13012025_20_07_02_148792_0003.jpg
/home/pi/Desktop/images/13012025/20/08/image_13012025_20_08_02_352930_0000.jpg
/home/pi/Desktop/images/13012025/20/08/image_13012025_20_08_02_352930_0001.jpg
/home/pi/Desktop/images/13012025/20/08/image_13012025_20_08_02_352930_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.678193807601929 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 20:08:42.214065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/07/image_13012025_20_07_02_148792_0003.jpg', '/home/pi/Desktop/images/13012025/20/08/image_13012025_20_08_02_352930_0000.jpg', '/home/pi/Desktop/images/13012025/20/08/image_13012025_20_08_02_352930_0001.jpg', '/home/pi/Desktop/images/13012025/20/08/image_13012025_20_08_02_352930_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/07/image_13012025_20_07_02_148792_0003.jpg
/home/pi/Desktop/images/13012025/20/08/image_13012025_20_08_02_352930_0000.jpg
/home/pi/Desktop/images/13012025/20/08/image_13012025_20_08_02_352930_0001.jpg
/home/pi/Desktop/images/13012025/20/08/image_13012025_20_08_02_352930_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328686101","1328686127","1328686129","1328686114"],"photo_ids_order":["1328686101","1328686114","1328686127","1328686129"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dbf30059318f1299ac0064355d24a4b5.jpg","text":"TemporaryFile(/tmp/multipartBody6986987481395448202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795392403,"filename":"image_13012025_20_07_02_148792_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/db4a5816ff4fac25561e4b013261ea8b.jpg","text":"TemporaryFile(/tmp/multipartBody4895876455453736570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795392403,"filename":"image_13012025_20_08_02_352930_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/77ab40e8d39ea8177d28c73d55c2ffbd.jpg","text":"TemporaryFile(/tmp/multipartBody4318237527287033464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795392403,"filename":"image_13012025_20_08_02_352930_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/912698bbd8ba6b6cc0bd15023ca12d7a.jpg","text":"TemporaryFile(/tmp/multipartBody2380220741407665102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795392403,"filename":"image_13012025_20_08_02_352930_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328686127","file1":"1328686114","file0":"1328686101","file3":"1328686129"},"map_files_photo_id_array":[{"photo_id":"1328686127","filename":"file2"},{"photo_id":"1328686114","filename":"file1"},{"photo_id":"1328686101","filename":"file0"},{"photo_id":"1328686129","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328686101":["hashtag1","hashtag2"]},{"1328686127":["hashtag1","hashtag2"]},{"1328686129":["hashtag1","hashtag2"]},{"1328686114":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328686101, 1328686127, 1328686129, 1328686114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.51736497879028 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:09:22.508806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/08/image_13012025_20_08_02_352930_0003.jpg', '/home/pi/Desktop/images/13012025/20/09/image_13012025_20_09_02_528803_0000.jpg', '/home/pi/Desktop/images/13012025/20/09/image_13012025_20_09_02_528803_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/08/image_13012025_20_08_02_352930_0003.jpg
/home/pi/Desktop/images/13012025/20/09/image_13012025_20_09_02_528803_0000.jpg
/home/pi/Desktop/images/13012025/20/09/image_13012025_20_09_02_528803_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328686186","1328686182","1328686173"],"photo_ids_order":["1328686173","1328686182","1328686186"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7cf83c431cb52ec36563326ff16f2987.jpg","text":"TemporaryFile(/tmp/multipartBody1613721084373873366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795430319,"filename":"image_13012025_20_09_02_528803_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dd2e05e0030991f062657ad72e627184.jpg","text":"TemporaryFile(/tmp/multipartBody6277772340168148759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795430319,"filename":"image_13012025_20_09_02_528803_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cf8a026040c7df087f5e8e47c3722bcd.jpg","text":"TemporaryFile(/tmp/multipartBody8991495140570651355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795430319,"filename":"image_13012025_20_08_02_352930_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328686186","file1":"1328686182","file0":"1328686173"},"map_files_photo_id_array":[{"photo_id":"1328686186","filename":"file2"},{"photo_id":"1328686182","filename":"file1"},{"photo_id":"1328686173","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328686186":["hashtag1","hashtag2"]},{"1328686182":["hashtag1","hashtag2"]},{"1328686173":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328686186, 1328686182, 1328686173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.90863275527954 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:10:02.995406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:10:22.738798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/09/image_13012025_20_09_02_528803_0002.jpg', '/home/pi/Desktop/images/13012025/20/10/image_13012025_20_10_02_849824_0000.jpg', '/home/pi/Desktop/images/13012025/20/10/image_13012025_20_10_02_849824_0001.jpg', '/home/pi/Desktop/images/13012025/20/10/image_13012025_20_10_02_849824_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/09/image_13012025_20_09_02_528803_0002.jpg
/home/pi/Desktop/images/13012025/20/10/image_13012025_20_10_02_849824_0000.jpg
/home/pi/Desktop/images/13012025/20/10/image_13012025_20_10_02_849824_0001.jpg
/home/pi/Desktop/images/13012025/20/10/image_13012025_20_10_02_849824_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328686223","1328686229","1328686225","1328686227"],"photo_ids_order":["1328686223","1328686225","1328686227","1328686229"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ca7ca047980fd84804859cba5b52e70a.jpg","text":"TemporaryFile(/tmp/multipartBody6312074378912700340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795492893,"filename":"image_13012025_20_09_02_528803_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/db34d54c0382e5e18eaa12f0f725dca8.jpg","text":"TemporaryFile(/tmp/multipartBody6247646445661915362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795492893,"filename":"image_13012025_20_10_02_849824_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/71336076bdfa9b4c3d0c93ac732c03ba.jpg","text":"TemporaryFile(/tmp/multipartBody8291183655022231115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795492893,"filename":"image_13012025_20_10_02_849824_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4f8c37d8d1edd57b4b34f9e8cbc1dfb7.jpg","text":"TemporaryFile(/tmp/multipartBody7764433538143824931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795492893,"filename":"image_13012025_20_10_02_849824_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328686227","file1":"1328686225","file0":"1328686223","file3":"1328686229"},"map_files_photo_id_array":[{"photo_id":"1328686227","filename":"file2"},{"photo_id":"1328686225","filename":"file1"},{"photo_id":"1328686223","filename":"file0"},{"photo_id":"1328686229","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328686223":["hashtag1","hashtag2"]},{"1328686229":["hashtag1","hashtag2"]},{"1328686225":["hashtag1","hashtag2"]},{"1328686227":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328686223, 1328686229, 1328686225, 1328686227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.7775559425354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:11:21.911924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/10/image_13012025_20_10_02_849824_0003.jpg', '/home/pi/Desktop/images/13012025/20/11/image_13012025_20_11_03_016389_0000.jpg', '/home/pi/Desktop/images/13012025/20/11/image_13012025_20_11_03_016389_0001.jpg', '/home/pi/Desktop/images/13012025/20/11/image_13012025_20_11_03_016389_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/10/image_13012025_20_10_02_849824_0003.jpg
/home/pi/Desktop/images/13012025/20/11/image_13012025_20_11_03_016389_0000.jpg
/home/pi/Desktop/images/13012025/20/11/image_13012025_20_11_03_016389_0001.jpg
/home/pi/Desktop/images/13012025/20/11/image_13012025_20_11_03_016389_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328686256","1328686250","1328686253","1328686255"],"photo_ids_order":["1328686250","1328686253","1328686255","1328686256"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/54337e2da5bc18308cd42d891cadad62.jpg","text":"TemporaryFile(/tmp/multipartBody3222643097854688318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795552043,"filename":"image_13012025_20_11_03_016389_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8354f18ea8abfa26db98f208f06d72e6.jpg","text":"TemporaryFile(/tmp/multipartBody2046566929496015919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795552043,"filename":"image_13012025_20_10_02_849824_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dacd6d1cd16d068a5d6cc132d25eddb3.jpg","text":"TemporaryFile(/tmp/multipartBody3779669978534357390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795552043,"filename":"image_13012025_20_11_03_016389_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/855783a2348bbb7feaeeb8754b1fb568.jpg","text":"TemporaryFile(/tmp/multipartBody4686946944898289357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795552043,"filename":"image_13012025_20_11_03_016389_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328686255","file1":"1328686253","file0":"1328686250","file3":"1328686256"},"map_files_photo_id_array":[{"photo_id":"1328686255","filename":"file2"},{"photo_id":"1328686253","filename":"file1"},{"photo_id":"1328686250","filename":"file0"},{"photo_id":"1328686256","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328686256":["hashtag1","hashtag2"]},{"1328686250":["hashtag1","hashtag2"]},{"1328686253":["hashtag1","hashtag2"]},{"1328686255":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328686256, 1328686250, 1328686253, 1328686255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.937071323394775 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:12:02.523188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:12:22.072880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/11/image_13012025_20_11_03_016389_0003.jpg', '/home/pi/Desktop/images/13012025/20/12/image_13012025_20_12_02_179742_0000.jpg', '/home/pi/Desktop/images/13012025/20/12/image_13012025_20_12_02_179742_0001.jpg', '/home/pi/Desktop/images/13012025/20/12/image_13012025_20_12_02_179742_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/11/image_13012025_20_11_03_016389_0003.jpg
/home/pi/Desktop/images/13012025/20/12/image_13012025_20_12_02_179742_0000.jpg
/home/pi/Desktop/images/13012025/20/12/image_13012025_20_12_02_179742_0001.jpg
/home/pi/Desktop/images/13012025/20/12/image_13012025_20_12_02_179742_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.907697677612305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 20:12:42.018438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/11/image_13012025_20_11_03_016389_0003.jpg', '/home/pi/Desktop/images/13012025/20/12/image_13012025_20_12_02_179742_0000.jpg', '/home/pi/Desktop/images/13012025/20/12/image_13012025_20_12_02_179742_0001.jpg', '/home/pi/Desktop/images/13012025/20/12/image_13012025_20_12_02_179742_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/11/image_13012025_20_11_03_016389_0003.jpg
/home/pi/Desktop/images/13012025/20/12/image_13012025_20_12_02_179742_0000.jpg
/home/pi/Desktop/images/13012025/20/12/image_13012025_20_12_02_179742_0001.jpg
/home/pi/Desktop/images/13012025/20/12/image_13012025_20_12_02_179742_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328686340","1328686325","1328686327","1328686330"],"photo_ids_order":["1328686325","1328686327","1328686330","1328686340"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/462a5da238e9d71fa062e0513a3f9a6c.jpg","text":"TemporaryFile(/tmp/multipartBody7373961202961504745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795632257,"filename":"image_13012025_20_12_02_179742_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e45b4e6b5cff8b7ddf3a08590902b090.jpg","text":"TemporaryFile(/tmp/multipartBody1312397773298468965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795632257,"filename":"image_13012025_20_11_03_016389_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/87f2d6ac6fb00ecf0aef9d46d23a7f00.jpg","text":"TemporaryFile(/tmp/multipartBody2760784960576220763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795632257,"filename":"image_13012025_20_12_02_179742_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7c24cb8923f38731a0294a9bde3697d0.jpg","text":"TemporaryFile(/tmp/multipartBody2942968962983570643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795632257,"filename":"image_13012025_20_12_02_179742_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328686330","file1":"1328686327","file0":"1328686325","file3":"1328686340"},"map_files_photo_id_array":[{"photo_id":"1328686330","filename":"file2"},{"photo_id":"1328686327","filename":"file1"},{"photo_id":"1328686325","filename":"file0"},{"photo_id":"1328686340","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328686340":["hashtag1","hashtag2"]},{"1328686325":["hashtag1","hashtag2"]},{"1328686327":["hashtag1","hashtag2"]},{"1328686330":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328686340, 1328686325, 1328686327, 1328686330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.427738428115845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:13:22.236930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/12/image_13012025_20_12_02_179742_0003.jpg', '/home/pi/Desktop/images/13012025/20/13/image_13012025_20_13_02_363140_0000.jpg', '/home/pi/Desktop/images/13012025/20/13/image_13012025_20_13_02_363140_0001.jpg', '/home/pi/Desktop/images/13012025/20/13/image_13012025_20_13_02_363140_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/12/image_13012025_20_12_02_179742_0003.jpg
/home/pi/Desktop/images/13012025/20/13/image_13012025_20_13_02_363140_0000.jpg
/home/pi/Desktop/images/13012025/20/13/image_13012025_20_13_02_363140_0001.jpg
/home/pi/Desktop/images/13012025/20/13/image_13012025_20_13_02_363140_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328686373","1328686376","1328686377","1328686368"],"photo_ids_order":["1328686368","1328686373","1328686376","1328686377"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/795a18954e5e146d7c6a522c6230c252.jpg","text":"TemporaryFile(/tmp/multipartBody3235120064950506346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795672418,"filename":"image_13012025_20_13_02_363140_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0973622370fd8d8d293e37fa3faa8147.jpg","text":"TemporaryFile(/tmp/multipartBody2145995280235673217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795672418,"filename":"image_13012025_20_13_02_363140_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c8aa1fa3158e82dbc20e78b7af787d1b.jpg","text":"TemporaryFile(/tmp/multipartBody3014155314957427857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795672418,"filename":"image_13012025_20_13_02_363140_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/26598dffff20a040c281cc8de402875a.jpg","text":"TemporaryFile(/tmp/multipartBody4450237450665766005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795672418,"filename":"image_13012025_20_12_02_179742_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328686376","file1":"1328686373","file0":"1328686368","file3":"1328686377"},"map_files_photo_id_array":[{"photo_id":"1328686376","filename":"file2"},{"photo_id":"1328686373","filename":"file1"},{"photo_id":"1328686368","filename":"file0"},{"photo_id":"1328686377","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328686373":["hashtag1","hashtag2"]},{"1328686376":["hashtag1","hashtag2"]},{"1328686377":["hashtag1","hashtag2"]},{"1328686368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328686373, 1328686376, 1328686377, 1328686368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.42115044593811 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:14:22.456397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/13/image_13012025_20_13_02_363140_0003.jpg', '/home/pi/Desktop/images/13012025/20/14/image_13012025_20_14_02_638003_0000.jpg', '/home/pi/Desktop/images/13012025/20/14/image_13012025_20_14_02_638003_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/13/image_13012025_20_13_02_363140_0003.jpg
/home/pi/Desktop/images/13012025/20/14/image_13012025_20_14_02_638003_0000.jpg
/home/pi/Desktop/images/13012025/20/14/image_13012025_20_14_02_638003_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328686400","1328686405","1328686395"],"photo_ids_order":["1328686395","1328686400","1328686405"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6a37cacd05f293ed5dc3244e708c9037.jpg","text":"TemporaryFile(/tmp/multipartBody5459379736173270327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795730148,"filename":"image_13012025_20_14_02_638003_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/47f18f72ec15bfa8245658a2b6727a47.jpg","text":"TemporaryFile(/tmp/multipartBody2307755207526534361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795730148,"filename":"image_13012025_20_14_02_638003_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5dc08c612e081086c0d3f5bdde12fe02.jpg","text":"TemporaryFile(/tmp/multipartBody1107811331455314956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795730148,"filename":"image_13012025_20_13_02_363140_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328686405","file1":"1328686400","file0":"1328686395"},"map_files_photo_id_array":[{"photo_id":"1328686405","filename":"file2"},{"photo_id":"1328686400","filename":"file1"},{"photo_id":"1328686395","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328686400":["hashtag1","hashtag2"]},{"1328686405":["hashtag1","hashtag2"]},{"1328686395":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328686400, 1328686405, 1328686395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.39392113685608 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:15:03.163725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:15:22.554348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/14/image_13012025_20_14_02_638003_0003.jpg', '/home/pi/Desktop/images/13012025/20/15/image_13012025_20_15_02_750803_0000.jpg', '/home/pi/Desktop/images/13012025/20/15/image_13012025_20_15_02_750803_0001.jpg', '/home/pi/Desktop/images/13012025/20/15/image_13012025_20_15_02_750803_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/14/image_13012025_20_14_02_638003_0003.jpg
/home/pi/Desktop/images/13012025/20/15/image_13012025_20_15_02_750803_0000.jpg
/home/pi/Desktop/images/13012025/20/15/image_13012025_20_15_02_750803_0001.jpg
/home/pi/Desktop/images/13012025/20/15/image_13012025_20_15_02_750803_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328686595","1328686602","1328686592","1328686599"],"photo_ids_order":["1328686592","1328686595","1328686599","1328686602"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e542508fa390438f8ec303707910ab32.jpg","text":"TemporaryFile(/tmp/multipartBody6656992462261514986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795792655,"filename":"image_13012025_20_15_02_750803_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e0f6bbcb1b7226bb1e618ef33dfc324f.jpg","text":"TemporaryFile(/tmp/multipartBody1384223979022513887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795792655,"filename":"image_13012025_20_15_02_750803_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/83d9d9b8a5fda97d0313e7f1a3fb8ed0.jpg","text":"TemporaryFile(/tmp/multipartBody5431530758038806791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795792655,"filename":"image_13012025_20_14_02_638003_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c88134be36e7983626fe750f84727517.jpg","text":"TemporaryFile(/tmp/multipartBody7458938245366069237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795792655,"filename":"image_13012025_20_15_02_750803_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328686599","file1":"1328686595","file0":"1328686592","file3":"1328686602"},"map_files_photo_id_array":[{"photo_id":"1328686599","filename":"file2"},{"photo_id":"1328686595","filename":"file1"},{"photo_id":"1328686592","filename":"file0"},{"photo_id":"1328686602","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328686595":["hashtag1","hashtag2"]},{"1328686602":["hashtag1","hashtag2"]},{"1328686592":["hashtag1","hashtag2"]},{"1328686599":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328686595, 1328686602, 1328686592, 1328686599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.289746046066284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:16:22.830875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/15/image_13012025_20_15_02_750803_0003.jpg', '/home/pi/Desktop/images/13012025/20/16/image_13012025_20_16_02_992666_0000.jpg', '/home/pi/Desktop/images/13012025/20/16/image_13012025_20_16_02_992666_0001.jpg', '/home/pi/Desktop/images/13012025/20/16/image_13012025_20_16_02_992666_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/15/image_13012025_20_15_02_750803_0003.jpg
/home/pi/Desktop/images/13012025/20/16/image_13012025_20_16_02_992666_0000.jpg
/home/pi/Desktop/images/13012025/20/16/image_13012025_20_16_02_992666_0001.jpg
/home/pi/Desktop/images/13012025/20/16/image_13012025_20_16_02_992666_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328686651","1328686641","1328686635","1328686638"],"photo_ids_order":["1328686635","1328686638","1328686641","1328686651"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/398253e22db0d61af663d056dd91144b.jpg","text":"TemporaryFile(/tmp/multipartBody2151442050352544312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795852848,"filename":"image_13012025_20_16_02_992666_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a84f68944aa7319d55062f778f7ebd29.jpg","text":"TemporaryFile(/tmp/multipartBody3878576041589815794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795852848,"filename":"image_13012025_20_16_02_992666_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aa89fb2e2095aff78512acbbcc1eae68.jpg","text":"TemporaryFile(/tmp/multipartBody1671142426391874242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795852848,"filename":"image_13012025_20_15_02_750803_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5043bc3659cb1f68ebd4e83c26257a81.jpg","text":"TemporaryFile(/tmp/multipartBody7108693561920027223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795852848,"filename":"image_13012025_20_16_02_992666_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328686641","file1":"1328686638","file0":"1328686635","file3":"1328686651"},"map_files_photo_id_array":[{"photo_id":"1328686641","filename":"file2"},{"photo_id":"1328686638","filename":"file1"},{"photo_id":"1328686635","filename":"file0"},{"photo_id":"1328686651","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328686651":["hashtag1","hashtag2"]},{"1328686641":["hashtag1","hashtag2"]},{"1328686635":["hashtag1","hashtag2"]},{"1328686638":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328686651, 1328686641, 1328686635, 1328686638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.60527539253235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:17:21.988343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/16/image_13012025_20_16_02_992666_0003.jpg', '/home/pi/Desktop/images/13012025/20/17/image_13012025_20_17_03_077276_0000.jpg', '/home/pi/Desktop/images/13012025/20/17/image_13012025_20_17_03_077276_0001.jpg', '/home/pi/Desktop/images/13012025/20/17/image_13012025_20_17_03_077276_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/16/image_13012025_20_16_02_992666_0003.jpg
/home/pi/Desktop/images/13012025/20/17/image_13012025_20_17_03_077276_0000.jpg
/home/pi/Desktop/images/13012025/20/17/image_13012025_20_17_03_077276_0001.jpg
/home/pi/Desktop/images/13012025/20/17/image_13012025_20_17_03_077276_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328686718","1328686720","1328686714","1328686716"],"photo_ids_order":["1328686714","1328686716","1328686718","1328686720"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e5fe600924a084c43569a477348aa23f.jpg","text":"TemporaryFile(/tmp/multipartBody3455281673083114921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795912195,"filename":"image_13012025_20_17_03_077276_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f7042abecf6a97b65455276446a034df.jpg","text":"TemporaryFile(/tmp/multipartBody2253306885049511860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795912195,"filename":"image_13012025_20_17_03_077276_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/84166fcd87293cd2482fbfb4a568232b.jpg","text":"TemporaryFile(/tmp/multipartBody3039688463828513405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795912195,"filename":"image_13012025_20_16_02_992666_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e4a51b57800eda0b9120f253eb0684b6.jpg","text":"TemporaryFile(/tmp/multipartBody8714099191654734245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795912195,"filename":"image_13012025_20_17_03_077276_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328686718","file1":"1328686716","file0":"1328686714","file3":"1328686720"},"map_files_photo_id_array":[{"photo_id":"1328686718","filename":"file2"},{"photo_id":"1328686716","filename":"file1"},{"photo_id":"1328686714","filename":"file0"},{"photo_id":"1328686720","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328686718":["hashtag1","hashtag2"]},{"1328686720":["hashtag1","hashtag2"]},{"1328686714":["hashtag1","hashtag2"]},{"1328686716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328686718, 1328686720, 1328686714, 1328686716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.701451778411865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:18:02.418030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:18:22.110523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/17/image_13012025_20_17_03_077276_0003.jpg', '/home/pi/Desktop/images/13012025/20/18/image_13012025_20_18_02_372997_0000.jpg', '/home/pi/Desktop/images/13012025/20/18/image_13012025_20_18_02_372997_0001.jpg', '/home/pi/Desktop/images/13012025/20/18/image_13012025_20_18_02_372997_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/17/image_13012025_20_17_03_077276_0003.jpg
/home/pi/Desktop/images/13012025/20/18/image_13012025_20_18_02_372997_0000.jpg
/home/pi/Desktop/images/13012025/20/18/image_13012025_20_18_02_372997_0001.jpg
/home/pi/Desktop/images/13012025/20/18/image_13012025_20_18_02_372997_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328686745","1328686753","1328686779","1328686758"],"photo_ids_order":["1328686745","1328686753","1328686758","1328686779"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a349629e4e3ebc72c56142106e57773c.jpg","text":"TemporaryFile(/tmp/multipartBody5582336714572163060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795972173,"filename":"image_13012025_20_17_03_077276_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aea4238fad986925bb411ffebb159d90.jpg","text":"TemporaryFile(/tmp/multipartBody709949175460678278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795972173,"filename":"image_13012025_20_18_02_372997_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0a10749672a2093d4cd81ed65d0816fc.jpg","text":"TemporaryFile(/tmp/multipartBody5665086847270734431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795972173,"filename":"image_13012025_20_18_02_372997_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0686c32ad6d7389124002bebcfb12af4.jpg","text":"TemporaryFile(/tmp/multipartBody3681553794677497205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736795972173,"filename":"image_13012025_20_18_02_372997_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328686758","file1":"1328686753","file0":"1328686745","file3":"1328686779"},"map_files_photo_id_array":[{"photo_id":"1328686758","filename":"file2"},{"photo_id":"1328686753","filename":"file1"},{"photo_id":"1328686745","filename":"file0"},{"photo_id":"1328686779","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328686745":["hashtag1","hashtag2"]},{"1328686753":["hashtag1","hashtag2"]},{"1328686779":["hashtag1","hashtag2"]},{"1328686758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328686745, 1328686753, 1328686779, 1328686758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.34689378738403 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:19:03.001934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:19:22.313450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/18/image_13012025_20_18_02_372997_0003.jpg', '/home/pi/Desktop/images/13012025/20/19/image_13012025_20_19_02_440630_0000.jpg', '/home/pi/Desktop/images/13012025/20/19/image_13012025_20_19_02_440630_0001.jpg', '/home/pi/Desktop/images/13012025/20/19/image_13012025_20_19_02_440630_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/18/image_13012025_20_18_02_372997_0003.jpg
/home/pi/Desktop/images/13012025/20/19/image_13012025_20_19_02_440630_0000.jpg
/home/pi/Desktop/images/13012025/20/19/image_13012025_20_19_02_440630_0001.jpg
/home/pi/Desktop/images/13012025/20/19/image_13012025_20_19_02_440630_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328686877","1328686871","1328686853","1328686882"],"photo_ids_order":["1328686853","1328686871","1328686877","1328686882"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/055a6d60e5f4a24f74fec5045dd3ae30.jpg","text":"TemporaryFile(/tmp/multipartBody4696131953308108260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796032458,"filename":"image_13012025_20_19_02_440630_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/04052f31d35bec6fbba550b1e8ed440a.jpg","text":"TemporaryFile(/tmp/multipartBody5704630342914171969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796032458,"filename":"image_13012025_20_19_02_440630_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8f0bfd4d9289083d75430e4031c40438.jpg","text":"TemporaryFile(/tmp/multipartBody8357084540287561740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796032458,"filename":"image_13012025_20_18_02_372997_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c407454a7c99e4e485f64d9aa7b89a84.jpg","text":"TemporaryFile(/tmp/multipartBody6882458811950544476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796032458,"filename":"image_13012025_20_19_02_440630_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328686877","file1":"1328686871","file0":"1328686853","file3":"1328686882"},"map_files_photo_id_array":[{"photo_id":"1328686877","filename":"file2"},{"photo_id":"1328686871","filename":"file1"},{"photo_id":"1328686853","filename":"file0"},{"photo_id":"1328686882","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328686877":["hashtag1","hashtag2"]},{"1328686871":["hashtag1","hashtag2"]},{"1328686853":["hashtag1","hashtag2"]},{"1328686882":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328686877, 1328686871, 1328686853, 1328686882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.18809151649475 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:20:22.479216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/19/image_13012025_20_19_02_440630_0003.jpg', '/home/pi/Desktop/images/13012025/20/20/image_13012025_20_20_02_751781_0000.jpg', '/home/pi/Desktop/images/13012025/20/20/image_13012025_20_20_02_751781_0001.jpg', '/home/pi/Desktop/images/13012025/20/20/image_13012025_20_20_02_751781_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/19/image_13012025_20_19_02_440630_0003.jpg
/home/pi/Desktop/images/13012025/20/20/image_13012025_20_20_02_751781_0000.jpg
/home/pi/Desktop/images/13012025/20/20/image_13012025_20_20_02_751781_0001.jpg
/home/pi/Desktop/images/13012025/20/20/image_13012025_20_20_02_751781_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328687048","1328687062","1328687044","1328687052"],"photo_ids_order":["1328687044","1328687048","1328687052","1328687062"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9ded59a2455ad4f628771b0a48759679.jpg","text":"TemporaryFile(/tmp/multipartBody5380267187498919149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796092597,"filename":"image_13012025_20_20_02_751781_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0eed4b0439b24645b3fae5fed1d1d0b4.jpg","text":"TemporaryFile(/tmp/multipartBody4025636204525936114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796092597,"filename":"image_13012025_20_20_02_751781_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/832940e6d865d57cd66193cb86998b69.jpg","text":"TemporaryFile(/tmp/multipartBody2973490405406268843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796092597,"filename":"image_13012025_20_19_02_440630_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b4d412f1ac869147918878f69085c098.jpg","text":"TemporaryFile(/tmp/multipartBody9064176614390781884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796092597,"filename":"image_13012025_20_20_02_751781_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328687052","file1":"1328687048","file0":"1328687044","file3":"1328687062"},"map_files_photo_id_array":[{"photo_id":"1328687052","filename":"file2"},{"photo_id":"1328687048","filename":"file1"},{"photo_id":"1328687044","filename":"file0"},{"photo_id":"1328687062","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328687048":["hashtag1","hashtag2"]},{"1328687062":["hashtag1","hashtag2"]},{"1328687044":["hashtag1","hashtag2"]},{"1328687052":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328687048, 1328687062, 1328687044, 1328687052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.90341830253601 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:21:03.154666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:21:22.536177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/20/image_13012025_20_20_02_751781_0003.jpg', '/home/pi/Desktop/images/13012025/20/21/image_13012025_20_21_02_843792_0000.jpg', '/home/pi/Desktop/images/13012025/20/21/image_13012025_20_21_02_843792_0001.jpg', '/home/pi/Desktop/images/13012025/20/21/image_13012025_20_21_02_843792_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/20/image_13012025_20_20_02_751781_0003.jpg
/home/pi/Desktop/images/13012025/20/21/image_13012025_20_21_02_843792_0000.jpg
/home/pi/Desktop/images/13012025/20/21/image_13012025_20_21_02_843792_0001.jpg
/home/pi/Desktop/images/13012025/20/21/image_13012025_20_21_02_843792_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328687094","1328687088","1328687082","1328687076"],"photo_ids_order":["1328687076","1328687082","1328687088","1328687094"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3684c680bea89af33d6795d29fd95d46.jpg","text":"TemporaryFile(/tmp/multipartBody3812122852968526879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796152699,"filename":"image_13012025_20_21_02_843792_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cb6481ef39ced0fe16ddab89fb296d07.jpg","text":"TemporaryFile(/tmp/multipartBody6942211614393654835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796152699,"filename":"image_13012025_20_21_02_843792_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/41066f9c5d1218a6f3c77e05b13f1fd4.jpg","text":"TemporaryFile(/tmp/multipartBody5101699377321285725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796152699,"filename":"image_13012025_20_21_02_843792_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7d984779d16b980d2887eca552c95f5f.jpg","text":"TemporaryFile(/tmp/multipartBody7445602897526176598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796152699,"filename":"image_13012025_20_20_02_751781_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328687088","file1":"1328687082","file0":"1328687076","file3":"1328687094"},"map_files_photo_id_array":[{"photo_id":"1328687088","filename":"file2"},{"photo_id":"1328687082","filename":"file1"},{"photo_id":"1328687076","filename":"file0"},{"photo_id":"1328687094","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328687094":["hashtag1","hashtag2"]},{"1328687088":["hashtag1","hashtag2"]},{"1328687082":["hashtag1","hashtag2"]},{"1328687076":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328687094, 1328687088, 1328687082, 1328687076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.74057173728943 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:22:21.805205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/21/image_13012025_20_21_02_843792_0003.jpg', '/home/pi/Desktop/images/13012025/20/22/image_13012025_20_22_03_028914_0000.jpg', '/home/pi/Desktop/images/13012025/20/22/image_13012025_20_22_03_028914_0001.jpg', '/home/pi/Desktop/images/13012025/20/22/image_13012025_20_22_03_028914_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/21/image_13012025_20_21_02_843792_0003.jpg
/home/pi/Desktop/images/13012025/20/22/image_13012025_20_22_03_028914_0000.jpg
/home/pi/Desktop/images/13012025/20/22/image_13012025_20_22_03_028914_0001.jpg
/home/pi/Desktop/images/13012025/20/22/image_13012025_20_22_03_028914_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328687165","1328687158","1328687173","1328687152"],"photo_ids_order":["1328687152","1328687158","1328687165","1328687173"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/de3a69e0fc9bb08d646133b5e4574244.jpg","text":"TemporaryFile(/tmp/multipartBody473684401787294791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796211884,"filename":"image_13012025_20_22_03_028914_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5d8c0a1b754c2d4c6c34fb6c6dfdb962.jpg","text":"TemporaryFile(/tmp/multipartBody3784062504471923001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796211884,"filename":"image_13012025_20_22_03_028914_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bc33cfaaf04b461d72727ace3144851f.jpg","text":"TemporaryFile(/tmp/multipartBody3068257790157586854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796211884,"filename":"image_13012025_20_22_03_028914_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/913c7cec4849280001e898d6faad68b7.jpg","text":"TemporaryFile(/tmp/multipartBody8351423912378474931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796211884,"filename":"image_13012025_20_21_02_843792_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328687165","file1":"1328687158","file0":"1328687152","file3":"1328687173"},"map_files_photo_id_array":[{"photo_id":"1328687165","filename":"file2"},{"photo_id":"1328687158","filename":"file1"},{"photo_id":"1328687152","filename":"file0"},{"photo_id":"1328687173","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328687165":["hashtag1","hashtag2"]},{"1328687158":["hashtag1","hashtag2"]},{"1328687173":["hashtag1","hashtag2"]},{"1328687152":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328687165, 1328687158, 1328687173, 1328687152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.47224164009094 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:23:02.531124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:23:21.991735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/22/image_13012025_20_22_03_028914_0003.jpg', '/home/pi/Desktop/images/13012025/20/23/image_13012025_20_23_02_153931_0000.jpg', '/home/pi/Desktop/images/13012025/20/23/image_13012025_20_23_02_153931_0001.jpg', '/home/pi/Desktop/images/13012025/20/23/image_13012025_20_23_02_153931_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/22/image_13012025_20_22_03_028914_0003.jpg
/home/pi/Desktop/images/13012025/20/23/image_13012025_20_23_02_153931_0000.jpg
/home/pi/Desktop/images/13012025/20/23/image_13012025_20_23_02_153931_0001.jpg
/home/pi/Desktop/images/13012025/20/23/image_13012025_20_23_02_153931_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328687194","1328687188","1328687209","1328687202"],"photo_ids_order":["1328687188","1328687194","1328687202","1328687209"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/488a10641f58b1164706812bc41e8e37.jpg","text":"TemporaryFile(/tmp/multipartBody6881152517688216236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796272191,"filename":"image_13012025_20_23_02_153931_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/73aef29697b7d2d10b49d6663b0b0084.jpg","text":"TemporaryFile(/tmp/multipartBody5631775962377052790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796272191,"filename":"image_13012025_20_22_03_028914_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7f5e5be70e77423d134c22a7cdc16309.jpg","text":"TemporaryFile(/tmp/multipartBody3449731108196317424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796272191,"filename":"image_13012025_20_23_02_153931_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/62583a49d8bb792f3f9cd83e3fdc933c.jpg","text":"TemporaryFile(/tmp/multipartBody5804356277893286256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796272191,"filename":"image_13012025_20_23_02_153931_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328687202","file1":"1328687194","file0":"1328687188","file3":"1328687209"},"map_files_photo_id_array":[{"photo_id":"1328687202","filename":"file2"},{"photo_id":"1328687194","filename":"file1"},{"photo_id":"1328687188","filename":"file0"},{"photo_id":"1328687209","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328687194":["hashtag1","hashtag2"]},{"1328687188":["hashtag1","hashtag2"]},{"1328687209":["hashtag1","hashtag2"]},{"1328687202":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328687194, 1328687188, 1328687209, 1328687202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.403499126434326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:24:02.523211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:24:22.137483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/23/image_13012025_20_23_02_153931_0003.jpg', '/home/pi/Desktop/images/13012025/20/24/image_13012025_20_24_02_439500_0000.jpg', '/home/pi/Desktop/images/13012025/20/24/image_13012025_20_24_02_439500_0001.jpg', '/home/pi/Desktop/images/13012025/20/24/image_13012025_20_24_02_439500_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/23/image_13012025_20_23_02_153931_0003.jpg
/home/pi/Desktop/images/13012025/20/24/image_13012025_20_24_02_439500_0000.jpg
/home/pi/Desktop/images/13012025/20/24/image_13012025_20_24_02_439500_0001.jpg
/home/pi/Desktop/images/13012025/20/24/image_13012025_20_24_02_439500_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328687249","1328687253","1328687279","1328687264"],"photo_ids_order":["1328687249","1328687253","1328687264","1328687279"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/77f5d65750d278654d982e7a31a59146.jpg","text":"TemporaryFile(/tmp/multipartBody6414814249687954262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796332250,"filename":"image_13012025_20_23_02_153931_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ad8b76df74c347dcf469948df41d67ff.jpg","text":"TemporaryFile(/tmp/multipartBody1716202181940218099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796332250,"filename":"image_13012025_20_24_02_439500_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6f80431657ecf18ffe74d92a641a6ef9.jpg","text":"TemporaryFile(/tmp/multipartBody5999928119281075399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796332250,"filename":"image_13012025_20_24_02_439500_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2aaf55c32d5f752da02ff21cd0a5f4d0.jpg","text":"TemporaryFile(/tmp/multipartBody605964827597148853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796332250,"filename":"image_13012025_20_24_02_439500_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328687264","file1":"1328687253","file0":"1328687249","file3":"1328687279"},"map_files_photo_id_array":[{"photo_id":"1328687264","filename":"file2"},{"photo_id":"1328687253","filename":"file1"},{"photo_id":"1328687249","filename":"file0"},{"photo_id":"1328687279","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328687249":["hashtag1","hashtag2"]},{"1328687253":["hashtag1","hashtag2"]},{"1328687279":["hashtag1","hashtag2"]},{"1328687264":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328687249, 1328687253, 1328687279, 1328687264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.12914776802063 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:25:02.946587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:25:22.359525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/24/image_13012025_20_24_02_439500_0003.jpg', '/home/pi/Desktop/images/13012025/20/25/image_13012025_20_25_02_452006_0000.jpg', '/home/pi/Desktop/images/13012025/20/25/image_13012025_20_25_02_452006_0001.jpg', '/home/pi/Desktop/images/13012025/20/25/image_13012025_20_25_02_452006_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/24/image_13012025_20_24_02_439500_0003.jpg
/home/pi/Desktop/images/13012025/20/25/image_13012025_20_25_02_452006_0000.jpg
/home/pi/Desktop/images/13012025/20/25/image_13012025_20_25_02_452006_0001.jpg
/home/pi/Desktop/images/13012025/20/25/image_13012025_20_25_02_452006_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328687303","1328687299","1328687307","1328687378"],"photo_ids_order":["1328687299","1328687303","1328687307","1328687378"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6ba8506323dfcb3b001b8ae696dd5222.jpg","text":"TemporaryFile(/tmp/multipartBody2798085902073240143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796392543,"filename":"image_13012025_20_25_02_452006_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3cc17cd6cc086c14d202395fbd5f4431.jpg","text":"TemporaryFile(/tmp/multipartBody8429737224387650391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796392543,"filename":"image_13012025_20_24_02_439500_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/56fb5b157b3c9f1146e86fe974863ba2.jpg","text":"TemporaryFile(/tmp/multipartBody196702120608624708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796392543,"filename":"image_13012025_20_25_02_452006_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6382899d8c12bd243e1414cd27b21258.jpg","text":"TemporaryFile(/tmp/multipartBody8832179775745401892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796392543,"filename":"image_13012025_20_25_02_452006_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328687307","file1":"1328687303","file0":"1328687299","file3":"1328687378"},"map_files_photo_id_array":[{"photo_id":"1328687307","filename":"file2"},{"photo_id":"1328687303","filename":"file1"},{"photo_id":"1328687299","filename":"file0"},{"photo_id":"1328687378","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328687303":["hashtag1","hashtag2"]},{"1328687299":["hashtag1","hashtag2"]},{"1328687307":["hashtag1","hashtag2"]},{"1328687378":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328687303, 1328687299, 1328687307, 1328687378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.08039140701294 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:26:22.502227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/25/image_13012025_20_25_02_452006_0003.jpg', '/home/pi/Desktop/images/13012025/20/26/image_13012025_20_26_02_631427_0000.jpg', '/home/pi/Desktop/images/13012025/20/26/image_13012025_20_26_02_631427_0001.jpg', '/home/pi/Desktop/images/13012025/20/26/image_13012025_20_26_02_631427_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/25/image_13012025_20_25_02_452006_0003.jpg
/home/pi/Desktop/images/13012025/20/26/image_13012025_20_26_02_631427_0000.jpg
/home/pi/Desktop/images/13012025/20/26/image_13012025_20_26_02_631427_0001.jpg
/home/pi/Desktop/images/13012025/20/26/image_13012025_20_26_02_631427_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328687473","1328687476","1328687484","1328687481"],"photo_ids_order":["1328687473","1328687476","1328687481","1328687484"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a875babf53dababbc42a7249ffb49bb7.jpg","text":"TemporaryFile(/tmp/multipartBody727435641207859877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796452529,"filename":"image_13012025_20_25_02_452006_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b5d297e3f40bb813eb73fb181afcb4b0.jpg","text":"TemporaryFile(/tmp/multipartBody2446294567464361747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796452529,"filename":"image_13012025_20_26_02_631427_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/757220581fc9f75f024d6f16f40916ac.jpg","text":"TemporaryFile(/tmp/multipartBody7223807650392576619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796452529,"filename":"image_13012025_20_26_02_631427_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eeca2f1059ab91d61a830be27626f414.jpg","text":"TemporaryFile(/tmp/multipartBody4657333935453707122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796452529,"filename":"image_13012025_20_26_02_631427_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328687481","file1":"1328687476","file0":"1328687473","file3":"1328687484"},"map_files_photo_id_array":[{"photo_id":"1328687481","filename":"file2"},{"photo_id":"1328687476","filename":"file1"},{"photo_id":"1328687473","filename":"file0"},{"photo_id":"1328687484","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328687473":["hashtag1","hashtag2"]},{"1328687476":["hashtag1","hashtag2"]},{"1328687484":["hashtag1","hashtag2"]},{"1328687481":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328687473, 1328687476, 1328687484, 1328687481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.640305280685425 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:27:22.591827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/26/image_13012025_20_26_02_631427_0003.jpg', '/home/pi/Desktop/images/13012025/20/27/image_13012025_20_27_02_833525_0001.jpg', '/home/pi/Desktop/images/13012025/20/27/image_13012025_20_27_02_833525_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/26/image_13012025_20_26_02_631427_0003.jpg
/home/pi/Desktop/images/13012025/20/27/image_13012025_20_27_02_833525_0001.jpg
/home/pi/Desktop/images/13012025/20/27/image_13012025_20_27_02_833525_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328687534","1328687554","1328687530"],"photo_ids_order":["1328687530","1328687534","1328687554"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/99d7be2919772e4870e0d8ddfd94771e.jpg","text":"TemporaryFile(/tmp/multipartBody8547462285201106881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796510178,"filename":"image_13012025_20_27_02_833525_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ccb65cacf95f90e0300f15a10ae13817.jpg","text":"TemporaryFile(/tmp/multipartBody8115151101914623391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796510178,"filename":"image_13012025_20_27_02_833525_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3fd06da74b3c0caf7e9173ff3affdfb8.jpg","text":"TemporaryFile(/tmp/multipartBody8994820880254257284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796510178,"filename":"image_13012025_20_26_02_631427_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328687554","file1":"1328687534","file0":"1328687530"},"map_files_photo_id_array":[{"photo_id":"1328687554","filename":"file2"},{"photo_id":"1328687534","filename":"file1"},{"photo_id":"1328687530","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328687534":["hashtag1","hashtag2"]},{"1328687554":["hashtag1","hashtag2"]},{"1328687530":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328687534, 1328687554, 1328687530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.71296787261963 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:28:02.183593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:28:21.844512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/27/image_13012025_20_27_02_833525_0003.jpg', '/home/pi/Desktop/images/13012025/20/28/image_13012025_20_28_02_991908_0000.jpg', '/home/pi/Desktop/images/13012025/20/28/image_13012025_20_28_02_991908_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/27/image_13012025_20_27_02_833525_0003.jpg
/home/pi/Desktop/images/13012025/20/28/image_13012025_20_28_02_991908_0000.jpg
/home/pi/Desktop/images/13012025/20/28/image_13012025_20_28_02_991908_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328687657","1328687653","1328687661"],"photo_ids_order":["1328687653","1328687657","1328687661"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c18f1eed49393364cb00b58d9f160e84.jpg","text":"TemporaryFile(/tmp/multipartBody737339624571782881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796569354,"filename":"image_13012025_20_28_02_991908_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/715e3c027b1801cc65998718dc4fea00.jpg","text":"TemporaryFile(/tmp/multipartBody2224696704350746894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796569354,"filename":"image_13012025_20_27_02_833525_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/72e26b25a589389a6565e823846442e3.jpg","text":"TemporaryFile(/tmp/multipartBody4735452255779639343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796569354,"filename":"image_13012025_20_28_02_991908_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328687661","file1":"1328687657","file0":"1328687653"},"map_files_photo_id_array":[{"photo_id":"1328687661","filename":"file2"},{"photo_id":"1328687657","filename":"file1"},{"photo_id":"1328687653","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328687657":["hashtag1","hashtag2"]},{"1328687653":["hashtag1","hashtag2"]},{"1328687661":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328687657, 1328687653, 1328687661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.00515913963318 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:29:02.566770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:29:21.937947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/28/image_13012025_20_28_02_991908_0003.jpg', '/home/pi/Desktop/images/13012025/20/29/image_13012025_20_29_02_160568_0000.jpg', '/home/pi/Desktop/images/13012025/20/29/image_13012025_20_29_02_160568_0001.jpg', '/home/pi/Desktop/images/13012025/20/29/image_13012025_20_29_02_160568_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/28/image_13012025_20_28_02_991908_0003.jpg
/home/pi/Desktop/images/13012025/20/29/image_13012025_20_29_02_160568_0000.jpg
/home/pi/Desktop/images/13012025/20/29/image_13012025_20_29_02_160568_0001.jpg
/home/pi/Desktop/images/13012025/20/29/image_13012025_20_29_02_160568_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328687698","1328687702","1328687694","1328687700"],"photo_ids_order":["1328687694","1328687698","1328687700","1328687702"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/90838cef83e36f154817a93d6f3d2d35.jpg","text":"TemporaryFile(/tmp/multipartBody8588306458400265556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796631924,"filename":"image_13012025_20_29_02_160568_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a1274738e028c81507e1f29b876a9f70.jpg","text":"TemporaryFile(/tmp/multipartBody3000205419725073511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796631924,"filename":"image_13012025_20_29_02_160568_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/78939039ad556649c7649cd1bd09efac.jpg","text":"TemporaryFile(/tmp/multipartBody6311557910646603690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796631924,"filename":"image_13012025_20_28_02_991908_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/65c127b8c2c040412d0c498d8771a5a2.jpg","text":"TemporaryFile(/tmp/multipartBody3951693641887738648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796631924,"filename":"image_13012025_20_29_02_160568_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328687700","file1":"1328687698","file0":"1328687694","file3":"1328687702"},"map_files_photo_id_array":[{"photo_id":"1328687700","filename":"file2"},{"photo_id":"1328687698","filename":"file1"},{"photo_id":"1328687694","filename":"file0"},{"photo_id":"1328687702","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328687698":["hashtag1","hashtag2"]},{"1328687702":["hashtag1","hashtag2"]},{"1328687694":["hashtag1","hashtag2"]},{"1328687700":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328687698, 1328687702, 1328687694, 1328687700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.598164319992065 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:30:02.624186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:30:22.342676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/29/image_13012025_20_29_02_160568_0003.jpg', '/home/pi/Desktop/images/13012025/20/30/image_13012025_20_30_02_340574_0000.jpg', '/home/pi/Desktop/images/13012025/20/30/image_13012025_20_30_02_340574_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/29/image_13012025_20_29_02_160568_0003.jpg
/home/pi/Desktop/images/13012025/20/30/image_13012025_20_30_02_340574_0000.jpg
/home/pi/Desktop/images/13012025/20/30/image_13012025_20_30_02_340574_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328687896","1328687859","1328687891"],"photo_ids_order":["1328687859","1328687891","1328687896"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1925ee4399251d3cfa84e7a053ed3ff0.jpg","text":"TemporaryFile(/tmp/multipartBody8776096268325303718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796690005,"filename":"image_13012025_20_30_02_340574_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/88c4e28bd8f5664c072107f1f6a531e2.jpg","text":"TemporaryFile(/tmp/multipartBody443478728383364317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796690005,"filename":"image_13012025_20_29_02_160568_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eb8e3a94a009c76a9a4e2ebdd8f26a27.jpg","text":"TemporaryFile(/tmp/multipartBody3285979167885003857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796690005,"filename":"image_13012025_20_30_02_340574_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328687896","file1":"1328687891","file0":"1328687859"},"map_files_photo_id_array":[{"photo_id":"1328687896","filename":"file2"},{"photo_id":"1328687891","filename":"file1"},{"photo_id":"1328687859","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328687896":["hashtag1","hashtag2"]},{"1328687859":["hashtag1","hashtag2"]},{"1328687891":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328687896, 1328687859, 1328687891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.741923093795776 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:31:03.201300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:31:22.521986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/30/image_13012025_20_30_02_340574_0003.jpg', '/home/pi/Desktop/images/13012025/20/31/image_13012025_20_31_02_706568_0000.jpg', '/home/pi/Desktop/images/13012025/20/31/image_13012025_20_31_02_706568_0001.jpg', '/home/pi/Desktop/images/13012025/20/31/image_13012025_20_31_02_706568_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/30/image_13012025_20_30_02_340574_0003.jpg
/home/pi/Desktop/images/13012025/20/31/image_13012025_20_31_02_706568_0000.jpg
/home/pi/Desktop/images/13012025/20/31/image_13012025_20_31_02_706568_0001.jpg
/home/pi/Desktop/images/13012025/20/31/image_13012025_20_31_02_706568_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328687939","1328687935","1328687943","1328687931"],"photo_ids_order":["1328687931","1328687935","1328687939","1328687943"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9e8e1b7532f4e4c96dcb28c082a93d92.jpg","text":"TemporaryFile(/tmp/multipartBody6943780538405447082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796752346,"filename":"image_13012025_20_31_02_706568_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/03d4765a663ff71e721a99265836e66a.jpg","text":"TemporaryFile(/tmp/multipartBody5277851026658581882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796752346,"filename":"image_13012025_20_31_02_706568_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4e2ab158c7f730f3f2859b71f07d9330.jpg","text":"TemporaryFile(/tmp/multipartBody7474681298258388710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796752346,"filename":"image_13012025_20_31_02_706568_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/befce1ccd1a1c8c7e781a3a143321afe.jpg","text":"TemporaryFile(/tmp/multipartBody6116071808908511237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796752346,"filename":"image_13012025_20_30_02_340574_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328687939","file1":"1328687935","file0":"1328687931","file3":"1328687943"},"map_files_photo_id_array":[{"photo_id":"1328687939","filename":"file2"},{"photo_id":"1328687935","filename":"file1"},{"photo_id":"1328687931","filename":"file0"},{"photo_id":"1328687943","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328687939":["hashtag1","hashtag2"]},{"1328687935":["hashtag1","hashtag2"]},{"1328687943":["hashtag1","hashtag2"]},{"1328687931":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328687939, 1328687935, 1328687943, 1328687931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.72503304481506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:32:03.172142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:32:22.620504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/31/image_13012025_20_31_02_706568_0003.jpg', '/home/pi/Desktop/images/13012025/20/32/image_13012025_20_32_02_857437_0001.jpg', '/home/pi/Desktop/images/13012025/20/32/image_13012025_20_32_02_857437_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/31/image_13012025_20_31_02_706568_0003.jpg
/home/pi/Desktop/images/13012025/20/32/image_13012025_20_32_02_857437_0001.jpg
/home/pi/Desktop/images/13012025/20/32/image_13012025_20_32_02_857437_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328688168","1328688162","1328688155"],"photo_ids_order":["1328688155","1328688162","1328688168"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5ff5e57ae43af65c3700b4592ea6a940.jpg","text":"TemporaryFile(/tmp/multipartBody6797062207827405818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796810102,"filename":"image_13012025_20_32_02_857437_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ce7f3901d6713467ccdadf4d20b1267d.jpg","text":"TemporaryFile(/tmp/multipartBody3575470262562088273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796810102,"filename":"image_13012025_20_32_02_857437_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a78d5e4b5e60bb566a078677ed5cdf39.jpg","text":"TemporaryFile(/tmp/multipartBody5835308251591948699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796810102,"filename":"image_13012025_20_31_02_706568_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328688168","file1":"1328688162","file0":"1328688155"},"map_files_photo_id_array":[{"photo_id":"1328688168","filename":"file2"},{"photo_id":"1328688162","filename":"file1"},{"photo_id":"1328688155","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328688168":["hashtag1","hashtag2"]},{"1328688162":["hashtag1","hashtag2"]},{"1328688155":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328688168, 1328688162, 1328688155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.591497659683228 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:33:02.535278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:33:21.903369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/32/image_13012025_20_32_02_857437_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/32/image_13012025_20_32_02_857437_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328688215"],"photo_id":"1328688215","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5c4a0349777bd92f83cec4a7ee450941.jpg","text":"TemporaryFile(/tmp/multipartBody922078577493982602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796864846,"filename":"image_13012025_20_32_02_857437_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1328688215"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1328688215"}],"hashtags":[],"portfolio_id":"19538744","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.068796634674072 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 20:33:41.885456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 20:33:51.796566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:34:02.387990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:34:22.034323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/33/image_13012025_20_33_03_037323_0001.jpg', '/home/pi/Desktop/images/13012025/20/34/image_13012025_20_34_02_223143_0000.jpg', '/home/pi/Desktop/images/13012025/20/34/image_13012025_20_34_02_223143_0001.jpg', '/home/pi/Desktop/images/13012025/20/34/image_13012025_20_34_02_223143_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/33/image_13012025_20_33_03_037323_0001.jpg
/home/pi/Desktop/images/13012025/20/34/image_13012025_20_34_02_223143_0000.jpg
/home/pi/Desktop/images/13012025/20/34/image_13012025_20_34_02_223143_0001.jpg
/home/pi/Desktop/images/13012025/20/34/image_13012025_20_34_02_223143_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328688253","1328688297","1328688312","1328688269"],"photo_ids_order":["1328688253","1328688269","1328688297","1328688312"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eb5b0ed0988896299082ec3dedb61797.jpg","text":"TemporaryFile(/tmp/multipartBody799908884614204452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796931836,"filename":"image_13012025_20_33_03_037323_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1e09df9d9ce3ab4cc51737d8341008b4.jpg","text":"TemporaryFile(/tmp/multipartBody6519845299501473228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796931836,"filename":"image_13012025_20_34_02_223143_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d67bcbd9c9bc6b7f36c9f92117f6f89f.jpg","text":"TemporaryFile(/tmp/multipartBody340058378039112184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796931836,"filename":"image_13012025_20_34_02_223143_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a8694b6425b20bba75ac4f543bb867dc.jpg","text":"TemporaryFile(/tmp/multipartBody7075510363141711618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796931836,"filename":"image_13012025_20_34_02_223143_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328688297","file1":"1328688269","file0":"1328688253","file3":"1328688312"},"map_files_photo_id_array":[{"photo_id":"1328688297","filename":"file2"},{"photo_id":"1328688269","filename":"file1"},{"photo_id":"1328688253","filename":"file0"},{"photo_id":"1328688312","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328688253":["hashtag1","hashtag2"]},{"1328688297":["hashtag1","hashtag2"]},{"1328688312":["hashtag1","hashtag2"]},{"1328688269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328688253, 1328688297, 1328688312, 1328688269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.118125200271606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:35:02.919149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:35:22.185841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/34/image_13012025_20_34_02_223143_0003.jpg', '/home/pi/Desktop/images/13012025/20/35/image_13012025_20_35_02_349806_0001.jpg', '/home/pi/Desktop/images/13012025/20/35/image_13012025_20_35_02_349806_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/34/image_13012025_20_34_02_223143_0003.jpg
/home/pi/Desktop/images/13012025/20/35/image_13012025_20_35_02_349806_0001.jpg
/home/pi/Desktop/images/13012025/20/35/image_13012025_20_35_02_349806_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328688481","1328688475","1328688471"],"photo_ids_order":["1328688471","1328688475","1328688481"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/26da028ee24b06004ed7792b27284e4b.jpg","text":"TemporaryFile(/tmp/multipartBody6083176720521514173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796989651,"filename":"image_13012025_20_35_02_349806_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/84b029725ae42238538c8028f63bdfca.jpg","text":"TemporaryFile(/tmp/multipartBody2313722937855256268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796989651,"filename":"image_13012025_20_35_02_349806_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/510f191616aba94260ae3b1f73a6ee32.jpg","text":"TemporaryFile(/tmp/multipartBody7427022411590663032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736796989651,"filename":"image_13012025_20_34_02_223143_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328688481","file1":"1328688475","file0":"1328688471"},"map_files_photo_id_array":[{"photo_id":"1328688481","filename":"file2"},{"photo_id":"1328688475","filename":"file1"},{"photo_id":"1328688471","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328688481":["hashtag1","hashtag2"]},{"1328688475":["hashtag1","hashtag2"]},{"1328688471":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328688481, 1328688475, 1328688471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.10372304916382 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:36:02.669397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:36:22.357360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/35/image_13012025_20_35_02_349806_0003.jpg', '/home/pi/Desktop/images/13012025/20/36/image_13012025_20_36_02_558194_0001.jpg', '/home/pi/Desktop/images/13012025/20/36/image_13012025_20_36_02_558194_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/35/image_13012025_20_35_02_349806_0003.jpg
/home/pi/Desktop/images/13012025/20/36/image_13012025_20_36_02_558194_0001.jpg
/home/pi/Desktop/images/13012025/20/36/image_13012025_20_36_02_558194_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328688514","1328688510","1328688518"],"photo_ids_order":["1328688510","1328688514","1328688518"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5f461c4900836743ceffc10460c26b1f.jpg","text":"TemporaryFile(/tmp/multipartBody3995134828325430204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797049866,"filename":"image_13012025_20_36_02_558194_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ea89bb37ad03764732c7a2370a2884f7.jpg","text":"TemporaryFile(/tmp/multipartBody3310675302867044253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797049866,"filename":"image_13012025_20_35_02_349806_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/da2ce7abc895be90b94f770d87abf641.jpg","text":"TemporaryFile(/tmp/multipartBody2673093876441592577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797049866,"filename":"image_13012025_20_36_02_558194_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328688518","file1":"1328688514","file0":"1328688510"},"map_files_photo_id_array":[{"photo_id":"1328688518","filename":"file2"},{"photo_id":"1328688514","filename":"file1"},{"photo_id":"1328688510","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328688514":["hashtag1","hashtag2"]},{"1328688510":["hashtag1","hashtag2"]},{"1328688518":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328688514, 1328688510, 1328688518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.461570262908936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:37:03.190760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:37:22.630103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/36/image_13012025_20_36_02_558194_0003.jpg', '/home/pi/Desktop/images/13012025/20/37/image_13012025_20_37_02_709024_0000.jpg', '/home/pi/Desktop/images/13012025/20/37/image_13012025_20_37_02_709024_0001.jpg', '/home/pi/Desktop/images/13012025/20/37/image_13012025_20_37_02_709024_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/36/image_13012025_20_36_02_558194_0003.jpg
/home/pi/Desktop/images/13012025/20/37/image_13012025_20_37_02_709024_0000.jpg
/home/pi/Desktop/images/13012025/20/37/image_13012025_20_37_02_709024_0001.jpg
/home/pi/Desktop/images/13012025/20/37/image_13012025_20_37_02_709024_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328688564","1328688567","1328688572","1328688569"],"photo_ids_order":["1328688564","1328688567","1328688569","1328688572"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5e6c8258fc38feafdf75c7ce90e1fdf2.jpg","text":"TemporaryFile(/tmp/multipartBody1552296803159896742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797112466,"filename":"image_13012025_20_36_02_558194_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a4df5c08d88bb7b233e0eed10dfec1be.jpg","text":"TemporaryFile(/tmp/multipartBody4170719608574549361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797112466,"filename":"image_13012025_20_37_02_709024_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8b0da4d0556b9901e056b1fed926d7b6.jpg","text":"TemporaryFile(/tmp/multipartBody9176089187433408900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797112466,"filename":"image_13012025_20_37_02_709024_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a232280826d8507b50360f7d21c0ab63.jpg","text":"TemporaryFile(/tmp/multipartBody5705394038167740243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797112466,"filename":"image_13012025_20_37_02_709024_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328688569","file1":"1328688567","file0":"1328688564","file3":"1328688572"},"map_files_photo_id_array":[{"photo_id":"1328688569","filename":"file2"},{"photo_id":"1328688567","filename":"file1"},{"photo_id":"1328688564","filename":"file0"},{"photo_id":"1328688572","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328688564":["hashtag1","hashtag2"]},{"1328688567":["hashtag1","hashtag2"]},{"1328688572":["hashtag1","hashtag2"]},{"1328688569":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328688564, 1328688567, 1328688572, 1328688569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.69405508041382 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:38:03.134244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:38:22.792548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/37/image_13012025_20_37_02_709024_0003.jpg', '/home/pi/Desktop/images/13012025/20/38/image_13012025_20_38_02_915768_0001.jpg', '/home/pi/Desktop/images/13012025/20/38/image_13012025_20_38_02_915768_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/37/image_13012025_20_37_02_709024_0003.jpg
/home/pi/Desktop/images/13012025/20/38/image_13012025_20_38_02_915768_0001.jpg
/home/pi/Desktop/images/13012025/20/38/image_13012025_20_38_02_915768_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328688611","1328688605","1328688608"],"photo_ids_order":["1328688605","1328688608","1328688611"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b86aa8b53818dd5ddf3c2f908d0a3d80.jpg","text":"TemporaryFile(/tmp/multipartBody2089225650893648985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797170251,"filename":"image_13012025_20_38_02_915768_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4e7a78124c1965706c4368a03141458a.jpg","text":"TemporaryFile(/tmp/multipartBody7142917839004032680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797170251,"filename":"image_13012025_20_37_02_709024_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/55b8bc5a70473e3cd42f014d1c0a9712.jpg","text":"TemporaryFile(/tmp/multipartBody6353546285813570758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797170251,"filename":"image_13012025_20_38_02_915768_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328688611","file1":"1328688608","file0":"1328688605"},"map_files_photo_id_array":[{"photo_id":"1328688611","filename":"file2"},{"photo_id":"1328688608","filename":"file1"},{"photo_id":"1328688605","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328688611":["hashtag1","hashtag2"]},{"1328688605":["hashtag1","hashtag2"]},{"1328688608":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328688611, 1328688605, 1328688608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.807869911193848 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:39:02.511753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:39:21.977776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/38/image_13012025_20_38_02_915768_0003.jpg', '/home/pi/Desktop/images/13012025/20/39/image_13012025_20_39_03_140562_0000.jpg', '/home/pi/Desktop/images/13012025/20/39/image_13012025_20_39_03_140562_0001.jpg', '/home/pi/Desktop/images/13012025/20/39/image_13012025_20_39_03_140562_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/38/image_13012025_20_38_02_915768_0003.jpg
/home/pi/Desktop/images/13012025/20/39/image_13012025_20_39_03_140562_0000.jpg
/home/pi/Desktop/images/13012025/20/39/image_13012025_20_39_03_140562_0001.jpg
/home/pi/Desktop/images/13012025/20/39/image_13012025_20_39_03_140562_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328688632","1328688646","1328688639","1328688662"],"photo_ids_order":["1328688632","1328688639","1328688646","1328688662"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6a4d34d43c56346b9338ddef6da078a8.jpg","text":"TemporaryFile(/tmp/multipartBody1128496326933018955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797231691,"filename":"image_13012025_20_38_02_915768_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/405e8e1530a63f221a2ffff1d1fadd4c.jpg","text":"TemporaryFile(/tmp/multipartBody4584644838416045591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797231691,"filename":"image_13012025_20_39_03_140562_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cd3868c5496a86ff89d1453dc2ecf269.jpg","text":"TemporaryFile(/tmp/multipartBody1505789844837551053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797231691,"filename":"image_13012025_20_39_03_140562_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/07dda04505857b65896150d8bce0ae23.jpg","text":"TemporaryFile(/tmp/multipartBody7391754598951470453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797231691,"filename":"image_13012025_20_39_03_140562_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328688646","file1":"1328688639","file0":"1328688632","file3":"1328688662"},"map_files_photo_id_array":[{"photo_id":"1328688646","filename":"file2"},{"photo_id":"1328688639","filename":"file1"},{"photo_id":"1328688632","filename":"file0"},{"photo_id":"1328688662","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328688632":["hashtag1","hashtag2"]},{"1328688646":["hashtag1","hashtag2"]},{"1328688639":["hashtag1","hashtag2"]},{"1328688662":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328688632, 1328688646, 1328688639, 1328688662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.2952139377594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:40:02.545147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:40:22.084549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/39/image_13012025_20_39_03_140562_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/39/image_13012025_20_39_03_140562_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.5393900871276855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 20:40:32.098329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/39/image_13012025_20_39_03_140562_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/39/image_13012025_20_39_03_140562_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328688695"],"photo_id":"1328688695","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/979f12105105de892fa362b1a26143af.jpg","text":"TemporaryFile(/tmp/multipartBody2353482190449871577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797295072,"filename":"image_13012025_20_39_03_140562_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1328688695"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1328688695"}],"hashtags":[],"portfolio_id":"19538744","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.218751907348633 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 20:40:52.066979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:41:02.894419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:41:22.302414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/40/image_13012025_20_40_02_297715_0002.jpg', '/home/pi/Desktop/images/13012025/20/41/image_13012025_20_41_02_596811_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/40/image_13012025_20_40_02_297715_0002.jpg
/home/pi/Desktop/images/13012025/20/41/image_13012025_20_41_02_596811_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328688826","1328688829"],"photo_ids_order":["1328688826","1328688829"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7a775e11d1ee08a1bf15fcc8f03ddff6.jpg","text":"TemporaryFile(/tmp/multipartBody4710572594048817590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797347531,"filename":"image_13012025_20_40_02_297715_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6d029e5bc72595defd5d8cb7578f74a2.jpg","text":"TemporaryFile(/tmp/multipartBody5727157766814795199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797347531,"filename":"image_13012025_20_41_02_596811_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328688829","file0":"1328688826"},"map_files_photo_id_array":[{"photo_id":"1328688829","filename":"file1"},{"photo_id":"1328688826","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328688826":["hashtag1","hashtag2"]},{"1328688829":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328688826, 1328688829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.911996603012085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 20:41:52.270963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:42:02.921519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:42:22.511901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/41/image_13012025_20_41_02_596811_0003.jpg', '/home/pi/Desktop/images/13012025/20/42/image_13012025_20_42_02_684903_0000.jpg', '/home/pi/Desktop/images/13012025/20/42/image_13012025_20_42_02_684903_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/41/image_13012025_20_41_02_596811_0003.jpg
/home/pi/Desktop/images/13012025/20/42/image_13012025_20_42_02_684903_0000.jpg
/home/pi/Desktop/images/13012025/20/42/image_13012025_20_42_02_684903_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328688906","1328688896","1328688914"],"photo_ids_order":["1328688896","1328688906","1328688914"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7b0c48f5385ae9d877e835d563145da2.jpg","text":"TemporaryFile(/tmp/multipartBody3791034079435027850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797409970,"filename":"image_13012025_20_42_02_684903_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eae80bb4ac133eac17caca5df916f301.jpg","text":"TemporaryFile(/tmp/multipartBody453891480163972643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797409970,"filename":"image_13012025_20_41_02_596811_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/28c68b4c928f28fe0273f338676b2bd7.jpg","text":"TemporaryFile(/tmp/multipartBody9215535788254141311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797409970,"filename":"image_13012025_20_42_02_684903_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328688914","file1":"1328688906","file0":"1328688896"},"map_files_photo_id_array":[{"photo_id":"1328688914","filename":"file2"},{"photo_id":"1328688906","filename":"file1"},{"photo_id":"1328688896","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328688906":["hashtag1","hashtag2"]},{"1328688896":["hashtag1","hashtag2"]},{"1328688914":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328688906, 1328688896, 1328688914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.9907865524292 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:43:03.291718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:43:22.758135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/42/image_13012025_20_42_02_684903_0003.jpg', '/home/pi/Desktop/images/13012025/20/43/image_13012025_20_43_02_817967_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/42/image_13012025_20_42_02_684903_0003.jpg
/home/pi/Desktop/images/13012025/20/43/image_13012025_20_43_02_817967_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328688944","1328688947"],"photo_ids_order":["1328688944","1328688947"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/99177d82b7fdf71c9773e9b6bc3a9ce1.jpg","text":"TemporaryFile(/tmp/multipartBody8622223361199166186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797467935,"filename":"image_13012025_20_42_02_684903_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fa08962fdca6d374da38200855e7e75e.jpg","text":"TemporaryFile(/tmp/multipartBody7066361142936803364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797467935,"filename":"image_13012025_20_43_02_817967_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328688947","file0":"1328688944"},"map_files_photo_id_array":[{"photo_id":"1328688947","filename":"file1"},{"photo_id":"1328688944","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328688944":["hashtag1","hashtag2"]},{"1328688947":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328688944, 1328688947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.22853183746338 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 20:43:52.634101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:44:02.212803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:44:21.789312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/43/image_13012025_20_43_02_817967_0003.jpg', '/home/pi/Desktop/images/13012025/20/44/image_13012025_20_44_03_065789_0000.jpg', '/home/pi/Desktop/images/13012025/20/44/image_13012025_20_44_03_065789_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/43/image_13012025_20_43_02_817967_0003.jpg
/home/pi/Desktop/images/13012025/20/44/image_13012025_20_44_03_065789_0000.jpg
/home/pi/Desktop/images/13012025/20/44/image_13012025_20_44_03_065789_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328688962","1328688971","1328688965"],"photo_ids_order":["1328688962","1328688965","1328688971"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8dd7a84d3c1c148e77b5a1081eb74169.jpg","text":"TemporaryFile(/tmp/multipartBody6886000587808185536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797529255,"filename":"image_13012025_20_43_02_817967_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8367f0c177b26f3b5111cc38d5595fe9.jpg","text":"TemporaryFile(/tmp/multipartBody5556576706448888680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797529255,"filename":"image_13012025_20_44_03_065789_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ebbfce63d2702fe3ad28e3af36498abc.jpg","text":"TemporaryFile(/tmp/multipartBody4695049979286685174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797529255,"filename":"image_13012025_20_44_03_065789_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328688971","file1":"1328688965","file0":"1328688962"},"map_files_photo_id_array":[{"photo_id":"1328688971","filename":"file2"},{"photo_id":"1328688965","filename":"file1"},{"photo_id":"1328688962","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328688962":["hashtag1","hashtag2"]},{"1328688971":["hashtag1","hashtag2"]},{"1328688965":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328688962, 1328688971, 1328688965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.550668001174927 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:45:02.562705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:45:22.002383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/44/image_13012025_20_44_03_065789_0003.jpg', '/home/pi/Desktop/images/13012025/20/45/image_13012025_20_45_02_179223_0001.jpg', '/home/pi/Desktop/images/13012025/20/45/image_13012025_20_45_02_179223_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/44/image_13012025_20_44_03_065789_0003.jpg
/home/pi/Desktop/images/13012025/20/45/image_13012025_20_45_02_179223_0001.jpg
/home/pi/Desktop/images/13012025/20/45/image_13012025_20_45_02_179223_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328689157","1328689145","1328689139"],"photo_ids_order":["1328689139","1328689145","1328689157"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7e6a91a24ff006cf7915b1c010930315.jpg","text":"TemporaryFile(/tmp/multipartBody5029980127894750537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797589460,"filename":"image_13012025_20_45_02_179223_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ed8fd35543b356f611cf15313f37d935.jpg","text":"TemporaryFile(/tmp/multipartBody1045322377885601141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797589460,"filename":"image_13012025_20_45_02_179223_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3eae533cab359fe2d36410f00373a9b1.jpg","text":"TemporaryFile(/tmp/multipartBody5327579042275127509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797589460,"filename":"image_13012025_20_44_03_065789_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328689157","file1":"1328689145","file0":"1328689139"},"map_files_photo_id_array":[{"photo_id":"1328689157","filename":"file2"},{"photo_id":"1328689145","filename":"file1"},{"photo_id":"1328689139","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328689157":["hashtag1","hashtag2"]},{"1328689145":["hashtag1","hashtag2"]},{"1328689139":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328689157, 1328689145, 1328689139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.936850547790527 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:46:02.633374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:46:22.248770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/45/image_13012025_20_45_02_179223_0003.jpg', '/home/pi/Desktop/images/13012025/20/46/image_13012025_20_46_02_409688_0000.jpg', '/home/pi/Desktop/images/13012025/20/46/image_13012025_20_46_02_409688_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/45/image_13012025_20_45_02_179223_0003.jpg
/home/pi/Desktop/images/13012025/20/46/image_13012025_20_46_02_409688_0000.jpg
/home/pi/Desktop/images/13012025/20/46/image_13012025_20_46_02_409688_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328689180","1328689182","1328689187"],"photo_ids_order":["1328689180","1328689182","1328689187"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cc4fdf30c451149b9c948477c27bc7bf.jpg","text":"TemporaryFile(/tmp/multipartBody203048975186051625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797649694,"filename":"image_13012025_20_45_02_179223_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b0a443b465b261bfd527b69b0d784670.jpg","text":"TemporaryFile(/tmp/multipartBody7176359856680513766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797649694,"filename":"image_13012025_20_46_02_409688_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/55acf4f6118dfed40b735b85655fa45d.jpg","text":"TemporaryFile(/tmp/multipartBody3619503257671824571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797649694,"filename":"image_13012025_20_46_02_409688_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328689187","file1":"1328689182","file0":"1328689180"},"map_files_photo_id_array":[{"photo_id":"1328689187","filename":"file2"},{"photo_id":"1328689182","filename":"file1"},{"photo_id":"1328689180","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328689180":["hashtag1","hashtag2"]},{"1328689182":["hashtag1","hashtag2"]},{"1328689187":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328689180, 1328689182, 1328689187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.86686682701111 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:47:02.940270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:47:22.403516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/46/image_13012025_20_46_02_409688_0002.jpg', '/home/pi/Desktop/images/13012025/20/47/image_13012025_20_47_02_653594_0000.jpg', '/home/pi/Desktop/images/13012025/20/47/image_13012025_20_47_02_653594_0001.jpg', '/home/pi/Desktop/images/13012025/20/47/image_13012025_20_47_02_653594_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/46/image_13012025_20_46_02_409688_0002.jpg
/home/pi/Desktop/images/13012025/20/47/image_13012025_20_47_02_653594_0000.jpg
/home/pi/Desktop/images/13012025/20/47/image_13012025_20_47_02_653594_0001.jpg
/home/pi/Desktop/images/13012025/20/47/image_13012025_20_47_02_653594_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328689234","1328689236","1328689223","1328689211"],"photo_ids_order":["1328689211","1328689223","1328689234","1328689236"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/468f0e24604183835eafb056158af013.jpg","text":"TemporaryFile(/tmp/multipartBody7664452185973619549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797712131,"filename":"image_13012025_20_47_02_653594_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bef12f0cd520e121b6417f0a10dcb904.jpg","text":"TemporaryFile(/tmp/multipartBody2425786685525284510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797712131,"filename":"image_13012025_20_47_02_653594_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/336945d3732cfa33211a01e12a78b2a2.jpg","text":"TemporaryFile(/tmp/multipartBody5470655521093678824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797712131,"filename":"image_13012025_20_47_02_653594_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5a0c4bb21b14997f207e6d153fe12d6d.jpg","text":"TemporaryFile(/tmp/multipartBody7556618248596459294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797712131,"filename":"image_13012025_20_46_02_409688_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328689234","file1":"1328689223","file0":"1328689211","file3":"1328689236"},"map_files_photo_id_array":[{"photo_id":"1328689234","filename":"file2"},{"photo_id":"1328689223","filename":"file1"},{"photo_id":"1328689211","filename":"file0"},{"photo_id":"1328689236","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328689234":["hashtag1","hashtag2"]},{"1328689236":["hashtag1","hashtag2"]},{"1328689223":["hashtag1","hashtag2"]},{"1328689211":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328689234, 1328689236, 1328689223, 1328689211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.18777894973755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:48:22.565244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/47/image_13012025_20_47_02_653594_0003.jpg', '/home/pi/Desktop/images/13012025/20/48/image_13012025_20_48_02_703270_0001.jpg', '/home/pi/Desktop/images/13012025/20/48/image_13012025_20_48_02_703270_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/47/image_13012025_20_47_02_653594_0003.jpg
/home/pi/Desktop/images/13012025/20/48/image_13012025_20_48_02_703270_0001.jpg
/home/pi/Desktop/images/13012025/20/48/image_13012025_20_48_02_703270_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328689281","1328689266","1328689270"],"photo_ids_order":["1328689266","1328689270","1328689281"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2cf168ab04a94fd245bab2fa1b94e370.jpg","text":"TemporaryFile(/tmp/multipartBody8489244893751221638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797769988,"filename":"image_13012025_20_48_02_703270_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2dfa6fa0af6e4ac989719be7b7782cd8.jpg","text":"TemporaryFile(/tmp/multipartBody5081071318570729593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797769988,"filename":"image_13012025_20_47_02_653594_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ce9a8dc19bf52798361673e6c0562532.jpg","text":"TemporaryFile(/tmp/multipartBody1239076554849472045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797769988,"filename":"image_13012025_20_48_02_703270_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328689281","file1":"1328689270","file0":"1328689266"},"map_files_photo_id_array":[{"photo_id":"1328689281","filename":"file2"},{"photo_id":"1328689270","filename":"file1"},{"photo_id":"1328689266","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328689281":["hashtag1","hashtag2"]},{"1328689266":["hashtag1","hashtag2"]},{"1328689270":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328689281, 1328689266, 1328689270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.92883515357971 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:49:03.304841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:49:22.759393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/48/image_13012025_20_48_02_703270_0003.jpg', '/home/pi/Desktop/images/13012025/20/49/image_13012025_20_49_02_902815_0001.jpg', '/home/pi/Desktop/images/13012025/20/49/image_13012025_20_49_02_902815_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/48/image_13012025_20_48_02_703270_0003.jpg
/home/pi/Desktop/images/13012025/20/49/image_13012025_20_49_02_902815_0001.jpg
/home/pi/Desktop/images/13012025/20/49/image_13012025_20_49_02_902815_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328689437","1328689433","1328689442"],"photo_ids_order":["1328689433","1328689437","1328689442"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/35ea84a3df06c2b2637c82c27491cd48.jpg","text":"TemporaryFile(/tmp/multipartBody3198670379892921026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797830209,"filename":"image_13012025_20_49_02_902815_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7f4ce155f261cdab14680488a54d7ded.jpg","text":"TemporaryFile(/tmp/multipartBody5814658710389367701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797830209,"filename":"image_13012025_20_48_02_703270_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1b2868f04c9bfa25215e066918402535.jpg","text":"TemporaryFile(/tmp/multipartBody4482777474217922859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797830209,"filename":"image_13012025_20_49_02_902815_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328689442","file1":"1328689437","file0":"1328689433"},"map_files_photo_id_array":[{"photo_id":"1328689442","filename":"file2"},{"photo_id":"1328689437","filename":"file1"},{"photo_id":"1328689433","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328689437":["hashtag1","hashtag2"]},{"1328689433":["hashtag1","hashtag2"]},{"1328689442":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328689437, 1328689433, 1328689442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.089118719100952 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:50:02.259425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:50:21.893860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/49/image_13012025_20_49_02_902815_0003.jpg', '/home/pi/Desktop/images/13012025/20/50/image_13012025_20_50_03_052651_0001.jpg', '/home/pi/Desktop/images/13012025/20/50/image_13012025_20_50_03_052651_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/49/image_13012025_20_49_02_902815_0003.jpg
/home/pi/Desktop/images/13012025/20/50/image_13012025_20_50_03_052651_0001.jpg
/home/pi/Desktop/images/13012025/20/50/image_13012025_20_50_03_052651_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328689461","1328689464","1328689458"],"photo_ids_order":["1328689458","1328689461","1328689464"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5b251f710b856e4c4eccb2cf063f6fda.jpg","text":"TemporaryFile(/tmp/multipartBody562385989425164357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797889334,"filename":"image_13012025_20_50_03_052651_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d2ef7077f84c6f78b329787b0d9dbfaf.jpg","text":"TemporaryFile(/tmp/multipartBody9088396929332055880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797889334,"filename":"image_13012025_20_50_03_052651_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b9a882428c5d3808edaefb448f69e495.jpg","text":"TemporaryFile(/tmp/multipartBody5819194064351313045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797889334,"filename":"image_13012025_20_49_02_902815_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328689464","file1":"1328689461","file0":"1328689458"},"map_files_photo_id_array":[{"photo_id":"1328689464","filename":"file2"},{"photo_id":"1328689461","filename":"file1"},{"photo_id":"1328689458","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328689461":["hashtag1","hashtag2"]},{"1328689464":["hashtag1","hashtag2"]},{"1328689458":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328689461, 1328689464, 1328689458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.93662118911743 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:51:02.537024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:51:22.078831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/50/image_13012025_20_50_03_052651_0003.jpg', '/home/pi/Desktop/images/13012025/20/51/image_13012025_20_51_02_250335_0001.jpg', '/home/pi/Desktop/images/13012025/20/51/image_13012025_20_51_02_250335_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/50/image_13012025_20_50_03_052651_0003.jpg
/home/pi/Desktop/images/13012025/20/51/image_13012025_20_51_02_250335_0001.jpg
/home/pi/Desktop/images/13012025/20/51/image_13012025_20_51_02_250335_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328689528","1328689516","1328689500"],"photo_ids_order":["1328689500","1328689516","1328689528"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/292ced189436bfda1e714e24258f3946.jpg","text":"TemporaryFile(/tmp/multipartBody1838821328576749180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797949521,"filename":"image_13012025_20_51_02_250335_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8a8c95909a9205ac304a3f46e42521d4.jpg","text":"TemporaryFile(/tmp/multipartBody5170275340504945599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797949521,"filename":"image_13012025_20_51_02_250335_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1f6a15c8f39d80728e46f00e636b5b59.jpg","text":"TemporaryFile(/tmp/multipartBody6684628031945579752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736797949521,"filename":"image_13012025_20_50_03_052651_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328689528","file1":"1328689516","file0":"1328689500"},"map_files_photo_id_array":[{"photo_id":"1328689528","filename":"file2"},{"photo_id":"1328689516","filename":"file1"},{"photo_id":"1328689500","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328689528":["hashtag1","hashtag2"]},{"1328689516":["hashtag1","hashtag2"]},{"1328689500":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328689528, 1328689516, 1328689500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.17188596725464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:52:02.626976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:52:22.318726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/51/image_13012025_20_51_02_250335_0003.jpg', '/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_02_519014_0000.jpg', '/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_02_519014_0001.jpg', '/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_02_519014_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/51/image_13012025_20_51_02_250335_0003.jpg
/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_02_519014_0000.jpg
/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_02_519014_0001.jpg
/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_02_519014_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328689606","1328689615","1328689602","1328689611"],"photo_ids_order":["1328689602","1328689606","1328689611","1328689615"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/085790f842c3c043f8b85667112a5487.jpg","text":"TemporaryFile(/tmp/multipartBody6342433534929338269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798012040,"filename":"image_13012025_20_52_02_519014_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cb48a59c8b97ee092def1f6c1a3433db.jpg","text":"TemporaryFile(/tmp/multipartBody8133880316401932329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798012040,"filename":"image_13012025_20_52_02_519014_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ad29d051030a592f942b30a694b13933.jpg","text":"TemporaryFile(/tmp/multipartBody7566025754589226208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798012040,"filename":"image_13012025_20_51_02_250335_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4bbed97c9a0b381cb7cea5bfb9b3a1c5.jpg","text":"TemporaryFile(/tmp/multipartBody8222458942800412548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798012040,"filename":"image_13012025_20_52_02_519014_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328689611","file1":"1328689606","file0":"1328689602","file3":"1328689615"},"map_files_photo_id_array":[{"photo_id":"1328689611","filename":"file2"},{"photo_id":"1328689606","filename":"file1"},{"photo_id":"1328689602","filename":"file0"},{"photo_id":"1328689615","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328689606":["hashtag1","hashtag2"]},{"1328689615":["hashtag1","hashtag2"]},{"1328689602":["hashtag1","hashtag2"]},{"1328689611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328689606, 1328689615, 1328689602, 1328689611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 36.7538321018219 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:53:03.179031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:53:22.453380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_02_519014_0003.jpg', '/home/pi/Desktop/images/13012025/20/53/image_13012025_20_53_02_678364_0000.jpg', '/home/pi/Desktop/images/13012025/20/53/image_13012025_20_53_02_678364_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_02_519014_0003.jpg
/home/pi/Desktop/images/13012025/20/53/image_13012025_20_53_02_678364_0000.jpg
/home/pi/Desktop/images/13012025/20/53/image_13012025_20_53_02_678364_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328689635","1328689638","1328689631"],"photo_ids_order":["1328689631","1328689635","1328689638"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/df7b1d2b0fbd8d1299534a33b9ad9f28.jpg","text":"TemporaryFile(/tmp/multipartBody5747902299958677331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798069900,"filename":"image_13012025_20_53_02_678364_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2d9cc0459a5e8022262e66251c97e5a2.jpg","text":"TemporaryFile(/tmp/multipartBody8578254886884603291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798069900,"filename":"image_13012025_20_53_02_678364_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ccea2fcb1652c67cd3722afccf132f28.jpg","text":"TemporaryFile(/tmp/multipartBody6894399688404390363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798069900,"filename":"image_13012025_20_52_02_519014_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328689638","file1":"1328689635","file0":"1328689631"},"map_files_photo_id_array":[{"photo_id":"1328689638","filename":"file2"},{"photo_id":"1328689635","filename":"file1"},{"photo_id":"1328689631","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328689635":["hashtag1","hashtag2"]},{"1328689638":["hashtag1","hashtag2"]},{"1328689631":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328689635, 1328689638, 1328689631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.43675661087036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:54:03.031129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:54:22.703376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/53/image_13012025_20_53_02_678364_0003.jpg', '/home/pi/Desktop/images/13012025/20/54/image_13012025_20_54_02_827690_0000.jpg', '/home/pi/Desktop/images/13012025/20/54/image_13012025_20_54_02_827690_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/53/image_13012025_20_53_02_678364_0003.jpg
/home/pi/Desktop/images/13012025/20/54/image_13012025_20_54_02_827690_0000.jpg
/home/pi/Desktop/images/13012025/20/54/image_13012025_20_54_02_827690_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328689917","1328689973","1328689928"],"photo_ids_order":["1328689917","1328689928","1328689973"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a3ceeefd49c96f3a1701c50ec38731d9.jpg","text":"TemporaryFile(/tmp/multipartBody2157303426919980865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798130149,"filename":"image_13012025_20_53_02_678364_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8f66f941a94470cf95bec84075a0619f.jpg","text":"TemporaryFile(/tmp/multipartBody8020102681125824312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798130149,"filename":"image_13012025_20_54_02_827690_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7eae1b8906e04555c7261024cc1ecc34.jpg","text":"TemporaryFile(/tmp/multipartBody302678802173073975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798130149,"filename":"image_13012025_20_54_02_827690_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328689973","file1":"1328689928","file0":"1328689917"},"map_files_photo_id_array":[{"photo_id":"1328689973","filename":"file2"},{"photo_id":"1328689928","filename":"file1"},{"photo_id":"1328689917","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328689917":["hashtag1","hashtag2"]},{"1328689973":["hashtag1","hashtag2"]},{"1328689928":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328689917, 1328689973, 1328689928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.95222544670105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:55:02.407844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:55:21.843269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/54/image_13012025_20_54_02_827690_0003.jpg', '/home/pi/Desktop/images/13012025/20/55/image_13012025_20_55_03_028362_0000.jpg', '/home/pi/Desktop/images/13012025/20/55/image_13012025_20_55_03_028362_0001.jpg', '/home/pi/Desktop/images/13012025/20/55/image_13012025_20_55_03_028362_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/54/image_13012025_20_54_02_827690_0003.jpg
/home/pi/Desktop/images/13012025/20/55/image_13012025_20_55_03_028362_0000.jpg
/home/pi/Desktop/images/13012025/20/55/image_13012025_20_55_03_028362_0001.jpg
/home/pi/Desktop/images/13012025/20/55/image_13012025_20_55_03_028362_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328690021","1328690009","1328690025","1328690024"],"photo_ids_order":["1328690009","1328690021","1328690024","1328690025"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/10e5350f2f767b39f56f969ed77ba6cc.jpg","text":"TemporaryFile(/tmp/multipartBody5374087894573184122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798191547,"filename":"image_13012025_20_55_03_028362_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e279a442299d6068188bc62324268d43.jpg","text":"TemporaryFile(/tmp/multipartBody5400414564808659096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798191547,"filename":"image_13012025_20_54_02_827690_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a17a7c8ae05b55d36ceb906584a83b79.jpg","text":"TemporaryFile(/tmp/multipartBody2906562041475527749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798191547,"filename":"image_13012025_20_55_03_028362_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3b2d8a4e713ca5877479ab9e6ddae638.jpg","text":"TemporaryFile(/tmp/multipartBody6555491238198919262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798191547,"filename":"image_13012025_20_55_03_028362_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328690024","file1":"1328690021","file0":"1328690009","file3":"1328690025"},"map_files_photo_id_array":[{"photo_id":"1328690024","filename":"file2"},{"photo_id":"1328690021","filename":"file1"},{"photo_id":"1328690009","filename":"file0"},{"photo_id":"1328690025","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328690021":["hashtag1","hashtag2"]},{"1328690009":["hashtag1","hashtag2"]},{"1328690025":["hashtag1","hashtag2"]},{"1328690024":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328690021, 1328690009, 1328690025, 1328690024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.495370388031006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:56:22.037077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/55/image_13012025_20_55_03_028362_0003.jpg', '/home/pi/Desktop/images/13012025/20/56/image_13012025_20_56_02_148240_0000.jpg', '/home/pi/Desktop/images/13012025/20/56/image_13012025_20_56_02_148240_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/55/image_13012025_20_55_03_028362_0003.jpg
/home/pi/Desktop/images/13012025/20/56/image_13012025_20_56_02_148240_0000.jpg
/home/pi/Desktop/images/13012025/20/56/image_13012025_20_56_02_148240_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328690065","1328690070","1328690067"],"photo_ids_order":["1328690065","1328690067","1328690070"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dfe33e79fbe718a71a724804ce64cd1d.jpg","text":"TemporaryFile(/tmp/multipartBody6528527796125880553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798249473,"filename":"image_13012025_20_55_03_028362_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/234a00a32d240ce13efd6fd47ba38526.jpg","text":"TemporaryFile(/tmp/multipartBody6858971466446810765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798249473,"filename":"image_13012025_20_56_02_148240_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d6f6c23fe0c85ea0fc267561a21067ee.jpg","text":"TemporaryFile(/tmp/multipartBody5527207753135938893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798249473,"filename":"image_13012025_20_56_02_148240_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328690070","file1":"1328690067","file0":"1328690065"},"map_files_photo_id_array":[{"photo_id":"1328690070","filename":"file2"},{"photo_id":"1328690067","filename":"file1"},{"photo_id":"1328690065","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328690065":["hashtag1","hashtag2"]},{"1328690070":["hashtag1","hashtag2"]},{"1328690067":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328690065, 1328690070, 1328690067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.63422703742981 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:57:02.698218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:57:22.131273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/56/image_13012025_20_56_02_148240_0002.jpg', '/home/pi/Desktop/images/13012025/20/57/image_13012025_20_57_02_330432_0000.jpg', '/home/pi/Desktop/images/13012025/20/57/image_13012025_20_57_02_330432_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/56/image_13012025_20_56_02_148240_0002.jpg
/home/pi/Desktop/images/13012025/20/57/image_13012025_20_57_02_330432_0000.jpg
/home/pi/Desktop/images/13012025/20/57/image_13012025_20_57_02_330432_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328690114","1328690092","1328690099"],"photo_ids_order":["1328690092","1328690099","1328690114"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6cbc9cd32b575113e963cfba30922ad6.jpg","text":"TemporaryFile(/tmp/multipartBody5184976538810888280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798309584,"filename":"image_13012025_20_57_02_330432_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4a7f4de034e6626e2b50331f286e36da.jpg","text":"TemporaryFile(/tmp/multipartBody3526934242985903339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798309584,"filename":"image_13012025_20_56_02_148240_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/493138188f5877d06ae5a79a7c1a57d3.jpg","text":"TemporaryFile(/tmp/multipartBody7524783082924207260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798309584,"filename":"image_13012025_20_57_02_330432_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328690114","file1":"1328690099","file0":"1328690092"},"map_files_photo_id_array":[{"photo_id":"1328690114","filename":"file2"},{"photo_id":"1328690099","filename":"file1"},{"photo_id":"1328690092","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328690114":["hashtag1","hashtag2"]},{"1328690092":["hashtag1","hashtag2"]},{"1328690099":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328690114, 1328690092, 1328690099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.045378923416138 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 20:59:03.056964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 20:59:22.477269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/57/image_13012025_20_57_02_330432_0002.jpg', '/home/pi/Desktop/images/13012025/20/58/image_13012025_20_58_02_525029_0001.jpg', '/home/pi/Desktop/images/13012025/20/58/image_13012025_20_58_02_525029_0002.jpg', '/home/pi/Desktop/images/13012025/20/58/image_13012025_20_58_02_525029_0003.jpg', '/home/pi/Desktop/images/13012025/20/59/image_13012025_20_59_02_728280_0000.jpg', '/home/pi/Desktop/images/13012025/20/59/image_13012025_20_59_02_728280_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/57/image_13012025_20_57_02_330432_0002.jpg
/home/pi/Desktop/images/13012025/20/58/image_13012025_20_58_02_525029_0001.jpg
/home/pi/Desktop/images/13012025/20/58/image_13012025_20_58_02_525029_0002.jpg
/home/pi/Desktop/images/13012025/20/58/image_13012025_20_58_02_525029_0003.jpg
/home/pi/Desktop/images/13012025/20/59/image_13012025_20_59_02_728280_0000.jpg
/home/pi/Desktop/images/13012025/20/59/image_13012025_20_59_02_728280_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328690152","1328690169","1328690154","1328690148","1328690156","1328690150"],"photo_ids_order":["1328690148","1328690150","1328690152","1328690154","1328690156","1328690169"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0529fc4d82973d4b74d3be05d93628a4.jpg","text":"TemporaryFile(/tmp/multipartBody8651424101737525209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798436709,"filename":"image_13012025_20_58_02_525029_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/43956e3f5e982f79bca1c43bab331271.jpg","text":"TemporaryFile(/tmp/multipartBody5066739609110212990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798436709,"filename":"image_13012025_20_59_02_728280_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a3d2f0b6138df8195925d81aa7aa8582.jpg","text":"TemporaryFile(/tmp/multipartBody704500414823876614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798436709,"filename":"image_13012025_20_58_02_525029_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c1c30544cea16454366cfbdad207b5ab.jpg","text":"TemporaryFile(/tmp/multipartBody47543358407145450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798436709,"filename":"image_13012025_20_57_02_330432_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/454b416a86e2081206536bb4f6b4b587.jpg","text":"TemporaryFile(/tmp/multipartBody3395879760993295598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798436709,"filename":"image_13012025_20_59_02_728280_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/870244a27574ab2f59a1e3ddc6a75c36.jpg","text":"TemporaryFile(/tmp/multipartBody7910246442840717593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798436709,"filename":"image_13012025_20_58_02_525029_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328690152","file1":"1328690150","file0":"1328690148","file4":"1328690156","file5":"1328690169","file3":"1328690154"},"map_files_photo_id_array":[{"photo_id":"1328690169","filename":"file5"},{"photo_id":"1328690152","filename":"file2"},{"photo_id":"1328690156","filename":"file4"},{"photo_id":"1328690150","filename":"file1"},{"photo_id":"1328690148","filename":"file0"},{"photo_id":"1328690154","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328690152":["hashtag1","hashtag2"]},{"1328690169":["hashtag1","hashtag2"]},{"1328690154":["hashtag1","hashtag2"]},{"1328690148":["hashtag1","hashtag2"]},{"1328690156":["hashtag1","hashtag2"]},{"1328690150":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328690152, 1328690169, 1328690154, 1328690148, 1328690156, 1328690150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.524855852127075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:00:22.694650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/59/image_13012025_20_59_02_728280_0002.jpg', '/home/pi/Desktop/images/13012025/20/59/image_13012025_20_59_02_728280_0003.jpg', '/home/pi/Desktop/images/13012025/21/00/image_13012025_21_00_02_891396_0000.jpg', '/home/pi/Desktop/images/13012025/21/00/image_13012025_21_00_02_891396_0001.jpg', '/home/pi/Desktop/images/13012025/21/00/image_13012025_21_00_02_891396_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/20/59/image_13012025_20_59_02_728280_0002.jpg
/home/pi/Desktop/images/13012025/20/59/image_13012025_20_59_02_728280_0003.jpg
/home/pi/Desktop/images/13012025/21/00/image_13012025_21_00_02_891396_0000.jpg
/home/pi/Desktop/images/13012025/21/00/image_13012025_21_00_02_891396_0001.jpg
/home/pi/Desktop/images/13012025/21/00/image_13012025_21_00_02_891396_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328690204","1328690200","1328690206","1328690198","1328690202"],"photo_ids_order":["1328690198","1328690200","1328690202","1328690204","1328690206"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8eaebbff4c4f8097818c47293954b058.jpg","text":"TemporaryFile(/tmp/multipartBody6026353327240332453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798494678,"filename":"image_13012025_21_00_02_891396_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bd3f0fce960eaf1b70d654e2102cf9c4.jpg","text":"TemporaryFile(/tmp/multipartBody3104947637822795634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798494678,"filename":"image_13012025_20_59_02_728280_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/182ba99c7815bb2fd278169e77635dc1.jpg","text":"TemporaryFile(/tmp/multipartBody4186727411524731764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798494678,"filename":"image_13012025_21_00_02_891396_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f2da59dec8e14dd07d5c2c45a420ef56.jpg","text":"TemporaryFile(/tmp/multipartBody3045802374064534092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798494678,"filename":"image_13012025_20_59_02_728280_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/065be98e34242f3a3b3a763007dc62d7.jpg","text":"TemporaryFile(/tmp/multipartBody5758616268983987650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798494678,"filename":"image_13012025_21_00_02_891396_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328690202","file1":"1328690200","file0":"1328690198","file4":"1328690206","file3":"1328690204"},"map_files_photo_id_array":[{"photo_id":"1328690202","filename":"file2"},{"photo_id":"1328690206","filename":"file4"},{"photo_id":"1328690200","filename":"file1"},{"photo_id":"1328690198","filename":"file0"},{"photo_id":"1328690204","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328690204":["hashtag1","hashtag2"]},{"1328690200":["hashtag1","hashtag2"]},{"1328690206":["hashtag1","hashtag2"]},{"1328690198":["hashtag1","hashtag2"]},{"1328690202":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328690204, 1328690200, 1328690206, 1328690198, 1328690202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 45.50200891494751 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:01:21.971021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/00/image_13012025_21_00_02_891396_0003.jpg', '/home/pi/Desktop/images/13012025/21/01/image_13012025_21_01_03_035857_0000.jpg', '/home/pi/Desktop/images/13012025/21/01/image_13012025_21_01_03_035857_0001.jpg', '/home/pi/Desktop/images/13012025/21/01/image_13012025_21_01_03_035857_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/00/image_13012025_21_00_02_891396_0003.jpg
/home/pi/Desktop/images/13012025/21/01/image_13012025_21_01_03_035857_0000.jpg
/home/pi/Desktop/images/13012025/21/01/image_13012025_21_01_03_035857_0001.jpg
/home/pi/Desktop/images/13012025/21/01/image_13012025_21_01_03_035857_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328690245","1328690250","1328690255","1328690240"],"photo_ids_order":["1328690240","1328690245","1328690250","1328690255"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5b63c2e012e7f0bd7bdcedb523ce341f.jpg","text":"TemporaryFile(/tmp/multipartBody8286437890256071797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798551696,"filename":"image_13012025_21_01_03_035857_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/527c711f7cdf9098829216f81824264b.jpg","text":"TemporaryFile(/tmp/multipartBody371278790493968162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798551696,"filename":"image_13012025_21_01_03_035857_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9d0d60209510f2ee921fe917a4ee689b.jpg","text":"TemporaryFile(/tmp/multipartBody5208521474789548413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798551696,"filename":"image_13012025_21_01_03_035857_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9ce459e85bd084cecb54e5e2215ec7aa.jpg","text":"TemporaryFile(/tmp/multipartBody5752001154150570381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798551696,"filename":"image_13012025_21_00_02_891396_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328690250","file1":"1328690245","file0":"1328690240","file3":"1328690255"},"map_files_photo_id_array":[{"photo_id":"1328690250","filename":"file2"},{"photo_id":"1328690245","filename":"file1"},{"photo_id":"1328690240","filename":"file0"},{"photo_id":"1328690255","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328690245":["hashtag1","hashtag2"]},{"1328690250":["hashtag1","hashtag2"]},{"1328690255":["hashtag1","hashtag2"]},{"1328690240":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328690245, 1328690250, 1328690255, 1328690240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.555055379867554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:02:02.450212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:02:22.055631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/01/image_13012025_21_01_03_035857_0003.jpg', '/home/pi/Desktop/images/13012025/21/02/image_13012025_21_02_02_293734_0000.jpg', '/home/pi/Desktop/images/13012025/21/02/image_13012025_21_02_02_293734_0001.jpg', '/home/pi/Desktop/images/13012025/21/02/image_13012025_21_02_02_293734_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/01/image_13012025_21_01_03_035857_0003.jpg
/home/pi/Desktop/images/13012025/21/02/image_13012025_21_02_02_293734_0000.jpg
/home/pi/Desktop/images/13012025/21/02/image_13012025_21_02_02_293734_0001.jpg
/home/pi/Desktop/images/13012025/21/02/image_13012025_21_02_02_293734_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328690275","1328690268","1328690271","1328690273"],"photo_ids_order":["1328690268","1328690271","1328690273","1328690275"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e76fe03079b2c4a1f99baa5819c462b4.jpg","text":"TemporaryFile(/tmp/multipartBody7800624697063941337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798611842,"filename":"image_13012025_21_02_02_293734_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/be1d072b7436ef20af0a1b23befaf00b.jpg","text":"TemporaryFile(/tmp/multipartBody3925610569093295421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798611842,"filename":"image_13012025_21_01_03_035857_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bb09384658df9b146b112bdc6a5e6b6b.jpg","text":"TemporaryFile(/tmp/multipartBody2263508206508109440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798611842,"filename":"image_13012025_21_02_02_293734_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/195f0dd190533341361f2c0b2d84db0f.jpg","text":"TemporaryFile(/tmp/multipartBody8508507756629276153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798611842,"filename":"image_13012025_21_02_02_293734_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328690273","file1":"1328690271","file0":"1328690268","file3":"1328690275"},"map_files_photo_id_array":[{"photo_id":"1328690273","filename":"file2"},{"photo_id":"1328690271","filename":"file1"},{"photo_id":"1328690268","filename":"file0"},{"photo_id":"1328690275","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328690275":["hashtag1","hashtag2"]},{"1328690268":["hashtag1","hashtag2"]},{"1328690271":["hashtag1","hashtag2"]},{"1328690273":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328690275, 1328690268, 1328690271, 1328690273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.3472363948822 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:03:02.724096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:03:22.227415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/02/image_13012025_21_02_02_293734_0003.jpg', '/home/pi/Desktop/images/13012025/21/03/image_13012025_21_03_02_460773_0000.jpg', '/home/pi/Desktop/images/13012025/21/03/image_13012025_21_03_02_460773_0001.jpg', '/home/pi/Desktop/images/13012025/21/03/image_13012025_21_03_02_460773_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/02/image_13012025_21_02_02_293734_0003.jpg
/home/pi/Desktop/images/13012025/21/03/image_13012025_21_03_02_460773_0000.jpg
/home/pi/Desktop/images/13012025/21/03/image_13012025_21_03_02_460773_0001.jpg
/home/pi/Desktop/images/13012025/21/03/image_13012025_21_03_02_460773_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328691075","1328690910","1328690904","1328691088"],"photo_ids_order":["1328690904","1328690910","1328691075","1328691088"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0f64fa024a12880ae275ac1dfa1c2159.jpg","text":"TemporaryFile(/tmp/multipartBody571355273267925332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798672092,"filename":"image_13012025_21_03_02_460773_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/49c68e44a54ea1477676747e7a4fc76c.jpg","text":"TemporaryFile(/tmp/multipartBody8871332850305029455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798672092,"filename":"image_13012025_21_03_02_460773_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0258979a376c95d7565540f7044fc67f.jpg","text":"TemporaryFile(/tmp/multipartBody4363271921816285972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798672092,"filename":"image_13012025_21_02_02_293734_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a1c36ff48042d7866e75dfb9f658211a.jpg","text":"TemporaryFile(/tmp/multipartBody4512945486075318573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798672092,"filename":"image_13012025_21_03_02_460773_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328691075","file1":"1328690910","file0":"1328690904","file3":"1328691088"},"map_files_photo_id_array":[{"photo_id":"1328691075","filename":"file2"},{"photo_id":"1328690910","filename":"file1"},{"photo_id":"1328690904","filename":"file0"},{"photo_id":"1328691088","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328691075":["hashtag1","hashtag2"]},{"1328690910":["hashtag1","hashtag2"]},{"1328690904":["hashtag1","hashtag2"]},{"1328691088":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328691075, 1328690910, 1328690904, 1328691088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.78659152984619 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:04:02.958459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:04:22.472420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/03/image_13012025_21_03_02_460773_0003.jpg', '/home/pi/Desktop/images/13012025/21/04/image_13012025_21_04_02_571093_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/03/image_13012025_21_03_02_460773_0003.jpg
/home/pi/Desktop/images/13012025/21/04/image_13012025_21_04_02_571093_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 4.806373357772827 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 21:04:32.477188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/03/image_13012025_21_03_02_460773_0003.jpg', '/home/pi/Desktop/images/13012025/21/04/image_13012025_21_04_02_571093_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/03/image_13012025_21_03_02_460773_0003.jpg
/home/pi/Desktop/images/13012025/21/04/image_13012025_21_04_02_571093_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328691216","1328691218"],"photo_ids_order":["1328691216","1328691218"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3385ae1cb0c3c43936f472a5e72d33f0.jpg","text":"TemporaryFile(/tmp/multipartBody6687920118781615038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798737691,"filename":"image_13012025_21_03_02_460773_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b7d8f4b8f64b06d5d72ac74805da3d15.jpg","text":"TemporaryFile(/tmp/multipartBody8516883305717140964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798737691,"filename":"image_13012025_21_04_02_571093_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328691218","file0":"1328691216"},"map_files_photo_id_array":[{"photo_id":"1328691218","filename":"file1"},{"photo_id":"1328691216","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328691216":["hashtag1","hashtag2"]},{"1328691218":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328691216, 1328691218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.81184673309326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:05:03.260864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:05:22.693615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/04/image_13012025_21_04_02_571093_0003.jpg', '/home/pi/Desktop/images/13012025/21/05/image_13012025_21_05_02_777549_0000.jpg', '/home/pi/Desktop/images/13012025/21/05/image_13012025_21_05_02_777549_0001.jpg', '/home/pi/Desktop/images/13012025/21/05/image_13012025_21_05_02_777549_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/04/image_13012025_21_04_02_571093_0003.jpg
/home/pi/Desktop/images/13012025/21/05/image_13012025_21_05_02_777549_0000.jpg
/home/pi/Desktop/images/13012025/21/05/image_13012025_21_05_02_777549_0001.jpg
/home/pi/Desktop/images/13012025/21/05/image_13012025_21_05_02_777549_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328691352","1328691346","1328691354","1328691350"],"photo_ids_order":["1328691346","1328691350","1328691352","1328691354"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f5a7fa21fbbf859940f85ec34fdcfde3.jpg","text":"TemporaryFile(/tmp/multipartBody716497494681119572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798793749,"filename":"image_13012025_21_05_02_777549_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/99d467f14242209d37a41c9d535526a8.jpg","text":"TemporaryFile(/tmp/multipartBody3500329858168755066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798793749,"filename":"image_13012025_21_04_02_571093_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b8df86b7a76d183729f8f33df75368fa.jpg","text":"TemporaryFile(/tmp/multipartBody7940332743248323332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798793749,"filename":"image_13012025_21_05_02_777549_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/113c786afa335c31414804fcdc2d5ef6.jpg","text":"TemporaryFile(/tmp/multipartBody3396111407479560613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798793749,"filename":"image_13012025_21_05_02_777549_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328691352","file1":"1328691350","file0":"1328691346","file3":"1328691354"},"map_files_photo_id_array":[{"photo_id":"1328691352","filename":"file2"},{"photo_id":"1328691350","filename":"file1"},{"photo_id":"1328691346","filename":"file0"},{"photo_id":"1328691354","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328691352":["hashtag1","hashtag2"]},{"1328691346":["hashtag1","hashtag2"]},{"1328691354":["hashtag1","hashtag2"]},{"1328691350":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328691352, 1328691346, 1328691354, 1328691350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.5710666179657 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:06:21.856794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/05/image_13012025_21_05_02_777549_0003.jpg', '/home/pi/Desktop/images/13012025/21/06/image_13012025_21_06_03_017570_0000.jpg', '/home/pi/Desktop/images/13012025/21/06/image_13012025_21_06_03_017570_0001.jpg', '/home/pi/Desktop/images/13012025/21/06/image_13012025_21_06_03_017570_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/05/image_13012025_21_05_02_777549_0003.jpg
/home/pi/Desktop/images/13012025/21/06/image_13012025_21_06_03_017570_0000.jpg
/home/pi/Desktop/images/13012025/21/06/image_13012025_21_06_03_017570_0001.jpg
/home/pi/Desktop/images/13012025/21/06/image_13012025_21_06_03_017570_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328691364","1328691371","1328691368","1328691373"],"photo_ids_order":["1328691364","1328691368","1328691371","1328691373"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3c913eea9287b4f5ebe1a353a8b905f1.jpg","text":"TemporaryFile(/tmp/multipartBody4608548717565637434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798851566,"filename":"image_13012025_21_05_02_777549_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/468787a1844268d34b26883bb7d68ac9.jpg","text":"TemporaryFile(/tmp/multipartBody752447347013905149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798851566,"filename":"image_13012025_21_06_03_017570_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/04b619aaf9518caa2f0fa97566bb9d4e.jpg","text":"TemporaryFile(/tmp/multipartBody3477438256796346785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798851566,"filename":"image_13012025_21_06_03_017570_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/650be43bb53a6aaa64098fd56438b2da.jpg","text":"TemporaryFile(/tmp/multipartBody6464847040098701292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798851566,"filename":"image_13012025_21_06_03_017570_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328691371","file1":"1328691368","file0":"1328691364","file3":"1328691373"},"map_files_photo_id_array":[{"photo_id":"1328691371","filename":"file2"},{"photo_id":"1328691368","filename":"file1"},{"photo_id":"1328691364","filename":"file0"},{"photo_id":"1328691373","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328691364":["hashtag1","hashtag2"]},{"1328691371":["hashtag1","hashtag2"]},{"1328691368":["hashtag1","hashtag2"]},{"1328691373":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328691364, 1328691371, 1328691368, 1328691373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 36.85329747200012 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:07:02.668171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:07:22.038749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/06/image_13012025_21_06_03_017570_0003.jpg', '/home/pi/Desktop/images/13012025/21/07/image_13012025_21_07_02_214079_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/06/image_13012025_21_06_03_017570_0003.jpg
/home/pi/Desktop/images/13012025/21/07/image_13012025_21_07_02_214079_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328691403","1328691400"],"photo_ids_order":["1328691400","1328691403"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aec1f0d683fd3b6cd6fee1395bf7b9db.jpg","text":"TemporaryFile(/tmp/multipartBody4021093952691004532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798907252,"filename":"image_13012025_21_07_02_214079_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/42bec1bee5377c2bf4c714312d030104.jpg","text":"TemporaryFile(/tmp/multipartBody4731105277487197827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798907252,"filename":"image_13012025_21_06_03_017570_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328691403","file0":"1328691400"},"map_files_photo_id_array":[{"photo_id":"1328691403","filename":"file1"},{"photo_id":"1328691400","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328691403":["hashtag1","hashtag2"]},{"1328691400":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328691403, 1328691400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.504627227783203 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 21:07:51.975717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:08:02.602561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:08:22.166519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/07/image_13012025_21_07_02_214079_0003.jpg', '/home/pi/Desktop/images/13012025/21/08/image_13012025_21_08_02_409931_0000.jpg', '/home/pi/Desktop/images/13012025/21/08/image_13012025_21_08_02_409931_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/07/image_13012025_21_07_02_214079_0003.jpg
/home/pi/Desktop/images/13012025/21/08/image_13012025_21_08_02_409931_0000.jpg
/home/pi/Desktop/images/13012025/21/08/image_13012025_21_08_02_409931_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.171363353729248 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 21:08:32.182082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/07/image_13012025_21_07_02_214079_0003.jpg', '/home/pi/Desktop/images/13012025/21/08/image_13012025_21_08_02_409931_0000.jpg', '/home/pi/Desktop/images/13012025/21/08/image_13012025_21_08_02_409931_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/07/image_13012025_21_07_02_214079_0003.jpg
/home/pi/Desktop/images/13012025/21/08/image_13012025_21_08_02_409931_0000.jpg
/home/pi/Desktop/images/13012025/21/08/image_13012025_21_08_02_409931_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328691454","1328691456","1328691452"],"photo_ids_order":["1328691452","1328691454","1328691456"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4494f0d00087817c2e5b954ec8677831.jpg","text":"TemporaryFile(/tmp/multipartBody8929574916539108577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798979768,"filename":"image_13012025_21_08_02_409931_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7422f52dd68b2c15fd12af5fa027febb.jpg","text":"TemporaryFile(/tmp/multipartBody6033816568996689984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798979768,"filename":"image_13012025_21_08_02_409931_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3db4fb5d1c568a4f5b06d2d703ffe640.jpg","text":"TemporaryFile(/tmp/multipartBody3469257287782914366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736798979768,"filename":"image_13012025_21_07_02_214079_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328691456","file1":"1328691454","file0":"1328691452"},"map_files_photo_id_array":[{"photo_id":"1328691456","filename":"file2"},{"photo_id":"1328691454","filename":"file1"},{"photo_id":"1328691452","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328691454":["hashtag1","hashtag2"]},{"1328691456":["hashtag1","hashtag2"]},{"1328691452":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328691454, 1328691456, 1328691452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.155113458633423 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:09:22.345644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/08/image_13012025_21_08_02_409931_0003.jpg', '/home/pi/Desktop/images/13012025/21/09/image_13012025_21_09_02_581879_0001.jpg', '/home/pi/Desktop/images/13012025/21/09/image_13012025_21_09_02_581879_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/08/image_13012025_21_08_02_409931_0003.jpg
/home/pi/Desktop/images/13012025/21/09/image_13012025_21_09_02_581879_0001.jpg
/home/pi/Desktop/images/13012025/21/09/image_13012025_21_09_02_581879_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328691520","1328691508","1328691521"],"photo_ids_order":["1328691508","1328691520","1328691521"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/98b0d2fdeec59be688b492b926ac71a1.jpg","text":"TemporaryFile(/tmp/multipartBody6766925053203972673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799029944,"filename":"image_13012025_21_09_02_581879_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f775e1d969845f3eedec77c9b213c215.jpg","text":"TemporaryFile(/tmp/multipartBody6858291668042788963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799029944,"filename":"image_13012025_21_08_02_409931_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1d055105c48f3e3ad770ed77bb2638cd.jpg","text":"TemporaryFile(/tmp/multipartBody4388700263265193727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799029944,"filename":"image_13012025_21_09_02_581879_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328691521","file1":"1328691520","file0":"1328691508"},"map_files_photo_id_array":[{"photo_id":"1328691521","filename":"file2"},{"photo_id":"1328691520","filename":"file1"},{"photo_id":"1328691508","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328691520":["hashtag1","hashtag2"]},{"1328691508":["hashtag1","hashtag2"]},{"1328691521":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328691520, 1328691508, 1328691521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.96324062347412 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:10:03.013594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:10:22.517941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/09/image_13012025_21_09_02_581879_0003.jpg', '/home/pi/Desktop/images/13012025/21/10/image_13012025_21_10_02_714706_0000.jpg', '/home/pi/Desktop/images/13012025/21/10/image_13012025_21_10_02_714706_0001.jpg', '/home/pi/Desktop/images/13012025/21/10/image_13012025_21_10_02_714706_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/09/image_13012025_21_09_02_581879_0003.jpg
/home/pi/Desktop/images/13012025/21/10/image_13012025_21_10_02_714706_0000.jpg
/home/pi/Desktop/images/13012025/21/10/image_13012025_21_10_02_714706_0001.jpg
/home/pi/Desktop/images/13012025/21/10/image_13012025_21_10_02_714706_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328691580","1328691579","1328691573","1328691581"],"photo_ids_order":["1328691573","1328691579","1328691580","1328691581"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/376acbf6c4616a51d77a2ada54d5aebd.jpg","text":"TemporaryFile(/tmp/multipartBody2349305904922259061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799092490,"filename":"image_13012025_21_10_02_714706_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fa95a9b35e7337bfe3226d4756ed8e3b.jpg","text":"TemporaryFile(/tmp/multipartBody5385853852213494943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799092490,"filename":"image_13012025_21_10_02_714706_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0b0e03bd2ab088a0637a7901e3136f27.jpg","text":"TemporaryFile(/tmp/multipartBody3578973467350999971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799092490,"filename":"image_13012025_21_09_02_581879_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f46cfa8ec923587494fc9e8ff219186e.jpg","text":"TemporaryFile(/tmp/multipartBody232678446597116002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799092490,"filename":"image_13012025_21_10_02_714706_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328691580","file1":"1328691579","file0":"1328691573","file3":"1328691581"},"map_files_photo_id_array":[{"photo_id":"1328691580","filename":"file2"},{"photo_id":"1328691579","filename":"file1"},{"photo_id":"1328691573","filename":"file0"},{"photo_id":"1328691581","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328691580":["hashtag1","hashtag2"]},{"1328691579":["hashtag1","hashtag2"]},{"1328691573":["hashtag1","hashtag2"]},{"1328691581":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328691580, 1328691579, 1328691573, 1328691581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.3037486076355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:11:03.302122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:11:22.793788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/10/image_13012025_21_10_02_714706_0003.jpg', '/home/pi/Desktop/images/13012025/21/11/image_13012025_21_11_02_830952_0000.jpg', '/home/pi/Desktop/images/13012025/21/11/image_13012025_21_11_02_830952_0001.jpg', '/home/pi/Desktop/images/13012025/21/11/image_13012025_21_11_02_830952_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/10/image_13012025_21_10_02_714706_0003.jpg
/home/pi/Desktop/images/13012025/21/11/image_13012025_21_11_02_830952_0000.jpg
/home/pi/Desktop/images/13012025/21/11/image_13012025_21_11_02_830952_0001.jpg
/home/pi/Desktop/images/13012025/21/11/image_13012025_21_11_02_830952_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328691652","1328691663","1328691708","1328691680"],"photo_ids_order":["1328691652","1328691663","1328691680","1328691708"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0b47dea7279fd914c02eed1c4ef4a70f.jpg","text":"TemporaryFile(/tmp/multipartBody4720627080832345198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799152760,"filename":"image_13012025_21_10_02_714706_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/562e7ee3d5b62324d26461c7db8b38a9.jpg","text":"TemporaryFile(/tmp/multipartBody4066237311109087043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799152760,"filename":"image_13012025_21_11_02_830952_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/808ffe92bffc32dc92d32af54bf5ea4f.jpg","text":"TemporaryFile(/tmp/multipartBody2532782263733500627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799152760,"filename":"image_13012025_21_11_02_830952_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b3097cf48d5a829ff43e5f90fe597240.jpg","text":"TemporaryFile(/tmp/multipartBody1417078399994330304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799152760,"filename":"image_13012025_21_11_02_830952_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328691680","file1":"1328691663","file0":"1328691652","file3":"1328691708"},"map_files_photo_id_array":[{"photo_id":"1328691680","filename":"file2"},{"photo_id":"1328691663","filename":"file1"},{"photo_id":"1328691652","filename":"file0"},{"photo_id":"1328691708","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328691652":["hashtag1","hashtag2"]},{"1328691663":["hashtag1","hashtag2"]},{"1328691708":["hashtag1","hashtag2"]},{"1328691680":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328691652, 1328691663, 1328691708, 1328691680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.86073923110962 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:12:21.920141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/11/image_13012025_21_11_02_830952_0003.jpg', '/home/pi/Desktop/images/13012025/21/12/image_13012025_21_12_03_052195_0000.jpg', '/home/pi/Desktop/images/13012025/21/12/image_13012025_21_12_03_052195_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/11/image_13012025_21_11_02_830952_0003.jpg
/home/pi/Desktop/images/13012025/21/12/image_13012025_21_12_03_052195_0000.jpg
/home/pi/Desktop/images/13012025/21/12/image_13012025_21_12_03_052195_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328691780","1328691773","1328691776"],"photo_ids_order":["1328691773","1328691776","1328691780"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b73b94c8dc43347f75e71f02694c74c6.jpg","text":"TemporaryFile(/tmp/multipartBody4253328594856703960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799209554,"filename":"image_13012025_21_12_03_052195_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e8976ecfa4183d8aae894dac34e0d077.jpg","text":"TemporaryFile(/tmp/multipartBody3983320493489716188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799209554,"filename":"image_13012025_21_11_02_830952_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7a58c9cd5c276ba86a055f35b71a83a6.jpg","text":"TemporaryFile(/tmp/multipartBody5088017268112043508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799209554,"filename":"image_13012025_21_12_03_052195_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328691780","file1":"1328691776","file0":"1328691773"},"map_files_photo_id_array":[{"photo_id":"1328691780","filename":"file2"},{"photo_id":"1328691776","filename":"file1"},{"photo_id":"1328691773","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328691780":["hashtag1","hashtag2"]},{"1328691773":["hashtag1","hashtag2"]},{"1328691776":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328691780, 1328691773, 1328691776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.024038076400757 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:13:02.661935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:13:22.012971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/12/image_13012025_21_12_03_052195_0002.jpg', '/home/pi/Desktop/images/13012025/21/13/image_13012025_21_13_02_251462_0000.jpg', '/home/pi/Desktop/images/13012025/21/13/image_13012025_21_13_02_251462_0001.jpg', '/home/pi/Desktop/images/13012025/21/13/image_13012025_21_13_02_251462_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/12/image_13012025_21_12_03_052195_0002.jpg
/home/pi/Desktop/images/13012025/21/13/image_13012025_21_13_02_251462_0000.jpg
/home/pi/Desktop/images/13012025/21/13/image_13012025_21_13_02_251462_0001.jpg
/home/pi/Desktop/images/13012025/21/13/image_13012025_21_13_02_251462_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328691871","1328691870","1328691866","1328691869"],"photo_ids_order":["1328691866","1328691869","1328691870","1328691871"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e41731ecd3801ebc135d995b418a4e1d.jpg","text":"TemporaryFile(/tmp/multipartBody2278224336986882838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799271781,"filename":"image_13012025_21_13_02_251462_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1b03a43947b062642faed88ce339c50d.jpg","text":"TemporaryFile(/tmp/multipartBody6633128675474340900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799271781,"filename":"image_13012025_21_13_02_251462_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aeec19fd38348686a11a558627b0e6a6.jpg","text":"TemporaryFile(/tmp/multipartBody6562066724926856456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799271781,"filename":"image_13012025_21_12_03_052195_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e14a94463f4bfda381d6a0f5a0cf5c08.jpg","text":"TemporaryFile(/tmp/multipartBody6040662572827049418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799271781,"filename":"image_13012025_21_13_02_251462_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328691870","file1":"1328691869","file0":"1328691866","file3":"1328691871"},"map_files_photo_id_array":[{"photo_id":"1328691870","filename":"file2"},{"photo_id":"1328691869","filename":"file1"},{"photo_id":"1328691866","filename":"file0"},{"photo_id":"1328691871","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328691871":["hashtag1","hashtag2"]},{"1328691870":["hashtag1","hashtag2"]},{"1328691866":["hashtag1","hashtag2"]},{"1328691869":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328691871, 1328691870, 1328691866, 1328691869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.28983449935913 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:14:02.687915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:14:22.225217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/13/image_13012025_21_13_02_251462_0003.jpg', '/home/pi/Desktop/images/13012025/21/14/image_13012025_21_14_02_422721_0000.jpg', '/home/pi/Desktop/images/13012025/21/14/image_13012025_21_14_02_422721_0001.jpg', '/home/pi/Desktop/images/13012025/21/14/image_13012025_21_14_02_422721_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/13/image_13012025_21_13_02_251462_0003.jpg
/home/pi/Desktop/images/13012025/21/14/image_13012025_21_14_02_422721_0000.jpg
/home/pi/Desktop/images/13012025/21/14/image_13012025_21_14_02_422721_0001.jpg
/home/pi/Desktop/images/13012025/21/14/image_13012025_21_14_02_422721_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328691897","1328691901","1328691890","1328691895"],"photo_ids_order":["1328691890","1328691895","1328691897","1328691901"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/59ee42730f138b4a6694b88b540761ea.jpg","text":"TemporaryFile(/tmp/multipartBody3700118434405402480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799332044,"filename":"image_13012025_21_14_02_422721_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/88252278da3cb316782db54846d9f85b.jpg","text":"TemporaryFile(/tmp/multipartBody1158563481820122486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799332044,"filename":"image_13012025_21_14_02_422721_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/278355e20346e113c193d3150eef8609.jpg","text":"TemporaryFile(/tmp/multipartBody8671626420483226656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799332044,"filename":"image_13012025_21_13_02_251462_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/20b44ac993b05f31ffc99a29df0fa87f.jpg","text":"TemporaryFile(/tmp/multipartBody1662933376389469691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799332044,"filename":"image_13012025_21_14_02_422721_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328691897","file1":"1328691895","file0":"1328691890","file3":"1328691901"},"map_files_photo_id_array":[{"photo_id":"1328691897","filename":"file2"},{"photo_id":"1328691895","filename":"file1"},{"photo_id":"1328691890","filename":"file0"},{"photo_id":"1328691901","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328691897":["hashtag1","hashtag2"]},{"1328691901":["hashtag1","hashtag2"]},{"1328691890":["hashtag1","hashtag2"]},{"1328691895":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328691897, 1328691901, 1328691890, 1328691895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.6772997379303 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:15:03.114720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:15:22.507023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/14/image_13012025_21_14_02_422721_0003.jpg', '/home/pi/Desktop/images/13012025/21/15/image_13012025_21_15_02_539662_0000.jpg', '/home/pi/Desktop/images/13012025/21/15/image_13012025_21_15_02_539662_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/14/image_13012025_21_14_02_422721_0003.jpg
/home/pi/Desktop/images/13012025/21/15/image_13012025_21_15_02_539662_0000.jpg
/home/pi/Desktop/images/13012025/21/15/image_13012025_21_15_02_539662_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328692032","1328691974","1328691994"],"photo_ids_order":["1328691974","1328691994","1328692032"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1905d9691f7212ce4cc3c82e0fbbb7f3.jpg","text":"TemporaryFile(/tmp/multipartBody5234389219850553110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799389952,"filename":"image_13012025_21_15_02_539662_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/67af8783392cb343ca2d951c5bfc444e.jpg","text":"TemporaryFile(/tmp/multipartBody779070402597011979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799389952,"filename":"image_13012025_21_14_02_422721_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/118da76968ec66b6cc612e12fc518b87.jpg","text":"TemporaryFile(/tmp/multipartBody4415729615431204103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799389952,"filename":"image_13012025_21_15_02_539662_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328692032","file1":"1328691994","file0":"1328691974"},"map_files_photo_id_array":[{"photo_id":"1328692032","filename":"file2"},{"photo_id":"1328691994","filename":"file1"},{"photo_id":"1328691974","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328692032":["hashtag1","hashtag2"]},{"1328691974":["hashtag1","hashtag2"]},{"1328691994":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328692032, 1328691974, 1328691994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.1743745803833 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:16:03.074537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:16:22.633108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/15/image_13012025_21_15_02_539662_0002.jpg', '/home/pi/Desktop/images/13012025/21/16/image_13012025_21_16_02_844022_0001.jpg', '/home/pi/Desktop/images/13012025/21/16/image_13012025_21_16_02_844022_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/15/image_13012025_21_15_02_539662_0002.jpg
/home/pi/Desktop/images/13012025/21/16/image_13012025_21_16_02_844022_0001.jpg
/home/pi/Desktop/images/13012025/21/16/image_13012025_21_16_02_844022_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.075249433517456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 21:16:32.609862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/15/image_13012025_21_15_02_539662_0002.jpg', '/home/pi/Desktop/images/13012025/21/16/image_13012025_21_16_02_844022_0001.jpg', '/home/pi/Desktop/images/13012025/21/16/image_13012025_21_16_02_844022_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/15/image_13012025_21_15_02_539662_0002.jpg
/home/pi/Desktop/images/13012025/21/16/image_13012025_21_16_02_844022_0001.jpg
/home/pi/Desktop/images/13012025/21/16/image_13012025_21_16_02_844022_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328692128","1328692119","1328692123"],"photo_ids_order":["1328692119","1328692123","1328692128"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c379952896fdd74b014cee81be7f19dd.jpg","text":"TemporaryFile(/tmp/multipartBody5873595436253328359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799460100,"filename":"image_13012025_21_16_02_844022_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f1bc580b87cb25c336a32dbdd24b1793.jpg","text":"TemporaryFile(/tmp/multipartBody5699309101171236190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799460100,"filename":"image_13012025_21_15_02_539662_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e38808ca5d3a82429e11b35c7c88ecba.jpg","text":"TemporaryFile(/tmp/multipartBody3138358484920816610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799460100,"filename":"image_13012025_21_16_02_844022_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328692128","file1":"1328692123","file0":"1328692119"},"map_files_photo_id_array":[{"photo_id":"1328692128","filename":"file2"},{"photo_id":"1328692123","filename":"file1"},{"photo_id":"1328692119","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328692128":["hashtag1","hashtag2"]},{"1328692119":["hashtag1","hashtag2"]},{"1328692123":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328692128, 1328692119, 1328692123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.28416347503662 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:17:21.802118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/16/image_13012025_21_16_02_844022_0003.jpg', '/home/pi/Desktop/images/13012025/21/17/image_13012025_21_17_03_007871_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/16/image_13012025_21_16_02_844022_0003.jpg
/home/pi/Desktop/images/13012025/21/17/image_13012025_21_17_03_007871_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328692161","1328692139"],"photo_ids_order":["1328692139","1328692161"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4bb4703bfdbc35214a5c05523a2552aa.jpg","text":"TemporaryFile(/tmp/multipartBody2672747835541071041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799507024,"filename":"image_13012025_21_17_03_007871_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7030b9daf25b2d253d13bf28936b0d86.jpg","text":"TemporaryFile(/tmp/multipartBody5000035428519704218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799507024,"filename":"image_13012025_21_16_02_844022_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328692161","file0":"1328692139"},"map_files_photo_id_array":[{"photo_id":"1328692161","filename":"file1"},{"photo_id":"1328692139","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328692161":["hashtag1","hashtag2"]},{"1328692139":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328692161, 1328692139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.31521701812744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 21:17:51.800866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:18:02.444578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:18:21.932467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/17/image_13012025_21_17_03_007871_0003.jpg', '/home/pi/Desktop/images/13012025/21/18/image_13012025_21_18_02_181118_0000.jpg', '/home/pi/Desktop/images/13012025/21/18/image_13012025_21_18_02_181118_0001.jpg', '/home/pi/Desktop/images/13012025/21/18/image_13012025_21_18_02_181118_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/17/image_13012025_21_17_03_007871_0003.jpg
/home/pi/Desktop/images/13012025/21/18/image_13012025_21_18_02_181118_0000.jpg
/home/pi/Desktop/images/13012025/21/18/image_13012025_21_18_02_181118_0001.jpg
/home/pi/Desktop/images/13012025/21/18/image_13012025_21_18_02_181118_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328692290","1328692285","1328692294","1328692288"],"photo_ids_order":["1328692285","1328692288","1328692290","1328692294"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/23dc756c57257ce1b2cd3758b36ea966.jpg","text":"TemporaryFile(/tmp/multipartBody8578672317643391767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799571805,"filename":"image_13012025_21_18_02_181118_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f1b65882d826d1a0c9e60ce8c5d4defb.jpg","text":"TemporaryFile(/tmp/multipartBody1115192171775219613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799571805,"filename":"image_13012025_21_17_03_007871_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a34bb757eb57d59a4e58d6ca9ac5f512.jpg","text":"TemporaryFile(/tmp/multipartBody6278217405841427465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799571805,"filename":"image_13012025_21_18_02_181118_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7da8b181dd38910ebfde72ab3912fc6a.jpg","text":"TemporaryFile(/tmp/multipartBody2417437653779674777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799571805,"filename":"image_13012025_21_18_02_181118_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328692290","file1":"1328692288","file0":"1328692285","file3":"1328692294"},"map_files_photo_id_array":[{"photo_id":"1328692290","filename":"file2"},{"photo_id":"1328692288","filename":"file1"},{"photo_id":"1328692285","filename":"file0"},{"photo_id":"1328692294","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328692290":["hashtag1","hashtag2"]},{"1328692285":["hashtag1","hashtag2"]},{"1328692294":["hashtag1","hashtag2"]},{"1328692288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328692290, 1328692285, 1328692294, 1328692288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.70559644699097 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:19:02.808014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:19:22.175389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/18/image_13012025_21_18_02_181118_0003.jpg', '/home/pi/Desktop/images/13012025/21/19/image_13012025_21_19_02_344771_0000.jpg', '/home/pi/Desktop/images/13012025/21/19/image_13012025_21_19_02_344771_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/18/image_13012025_21_18_02_181118_0003.jpg
/home/pi/Desktop/images/13012025/21/19/image_13012025_21_19_02_344771_0000.jpg
/home/pi/Desktop/images/13012025/21/19/image_13012025_21_19_02_344771_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328692303","1328692311","1328692343"],"photo_ids_order":["1328692303","1328692311","1328692343"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7e1d2665c46af8d41b2ef98a6d1d8a15.jpg","text":"TemporaryFile(/tmp/multipartBody3650172709862556419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799629860,"filename":"image_13012025_21_18_02_181118_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5501a6e6275754e38617b3f1726a5a01.jpg","text":"TemporaryFile(/tmp/multipartBody3279217894191160676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799629860,"filename":"image_13012025_21_19_02_344771_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ea5c38d3d5c8fe37c6a014b86a00709f.jpg","text":"TemporaryFile(/tmp/multipartBody3723362494781542520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799629860,"filename":"image_13012025_21_19_02_344771_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328692343","file1":"1328692311","file0":"1328692303"},"map_files_photo_id_array":[{"photo_id":"1328692343","filename":"file2"},{"photo_id":"1328692311","filename":"file1"},{"photo_id":"1328692303","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328692303":["hashtag1","hashtag2"]},{"1328692311":["hashtag1","hashtag2"]},{"1328692343":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328692303, 1328692311, 1328692343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.11180758476257 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:20:02.744164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:20:22.340918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/19/image_13012025_21_19_02_344771_0003.jpg', '/home/pi/Desktop/images/13012025/21/20/image_13012025_21_20_02_519409_0000.jpg', '/home/pi/Desktop/images/13012025/21/20/image_13012025_21_20_02_519409_0001.jpg', '/home/pi/Desktop/images/13012025/21/20/image_13012025_21_20_02_519409_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/19/image_13012025_21_19_02_344771_0003.jpg
/home/pi/Desktop/images/13012025/21/20/image_13012025_21_20_02_519409_0000.jpg
/home/pi/Desktop/images/13012025/21/20/image_13012025_21_20_02_519409_0001.jpg
/home/pi/Desktop/images/13012025/21/20/image_13012025_21_20_02_519409_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328693153","1328693138","1328693167","1328693209"],"photo_ids_order":["1328693138","1328693153","1328693167","1328693209"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6d1e418c751ca353a59b55a0c3063f02.jpg","text":"TemporaryFile(/tmp/multipartBody4066310098803021346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799692473,"filename":"image_13012025_21_20_02_519409_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2c5cbef6227df9eb0791d5d277169ea0.jpg","text":"TemporaryFile(/tmp/multipartBody9126428695877951126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799692473,"filename":"image_13012025_21_19_02_344771_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6a193abf6d08a519bbcbbecad38b0ab6.jpg","text":"TemporaryFile(/tmp/multipartBody1472910734207247459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799692473,"filename":"image_13012025_21_20_02_519409_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cb63d9b1575b3f70da9ea2bff4a0fd53.jpg","text":"TemporaryFile(/tmp/multipartBody3729842801906885089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799692473,"filename":"image_13012025_21_20_02_519409_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328693167","file1":"1328693153","file0":"1328693138","file3":"1328693209"},"map_files_photo_id_array":[{"photo_id":"1328693167","filename":"file2"},{"photo_id":"1328693153","filename":"file1"},{"photo_id":"1328693138","filename":"file0"},{"photo_id":"1328693209","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328693153":["hashtag1","hashtag2"]},{"1328693138":["hashtag1","hashtag2"]},{"1328693167":["hashtag1","hashtag2"]},{"1328693209":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328693153, 1328693138, 1328693167, 1328693209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.679380893707275 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:21:22.508870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/20/image_13012025_21_20_02_519409_0003.jpg', '/home/pi/Desktop/images/13012025/21/21/image_13012025_21_21_02_771294_0000.jpg', '/home/pi/Desktop/images/13012025/21/21/image_13012025_21_21_02_771294_0001.jpg', '/home/pi/Desktop/images/13012025/21/21/image_13012025_21_21_02_771294_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/20/image_13012025_21_20_02_519409_0003.jpg
/home/pi/Desktop/images/13012025/21/21/image_13012025_21_21_02_771294_0000.jpg
/home/pi/Desktop/images/13012025/21/21/image_13012025_21_21_02_771294_0001.jpg
/home/pi/Desktop/images/13012025/21/21/image_13012025_21_21_02_771294_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328693794","1328693720","1328693665","1328693796"],"photo_ids_order":["1328693665","1328693720","1328693794","1328693796"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e1f4187dbad19b290e528d6fb7ae915e.jpg","text":"TemporaryFile(/tmp/multipartBody137333963067342910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799752447,"filename":"image_13012025_21_21_02_771294_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cdaa2a1ec18715fb3dd73d73a78e050f.jpg","text":"TemporaryFile(/tmp/multipartBody1431204150433903453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799752447,"filename":"image_13012025_21_21_02_771294_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/06fbb3003380b562fada07694dcd493b.jpg","text":"TemporaryFile(/tmp/multipartBody8958885314238021805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799752447,"filename":"image_13012025_21_20_02_519409_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a46105041ddfb2c363eabda8a4b6b098.jpg","text":"TemporaryFile(/tmp/multipartBody7039775322840149882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799752447,"filename":"image_13012025_21_21_02_771294_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328693794","file1":"1328693720","file0":"1328693665","file3":"1328693796"},"map_files_photo_id_array":[{"photo_id":"1328693794","filename":"file2"},{"photo_id":"1328693720","filename":"file1"},{"photo_id":"1328693665","filename":"file0"},{"photo_id":"1328693796","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328693794":["hashtag1","hashtag2"]},{"1328693720":["hashtag1","hashtag2"]},{"1328693665":["hashtag1","hashtag2"]},{"1328693796":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328693794, 1328693720, 1328693665, 1328693796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.17026925086975 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:22:03.218970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:22:22.710161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/21/image_13012025_21_21_02_771294_0003.jpg', '/home/pi/Desktop/images/13012025/21/22/image_13012025_21_22_02_847528_0000.jpg', '/home/pi/Desktop/images/13012025/21/22/image_13012025_21_22_02_847528_0001.jpg', '/home/pi/Desktop/images/13012025/21/22/image_13012025_21_22_02_847528_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/21/image_13012025_21_21_02_771294_0003.jpg
/home/pi/Desktop/images/13012025/21/22/image_13012025_21_22_02_847528_0000.jpg
/home/pi/Desktop/images/13012025/21/22/image_13012025_21_22_02_847528_0001.jpg
/home/pi/Desktop/images/13012025/21/22/image_13012025_21_22_02_847528_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328694061","1328694058","1328694060","1328694063"],"photo_ids_order":["1328694058","1328694060","1328694061","1328694063"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/419ebda759fe17ec18b1f0d4a9842a38.jpg","text":"TemporaryFile(/tmp/multipartBody2520886650784333088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799812630,"filename":"image_13012025_21_22_02_847528_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c5ec72c52bf2ccefbf86874caf0b3dec.jpg","text":"TemporaryFile(/tmp/multipartBody4654575849457966710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799812630,"filename":"image_13012025_21_21_02_771294_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ab83ef6e9ed4c7ce0ccbf9c08269a030.jpg","text":"TemporaryFile(/tmp/multipartBody2141238579391547138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799812630,"filename":"image_13012025_21_22_02_847528_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b74774e76cd8a431da79dd807d002f49.jpg","text":"TemporaryFile(/tmp/multipartBody8041951511238231417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799812630,"filename":"image_13012025_21_22_02_847528_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328694061","file1":"1328694060","file0":"1328694058","file3":"1328694063"},"map_files_photo_id_array":[{"photo_id":"1328694061","filename":"file2"},{"photo_id":"1328694060","filename":"file1"},{"photo_id":"1328694058","filename":"file0"},{"photo_id":"1328694063","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328694061":["hashtag1","hashtag2"]},{"1328694058":["hashtag1","hashtag2"]},{"1328694060":["hashtag1","hashtag2"]},{"1328694063":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328694061, 1328694058, 1328694060, 1328694063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.669336557388306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:23:02.573600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:23:21.898795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/22/image_13012025_21_22_02_847528_0003.jpg', '/home/pi/Desktop/images/13012025/21/23/image_13012025_21_23_03_125711_0000.jpg', '/home/pi/Desktop/images/13012025/21/23/image_13012025_21_23_03_125711_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/22/image_13012025_21_22_02_847528_0003.jpg
/home/pi/Desktop/images/13012025/21/23/image_13012025_21_23_03_125711_0000.jpg
/home/pi/Desktop/images/13012025/21/23/image_13012025_21_23_03_125711_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328694077","1328694082","1328694079"],"photo_ids_order":["1328694077","1328694079","1328694082"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0cc0c801331b2db8cb0a250ec886dd0b.jpg","text":"TemporaryFile(/tmp/multipartBody9059743663159633855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799869397,"filename":"image_13012025_21_22_02_847528_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4e26e07ecfbaae60491fe892f1e40a68.jpg","text":"TemporaryFile(/tmp/multipartBody3897889461871686819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799869397,"filename":"image_13012025_21_23_03_125711_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/264f54397b3104ef7d38d4d42a58c02a.jpg","text":"TemporaryFile(/tmp/multipartBody1455749129515186665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799869397,"filename":"image_13012025_21_23_03_125711_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328694082","file1":"1328694079","file0":"1328694077"},"map_files_photo_id_array":[{"photo_id":"1328694082","filename":"file2"},{"photo_id":"1328694079","filename":"file1"},{"photo_id":"1328694077","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328694077":["hashtag1","hashtag2"]},{"1328694082":["hashtag1","hashtag2"]},{"1328694079":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328694077, 1328694082, 1328694079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.143125772476196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:24:02.509797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:24:22.069296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/23/image_13012025_21_23_03_125711_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/23/image_13012025_21_23_03_125711_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.5289666652679443 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 21:24:32.009088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/23/image_13012025_21_23_03_125711_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/23/image_13012025_21_23_03_125711_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328694114"],"photo_id":"1328694114","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e0fb672b7e28118292b0b0591650ef02.jpg","text":"TemporaryFile(/tmp/multipartBody8658417832459401767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799934959,"filename":"image_13012025_21_23_03_125711_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1328694114"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1328694114"}],"hashtags":[],"portfolio_id":"19538744","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.71143913269043 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 21:24:51.991890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:25:02.815397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:25:22.212355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/24/image_13012025_21_24_02_233379_0001.jpg', '/home/pi/Desktop/images/13012025/21/25/image_13012025_21_25_02_395286_0000.jpg', '/home/pi/Desktop/images/13012025/21/25/image_13012025_21_25_02_395286_0001.jpg', '/home/pi/Desktop/images/13012025/21/25/image_13012025_21_25_02_395286_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/24/image_13012025_21_24_02_233379_0001.jpg
/home/pi/Desktop/images/13012025/21/25/image_13012025_21_25_02_395286_0000.jpg
/home/pi/Desktop/images/13012025/21/25/image_13012025_21_25_02_395286_0001.jpg
/home/pi/Desktop/images/13012025/21/25/image_13012025_21_25_02_395286_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328694257","1328694146","1328694154","1328694145"],"photo_ids_order":["1328694145","1328694146","1328694154","1328694257"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5d2c015ff90bfd2ea60a12fcf58d65e5.jpg","text":"TemporaryFile(/tmp/multipartBody1697768588453054089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799991985,"filename":"image_13012025_21_25_02_395286_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f284c9923bfe78c29eac4a9977c0b70d.jpg","text":"TemporaryFile(/tmp/multipartBody5252214155982202939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799991985,"filename":"image_13012025_21_25_02_395286_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e078d4456adaffd1e80012343de4c65a.jpg","text":"TemporaryFile(/tmp/multipartBody3288179541463306210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799991985,"filename":"image_13012025_21_25_02_395286_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a5b5f41831cbbf6d33d9c5e1a69e6512.jpg","text":"TemporaryFile(/tmp/multipartBody7325034361076986508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736799991985,"filename":"image_13012025_21_24_02_233379_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328694154","file1":"1328694146","file0":"1328694145","file3":"1328694257"},"map_files_photo_id_array":[{"photo_id":"1328694154","filename":"file2"},{"photo_id":"1328694146","filename":"file1"},{"photo_id":"1328694145","filename":"file0"},{"photo_id":"1328694257","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328694257":["hashtag1","hashtag2"]},{"1328694146":["hashtag1","hashtag2"]},{"1328694154":["hashtag1","hashtag2"]},{"1328694145":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328694257, 1328694146, 1328694154, 1328694145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.29888844490051 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:26:02.661385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:26:22.359193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/25/image_13012025_21_25_02_395286_0003.jpg', '/home/pi/Desktop/images/13012025/21/26/image_13012025_21_26_02_511100_0000.jpg', '/home/pi/Desktop/images/13012025/21/26/image_13012025_21_26_02_511100_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/25/image_13012025_21_25_02_395286_0003.jpg
/home/pi/Desktop/images/13012025/21/26/image_13012025_21_26_02_511100_0000.jpg
/home/pi/Desktop/images/13012025/21/26/image_13012025_21_26_02_511100_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328694389","1328694384","1328694387"],"photo_ids_order":["1328694384","1328694387","1328694389"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/743937a5cb279793a1e743fb8f455ae6.jpg","text":"TemporaryFile(/tmp/multipartBody2672657162654910165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800049880,"filename":"image_13012025_21_26_02_511100_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3a94a0e5119b7708b57c8d534d729f3c.jpg","text":"TemporaryFile(/tmp/multipartBody6438812055197641192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800049880,"filename":"image_13012025_21_25_02_395286_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ae0e8457442decd68df7b7a78c4c4f6f.jpg","text":"TemporaryFile(/tmp/multipartBody7285388223281555622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800049880,"filename":"image_13012025_21_26_02_511100_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328694389","file1":"1328694387","file0":"1328694384"},"map_files_photo_id_array":[{"photo_id":"1328694389","filename":"file2"},{"photo_id":"1328694387","filename":"file1"},{"photo_id":"1328694384","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328694389":["hashtag1","hashtag2"]},{"1328694384":["hashtag1","hashtag2"]},{"1328694387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328694389, 1328694384, 1328694387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.295822620391846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:27:03.167896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:27:22.636624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/26/image_13012025_21_26_02_511100_0003.jpg', '/home/pi/Desktop/images/13012025/21/27/image_13012025_21_27_02_783693_0000.jpg', '/home/pi/Desktop/images/13012025/21/27/image_13012025_21_27_02_783693_0001.jpg', '/home/pi/Desktop/images/13012025/21/27/image_13012025_21_27_02_783693_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/26/image_13012025_21_26_02_511100_0003.jpg
/home/pi/Desktop/images/13012025/21/27/image_13012025_21_27_02_783693_0000.jpg
/home/pi/Desktop/images/13012025/21/27/image_13012025_21_27_02_783693_0001.jpg
/home/pi/Desktop/images/13012025/21/27/image_13012025_21_27_02_783693_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328694410","1328694412","1328694406","1328694411"],"photo_ids_order":["1328694406","1328694410","1328694411","1328694412"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/75c7c2726ba2c44cfc7962becabff9d1.jpg","text":"TemporaryFile(/tmp/multipartBody2286943961775242753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800112378,"filename":"image_13012025_21_27_02_783693_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1c194c0f501413feedfe5007754e8f8c.jpg","text":"TemporaryFile(/tmp/multipartBody8668149802000491845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800112378,"filename":"image_13012025_21_27_02_783693_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/69f2b04e35552399f43d950018c60fb1.jpg","text":"TemporaryFile(/tmp/multipartBody114851518889196151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800112378,"filename":"image_13012025_21_26_02_511100_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9e92db88d7005c445bf979cf9984fe9c.jpg","text":"TemporaryFile(/tmp/multipartBody6581892532201700826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800112378,"filename":"image_13012025_21_27_02_783693_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328694411","file1":"1328694410","file0":"1328694406","file3":"1328694412"},"map_files_photo_id_array":[{"photo_id":"1328694411","filename":"file2"},{"photo_id":"1328694410","filename":"file1"},{"photo_id":"1328694406","filename":"file0"},{"photo_id":"1328694412","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328694410":["hashtag1","hashtag2"]},{"1328694412":["hashtag1","hashtag2"]},{"1328694406":["hashtag1","hashtag2"]},{"1328694411":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328694410, 1328694412, 1328694406, 1328694411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.240893602371216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:28:03.095287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:28:22.735454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/27/image_13012025_21_27_02_783693_0003.jpg', '/home/pi/Desktop/images/13012025/21/28/image_13012025_21_28_02_950712_0000.jpg', '/home/pi/Desktop/images/13012025/21/28/image_13012025_21_28_02_950712_0001.jpg', '/home/pi/Desktop/images/13012025/21/28/image_13012025_21_28_02_950712_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/27/image_13012025_21_27_02_783693_0003.jpg
/home/pi/Desktop/images/13012025/21/28/image_13012025_21_28_02_950712_0000.jpg
/home/pi/Desktop/images/13012025/21/28/image_13012025_21_28_02_950712_0001.jpg
/home/pi/Desktop/images/13012025/21/28/image_13012025_21_28_02_950712_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328694464","1328694458","1328694463","1328694462"],"photo_ids_order":["1328694458","1328694462","1328694463","1328694464"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3b3617348356e5048715c17123e0e47c.jpg","text":"TemporaryFile(/tmp/multipartBody5642880495464996153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800172454,"filename":"image_13012025_21_28_02_950712_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d06f53f510722c83d983b60d2974e12e.jpg","text":"TemporaryFile(/tmp/multipartBody3039534973557563058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800172454,"filename":"image_13012025_21_27_02_783693_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0a035c6f8534b59983e9b27d861c9920.jpg","text":"TemporaryFile(/tmp/multipartBody7990533320125502671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800172454,"filename":"image_13012025_21_28_02_950712_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/36c36896d6d6ecbc5fbddeaf01c4470c.jpg","text":"TemporaryFile(/tmp/multipartBody4498704280701759320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800172454,"filename":"image_13012025_21_28_02_950712_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328694463","file1":"1328694462","file0":"1328694458","file3":"1328694464"},"map_files_photo_id_array":[{"photo_id":"1328694463","filename":"file2"},{"photo_id":"1328694462","filename":"file1"},{"photo_id":"1328694458","filename":"file0"},{"photo_id":"1328694464","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328694464":["hashtag1","hashtag2"]},{"1328694458":["hashtag1","hashtag2"]},{"1328694463":["hashtag1","hashtag2"]},{"1328694462":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328694464, 1328694458, 1328694463, 1328694462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.89798450469971 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:29:02.565380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:29:21.907806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/28/image_13012025_21_28_02_950712_0003.jpg', '/home/pi/Desktop/images/13012025/21/29/image_13012025_21_29_03_087213_0000.jpg', '/home/pi/Desktop/images/13012025/21/29/image_13012025_21_29_03_087213_0001.jpg', '/home/pi/Desktop/images/13012025/21/29/image_13012025_21_29_03_087213_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/28/image_13012025_21_28_02_950712_0003.jpg
/home/pi/Desktop/images/13012025/21/29/image_13012025_21_29_03_087213_0000.jpg
/home/pi/Desktop/images/13012025/21/29/image_13012025_21_29_03_087213_0001.jpg
/home/pi/Desktop/images/13012025/21/29/image_13012025_21_29_03_087213_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328694533","1328694532","1328694531","1328694528"],"photo_ids_order":["1328694528","1328694531","1328694532","1328694533"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/32780edce851bad8642910ef4aa7a296.jpg","text":"TemporaryFile(/tmp/multipartBody1835192865082901902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800231710,"filename":"image_13012025_21_29_03_087213_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5cd896a7538796c1f06f3b69a036e27e.jpg","text":"TemporaryFile(/tmp/multipartBody5774193606016250235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800231710,"filename":"image_13012025_21_29_03_087213_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/838163ad4ddb80d5ae2ba15d5b29ed44.jpg","text":"TemporaryFile(/tmp/multipartBody3902637319068690599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800231710,"filename":"image_13012025_21_29_03_087213_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/88298eb42ae6b046b1fea5e725a4b2df.jpg","text":"TemporaryFile(/tmp/multipartBody3013427298654189335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800231710,"filename":"image_13012025_21_28_02_950712_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328694532","file1":"1328694531","file0":"1328694528","file3":"1328694533"},"map_files_photo_id_array":[{"photo_id":"1328694532","filename":"file2"},{"photo_id":"1328694531","filename":"file1"},{"photo_id":"1328694528","filename":"file0"},{"photo_id":"1328694533","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328694533":["hashtag1","hashtag2"]},{"1328694532":["hashtag1","hashtag2"]},{"1328694531":["hashtag1","hashtag2"]},{"1328694528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328694533, 1328694532, 1328694531, 1328694528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.10179948806763 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:30:02.522427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:30:22.095838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/29/image_13012025_21_29_03_087213_0003.jpg', '/home/pi/Desktop/images/13012025/21/30/image_13012025_21_30_02_214111_0000.jpg', '/home/pi/Desktop/images/13012025/21/30/image_13012025_21_30_02_214111_0001.jpg', '/home/pi/Desktop/images/13012025/21/30/image_13012025_21_30_02_214111_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/29/image_13012025_21_29_03_087213_0003.jpg
/home/pi/Desktop/images/13012025/21/30/image_13012025_21_30_02_214111_0000.jpg
/home/pi/Desktop/images/13012025/21/30/image_13012025_21_30_02_214111_0001.jpg
/home/pi/Desktop/images/13012025/21/30/image_13012025_21_30_02_214111_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328694563","1328694547","1328694541","1328694570"],"photo_ids_order":["1328694541","1328694547","1328694563","1328694570"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ec7d9fa7512707c4940611346afe7a8c.jpg","text":"TemporaryFile(/tmp/multipartBody7618549871306298101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800291851,"filename":"image_13012025_21_30_02_214111_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3dccf74aaa019e26f4f9a266eb746a9b.jpg","text":"TemporaryFile(/tmp/multipartBody2307120399496371556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800291851,"filename":"image_13012025_21_30_02_214111_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/698a13a0dc070b994ac08ce09105818c.jpg","text":"TemporaryFile(/tmp/multipartBody4723457121517680849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800291851,"filename":"image_13012025_21_29_03_087213_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f8d09c2f07c52edb0a21c5262f50025c.jpg","text":"TemporaryFile(/tmp/multipartBody5112231470934813643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800291851,"filename":"image_13012025_21_30_02_214111_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328694563","file1":"1328694547","file0":"1328694541","file3":"1328694570"},"map_files_photo_id_array":[{"photo_id":"1328694563","filename":"file2"},{"photo_id":"1328694547","filename":"file1"},{"photo_id":"1328694541","filename":"file0"},{"photo_id":"1328694570","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328694563":["hashtag1","hashtag2"]},{"1328694547":["hashtag1","hashtag2"]},{"1328694541":["hashtag1","hashtag2"]},{"1328694570":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328694563, 1328694547, 1328694541, 1328694570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.974303245544434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:31:02.744077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:31:22.350588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/30/image_13012025_21_30_02_214111_0003.jpg', '/home/pi/Desktop/images/13012025/21/31/image_13012025_21_31_02_428256_0000.jpg', '/home/pi/Desktop/images/13012025/21/31/image_13012025_21_31_02_428256_0001.jpg', '/home/pi/Desktop/images/13012025/21/31/image_13012025_21_31_02_428256_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/30/image_13012025_21_30_02_214111_0003.jpg
/home/pi/Desktop/images/13012025/21/31/image_13012025_21_31_02_428256_0000.jpg
/home/pi/Desktop/images/13012025/21/31/image_13012025_21_31_02_428256_0001.jpg
/home/pi/Desktop/images/13012025/21/31/image_13012025_21_31_02_428256_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328695179","1328694928","1328695104","1328694858"],"photo_ids_order":["1328694858","1328694928","1328695104","1328695179"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d52c062add513f770ce276c20db89922.jpg","text":"TemporaryFile(/tmp/multipartBody8857405550243829767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800352218,"filename":"image_13012025_21_31_02_428256_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/909f4526e07caffd58249a8347976e34.jpg","text":"TemporaryFile(/tmp/multipartBody920733892302801282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800352218,"filename":"image_13012025_21_31_02_428256_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7146a9c1de931df69404f679d73f133d.jpg","text":"TemporaryFile(/tmp/multipartBody660398543516090094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800352218,"filename":"image_13012025_21_31_02_428256_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0b8015cb6e56e2b0762fc84ace6889cb.jpg","text":"TemporaryFile(/tmp/multipartBody3647453047381342403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800352218,"filename":"image_13012025_21_30_02_214111_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328695104","file1":"1328694928","file0":"1328694858","file3":"1328695179"},"map_files_photo_id_array":[{"photo_id":"1328695104","filename":"file2"},{"photo_id":"1328694928","filename":"file1"},{"photo_id":"1328694858","filename":"file0"},{"photo_id":"1328695179","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328695179":["hashtag1","hashtag2"]},{"1328694928":["hashtag1","hashtag2"]},{"1328695104":["hashtag1","hashtag2"]},{"1328694858":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328695179, 1328694928, 1328695104, 1328694858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.1616473197937 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:32:02.750494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:32:22.351341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/31/image_13012025_21_31_02_428256_0003.jpg', '/home/pi/Desktop/images/13012025/21/32/image_13012025_21_32_02_655328_0000.jpg', '/home/pi/Desktop/images/13012025/21/32/image_13012025_21_32_02_655328_0001.jpg', '/home/pi/Desktop/images/13012025/21/32/image_13012025_21_32_02_655328_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/31/image_13012025_21_31_02_428256_0003.jpg
/home/pi/Desktop/images/13012025/21/32/image_13012025_21_32_02_655328_0000.jpg
/home/pi/Desktop/images/13012025/21/32/image_13012025_21_32_02_655328_0001.jpg
/home/pi/Desktop/images/13012025/21/32/image_13012025_21_32_02_655328_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328695363","1328695501","1328695479","1328695367"],"photo_ids_order":["1328695363","1328695367","1328695479","1328695501"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/55dd90e865088691b113e884a2773311.jpg","text":"TemporaryFile(/tmp/multipartBody7406737441466172123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800412578,"filename":"image_13012025_21_31_02_428256_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c9bd8b3b5e9e4d48fa851638b4469dda.jpg","text":"TemporaryFile(/tmp/multipartBody5947946295245988318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800412578,"filename":"image_13012025_21_32_02_655328_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/31201964304211ba24db0d815e5c9933.jpg","text":"TemporaryFile(/tmp/multipartBody3925677034388128279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800412578,"filename":"image_13012025_21_32_02_655328_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6f4b1d579ed6c25536527cdd08f934d6.jpg","text":"TemporaryFile(/tmp/multipartBody5748177933520795752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800412578,"filename":"image_13012025_21_32_02_655328_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328695479","file1":"1328695367","file0":"1328695363","file3":"1328695501"},"map_files_photo_id_array":[{"photo_id":"1328695479","filename":"file2"},{"photo_id":"1328695367","filename":"file1"},{"photo_id":"1328695363","filename":"file0"},{"photo_id":"1328695501","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328695363":["hashtag1","hashtag2"]},{"1328695501":["hashtag1","hashtag2"]},{"1328695479":["hashtag1","hashtag2"]},{"1328695367":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328695363, 1328695501, 1328695479, 1328695367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.71852159500122 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:33:22.554920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/32/image_13012025_21_32_02_655328_0003.jpg', '/home/pi/Desktop/images/13012025/21/33/image_13012025_21_33_02_716083_0000.jpg', '/home/pi/Desktop/images/13012025/21/33/image_13012025_21_33_02_716083_0001.jpg', '/home/pi/Desktop/images/13012025/21/33/image_13012025_21_33_02_716083_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/32/image_13012025_21_32_02_655328_0003.jpg
/home/pi/Desktop/images/13012025/21/33/image_13012025_21_33_02_716083_0000.jpg
/home/pi/Desktop/images/13012025/21/33/image_13012025_21_33_02_716083_0001.jpg
/home/pi/Desktop/images/13012025/21/33/image_13012025_21_33_02_716083_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328695543","1328695540","1328695542","1328695544"],"photo_ids_order":["1328695540","1328695542","1328695543","1328695544"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7d60035aa045472bce0e4004a4749574.jpg","text":"TemporaryFile(/tmp/multipartBody1319773266032880789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800472963,"filename":"image_13012025_21_33_02_716083_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/885a6f7b537ee9b0d3cf68f23037b138.jpg","text":"TemporaryFile(/tmp/multipartBody6489012587776267450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800472963,"filename":"image_13012025_21_32_02_655328_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/61f0d5d4532f6b95e1c862256803b0fe.jpg","text":"TemporaryFile(/tmp/multipartBody7663331373760341402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800472963,"filename":"image_13012025_21_33_02_716083_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/92a46a0b0e3c42ecf76fa92e3a46403e.jpg","text":"TemporaryFile(/tmp/multipartBody298891043844847567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800472963,"filename":"image_13012025_21_33_02_716083_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328695543","file1":"1328695542","file0":"1328695540","file3":"1328695544"},"map_files_photo_id_array":[{"photo_id":"1328695543","filename":"file2"},{"photo_id":"1328695542","filename":"file1"},{"photo_id":"1328695540","filename":"file0"},{"photo_id":"1328695544","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328695543":["hashtag1","hashtag2"]},{"1328695540":["hashtag1","hashtag2"]},{"1328695542":["hashtag1","hashtag2"]},{"1328695544":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328695543, 1328695540, 1328695542, 1328695544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.48302865028381 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:34:02.299966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:34:21.853588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/33/image_13012025_21_33_02_716083_0003.jpg', '/home/pi/Desktop/images/13012025/21/34/image_13012025_21_34_02_961448_0000.jpg', '/home/pi/Desktop/images/13012025/21/34/image_13012025_21_34_02_961448_0001.jpg', '/home/pi/Desktop/images/13012025/21/34/image_13012025_21_34_02_961448_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/33/image_13012025_21_33_02_716083_0003.jpg
/home/pi/Desktop/images/13012025/21/34/image_13012025_21_34_02_961448_0000.jpg
/home/pi/Desktop/images/13012025/21/34/image_13012025_21_34_02_961448_0001.jpg
/home/pi/Desktop/images/13012025/21/34/image_13012025_21_34_02_961448_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328695564","1328695560","1328695562","1328695559"],"photo_ids_order":["1328695559","1328695560","1328695562","1328695564"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ab6fcd992134b20ffed1ae9c43e57462.jpg","text":"TemporaryFile(/tmp/multipartBody8305614740412679843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800531994,"filename":"image_13012025_21_34_02_961448_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/762d4409fcaa32674b059b319111e616.jpg","text":"TemporaryFile(/tmp/multipartBody4103885932362753993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800531994,"filename":"image_13012025_21_34_02_961448_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/09ce50905cc9a8bc55ba4bad81e0117b.jpg","text":"TemporaryFile(/tmp/multipartBody2186296927164270500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800531994,"filename":"image_13012025_21_34_02_961448_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/07f16de1316619a3146ec29ffb9dace5.jpg","text":"TemporaryFile(/tmp/multipartBody6485319518150845840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800531994,"filename":"image_13012025_21_33_02_716083_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328695562","file1":"1328695560","file0":"1328695559","file3":"1328695564"},"map_files_photo_id_array":[{"photo_id":"1328695562","filename":"file2"},{"photo_id":"1328695560","filename":"file1"},{"photo_id":"1328695559","filename":"file0"},{"photo_id":"1328695564","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328695564":["hashtag1","hashtag2"]},{"1328695560":["hashtag1","hashtag2"]},{"1328695562":["hashtag1","hashtag2"]},{"1328695559":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328695564, 1328695560, 1328695562, 1328695559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.860867500305176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:35:02.606045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:35:21.978640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/34/image_13012025_21_34_02_961448_0003.jpg', '/home/pi/Desktop/images/13012025/21/35/image_13012025_21_35_02_127171_0000.jpg', '/home/pi/Desktop/images/13012025/21/35/image_13012025_21_35_02_127171_0001.jpg', '/home/pi/Desktop/images/13012025/21/35/image_13012025_21_35_02_127171_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/34/image_13012025_21_34_02_961448_0003.jpg
/home/pi/Desktop/images/13012025/21/35/image_13012025_21_35_02_127171_0000.jpg
/home/pi/Desktop/images/13012025/21/35/image_13012025_21_35_02_127171_0001.jpg
/home/pi/Desktop/images/13012025/21/35/image_13012025_21_35_02_127171_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328695582","1328695576","1328695579","1328695572"],"photo_ids_order":["1328695572","1328695576","1328695579","1328695582"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3159bbf83ff44ac9106936c42b5c182a.jpg","text":"TemporaryFile(/tmp/multipartBody7908743091193533177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800591797,"filename":"image_13012025_21_35_02_127171_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/028933a39f587969050b291baf32e4c4.jpg","text":"TemporaryFile(/tmp/multipartBody3732145183788719147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800591797,"filename":"image_13012025_21_35_02_127171_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a3e3956c62a016ff9f57743ee8071570.jpg","text":"TemporaryFile(/tmp/multipartBody8807402836143428216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800591797,"filename":"image_13012025_21_35_02_127171_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/01f2c03f1141261c091a71dc0e5bf036.jpg","text":"TemporaryFile(/tmp/multipartBody2632787268461582299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800591797,"filename":"image_13012025_21_34_02_961448_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328695579","file1":"1328695576","file0":"1328695572","file3":"1328695582"},"map_files_photo_id_array":[{"photo_id":"1328695579","filename":"file2"},{"photo_id":"1328695576","filename":"file1"},{"photo_id":"1328695572","filename":"file0"},{"photo_id":"1328695582","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328695582":["hashtag1","hashtag2"]},{"1328695576":["hashtag1","hashtag2"]},{"1328695579":["hashtag1","hashtag2"]},{"1328695572":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328695582, 1328695576, 1328695579, 1328695572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.049461364746094 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:36:22.200353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/35/image_13012025_21_35_02_127171_0003.jpg', '/home/pi/Desktop/images/13012025/21/36/image_13012025_21_36_02_333593_0000.jpg', '/home/pi/Desktop/images/13012025/21/36/image_13012025_21_36_02_333593_0001.jpg', '/home/pi/Desktop/images/13012025/21/36/image_13012025_21_36_02_333593_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/35/image_13012025_21_35_02_127171_0003.jpg
/home/pi/Desktop/images/13012025/21/36/image_13012025_21_36_02_333593_0000.jpg
/home/pi/Desktop/images/13012025/21/36/image_13012025_21_36_02_333593_0001.jpg
/home/pi/Desktop/images/13012025/21/36/image_13012025_21_36_02_333593_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.351442575454712 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 21:36:42.159076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/35/image_13012025_21_35_02_127171_0003.jpg', '/home/pi/Desktop/images/13012025/21/36/image_13012025_21_36_02_333593_0000.jpg', '/home/pi/Desktop/images/13012025/21/36/image_13012025_21_36_02_333593_0001.jpg', '/home/pi/Desktop/images/13012025/21/36/image_13012025_21_36_02_333593_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/35/image_13012025_21_35_02_127171_0003.jpg
/home/pi/Desktop/images/13012025/21/36/image_13012025_21_36_02_333593_0000.jpg
/home/pi/Desktop/images/13012025/21/36/image_13012025_21_36_02_333593_0001.jpg
/home/pi/Desktop/images/13012025/21/36/image_13012025_21_36_02_333593_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328695673","1328695696","1328695647","1328695662"],"photo_ids_order":["1328695647","1328695662","1328695673","1328695696"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2e5cbd96ccf40440e28748beb82a430d.jpg","text":"TemporaryFile(/tmp/multipartBody1301775519553879530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800671911,"filename":"image_13012025_21_36_02_333593_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/203eb323f2dad585c94e1de4856f9cbe.jpg","text":"TemporaryFile(/tmp/multipartBody1317236245746660204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800671911,"filename":"image_13012025_21_36_02_333593_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/341313859e7ad19c277cd84769a02652.jpg","text":"TemporaryFile(/tmp/multipartBody6051795038969423661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800671911,"filename":"image_13012025_21_35_02_127171_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fc4c8cacf0a1208fae27dae26d1539d5.jpg","text":"TemporaryFile(/tmp/multipartBody6993293715801438048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800671911,"filename":"image_13012025_21_36_02_333593_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328695673","file1":"1328695662","file0":"1328695647","file3":"1328695696"},"map_files_photo_id_array":[{"photo_id":"1328695673","filename":"file2"},{"photo_id":"1328695662","filename":"file1"},{"photo_id":"1328695647","filename":"file0"},{"photo_id":"1328695696","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328695673":["hashtag1","hashtag2"]},{"1328695696":["hashtag1","hashtag2"]},{"1328695647":["hashtag1","hashtag2"]},{"1328695662":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328695673, 1328695696, 1328695647, 1328695662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.28227639198303 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:37:22.369481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/36/image_13012025_21_36_02_333593_0003.jpg', '/home/pi/Desktop/images/13012025/21/37/image_13012025_21_37_02_518485_0000.jpg', '/home/pi/Desktop/images/13012025/21/37/image_13012025_21_37_02_518485_0001.jpg', '/home/pi/Desktop/images/13012025/21/37/image_13012025_21_37_02_518485_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/36/image_13012025_21_36_02_333593_0003.jpg
/home/pi/Desktop/images/13012025/21/37/image_13012025_21_37_02_518485_0000.jpg
/home/pi/Desktop/images/13012025/21/37/image_13012025_21_37_02_518485_0001.jpg
/home/pi/Desktop/images/13012025/21/37/image_13012025_21_37_02_518485_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328695715","1328695732","1328695714","1328695704"],"photo_ids_order":["1328695704","1328695714","1328695715","1328695732"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/04440264f11571f302c75509fb820c41.jpg","text":"TemporaryFile(/tmp/multipartBody6146057727339878709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800712551,"filename":"image_13012025_21_37_02_518485_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/458a97882b310bad5bf4bd577bca3fd2.jpg","text":"TemporaryFile(/tmp/multipartBody3954676868824032816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800712551,"filename":"image_13012025_21_37_02_518485_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/33a83ed4c066738a892fb7c55a312886.jpg","text":"TemporaryFile(/tmp/multipartBody6341151389501024739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800712551,"filename":"image_13012025_21_37_02_518485_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2cac904b0051725e0109dfc72f904096.jpg","text":"TemporaryFile(/tmp/multipartBody7799252830920876721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800712551,"filename":"image_13012025_21_36_02_333593_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328695715","file1":"1328695714","file0":"1328695704","file3":"1328695732"},"map_files_photo_id_array":[{"photo_id":"1328695715","filename":"file2"},{"photo_id":"1328695714","filename":"file1"},{"photo_id":"1328695704","filename":"file0"},{"photo_id":"1328695732","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328695715":["hashtag1","hashtag2"]},{"1328695732":["hashtag1","hashtag2"]},{"1328695714":["hashtag1","hashtag2"]},{"1328695704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328695715, 1328695732, 1328695714, 1328695704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.87858819961548 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:38:02.957069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:38:22.464380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/37/image_13012025_21_37_02_518485_0003.jpg', '/home/pi/Desktop/images/13012025/21/38/image_13012025_21_38_02_713957_0000.jpg', '/home/pi/Desktop/images/13012025/21/38/image_13012025_21_38_02_713957_0001.jpg', '/home/pi/Desktop/images/13012025/21/38/image_13012025_21_38_02_713957_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/37/image_13012025_21_37_02_518485_0003.jpg
/home/pi/Desktop/images/13012025/21/38/image_13012025_21_38_02_713957_0000.jpg
/home/pi/Desktop/images/13012025/21/38/image_13012025_21_38_02_713957_0001.jpg
/home/pi/Desktop/images/13012025/21/38/image_13012025_21_38_02_713957_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328695817","1328695815","1328695809","1328695799"],"photo_ids_order":["1328695799","1328695809","1328695815","1328695817"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/49e7987c9e7595b7882dc6780244779c.jpg","text":"TemporaryFile(/tmp/multipartBody5943452112343959433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800772575,"filename":"image_13012025_21_38_02_713957_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/82667e99153d40a9909abeac088bd0c4.jpg","text":"TemporaryFile(/tmp/multipartBody3335880449569262002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800772575,"filename":"image_13012025_21_38_02_713957_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/825959a55afb2d27a46b371998288f36.jpg","text":"TemporaryFile(/tmp/multipartBody8044776222493870819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800772575,"filename":"image_13012025_21_38_02_713957_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0a857f2b73a976b39d06f45a9262638e.jpg","text":"TemporaryFile(/tmp/multipartBody4818820489079833868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800772575,"filename":"image_13012025_21_37_02_518485_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328695815","file1":"1328695809","file0":"1328695799","file3":"1328695817"},"map_files_photo_id_array":[{"photo_id":"1328695815","filename":"file2"},{"photo_id":"1328695809","filename":"file1"},{"photo_id":"1328695799","filename":"file0"},{"photo_id":"1328695817","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328695817":["hashtag1","hashtag2"]},{"1328695815":["hashtag1","hashtag2"]},{"1328695809":["hashtag1","hashtag2"]},{"1328695799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328695817, 1328695815, 1328695809, 1328695799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.01446270942688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:39:03.243997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:39:22.640543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/38/image_13012025_21_38_02_713957_0003.jpg', '/home/pi/Desktop/images/13012025/21/39/image_13012025_21_39_02_792283_0000.jpg', '/home/pi/Desktop/images/13012025/21/39/image_13012025_21_39_02_792283_0001.jpg', '/home/pi/Desktop/images/13012025/21/39/image_13012025_21_39_02_792283_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/38/image_13012025_21_38_02_713957_0003.jpg
/home/pi/Desktop/images/13012025/21/39/image_13012025_21_39_02_792283_0000.jpg
/home/pi/Desktop/images/13012025/21/39/image_13012025_21_39_02_792283_0001.jpg
/home/pi/Desktop/images/13012025/21/39/image_13012025_21_39_02_792283_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328695879","1328695881","1328695884","1328695887"],"photo_ids_order":["1328695879","1328695881","1328695884","1328695887"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ddfa50df8fcb27e959581d225d591fd9.jpg","text":"TemporaryFile(/tmp/multipartBody2635408130990414592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800832787,"filename":"image_13012025_21_38_02_713957_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7a311820be081e54ec803c2dcc389b2f.jpg","text":"TemporaryFile(/tmp/multipartBody1196752489868786167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800832787,"filename":"image_13012025_21_39_02_792283_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/945683e92ae3a21997c65caf26705b08.jpg","text":"TemporaryFile(/tmp/multipartBody6716042599699758700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800832787,"filename":"image_13012025_21_39_02_792283_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1f43433312a5ef2271e7173cd6ab6e7d.jpg","text":"TemporaryFile(/tmp/multipartBody603831025223103003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800832787,"filename":"image_13012025_21_39_02_792283_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328695884","file1":"1328695881","file0":"1328695879","file3":"1328695887"},"map_files_photo_id_array":[{"photo_id":"1328695884","filename":"file2"},{"photo_id":"1328695881","filename":"file1"},{"photo_id":"1328695879","filename":"file0"},{"photo_id":"1328695887","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328695879":["hashtag1","hashtag2"]},{"1328695881":["hashtag1","hashtag2"]},{"1328695884":["hashtag1","hashtag2"]},{"1328695887":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328695879, 1328695881, 1328695884, 1328695887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.14024496078491 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:40:21.819690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/39/image_13012025_21_39_02_792283_0003.jpg', '/home/pi/Desktop/images/13012025/21/40/image_13012025_21_40_03_094078_0000.jpg', '/home/pi/Desktop/images/13012025/21/40/image_13012025_21_40_03_094078_0001.jpg', '/home/pi/Desktop/images/13012025/21/40/image_13012025_21_40_03_094078_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/39/image_13012025_21_39_02_792283_0003.jpg
/home/pi/Desktop/images/13012025/21/40/image_13012025_21_40_03_094078_0000.jpg
/home/pi/Desktop/images/13012025/21/40/image_13012025_21_40_03_094078_0001.jpg
/home/pi/Desktop/images/13012025/21/40/image_13012025_21_40_03_094078_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328695910","1328695897","1328695914","1328695917"],"photo_ids_order":["1328695897","1328695910","1328695914","1328695917"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/52e47b5310286c2841a59fa5471fd3b0.jpg","text":"TemporaryFile(/tmp/multipartBody1564107881406401372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800892062,"filename":"image_13012025_21_40_03_094078_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c989b08e8c50e2fce6c09226612495e6.jpg","text":"TemporaryFile(/tmp/multipartBody5839812406326376029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800892062,"filename":"image_13012025_21_39_02_792283_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5281806c0c0115040fc4e77c191fb8bf.jpg","text":"TemporaryFile(/tmp/multipartBody4559812886804660041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800892062,"filename":"image_13012025_21_40_03_094078_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0c5f55684acb2c0ef57d8b0cd1c0bf86.jpg","text":"TemporaryFile(/tmp/multipartBody1067944267826864384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800892062,"filename":"image_13012025_21_40_03_094078_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328695914","file1":"1328695910","file0":"1328695897","file3":"1328695917"},"map_files_photo_id_array":[{"photo_id":"1328695914","filename":"file2"},{"photo_id":"1328695910","filename":"file1"},{"photo_id":"1328695897","filename":"file0"},{"photo_id":"1328695917","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328695910":["hashtag1","hashtag2"]},{"1328695897":["hashtag1","hashtag2"]},{"1328695914":["hashtag1","hashtag2"]},{"1328695917":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328695910, 1328695897, 1328695914, 1328695917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.17038559913635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:41:02.402360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:41:21.933861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/40/image_13012025_21_40_03_094078_0003.jpg', '/home/pi/Desktop/images/13012025/21/41/image_13012025_21_41_02_260045_0000.jpg', '/home/pi/Desktop/images/13012025/21/41/image_13012025_21_41_02_260045_0001.jpg', '/home/pi/Desktop/images/13012025/21/41/image_13012025_21_41_02_260045_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/40/image_13012025_21_40_03_094078_0003.jpg
/home/pi/Desktop/images/13012025/21/41/image_13012025_21_41_02_260045_0000.jpg
/home/pi/Desktop/images/13012025/21/41/image_13012025_21_41_02_260045_0001.jpg
/home/pi/Desktop/images/13012025/21/41/image_13012025_21_41_02_260045_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328695943","1328695936","1328695947","1328695952"],"photo_ids_order":["1328695936","1328695943","1328695947","1328695952"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a25990fe53221a6450d0b88b370097d2.jpg","text":"TemporaryFile(/tmp/multipartBody5839860526137589372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800952290,"filename":"image_13012025_21_41_02_260045_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7c637da1e21252c313f7ba6b4e5f4da7.jpg","text":"TemporaryFile(/tmp/multipartBody8116764808623064244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800952290,"filename":"image_13012025_21_40_03_094078_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/72f6119ac4ab3d6dd2007fbfb3e32fe1.jpg","text":"TemporaryFile(/tmp/multipartBody3253911502042872655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800952290,"filename":"image_13012025_21_41_02_260045_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/65bb1db18f1ca366a3b84e9bb8507337.jpg","text":"TemporaryFile(/tmp/multipartBody4681503742844253847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736800952290,"filename":"image_13012025_21_41_02_260045_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328695947","file1":"1328695943","file0":"1328695936","file3":"1328695952"},"map_files_photo_id_array":[{"photo_id":"1328695947","filename":"file2"},{"photo_id":"1328695943","filename":"file1"},{"photo_id":"1328695936","filename":"file0"},{"photo_id":"1328695952","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328695943":["hashtag1","hashtag2"]},{"1328695936":["hashtag1","hashtag2"]},{"1328695947":["hashtag1","hashtag2"]},{"1328695952":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328695943, 1328695936, 1328695947, 1328695952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.2078218460083 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:42:02.435614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:42:22.049650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/41/image_13012025_21_41_02_260045_0003.jpg', '/home/pi/Desktop/images/13012025/21/42/image_13012025_21_42_02_366497_0000.jpg', '/home/pi/Desktop/images/13012025/21/42/image_13012025_21_42_02_366497_0001.jpg', '/home/pi/Desktop/images/13012025/21/42/image_13012025_21_42_02_366497_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/41/image_13012025_21_41_02_260045_0003.jpg
/home/pi/Desktop/images/13012025/21/42/image_13012025_21_42_02_366497_0000.jpg
/home/pi/Desktop/images/13012025/21/42/image_13012025_21_42_02_366497_0001.jpg
/home/pi/Desktop/images/13012025/21/42/image_13012025_21_42_02_366497_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328695999","1328696008","1328696011","1328696003"],"photo_ids_order":["1328695999","1328696003","1328696008","1328696011"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/89e53d38662cd466425ad2fdb1cd2349.jpg","text":"TemporaryFile(/tmp/multipartBody1667472046672295052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801012207,"filename":"image_13012025_21_41_02_260045_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/69322f828c62fcd801a4560c93751b54.jpg","text":"TemporaryFile(/tmp/multipartBody7002497425725490907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801012207,"filename":"image_13012025_21_42_02_366497_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bdcd35e99ba045cdc1f51a95a094e6c8.jpg","text":"TemporaryFile(/tmp/multipartBody6668982238737079274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801012207,"filename":"image_13012025_21_42_02_366497_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/37ee3df56c677368030e52eeef7fbb2d.jpg","text":"TemporaryFile(/tmp/multipartBody3352887889786844744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801012207,"filename":"image_13012025_21_42_02_366497_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328696008","file1":"1328696003","file0":"1328695999","file3":"1328696011"},"map_files_photo_id_array":[{"photo_id":"1328696008","filename":"file2"},{"photo_id":"1328696003","filename":"file1"},{"photo_id":"1328695999","filename":"file0"},{"photo_id":"1328696011","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328695999":["hashtag1","hashtag2"]},{"1328696008":["hashtag1","hashtag2"]},{"1328696011":["hashtag1","hashtag2"]},{"1328696003":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328695999, 1328696008, 1328696011, 1328696003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.45212912559509 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:43:22.435700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/42/image_13012025_21_42_02_366497_0003.jpg', '/home/pi/Desktop/images/13012025/21/43/image_13012025_21_43_02_430514_0000.jpg', '/home/pi/Desktop/images/13012025/21/43/image_13012025_21_43_02_430514_0001.jpg', '/home/pi/Desktop/images/13012025/21/43/image_13012025_21_43_02_430514_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/42/image_13012025_21_42_02_366497_0003.jpg
/home/pi/Desktop/images/13012025/21/43/image_13012025_21_43_02_430514_0000.jpg
/home/pi/Desktop/images/13012025/21/43/image_13012025_21_43_02_430514_0001.jpg
/home/pi/Desktop/images/13012025/21/43/image_13012025_21_43_02_430514_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328696026","1328696028","1328696030","1328696024"],"photo_ids_order":["1328696024","1328696026","1328696028","1328696030"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c2efa360de0d053c98ea8b22311bfa03.jpg","text":"TemporaryFile(/tmp/multipartBody1342756424111657275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801072606,"filename":"image_13012025_21_43_02_430514_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8699206ab77a433bd098655df7b235c5.jpg","text":"TemporaryFile(/tmp/multipartBody6858155749357561353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801072606,"filename":"image_13012025_21_43_02_430514_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ac5eb148033372bd4c5758787db4cad9.jpg","text":"TemporaryFile(/tmp/multipartBody1458233913361199177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801072606,"filename":"image_13012025_21_43_02_430514_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/360b48a0bd738e8f04b6bb225e8b59cc.jpg","text":"TemporaryFile(/tmp/multipartBody5422973416769397388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801072606,"filename":"image_13012025_21_42_02_366497_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328696028","file1":"1328696026","file0":"1328696024","file3":"1328696030"},"map_files_photo_id_array":[{"photo_id":"1328696028","filename":"file2"},{"photo_id":"1328696026","filename":"file1"},{"photo_id":"1328696024","filename":"file0"},{"photo_id":"1328696030","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328696026":["hashtag1","hashtag2"]},{"1328696028":["hashtag1","hashtag2"]},{"1328696030":["hashtag1","hashtag2"]},{"1328696024":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328696026, 1328696028, 1328696030, 1328696024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.738648653030396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:44:22.505428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/43/image_13012025_21_43_02_430514_0003.jpg', '/home/pi/Desktop/images/13012025/21/44/image_13012025_21_44_02_654391_0000.jpg', '/home/pi/Desktop/images/13012025/21/44/image_13012025_21_44_02_654391_0001.jpg', '/home/pi/Desktop/images/13012025/21/44/image_13012025_21_44_02_654391_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/43/image_13012025_21_43_02_430514_0003.jpg
/home/pi/Desktop/images/13012025/21/44/image_13012025_21_44_02_654391_0000.jpg
/home/pi/Desktop/images/13012025/21/44/image_13012025_21_44_02_654391_0001.jpg
/home/pi/Desktop/images/13012025/21/44/image_13012025_21_44_02_654391_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.795939922332764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 21:44:42.533891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/43/image_13012025_21_43_02_430514_0003.jpg', '/home/pi/Desktop/images/13012025/21/44/image_13012025_21_44_02_654391_0000.jpg', '/home/pi/Desktop/images/13012025/21/44/image_13012025_21_44_02_654391_0001.jpg', '/home/pi/Desktop/images/13012025/21/44/image_13012025_21_44_02_654391_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/43/image_13012025_21_43_02_430514_0003.jpg
/home/pi/Desktop/images/13012025/21/44/image_13012025_21_44_02_654391_0000.jpg
/home/pi/Desktop/images/13012025/21/44/image_13012025_21_44_02_654391_0001.jpg
/home/pi/Desktop/images/13012025/21/44/image_13012025_21_44_02_654391_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328696194","1328696108","1328696086","1328696196"],"photo_ids_order":["1328696086","1328696108","1328696194","1328696196"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/69f51216bedb7e029a3f5a251d2394aa.jpg","text":"TemporaryFile(/tmp/multipartBody4164546529170460382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801152739,"filename":"image_13012025_21_44_02_654391_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/792d648319b00b3ab0ac897bb31769e7.jpg","text":"TemporaryFile(/tmp/multipartBody3663660004901392152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801152739,"filename":"image_13012025_21_44_02_654391_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a72d4209fde5edb382b595f8a24f879c.jpg","text":"TemporaryFile(/tmp/multipartBody2895711670319708918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801152739,"filename":"image_13012025_21_43_02_430514_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/387db20fc872d649af9af233ea4591ce.jpg","text":"TemporaryFile(/tmp/multipartBody7496434768860781877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801152739,"filename":"image_13012025_21_44_02_654391_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328696194","file1":"1328696108","file0":"1328696086","file3":"1328696196"},"map_files_photo_id_array":[{"photo_id":"1328696194","filename":"file2"},{"photo_id":"1328696108","filename":"file1"},{"photo_id":"1328696086","filename":"file0"},{"photo_id":"1328696196","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328696194":["hashtag1","hashtag2"]},{"1328696108":["hashtag1","hashtag2"]},{"1328696086":["hashtag1","hashtag2"]},{"1328696196":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328696194, 1328696108, 1328696086, 1328696196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.511862993240356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:45:22.709068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/44/image_13012025_21_44_02_654391_0003.jpg', '/home/pi/Desktop/images/13012025/21/45/image_13012025_21_45_02_855578_0000.jpg', '/home/pi/Desktop/images/13012025/21/45/image_13012025_21_45_02_855578_0001.jpg', '/home/pi/Desktop/images/13012025/21/45/image_13012025_21_45_02_855578_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/44/image_13012025_21_44_02_654391_0003.jpg
/home/pi/Desktop/images/13012025/21/45/image_13012025_21_45_02_855578_0000.jpg
/home/pi/Desktop/images/13012025/21/45/image_13012025_21_45_02_855578_0001.jpg
/home/pi/Desktop/images/13012025/21/45/image_13012025_21_45_02_855578_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328696319","1328696312","1328696315","1328696309"],"photo_ids_order":["1328696309","1328696312","1328696315","1328696319"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7feba5ed807d053a67787a3d7dd33e6c.jpg","text":"TemporaryFile(/tmp/multipartBody3446301277844039318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801192999,"filename":"image_13012025_21_45_02_855578_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2d9ed01f938cdc13eaa9c0f06a40c14a.jpg","text":"TemporaryFile(/tmp/multipartBody1956810448293976679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801192999,"filename":"image_13012025_21_45_02_855578_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7c09437c5c0372e3fdfe69073000235f.jpg","text":"TemporaryFile(/tmp/multipartBody3559804704944538161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801192999,"filename":"image_13012025_21_45_02_855578_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/82bfc76379f4e9da463490d5c65a0aed.jpg","text":"TemporaryFile(/tmp/multipartBody5426939485915469441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801192999,"filename":"image_13012025_21_44_02_654391_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328696315","file1":"1328696312","file0":"1328696309","file3":"1328696319"},"map_files_photo_id_array":[{"photo_id":"1328696315","filename":"file2"},{"photo_id":"1328696312","filename":"file1"},{"photo_id":"1328696309","filename":"file0"},{"photo_id":"1328696319","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328696319":["hashtag1","hashtag2"]},{"1328696312":["hashtag1","hashtag2"]},{"1328696315":["hashtag1","hashtag2"]},{"1328696309":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328696319, 1328696312, 1328696315, 1328696309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.89411401748657 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:46:21.850919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/45/image_13012025_21_45_02_855578_0003.jpg', '/home/pi/Desktop/images/13012025/21/46/image_13012025_21_46_03_088715_0000.jpg', '/home/pi/Desktop/images/13012025/21/46/image_13012025_21_46_03_088715_0001.jpg', '/home/pi/Desktop/images/13012025/21/46/image_13012025_21_46_03_088715_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/45/image_13012025_21_45_02_855578_0003.jpg
/home/pi/Desktop/images/13012025/21/46/image_13012025_21_46_03_088715_0000.jpg
/home/pi/Desktop/images/13012025/21/46/image_13012025_21_46_03_088715_0001.jpg
/home/pi/Desktop/images/13012025/21/46/image_13012025_21_46_03_088715_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328696346","1328696343","1328696375","1328696372"],"photo_ids_order":["1328696343","1328696346","1328696372","1328696375"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bbbd85c09ca60798ccc7343cd183ebcb.jpg","text":"TemporaryFile(/tmp/multipartBody2931308265169412704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801252381,"filename":"image_13012025_21_46_03_088715_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b637343b7aef4f85875579a71d184bf9.jpg","text":"TemporaryFile(/tmp/multipartBody7094915265988244590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801252381,"filename":"image_13012025_21_45_02_855578_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d9d752ecbda89a9ab49b58112ed6c9b5.jpg","text":"TemporaryFile(/tmp/multipartBody4462069240649494734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801252381,"filename":"image_13012025_21_46_03_088715_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/007ca56aa4b9be371ef86d5583820f01.jpg","text":"TemporaryFile(/tmp/multipartBody3992236642717853148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801252381,"filename":"image_13012025_21_46_03_088715_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328696372","file1":"1328696346","file0":"1328696343","file3":"1328696375"},"map_files_photo_id_array":[{"photo_id":"1328696372","filename":"file2"},{"photo_id":"1328696346","filename":"file1"},{"photo_id":"1328696343","filename":"file0"},{"photo_id":"1328696375","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328696346":["hashtag1","hashtag2"]},{"1328696343":["hashtag1","hashtag2"]},{"1328696375":["hashtag1","hashtag2"]},{"1328696372":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328696346, 1328696343, 1328696375, 1328696372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.505754709243774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:47:22.048216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/46/image_13012025_21_46_03_088715_0003.jpg', '/home/pi/Desktop/images/13012025/21/47/image_13012025_21_47_02_208735_0000.jpg', '/home/pi/Desktop/images/13012025/21/47/image_13012025_21_47_02_208735_0001.jpg', '/home/pi/Desktop/images/13012025/21/47/image_13012025_21_47_02_208735_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/46/image_13012025_21_46_03_088715_0003.jpg
/home/pi/Desktop/images/13012025/21/47/image_13012025_21_47_02_208735_0000.jpg
/home/pi/Desktop/images/13012025/21/47/image_13012025_21_47_02_208735_0001.jpg
/home/pi/Desktop/images/13012025/21/47/image_13012025_21_47_02_208735_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328696386","1328696395","1328696390","1328696398"],"photo_ids_order":["1328696386","1328696390","1328696395","1328696398"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d647ed4b83fa47943ea8b9cee562239e.jpg","text":"TemporaryFile(/tmp/multipartBody4168066835022838477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801312391,"filename":"image_13012025_21_46_03_088715_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ea6a2f41d497ccb3164161e3636c5468.jpg","text":"TemporaryFile(/tmp/multipartBody2560646682483936659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801312391,"filename":"image_13012025_21_47_02_208735_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/54dfe638764f3d62e5eab32524cfecaf.jpg","text":"TemporaryFile(/tmp/multipartBody1215138027419935922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801312391,"filename":"image_13012025_21_47_02_208735_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/57f67d7a514aece81e39ade7f54dd17c.jpg","text":"TemporaryFile(/tmp/multipartBody4626999210516683912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801312391,"filename":"image_13012025_21_47_02_208735_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328696395","file1":"1328696390","file0":"1328696386","file3":"1328696398"},"map_files_photo_id_array":[{"photo_id":"1328696395","filename":"file2"},{"photo_id":"1328696390","filename":"file1"},{"photo_id":"1328696386","filename":"file0"},{"photo_id":"1328696398","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328696386":["hashtag1","hashtag2"]},{"1328696395":["hashtag1","hashtag2"]},{"1328696390":["hashtag1","hashtag2"]},{"1328696398":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328696386, 1328696395, 1328696390, 1328696398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.62228536605835 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:48:22.306581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/47/image_13012025_21_47_02_208735_0003.jpg', '/home/pi/Desktop/images/13012025/21/48/image_13012025_21_48_02_435831_0000.jpg', '/home/pi/Desktop/images/13012025/21/48/image_13012025_21_48_02_435831_0001.jpg', '/home/pi/Desktop/images/13012025/21/48/image_13012025_21_48_02_435831_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/47/image_13012025_21_47_02_208735_0003.jpg
/home/pi/Desktop/images/13012025/21/48/image_13012025_21_48_02_435831_0000.jpg
/home/pi/Desktop/images/13012025/21/48/image_13012025_21_48_02_435831_0001.jpg
/home/pi/Desktop/images/13012025/21/48/image_13012025_21_48_02_435831_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.809816360473633 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 21:48:42.277485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/47/image_13012025_21_47_02_208735_0003.jpg', '/home/pi/Desktop/images/13012025/21/48/image_13012025_21_48_02_435831_0000.jpg', '/home/pi/Desktop/images/13012025/21/48/image_13012025_21_48_02_435831_0001.jpg', '/home/pi/Desktop/images/13012025/21/48/image_13012025_21_48_02_435831_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/47/image_13012025_21_47_02_208735_0003.jpg
/home/pi/Desktop/images/13012025/21/48/image_13012025_21_48_02_435831_0000.jpg
/home/pi/Desktop/images/13012025/21/48/image_13012025_21_48_02_435831_0001.jpg
/home/pi/Desktop/images/13012025/21/48/image_13012025_21_48_02_435831_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328696464","1328696443","1328696436","1328696435"],"photo_ids_order":["1328696435","1328696436","1328696443","1328696464"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d181bdc78a4156c194eab579add37aae.jpg","text":"TemporaryFile(/tmp/multipartBody3577561335912242397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801392493,"filename":"image_13012025_21_48_02_435831_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2492d257462e409fdaecaf4c31ae1729.jpg","text":"TemporaryFile(/tmp/multipartBody114371929647608247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801392493,"filename":"image_13012025_21_48_02_435831_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eedfd1a9f556b53cd7fa3a6674184d40.jpg","text":"TemporaryFile(/tmp/multipartBody4894035631622497074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801392493,"filename":"image_13012025_21_48_02_435831_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e71556099d9c1784f530f990f7fd85e1.jpg","text":"TemporaryFile(/tmp/multipartBody7335950101703516602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801392493,"filename":"image_13012025_21_47_02_208735_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328696443","file1":"1328696436","file0":"1328696435","file3":"1328696464"},"map_files_photo_id_array":[{"photo_id":"1328696443","filename":"file2"},{"photo_id":"1328696436","filename":"file1"},{"photo_id":"1328696435","filename":"file0"},{"photo_id":"1328696464","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328696464":["hashtag1","hashtag2"]},{"1328696443":["hashtag1","hashtag2"]},{"1328696436":["hashtag1","hashtag2"]},{"1328696435":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328696464, 1328696443, 1328696436, 1328696435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.747220516204834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:49:22.421948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/48/image_13012025_21_48_02_435831_0003.jpg', '/home/pi/Desktop/images/13012025/21/49/image_13012025_21_49_02_623066_0000.jpg', '/home/pi/Desktop/images/13012025/21/49/image_13012025_21_49_02_623066_0001.jpg', '/home/pi/Desktop/images/13012025/21/49/image_13012025_21_49_02_623066_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/48/image_13012025_21_48_02_435831_0003.jpg
/home/pi/Desktop/images/13012025/21/49/image_13012025_21_49_02_623066_0000.jpg
/home/pi/Desktop/images/13012025/21/49/image_13012025_21_49_02_623066_0001.jpg
/home/pi/Desktop/images/13012025/21/49/image_13012025_21_49_02_623066_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328696536","1328696535","1328696480","1328696534"],"photo_ids_order":["1328696480","1328696534","1328696535","1328696536"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2fc98bb3f2849166ab95f34a3b5202b1.jpg","text":"TemporaryFile(/tmp/multipartBody8520451958012942198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801432644,"filename":"image_13012025_21_49_02_623066_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a73e68456595a93aac8c9c662bd39ef4.jpg","text":"TemporaryFile(/tmp/multipartBody934864804116083817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801432644,"filename":"image_13012025_21_49_02_623066_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fa5714d486dd961c3eec53b2a4def2b7.jpg","text":"TemporaryFile(/tmp/multipartBody3072793537301942836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801432644,"filename":"image_13012025_21_48_02_435831_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ed8afedeaba078a1084460cf886f27f1.jpg","text":"TemporaryFile(/tmp/multipartBody4853485058803095177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801432644,"filename":"image_13012025_21_49_02_623066_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328696535","file1":"1328696534","file0":"1328696480","file3":"1328696536"},"map_files_photo_id_array":[{"photo_id":"1328696535","filename":"file2"},{"photo_id":"1328696534","filename":"file1"},{"photo_id":"1328696480","filename":"file0"},{"photo_id":"1328696536","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328696536":["hashtag1","hashtag2"]},{"1328696535":["hashtag1","hashtag2"]},{"1328696480":["hashtag1","hashtag2"]},{"1328696534":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328696536, 1328696535, 1328696480, 1328696534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.51975178718567 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:50:22.677969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/49/image_13012025_21_49_02_623066_0003.jpg', '/home/pi/Desktop/images/13012025/21/50/image_13012025_21_50_02_808664_0000.jpg', '/home/pi/Desktop/images/13012025/21/50/image_13012025_21_50_02_808664_0001.jpg', '/home/pi/Desktop/images/13012025/21/50/image_13012025_21_50_02_808664_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/49/image_13012025_21_49_02_623066_0003.jpg
/home/pi/Desktop/images/13012025/21/50/image_13012025_21_50_02_808664_0000.jpg
/home/pi/Desktop/images/13012025/21/50/image_13012025_21_50_02_808664_0001.jpg
/home/pi/Desktop/images/13012025/21/50/image_13012025_21_50_02_808664_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328696623","1328696571","1328696633","1328696606"],"photo_ids_order":["1328696571","1328696606","1328696623","1328696633"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/09a4b66ba03d1ffde38fd243a4babfae.jpg","text":"TemporaryFile(/tmp/multipartBody6781114707768096433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801493005,"filename":"image_13012025_21_50_02_808664_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f9fb542d7b3989d0458120770f942b49.jpg","text":"TemporaryFile(/tmp/multipartBody6157256105356267104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801493005,"filename":"image_13012025_21_49_02_623066_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ab7f99a5ed76914009ec695d8511f709.jpg","text":"TemporaryFile(/tmp/multipartBody8550686105000062806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801493005,"filename":"image_13012025_21_50_02_808664_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f05ae06e3802c4bbda47d579f54cdf38.jpg","text":"TemporaryFile(/tmp/multipartBody5921895166425558054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801493005,"filename":"image_13012025_21_50_02_808664_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328696623","file1":"1328696606","file0":"1328696571","file3":"1328696633"},"map_files_photo_id_array":[{"photo_id":"1328696623","filename":"file2"},{"photo_id":"1328696606","filename":"file1"},{"photo_id":"1328696571","filename":"file0"},{"photo_id":"1328696633","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328696623":["hashtag1","hashtag2"]},{"1328696571":["hashtag1","hashtag2"]},{"1328696633":["hashtag1","hashtag2"]},{"1328696606":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328696623, 1328696571, 1328696633, 1328696606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.21142244338989 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:51:21.876807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/50/image_13012025_21_50_02_808664_0003.jpg', '/home/pi/Desktop/images/13012025/21/51/image_13012025_21_51_03_026615_0000.jpg', '/home/pi/Desktop/images/13012025/21/51/image_13012025_21_51_03_026615_0001.jpg', '/home/pi/Desktop/images/13012025/21/51/image_13012025_21_51_03_026615_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/50/image_13012025_21_50_02_808664_0003.jpg
/home/pi/Desktop/images/13012025/21/51/image_13012025_21_51_03_026615_0000.jpg
/home/pi/Desktop/images/13012025/21/51/image_13012025_21_51_03_026615_0001.jpg
/home/pi/Desktop/images/13012025/21/51/image_13012025_21_51_03_026615_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328696661","1328696652","1328696655","1328696657"],"photo_ids_order":["1328696652","1328696655","1328696657","1328696661"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/72f337c817d6c13fb2f849147793102b.jpg","text":"TemporaryFile(/tmp/multipartBody5746387060897206822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801552031,"filename":"image_13012025_21_51_03_026615_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bd328c1af92f1733ed06123af83860fe.jpg","text":"TemporaryFile(/tmp/multipartBody9186115742947493241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801552031,"filename":"image_13012025_21_50_02_808664_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6da27db21472b8b4077873a81521b2b2.jpg","text":"TemporaryFile(/tmp/multipartBody6178282358284473167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801552031,"filename":"image_13012025_21_51_03_026615_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7b6c64492bc765fa92a8845aa61a5494.jpg","text":"TemporaryFile(/tmp/multipartBody6846669568089912586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801552031,"filename":"image_13012025_21_51_03_026615_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328696657","file1":"1328696655","file0":"1328696652","file3":"1328696661"},"map_files_photo_id_array":[{"photo_id":"1328696657","filename":"file2"},{"photo_id":"1328696655","filename":"file1"},{"photo_id":"1328696652","filename":"file0"},{"photo_id":"1328696661","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328696661":["hashtag1","hashtag2"]},{"1328696652":["hashtag1","hashtag2"]},{"1328696655":["hashtag1","hashtag2"]},{"1328696657":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328696661, 1328696652, 1328696655, 1328696657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.655503273010254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:52:22.008754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/51/image_13012025_21_51_03_026615_0003.jpg', '/home/pi/Desktop/images/13012025/21/52/image_13012025_21_52_02_203113_0000.jpg', '/home/pi/Desktop/images/13012025/21/52/image_13012025_21_52_02_203113_0001.jpg', '/home/pi/Desktop/images/13012025/21/52/image_13012025_21_52_02_203113_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/51/image_13012025_21_51_03_026615_0003.jpg
/home/pi/Desktop/images/13012025/21/52/image_13012025_21_52_02_203113_0000.jpg
/home/pi/Desktop/images/13012025/21/52/image_13012025_21_52_02_203113_0001.jpg
/home/pi/Desktop/images/13012025/21/52/image_13012025_21_52_02_203113_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.905786991119385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 21:52:42.015229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/51/image_13012025_21_51_03_026615_0003.jpg', '/home/pi/Desktop/images/13012025/21/52/image_13012025_21_52_02_203113_0000.jpg', '/home/pi/Desktop/images/13012025/21/52/image_13012025_21_52_02_203113_0001.jpg', '/home/pi/Desktop/images/13012025/21/52/image_13012025_21_52_02_203113_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/51/image_13012025_21_51_03_026615_0003.jpg
/home/pi/Desktop/images/13012025/21/52/image_13012025_21_52_02_203113_0000.jpg
/home/pi/Desktop/images/13012025/21/52/image_13012025_21_52_02_203113_0001.jpg
/home/pi/Desktop/images/13012025/21/52/image_13012025_21_52_02_203113_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328696719","1328696721","1328696718","1328696717"],"photo_ids_order":["1328696717","1328696718","1328696719","1328696721"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7bbb51c1d5590d2a2e86e5be264a536a.jpg","text":"TemporaryFile(/tmp/multipartBody3127053620273218930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801632339,"filename":"image_13012025_21_52_02_203113_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/52cec560fab5ca4714d348dcdbb89a8c.jpg","text":"TemporaryFile(/tmp/multipartBody6464363586344371141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801632339,"filename":"image_13012025_21_52_02_203113_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/299cdad9b6de03dc9574e048a31ef1c1.jpg","text":"TemporaryFile(/tmp/multipartBody1421913632512536168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801632339,"filename":"image_13012025_21_52_02_203113_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/26c43c3e26205a8fe0cc9dad2038356f.jpg","text":"TemporaryFile(/tmp/multipartBody6673088665357503378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801632339,"filename":"image_13012025_21_51_03_026615_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328696719","file1":"1328696718","file0":"1328696717","file3":"1328696721"},"map_files_photo_id_array":[{"photo_id":"1328696719","filename":"file2"},{"photo_id":"1328696718","filename":"file1"},{"photo_id":"1328696717","filename":"file0"},{"photo_id":"1328696721","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328696719":["hashtag1","hashtag2"]},{"1328696721":["hashtag1","hashtag2"]},{"1328696718":["hashtag1","hashtag2"]},{"1328696717":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328696719, 1328696721, 1328696718, 1328696717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.19515061378479 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:53:22.182228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/52/image_13012025_21_52_02_203113_0003.jpg', '/home/pi/Desktop/images/13012025/21/53/image_13012025_21_53_02_365129_0000.jpg', '/home/pi/Desktop/images/13012025/21/53/image_13012025_21_53_02_365129_0001.jpg', '/home/pi/Desktop/images/13012025/21/53/image_13012025_21_53_02_365129_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/52/image_13012025_21_52_02_203113_0003.jpg
/home/pi/Desktop/images/13012025/21/53/image_13012025_21_53_02_365129_0000.jpg
/home/pi/Desktop/images/13012025/21/53/image_13012025_21_53_02_365129_0001.jpg
/home/pi/Desktop/images/13012025/21/53/image_13012025_21_53_02_365129_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328696737","1328696745","1328696747","1328696741"],"photo_ids_order":["1328696737","1328696741","1328696745","1328696747"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e0e564ed765fd94b6435dc6391b4c858.jpg","text":"TemporaryFile(/tmp/multipartBody7035764038029195747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801672385,"filename":"image_13012025_21_52_02_203113_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eb3de50bdcd5baf3d7d7eebabdead396.jpg","text":"TemporaryFile(/tmp/multipartBody5475024914670316606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801672385,"filename":"image_13012025_21_53_02_365129_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d9712f9f260bcfa155b35c8d5007880a.jpg","text":"TemporaryFile(/tmp/multipartBody3236987391740221943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801672385,"filename":"image_13012025_21_53_02_365129_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/064d56252ba5d2052ea1815b4a79c560.jpg","text":"TemporaryFile(/tmp/multipartBody7603744977525976255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801672385,"filename":"image_13012025_21_53_02_365129_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328696745","file1":"1328696741","file0":"1328696737","file3":"1328696747"},"map_files_photo_id_array":[{"photo_id":"1328696745","filename":"file2"},{"photo_id":"1328696741","filename":"file1"},{"photo_id":"1328696737","filename":"file0"},{"photo_id":"1328696747","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328696737":["hashtag1","hashtag2"]},{"1328696745":["hashtag1","hashtag2"]},{"1328696747":["hashtag1","hashtag2"]},{"1328696741":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328696737, 1328696745, 1328696747, 1328696741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.80837941169739 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:54:22.389390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/53/image_13012025_21_53_02_365129_0003.jpg', '/home/pi/Desktop/images/13012025/21/54/image_13012025_21_54_02_622910_0001.jpg', '/home/pi/Desktop/images/13012025/21/54/image_13012025_21_54_02_622910_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/53/image_13012025_21_53_02_365129_0003.jpg
/home/pi/Desktop/images/13012025/21/54/image_13012025_21_54_02_622910_0001.jpg
/home/pi/Desktop/images/13012025/21/54/image_13012025_21_54_02_622910_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328696764","1328696769","1328696774"],"photo_ids_order":["1328696764","1328696769","1328696774"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d226ebb7830fc1b653bf3807efdafa41.jpg","text":"TemporaryFile(/tmp/multipartBody6997115776556693089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801730181,"filename":"image_13012025_21_53_02_365129_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a3810103df0f8fd8607189f52e11012f.jpg","text":"TemporaryFile(/tmp/multipartBody4423703501743284375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801730181,"filename":"image_13012025_21_54_02_622910_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0448409cc89346f66ad287e286f61f6b.jpg","text":"TemporaryFile(/tmp/multipartBody8896284040999301352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801730181,"filename":"image_13012025_21_54_02_622910_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328696774","file1":"1328696769","file0":"1328696764"},"map_files_photo_id_array":[{"photo_id":"1328696774","filename":"file2"},{"photo_id":"1328696769","filename":"file1"},{"photo_id":"1328696764","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328696764":["hashtag1","hashtag2"]},{"1328696769":["hashtag1","hashtag2"]},{"1328696774":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328696764, 1328696769, 1328696774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.733198165893555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:55:03.286630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:55:22.614646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/54/image_13012025_21_54_02_622910_0003.jpg', '/home/pi/Desktop/images/13012025/21/55/image_13012025_21_55_02_849593_0000.jpg', '/home/pi/Desktop/images/13012025/21/55/image_13012025_21_55_02_849593_0001.jpg', '/home/pi/Desktop/images/13012025/21/55/image_13012025_21_55_02_849593_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/54/image_13012025_21_54_02_622910_0003.jpg
/home/pi/Desktop/images/13012025/21/55/image_13012025_21_55_02_849593_0000.jpg
/home/pi/Desktop/images/13012025/21/55/image_13012025_21_55_02_849593_0001.jpg
/home/pi/Desktop/images/13012025/21/55/image_13012025_21_55_02_849593_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328696791","1328696793","1328696787","1328696795"],"photo_ids_order":["1328696787","1328696791","1328696793","1328696795"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d4f468d56412059f17baed7646b070fc.jpg","text":"TemporaryFile(/tmp/multipartBody2878830928975550776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801792756,"filename":"image_13012025_21_55_02_849593_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/53da03bf219ba8a6d7b19860b40e75f4.jpg","text":"TemporaryFile(/tmp/multipartBody774551789865716359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801792756,"filename":"image_13012025_21_55_02_849593_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/72e9a40538c5e4d63d2d954846291c10.jpg","text":"TemporaryFile(/tmp/multipartBody1195622410869888846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801792756,"filename":"image_13012025_21_54_02_622910_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/42ad34518a7e4ead7bdfc6bb95106d67.jpg","text":"TemporaryFile(/tmp/multipartBody8378538867878398522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801792756,"filename":"image_13012025_21_55_02_849593_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328696793","file1":"1328696791","file0":"1328696787","file3":"1328696795"},"map_files_photo_id_array":[{"photo_id":"1328696793","filename":"file2"},{"photo_id":"1328696791","filename":"file1"},{"photo_id":"1328696787","filename":"file0"},{"photo_id":"1328696795","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328696791":["hashtag1","hashtag2"]},{"1328696793":["hashtag1","hashtag2"]},{"1328696787":["hashtag1","hashtag2"]},{"1328696795":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328696791, 1328696793, 1328696787, 1328696795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.62219953536987 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:56:21.789647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/55/image_13012025_21_55_02_849593_0003.jpg', '/home/pi/Desktop/images/13012025/21/56/image_13012025_21_56_02_953132_0000.jpg', '/home/pi/Desktop/images/13012025/21/56/image_13012025_21_56_02_953132_0001.jpg', '/home/pi/Desktop/images/13012025/21/56/image_13012025_21_56_02_953132_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/55/image_13012025_21_55_02_849593_0003.jpg
/home/pi/Desktop/images/13012025/21/56/image_13012025_21_56_02_953132_0000.jpg
/home/pi/Desktop/images/13012025/21/56/image_13012025_21_56_02_953132_0001.jpg
/home/pi/Desktop/images/13012025/21/56/image_13012025_21_56_02_953132_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328696811","1328696805","1328696808","1328696810"],"photo_ids_order":["1328696805","1328696808","1328696810","1328696811"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6df9861b04ad06a09c862b3470b4b722.jpg","text":"TemporaryFile(/tmp/multipartBody855947024720388123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801852065,"filename":"image_13012025_21_56_02_953132_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1d8520a63191a88e07afdac6ce92db26.jpg","text":"TemporaryFile(/tmp/multipartBody6323991153054652343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801852065,"filename":"image_13012025_21_55_02_849593_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5bfb7eaaa4174b59aeb3eb4615902792.jpg","text":"TemporaryFile(/tmp/multipartBody6018609683820392949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801852065,"filename":"image_13012025_21_56_02_953132_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0861d0526a251e25e466cd48897aedab.jpg","text":"TemporaryFile(/tmp/multipartBody2782903698278711808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801852065,"filename":"image_13012025_21_56_02_953132_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328696810","file1":"1328696808","file0":"1328696805","file3":"1328696811"},"map_files_photo_id_array":[{"photo_id":"1328696810","filename":"file2"},{"photo_id":"1328696808","filename":"file1"},{"photo_id":"1328696805","filename":"file0"},{"photo_id":"1328696811","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328696811":["hashtag1","hashtag2"]},{"1328696805":["hashtag1","hashtag2"]},{"1328696808":["hashtag1","hashtag2"]},{"1328696810":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328696811, 1328696805, 1328696808, 1328696810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.9226291179657 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:57:02.639061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 21:57:22.044121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/56/image_13012025_21_56_02_953132_0003.jpg', '/home/pi/Desktop/images/13012025/21/57/image_13012025_21_57_02_158558_0000.jpg', '/home/pi/Desktop/images/13012025/21/57/image_13012025_21_57_02_158558_0001.jpg', '/home/pi/Desktop/images/13012025/21/57/image_13012025_21_57_02_158558_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/56/image_13012025_21_56_02_953132_0003.jpg
/home/pi/Desktop/images/13012025/21/57/image_13012025_21_57_02_158558_0000.jpg
/home/pi/Desktop/images/13012025/21/57/image_13012025_21_57_02_158558_0001.jpg
/home/pi/Desktop/images/13012025/21/57/image_13012025_21_57_02_158558_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328696863","1328696862","1328696864","1328696843"],"photo_ids_order":["1328696843","1328696862","1328696863","1328696864"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eff6ff199ab870e46e9b20a96da92921.jpg","text":"TemporaryFile(/tmp/multipartBody2102662040372247945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801912220,"filename":"image_13012025_21_57_02_158558_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/31a5a4e2db2be76ffa17527842fb1274.jpg","text":"TemporaryFile(/tmp/multipartBody1495369214598255761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801912220,"filename":"image_13012025_21_57_02_158558_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/297c798cf84327cb80175696f07c1229.jpg","text":"TemporaryFile(/tmp/multipartBody5835231322491370012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801912220,"filename":"image_13012025_21_57_02_158558_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4f63167a8d24eb9dde690092041ca7bf.jpg","text":"TemporaryFile(/tmp/multipartBody5357662580141257790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736801912220,"filename":"image_13012025_21_56_02_953132_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328696863","file1":"1328696862","file0":"1328696843","file3":"1328696864"},"map_files_photo_id_array":[{"photo_id":"1328696863","filename":"file2"},{"photo_id":"1328696862","filename":"file1"},{"photo_id":"1328696843","filename":"file0"},{"photo_id":"1328696864","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328696863":["hashtag1","hashtag2"]},{"1328696862":["hashtag1","hashtag2"]},{"1328696864":["hashtag1","hashtag2"]},{"1328696843":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328696863, 1328696862, 1328696864, 1328696843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.58358907699585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 21:59:02.844603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/57/image_13012025_21_57_02_158558_0003.jpg', '/home/pi/Desktop/images/13012025/21/58/image_13012025_21_58_02_256158_0000.jpg', '/home/pi/Desktop/images/13012025/21/58/image_13012025_21_58_02_256158_0001.jpg', '/home/pi/Desktop/images/13012025/21/58/image_13012025_21_58_02_256158_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/57/image_13012025_21_57_02_158558_0003.jpg
/home/pi/Desktop/images/13012025/21/58/image_13012025_21_58_02_256158_0000.jpg
/home/pi/Desktop/images/13012025/21/58/image_13012025_21_58_02_256158_0001.jpg
/home/pi/Desktop/images/13012025/21/58/image_13012025_21_58_02_256158_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328696881","1328696892","1328697074","1328696887"],"photo_ids_order":["1328696881","1328696887","1328696892","1328697074"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a6fdf4e80595b8c9e1fafa27df9e7843.jpg","text":"TemporaryFile(/tmp/multipartBody8205289735496645506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802013151,"filename":"image_13012025_21_57_02_158558_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2391016861c328cd93f6aaec8cb10110.jpg","text":"TemporaryFile(/tmp/multipartBody8730681667831584715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802013151,"filename":"image_13012025_21_58_02_256158_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1a29f9a88572cafb6d872a5d7ae5d032.jpg","text":"TemporaryFile(/tmp/multipartBody5210606827218485919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802013151,"filename":"image_13012025_21_58_02_256158_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6e75b13c0e718fb23a216b0d19f0a57b.jpg","text":"TemporaryFile(/tmp/multipartBody5576271221550458954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802013151,"filename":"image_13012025_21_58_02_256158_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328696892","file1":"1328696887","file0":"1328696881","file3":"1328697074"},"map_files_photo_id_array":[{"photo_id":"1328696892","filename":"file2"},{"photo_id":"1328696887","filename":"file1"},{"photo_id":"1328696881","filename":"file0"},{"photo_id":"1328697074","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328696881":["hashtag1","hashtag2"]},{"1328696892":["hashtag1","hashtag2"]},{"1328697074":["hashtag1","hashtag2"]},{"1328696887":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328696881, 1328696892, 1328697074, 1328696887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.4351704120636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 21:59:42.313674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/58/image_13012025_21_58_02_256158_0003.jpg', '/home/pi/Desktop/images/13012025/21/59/image_13012025_21_59_02_451575_0000.jpg', '/home/pi/Desktop/images/13012025/21/59/image_13012025_21_59_02_451575_0001.jpg', '/home/pi/Desktop/images/13012025/21/59/image_13012025_21_59_02_451575_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/58/image_13012025_21_58_02_256158_0003.jpg
/home/pi/Desktop/images/13012025/21/59/image_13012025_21_59_02_451575_0000.jpg
/home/pi/Desktop/images/13012025/21/59/image_13012025_21_59_02_451575_0001.jpg
/home/pi/Desktop/images/13012025/21/59/image_13012025_21_59_02_451575_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328697532","1328697548","1328697536","1328697530"],"photo_ids_order":["1328697530","1328697532","1328697536","1328697548"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0bf9ce57aca48f4da1a66ca3d888c9db.jpg","text":"TemporaryFile(/tmp/multipartBody3233929017851343453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802052669,"filename":"image_13012025_21_59_02_451575_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/090a5ab38159e1ce4e693c354143604a.jpg","text":"TemporaryFile(/tmp/multipartBody3371804270148697450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802052669,"filename":"image_13012025_21_59_02_451575_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/62f8e7f4cfd739f072d6846bc3ebc38c.jpg","text":"TemporaryFile(/tmp/multipartBody5974876826816305187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802052669,"filename":"image_13012025_21_59_02_451575_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/630d045b610a500f244620a4e0740df3.jpg","text":"TemporaryFile(/tmp/multipartBody5117204707565843080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802052669,"filename":"image_13012025_21_58_02_256158_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328697536","file1":"1328697532","file0":"1328697530","file3":"1328697548"},"map_files_photo_id_array":[{"photo_id":"1328697536","filename":"file2"},{"photo_id":"1328697532","filename":"file1"},{"photo_id":"1328697530","filename":"file0"},{"photo_id":"1328697548","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328697532":["hashtag1","hashtag2"]},{"1328697548":["hashtag1","hashtag2"]},{"1328697536":["hashtag1","hashtag2"]},{"1328697530":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328697532, 1328697548, 1328697536, 1328697530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.11146354675293 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:00:22.479180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/59/image_13012025_21_59_02_451575_0003.jpg', '/home/pi/Desktop/images/13012025/22/00/image_13012025_22_00_02_585724_0000.jpg', '/home/pi/Desktop/images/13012025/22/00/image_13012025_22_00_02_585724_0001.jpg', '/home/pi/Desktop/images/13012025/22/00/image_13012025_22_00_02_585724_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/21/59/image_13012025_21_59_02_451575_0003.jpg
/home/pi/Desktop/images/13012025/22/00/image_13012025_22_00_02_585724_0000.jpg
/home/pi/Desktop/images/13012025/22/00/image_13012025_22_00_02_585724_0001.jpg
/home/pi/Desktop/images/13012025/22/00/image_13012025_22_00_02_585724_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328697720","1328697770","1328697734","1328697803"],"photo_ids_order":["1328697720","1328697734","1328697770","1328697803"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2df3130b27c7279b8aaa7f52b96c2e7c.jpg","text":"TemporaryFile(/tmp/multipartBody7762163105179532495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802092854,"filename":"image_13012025_21_59_02_451575_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7e29c53b7d9b2e646c1fba54af5f9847.jpg","text":"TemporaryFile(/tmp/multipartBody4047992939466613170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802092854,"filename":"image_13012025_22_00_02_585724_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/26d05d456800bc507f629dd99d9f0cde.jpg","text":"TemporaryFile(/tmp/multipartBody1578904600261133445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802092854,"filename":"image_13012025_22_00_02_585724_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f83f2e80e2916d19cc8ccb675b425b25.jpg","text":"TemporaryFile(/tmp/multipartBody7629582490920238311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802092854,"filename":"image_13012025_22_00_02_585724_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328697770","file1":"1328697734","file0":"1328697720","file3":"1328697803"},"map_files_photo_id_array":[{"photo_id":"1328697770","filename":"file2"},{"photo_id":"1328697734","filename":"file1"},{"photo_id":"1328697720","filename":"file0"},{"photo_id":"1328697803","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328697720":["hashtag1","hashtag2"]},{"1328697770":["hashtag1","hashtag2"]},{"1328697734":["hashtag1","hashtag2"]},{"1328697803":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328697720, 1328697770, 1328697734, 1328697803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.41919302940369 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 22:01:03.265219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:01:22.758904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/00/image_13012025_22_00_02_585724_0003.jpg', '/home/pi/Desktop/images/13012025/22/01/image_13012025_22_01_02_776093_0000.jpg', '/home/pi/Desktop/images/13012025/22/01/image_13012025_22_01_02_776093_0001.jpg', '/home/pi/Desktop/images/13012025/22/01/image_13012025_22_01_02_776093_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/00/image_13012025_22_00_02_585724_0003.jpg
/home/pi/Desktop/images/13012025/22/01/image_13012025_22_01_02_776093_0000.jpg
/home/pi/Desktop/images/13012025/22/01/image_13012025_22_01_02_776093_0001.jpg
/home/pi/Desktop/images/13012025/22/01/image_13012025_22_01_02_776093_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328697823","1328697816","1328697819","1328697813"],"photo_ids_order":["1328697813","1328697816","1328697819","1328697823"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2c79c640bf9c8ede25f7155244a5802c.jpg","text":"TemporaryFile(/tmp/multipartBody7703147030965800259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802153026,"filename":"image_13012025_22_01_02_776093_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7fb427959e78a7ef4dd4a58a3a7e5d97.jpg","text":"TemporaryFile(/tmp/multipartBody6718819383704118041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802153026,"filename":"image_13012025_22_01_02_776093_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4fe42fc582314b70038d9110d1995855.jpg","text":"TemporaryFile(/tmp/multipartBody5910358861110869918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802153026,"filename":"image_13012025_22_01_02_776093_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/442fbf53f41dc5b1b2fc119622ae0093.jpg","text":"TemporaryFile(/tmp/multipartBody8524764431862074653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802153026,"filename":"image_13012025_22_00_02_585724_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328697819","file1":"1328697816","file0":"1328697813","file3":"1328697823"},"map_files_photo_id_array":[{"photo_id":"1328697819","filename":"file2"},{"photo_id":"1328697816","filename":"file1"},{"photo_id":"1328697813","filename":"file0"},{"photo_id":"1328697823","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328697823":["hashtag1","hashtag2"]},{"1328697816":["hashtag1","hashtag2"]},{"1328697819":["hashtag1","hashtag2"]},{"1328697813":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328697823, 1328697816, 1328697819, 1328697813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.654147148132324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:02:21.846382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/01/image_13012025_22_01_02_776093_0003.jpg', '/home/pi/Desktop/images/13012025/22/02/image_13012025_22_02_02_971431_0000.jpg', '/home/pi/Desktop/images/13012025/22/02/image_13012025_22_02_02_971431_0001.jpg', '/home/pi/Desktop/images/13012025/22/02/image_13012025_22_02_02_971431_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/01/image_13012025_22_01_02_776093_0003.jpg
/home/pi/Desktop/images/13012025/22/02/image_13012025_22_02_02_971431_0000.jpg
/home/pi/Desktop/images/13012025/22/02/image_13012025_22_02_02_971431_0001.jpg
/home/pi/Desktop/images/13012025/22/02/image_13012025_22_02_02_971431_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328697838","1328697843","1328697841","1328697835"],"photo_ids_order":["1328697835","1328697838","1328697841","1328697843"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9849e49ec557face79236aa1ed5be635.jpg","text":"TemporaryFile(/tmp/multipartBody6219879770550700920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802212120,"filename":"image_13012025_22_02_02_971431_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6e8f817d05fe9440c424506240d3eecb.jpg","text":"TemporaryFile(/tmp/multipartBody3489262524890179409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802212120,"filename":"image_13012025_22_02_02_971431_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0037e2234c3c25b07f7e4e769a126bb5.jpg","text":"TemporaryFile(/tmp/multipartBody5592421448776316390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802212120,"filename":"image_13012025_22_02_02_971431_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ea06eec74913600c57afd6aa8c44641c.jpg","text":"TemporaryFile(/tmp/multipartBody7304772339115313347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802212120,"filename":"image_13012025_22_01_02_776093_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328697841","file1":"1328697838","file0":"1328697835","file3":"1328697843"},"map_files_photo_id_array":[{"photo_id":"1328697841","filename":"file2"},{"photo_id":"1328697838","filename":"file1"},{"photo_id":"1328697835","filename":"file0"},{"photo_id":"1328697843","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328697838":["hashtag1","hashtag2"]},{"1328697843":["hashtag1","hashtag2"]},{"1328697841":["hashtag1","hashtag2"]},{"1328697835":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328697838, 1328697843, 1328697841, 1328697835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.59640908241272 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:03:21.995647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/02/image_13012025_22_02_02_971431_0003.jpg', '/home/pi/Desktop/images/13012025/22/03/image_13012025_22_03_02_214222_0000.jpg', '/home/pi/Desktop/images/13012025/22/03/image_13012025_22_03_02_214222_0001.jpg', '/home/pi/Desktop/images/13012025/22/03/image_13012025_22_03_02_214222_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/02/image_13012025_22_02_02_971431_0003.jpg
/home/pi/Desktop/images/13012025/22/03/image_13012025_22_03_02_214222_0000.jpg
/home/pi/Desktop/images/13012025/22/03/image_13012025_22_03_02_214222_0001.jpg
/home/pi/Desktop/images/13012025/22/03/image_13012025_22_03_02_214222_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328697865","1328697869","1328697872","1328697860"],"photo_ids_order":["1328697860","1328697865","1328697869","1328697872"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/268a98001b0b60cd0119a9a5a52788ef.jpg","text":"TemporaryFile(/tmp/multipartBody495081080805118207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802272240,"filename":"image_13012025_22_03_02_214222_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/986e3b1e47b11ef240f7dc45f5337a3a.jpg","text":"TemporaryFile(/tmp/multipartBody789118513029319170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802272240,"filename":"image_13012025_22_03_02_214222_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4f64f2b0132ea9b086d6895f12e25cfc.jpg","text":"TemporaryFile(/tmp/multipartBody5267061114174865046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802272240,"filename":"image_13012025_22_03_02_214222_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bb0deb1f644a71cecbcd0ff698fe59d9.jpg","text":"TemporaryFile(/tmp/multipartBody4105829380902480444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802272240,"filename":"image_13012025_22_02_02_971431_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328697869","file1":"1328697865","file0":"1328697860","file3":"1328697872"},"map_files_photo_id_array":[{"photo_id":"1328697869","filename":"file2"},{"photo_id":"1328697865","filename":"file1"},{"photo_id":"1328697860","filename":"file0"},{"photo_id":"1328697872","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328697865":["hashtag1","hashtag2"]},{"1328697869":["hashtag1","hashtag2"]},{"1328697872":["hashtag1","hashtag2"]},{"1328697860":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328697865, 1328697869, 1328697872, 1328697860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.91570448875427 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:04:22.190729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/03/image_13012025_22_03_02_214222_0003.jpg', '/home/pi/Desktop/images/13012025/22/04/image_13012025_22_04_02_359692_0000.jpg', '/home/pi/Desktop/images/13012025/22/04/image_13012025_22_04_02_359692_0001.jpg', '/home/pi/Desktop/images/13012025/22/04/image_13012025_22_04_02_359692_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/03/image_13012025_22_03_02_214222_0003.jpg
/home/pi/Desktop/images/13012025/22/04/image_13012025_22_04_02_359692_0000.jpg
/home/pi/Desktop/images/13012025/22/04/image_13012025_22_04_02_359692_0001.jpg
/home/pi/Desktop/images/13012025/22/04/image_13012025_22_04_02_359692_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328698363","1328698777","1328698788","1328698627"],"photo_ids_order":["1328698363","1328698627","1328698777","1328698788"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dde133984084aff4f6f5d764ab7e9448.jpg","text":"TemporaryFile(/tmp/multipartBody4721449322641523952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802332521,"filename":"image_13012025_22_03_02_214222_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/08490524c189d6f985e8acb19c90fcad.jpg","text":"TemporaryFile(/tmp/multipartBody8155540601581967147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802332521,"filename":"image_13012025_22_04_02_359692_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/845e61be28897e753f86b0f0e28c3552.jpg","text":"TemporaryFile(/tmp/multipartBody2227155887360994205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802332521,"filename":"image_13012025_22_04_02_359692_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/584d5c8905df01d58a16da3566d104c0.jpg","text":"TemporaryFile(/tmp/multipartBody6364883409215998035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802332521,"filename":"image_13012025_22_04_02_359692_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328698777","file1":"1328698627","file0":"1328698363","file3":"1328698788"},"map_files_photo_id_array":[{"photo_id":"1328698777","filename":"file2"},{"photo_id":"1328698627","filename":"file1"},{"photo_id":"1328698363","filename":"file0"},{"photo_id":"1328698788","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328698363":["hashtag1","hashtag2"]},{"1328698777":["hashtag1","hashtag2"]},{"1328698788":["hashtag1","hashtag2"]},{"1328698627":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328698363, 1328698777, 1328698788, 1328698627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.821306467056274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 22:05:02.925079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:05:22.437547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/04/image_13012025_22_04_02_359692_0003.jpg', '/home/pi/Desktop/images/13012025/22/05/image_13012025_22_05_02_557637_0000.jpg', '/home/pi/Desktop/images/13012025/22/05/image_13012025_22_05_02_557637_0001.jpg', '/home/pi/Desktop/images/13012025/22/05/image_13012025_22_05_02_557637_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/04/image_13012025_22_04_02_359692_0003.jpg
/home/pi/Desktop/images/13012025/22/05/image_13012025_22_05_02_557637_0000.jpg
/home/pi/Desktop/images/13012025/22/05/image_13012025_22_05_02_557637_0001.jpg
/home/pi/Desktop/images/13012025/22/05/image_13012025_22_05_02_557637_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328699019","1328699016","1328699086","1328699068"],"photo_ids_order":["1328699016","1328699019","1328699068","1328699086"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d3a7acc2e1bd5fe4d34efe8586efb5c2.jpg","text":"TemporaryFile(/tmp/multipartBody1136473226934202351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802392559,"filename":"image_13012025_22_05_02_557637_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1c5e7507c213cd13e6bca90ae0e6cfef.jpg","text":"TemporaryFile(/tmp/multipartBody3518549192574739585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802392559,"filename":"image_13012025_22_04_02_359692_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/af79711de959e96b11a0dc329d14ac18.jpg","text":"TemporaryFile(/tmp/multipartBody249448654060592173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802392559,"filename":"image_13012025_22_05_02_557637_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6bef9adb676cbefe5f80e75877aa099f.jpg","text":"TemporaryFile(/tmp/multipartBody3845119593482255139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802392559,"filename":"image_13012025_22_05_02_557637_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328699068","file1":"1328699019","file0":"1328699016","file3":"1328699086"},"map_files_photo_id_array":[{"photo_id":"1328699068","filename":"file2"},{"photo_id":"1328699019","filename":"file1"},{"photo_id":"1328699016","filename":"file0"},{"photo_id":"1328699086","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328699019":["hashtag1","hashtag2"]},{"1328699016":["hashtag1","hashtag2"]},{"1328699086":["hashtag1","hashtag2"]},{"1328699068":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328699019, 1328699016, 1328699086, 1328699068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.27233171463013 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 22:06:02.795420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:06:22.619822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/05/image_13012025_22_05_02_557637_0003.jpg', '/home/pi/Desktop/images/13012025/22/06/image_13012025_22_06_02_626257_0000.jpg', '/home/pi/Desktop/images/13012025/22/06/image_13012025_22_06_02_626257_0001.jpg', '/home/pi/Desktop/images/13012025/22/06/image_13012025_22_06_02_626257_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/05/image_13012025_22_05_02_557637_0003.jpg
/home/pi/Desktop/images/13012025/22/06/image_13012025_22_06_02_626257_0000.jpg
/home/pi/Desktop/images/13012025/22/06/image_13012025_22_06_02_626257_0001.jpg
/home/pi/Desktop/images/13012025/22/06/image_13012025_22_06_02_626257_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328699121","1328699124","1328699114","1328699117"],"photo_ids_order":["1328699114","1328699117","1328699121","1328699124"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b72b431688ec82e8d53441b98e749eda.jpg","text":"TemporaryFile(/tmp/multipartBody2631064127273049445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802452864,"filename":"image_13012025_22_06_02_626257_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/139c830498a7c45edd94fb09e1753883.jpg","text":"TemporaryFile(/tmp/multipartBody6100236716007531606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802452864,"filename":"image_13012025_22_06_02_626257_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/49cdd8b0cfe9089e76063f020bbfd3dc.jpg","text":"TemporaryFile(/tmp/multipartBody507600048584999988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802452864,"filename":"image_13012025_22_05_02_557637_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5e3a812fb1974645788e5e1961815520.jpg","text":"TemporaryFile(/tmp/multipartBody8898741766241188014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802452864,"filename":"image_13012025_22_06_02_626257_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328699121","file1":"1328699117","file0":"1328699114","file3":"1328699124"},"map_files_photo_id_array":[{"photo_id":"1328699121","filename":"file2"},{"photo_id":"1328699117","filename":"file1"},{"photo_id":"1328699114","filename":"file0"},{"photo_id":"1328699124","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328699121":["hashtag1","hashtag2"]},{"1328699124":["hashtag1","hashtag2"]},{"1328699114":["hashtag1","hashtag2"]},{"1328699117":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328699121, 1328699124, 1328699114, 1328699117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.88441729545593 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:07:22.814464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/06/image_13012025_22_06_02_626257_0003.jpg', '/home/pi/Desktop/images/13012025/22/07/image_13012025_22_07_02_862469_0000.jpg', '/home/pi/Desktop/images/13012025/22/07/image_13012025_22_07_02_862469_0001.jpg', '/home/pi/Desktop/images/13012025/22/07/image_13012025_22_07_02_862469_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/06/image_13012025_22_06_02_626257_0003.jpg
/home/pi/Desktop/images/13012025/22/07/image_13012025_22_07_02_862469_0000.jpg
/home/pi/Desktop/images/13012025/22/07/image_13012025_22_07_02_862469_0001.jpg
/home/pi/Desktop/images/13012025/22/07/image_13012025_22_07_02_862469_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328699151","1328699155","1328699152","1328699154"],"photo_ids_order":["1328699151","1328699152","1328699154","1328699155"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/25c9afd7549d8dcb4bbb9ceeb48c9142.jpg","text":"TemporaryFile(/tmp/multipartBody1421429996184403143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802513070,"filename":"image_13012025_22_06_02_626257_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/661cf5ca87050aa8da772dd2a9398a0e.jpg","text":"TemporaryFile(/tmp/multipartBody1765914461552020008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802513070,"filename":"image_13012025_22_07_02_862469_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/be716f70b6e71b5eea4405a858c104f3.jpg","text":"TemporaryFile(/tmp/multipartBody4835002404798615228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802513070,"filename":"image_13012025_22_07_02_862469_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/000090a835e5904e79a70ad3f460fc01.jpg","text":"TemporaryFile(/tmp/multipartBody2215527176630056241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802513070,"filename":"image_13012025_22_07_02_862469_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328699154","file1":"1328699152","file0":"1328699151","file3":"1328699155"},"map_files_photo_id_array":[{"photo_id":"1328699154","filename":"file2"},{"photo_id":"1328699152","filename":"file1"},{"photo_id":"1328699151","filename":"file0"},{"photo_id":"1328699155","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328699151":["hashtag1","hashtag2"]},{"1328699155":["hashtag1","hashtag2"]},{"1328699152":["hashtag1","hashtag2"]},{"1328699154":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328699151, 1328699155, 1328699152, 1328699154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.027477741241455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:08:21.908413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/07/image_13012025_22_07_02_862469_0003.jpg', '/home/pi/Desktop/images/13012025/22/08/image_13012025_22_08_03_162854_0000.jpg', '/home/pi/Desktop/images/13012025/22/08/image_13012025_22_08_03_162854_0001.jpg', '/home/pi/Desktop/images/13012025/22/08/image_13012025_22_08_03_162854_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/07/image_13012025_22_07_02_862469_0003.jpg
/home/pi/Desktop/images/13012025/22/08/image_13012025_22_08_03_162854_0000.jpg
/home/pi/Desktop/images/13012025/22/08/image_13012025_22_08_03_162854_0001.jpg
/home/pi/Desktop/images/13012025/22/08/image_13012025_22_08_03_162854_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328699171","1328699168","1328699173","1328699169"],"photo_ids_order":["1328699168","1328699169","1328699171","1328699173"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0239cae89a152fe6662e51b44aa60ec0.jpg","text":"TemporaryFile(/tmp/multipartBody9006343650815966543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802572318,"filename":"image_13012025_22_08_03_162854_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d08a1834490807820fd0e027281088a2.jpg","text":"TemporaryFile(/tmp/multipartBody4931225786444707257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802572318,"filename":"image_13012025_22_07_02_862469_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/06c9a34d6bdac9cbe2e8ff2efce83c04.jpg","text":"TemporaryFile(/tmp/multipartBody4835697769481802378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802572318,"filename":"image_13012025_22_08_03_162854_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dd635a3fce39f8aa3df365d6a4b7083f.jpg","text":"TemporaryFile(/tmp/multipartBody2420429388386788006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802572318,"filename":"image_13012025_22_08_03_162854_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328699171","file1":"1328699169","file0":"1328699168","file3":"1328699173"},"map_files_photo_id_array":[{"photo_id":"1328699171","filename":"file2"},{"photo_id":"1328699169","filename":"file1"},{"photo_id":"1328699168","filename":"file0"},{"photo_id":"1328699173","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328699171":["hashtag1","hashtag2"]},{"1328699168":["hashtag1","hashtag2"]},{"1328699173":["hashtag1","hashtag2"]},{"1328699169":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328699171, 1328699168, 1328699173, 1328699169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.746963024139404 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:09:22.162328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/08/image_13012025_22_08_03_162854_0003.jpg', '/home/pi/Desktop/images/13012025/22/09/image_13012025_22_09_02_264746_0000.jpg', '/home/pi/Desktop/images/13012025/22/09/image_13012025_22_09_02_264746_0001.jpg', '/home/pi/Desktop/images/13012025/22/09/image_13012025_22_09_02_264746_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/08/image_13012025_22_08_03_162854_0003.jpg
/home/pi/Desktop/images/13012025/22/09/image_13012025_22_09_02_264746_0000.jpg
/home/pi/Desktop/images/13012025/22/09/image_13012025_22_09_02_264746_0001.jpg
/home/pi/Desktop/images/13012025/22/09/image_13012025_22_09_02_264746_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328699211","1328699207","1328699210","1328699209"],"photo_ids_order":["1328699207","1328699209","1328699210","1328699211"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6bc1a9c94d3dd24812ede373d0b5f536.jpg","text":"TemporaryFile(/tmp/multipartBody5001219344887244689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802632455,"filename":"image_13012025_22_09_02_264746_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c236434cc37db9ad916cc3ef30c65c13.jpg","text":"TemporaryFile(/tmp/multipartBody4528745917736296913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802632455,"filename":"image_13012025_22_08_03_162854_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6c354205b94d106c5833a8026e5ae222.jpg","text":"TemporaryFile(/tmp/multipartBody6314239979159397546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802632455,"filename":"image_13012025_22_09_02_264746_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7c8d1acd68ac554495e6ad7c1eececb6.jpg","text":"TemporaryFile(/tmp/multipartBody5192612143940644979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802632455,"filename":"image_13012025_22_09_02_264746_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328699210","file1":"1328699209","file0":"1328699207","file3":"1328699211"},"map_files_photo_id_array":[{"photo_id":"1328699210","filename":"file2"},{"photo_id":"1328699209","filename":"file1"},{"photo_id":"1328699207","filename":"file0"},{"photo_id":"1328699211","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328699211":["hashtag1","hashtag2"]},{"1328699207":["hashtag1","hashtag2"]},{"1328699210":["hashtag1","hashtag2"]},{"1328699209":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328699211, 1328699207, 1328699210, 1328699209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.72988796234131 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:10:22.265276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/09/image_13012025_22_09_02_264746_0003.jpg', '/home/pi/Desktop/images/13012025/22/10/image_13012025_22_10_02_460818_0000.jpg', '/home/pi/Desktop/images/13012025/22/10/image_13012025_22_10_02_460818_0001.jpg', '/home/pi/Desktop/images/13012025/22/10/image_13012025_22_10_02_460818_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/09/image_13012025_22_09_02_264746_0003.jpg
/home/pi/Desktop/images/13012025/22/10/image_13012025_22_10_02_460818_0000.jpg
/home/pi/Desktop/images/13012025/22/10/image_13012025_22_10_02_460818_0001.jpg
/home/pi/Desktop/images/13012025/22/10/image_13012025_22_10_02_460818_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328699226","1328699228","1328699230","1328699233"],"photo_ids_order":["1328699226","1328699228","1328699230","1328699233"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0529b32614aa4b232f223ac60ea7a7e7.jpg","text":"TemporaryFile(/tmp/multipartBody927277312898132061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802695220,"filename":"image_13012025_22_09_02_264746_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/62a6a4f8b6bd5bf327961008a2859216.jpg","text":"TemporaryFile(/tmp/multipartBody7329602700310224638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802695220,"filename":"image_13012025_22_10_02_460818_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/65c5ffa2585a5be381bef2fd8013542c.jpg","text":"TemporaryFile(/tmp/multipartBody5871320075675807701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802695220,"filename":"image_13012025_22_10_02_460818_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bbc5039ee6d936888bac8e19e447432b.jpg","text":"TemporaryFile(/tmp/multipartBody7595754984223859632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802695220,"filename":"image_13012025_22_10_02_460818_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328699230","file1":"1328699228","file0":"1328699226","file3":"1328699233"},"map_files_photo_id_array":[{"photo_id":"1328699230","filename":"file2"},{"photo_id":"1328699228","filename":"file1"},{"photo_id":"1328699226","filename":"file0"},{"photo_id":"1328699233","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328699226":["hashtag1","hashtag2"]},{"1328699228":["hashtag1","hashtag2"]},{"1328699230":["hashtag1","hashtag2"]},{"1328699233":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328699226, 1328699228, 1328699230, 1328699233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 51.04726505279541 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:11:22.399208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/10/image_13012025_22_10_02_460818_0003.jpg', '/home/pi/Desktop/images/13012025/22/11/image_13012025_22_11_02_590580_0000.jpg', '/home/pi/Desktop/images/13012025/22/11/image_13012025_22_11_02_590580_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/10/image_13012025_22_10_02_460818_0003.jpg
/home/pi/Desktop/images/13012025/22/11/image_13012025_22_11_02_590580_0000.jpg
/home/pi/Desktop/images/13012025/22/11/image_13012025_22_11_02_590580_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328699264","1328699269","1328699266"],"photo_ids_order":["1328699264","1328699266","1328699269"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/20b19af8ba4242f3db080962f4f44a9a.jpg","text":"TemporaryFile(/tmp/multipartBody1107900327537763873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802750411,"filename":"image_13012025_22_10_02_460818_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/961f6d1ac2af0b31be32f842b63e1ef9.jpg","text":"TemporaryFile(/tmp/multipartBody4814917161405149457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802750411,"filename":"image_13012025_22_11_02_590580_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/05eaee5b3b9f20c5ccb57f630ac23145.jpg","text":"TemporaryFile(/tmp/multipartBody1189228848708218805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802750411,"filename":"image_13012025_22_11_02_590580_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328699269","file1":"1328699266","file0":"1328699264"},"map_files_photo_id_array":[{"photo_id":"1328699269","filename":"file2"},{"photo_id":"1328699266","filename":"file1"},{"photo_id":"1328699264","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328699264":["hashtag1","hashtag2"]},{"1328699269":["hashtag1","hashtag2"]},{"1328699266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328699264, 1328699269, 1328699266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.502673864364624 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 22:12:02.937753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:12:22.639444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/11/image_13012025_22_11_02_590580_0003.jpg', '/home/pi/Desktop/images/13012025/22/12/image_13012025_22_12_02_768230_0000.jpg', '/home/pi/Desktop/images/13012025/22/12/image_13012025_22_12_02_768230_0001.jpg', '/home/pi/Desktop/images/13012025/22/12/image_13012025_22_12_02_768230_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/11/image_13012025_22_11_02_590580_0003.jpg
/home/pi/Desktop/images/13012025/22/12/image_13012025_22_12_02_768230_0000.jpg
/home/pi/Desktop/images/13012025/22/12/image_13012025_22_12_02_768230_0001.jpg
/home/pi/Desktop/images/13012025/22/12/image_13012025_22_12_02_768230_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328699287","1328699286","1328699295","1328699289"],"photo_ids_order":["1328699286","1328699287","1328699289","1328699295"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eea0f1cdae4ab97e6a994e6d527cb323.jpg","text":"TemporaryFile(/tmp/multipartBody3348827434645202796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802812970,"filename":"image_13012025_22_12_02_768230_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1fb5d30b76bcd5e441281957fae3fcde.jpg","text":"TemporaryFile(/tmp/multipartBody3900611830682822746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802812970,"filename":"image_13012025_22_11_02_590580_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5ad6f4043c652c8058d5b5d6080293fd.jpg","text":"TemporaryFile(/tmp/multipartBody8104427597842058153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802812970,"filename":"image_13012025_22_12_02_768230_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d11b1aa9866dd73038f01dd5211a4fb1.jpg","text":"TemporaryFile(/tmp/multipartBody6460860445412917198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802812970,"filename":"image_13012025_22_12_02_768230_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328699289","file1":"1328699287","file0":"1328699286","file3":"1328699295"},"map_files_photo_id_array":[{"photo_id":"1328699289","filename":"file2"},{"photo_id":"1328699287","filename":"file1"},{"photo_id":"1328699286","filename":"file0"},{"photo_id":"1328699295","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328699287":["hashtag1","hashtag2"]},{"1328699286":["hashtag1","hashtag2"]},{"1328699295":["hashtag1","hashtag2"]},{"1328699289":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328699287, 1328699286, 1328699295, 1328699289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.95938038825989 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:13:22.741160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/12/image_13012025_22_12_02_768230_0003.jpg', '/home/pi/Desktop/images/13012025/22/13/image_13012025_22_13_02_982001_0000.jpg', '/home/pi/Desktop/images/13012025/22/13/image_13012025_22_13_02_982001_0001.jpg', '/home/pi/Desktop/images/13012025/22/13/image_13012025_22_13_02_982001_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/12/image_13012025_22_12_02_768230_0003.jpg
/home/pi/Desktop/images/13012025/22/13/image_13012025_22_13_02_982001_0000.jpg
/home/pi/Desktop/images/13012025/22/13/image_13012025_22_13_02_982001_0001.jpg
/home/pi/Desktop/images/13012025/22/13/image_13012025_22_13_02_982001_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328699339","1328699330","1328699336","1328699332"],"photo_ids_order":["1328699330","1328699332","1328699336","1328699339"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/69ed42796c65d09b2a5fd8650035f22e.jpg","text":"TemporaryFile(/tmp/multipartBody782756795196900562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802873073,"filename":"image_13012025_22_13_02_982001_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bd6cbf71e62aac576493deea01dfec91.jpg","text":"TemporaryFile(/tmp/multipartBody4306599418808241486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802873073,"filename":"image_13012025_22_12_02_768230_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/49f592afef74698c7cdb8d760d02c32e.jpg","text":"TemporaryFile(/tmp/multipartBody9190948698005143994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802873073,"filename":"image_13012025_22_13_02_982001_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5268d5e37c6f6600bf5096be0f4f7ad6.jpg","text":"TemporaryFile(/tmp/multipartBody1286098177072272389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802873073,"filename":"image_13012025_22_13_02_982001_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328699336","file1":"1328699332","file0":"1328699330","file3":"1328699339"},"map_files_photo_id_array":[{"photo_id":"1328699336","filename":"file2"},{"photo_id":"1328699332","filename":"file1"},{"photo_id":"1328699330","filename":"file0"},{"photo_id":"1328699339","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328699339":["hashtag1","hashtag2"]},{"1328699330":["hashtag1","hashtag2"]},{"1328699336":["hashtag1","hashtag2"]},{"1328699332":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328699339, 1328699330, 1328699336, 1328699332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.352030992507935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:14:21.942817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/13/image_13012025_22_13_02_982001_0003.jpg', '/home/pi/Desktop/images/13012025/22/14/image_13012025_22_14_03_190808_0000.jpg', '/home/pi/Desktop/images/13012025/22/14/image_13012025_22_14_03_190808_0001.jpg', '/home/pi/Desktop/images/13012025/22/14/image_13012025_22_14_03_190808_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/13/image_13012025_22_13_02_982001_0003.jpg
/home/pi/Desktop/images/13012025/22/14/image_13012025_22_14_03_190808_0000.jpg
/home/pi/Desktop/images/13012025/22/14/image_13012025_22_14_03_190808_0001.jpg
/home/pi/Desktop/images/13012025/22/14/image_13012025_22_14_03_190808_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328699357","1328699348","1328699353","1328699350"],"photo_ids_order":["1328699348","1328699350","1328699353","1328699357"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e304b23d1d3a444ceed941c2c14bedf5.jpg","text":"TemporaryFile(/tmp/multipartBody7383926128635132998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802932256,"filename":"image_13012025_22_14_03_190808_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8989a8392a036dd15e94210f96481593.jpg","text":"TemporaryFile(/tmp/multipartBody787674078692368816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802932256,"filename":"image_13012025_22_13_02_982001_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ef5e17596af3a23a2880be4ae1aec668.jpg","text":"TemporaryFile(/tmp/multipartBody5518598529986330984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802932256,"filename":"image_13012025_22_14_03_190808_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/71de12405c20a1377b5ab5986e1736ca.jpg","text":"TemporaryFile(/tmp/multipartBody3588905123049201117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802932256,"filename":"image_13012025_22_14_03_190808_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328699353","file1":"1328699350","file0":"1328699348","file3":"1328699357"},"map_files_photo_id_array":[{"photo_id":"1328699353","filename":"file2"},{"photo_id":"1328699350","filename":"file1"},{"photo_id":"1328699348","filename":"file0"},{"photo_id":"1328699357","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328699357":["hashtag1","hashtag2"]},{"1328699348":["hashtag1","hashtag2"]},{"1328699353":["hashtag1","hashtag2"]},{"1328699350":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328699357, 1328699348, 1328699353, 1328699350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.3431339263916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 22:15:02.625588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:15:22.144008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/14/image_13012025_22_14_03_190808_0003.jpg', '/home/pi/Desktop/images/13012025/22/15/image_13012025_22_15_02_247337_0000.jpg', '/home/pi/Desktop/images/13012025/22/15/image_13012025_22_15_02_247337_0001.jpg', '/home/pi/Desktop/images/13012025/22/15/image_13012025_22_15_02_247337_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/14/image_13012025_22_14_03_190808_0003.jpg
/home/pi/Desktop/images/13012025/22/15/image_13012025_22_15_02_247337_0000.jpg
/home/pi/Desktop/images/13012025/22/15/image_13012025_22_15_02_247337_0001.jpg
/home/pi/Desktop/images/13012025/22/15/image_13012025_22_15_02_247337_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328699363","1328699371","1328699368","1328699365"],"photo_ids_order":["1328699363","1328699365","1328699368","1328699371"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dc8e54391b3ce09f69de608fbdc81834.jpg","text":"TemporaryFile(/tmp/multipartBody3545102056929693373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802992440,"filename":"image_13012025_22_14_03_190808_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a46162a9c3c568b09a46f19eb9bef319.jpg","text":"TemporaryFile(/tmp/multipartBody3790817577795671237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802992440,"filename":"image_13012025_22_15_02_247337_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a25f0bf0810fda54cc4598382aad2d0e.jpg","text":"TemporaryFile(/tmp/multipartBody4275260052093581491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802992440,"filename":"image_13012025_22_15_02_247337_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1885228365e4911858abb0beceb28002.jpg","text":"TemporaryFile(/tmp/multipartBody1975727410604876477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736802992440,"filename":"image_13012025_22_15_02_247337_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328699368","file1":"1328699365","file0":"1328699363","file3":"1328699371"},"map_files_photo_id_array":[{"photo_id":"1328699368","filename":"file2"},{"photo_id":"1328699365","filename":"file1"},{"photo_id":"1328699363","filename":"file0"},{"photo_id":"1328699371","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328699363":["hashtag1","hashtag2"]},{"1328699371":["hashtag1","hashtag2"]},{"1328699368":["hashtag1","hashtag2"]},{"1328699365":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328699363, 1328699371, 1328699368, 1328699365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.9054069519043 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 22:16:02.751523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:16:22.326817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/15/image_13012025_22_15_02_247337_0003.jpg', '/home/pi/Desktop/images/13012025/22/16/image_13012025_22_16_02_516223_0000.jpg', '/home/pi/Desktop/images/13012025/22/16/image_13012025_22_16_02_516223_0001.jpg', '/home/pi/Desktop/images/13012025/22/16/image_13012025_22_16_02_516223_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/15/image_13012025_22_15_02_247337_0003.jpg
/home/pi/Desktop/images/13012025/22/16/image_13012025_22_16_02_516223_0000.jpg
/home/pi/Desktop/images/13012025/22/16/image_13012025_22_16_02_516223_0001.jpg
/home/pi/Desktop/images/13012025/22/16/image_13012025_22_16_02_516223_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328699433","1328699453","1328699428","1328699451"],"photo_ids_order":["1328699428","1328699433","1328699451","1328699453"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ed6431b4648ca49049660b6fb821eccf.jpg","text":"TemporaryFile(/tmp/multipartBody5819098569662748033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803052668,"filename":"image_13012025_22_16_02_516223_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f653e115bcadfc9d77faabb7e34b98cf.jpg","text":"TemporaryFile(/tmp/multipartBody1821397303163017707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803052668,"filename":"image_13012025_22_16_02_516223_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ae8fefe9911b134cd60ad6bf62b095cb.jpg","text":"TemporaryFile(/tmp/multipartBody7531899607396274606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803052668,"filename":"image_13012025_22_15_02_247337_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c8ab39afade5b9169354f0781a25f764.jpg","text":"TemporaryFile(/tmp/multipartBody3426739136930271399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803052668,"filename":"image_13012025_22_16_02_516223_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328699451","file1":"1328699433","file0":"1328699428","file3":"1328699453"},"map_files_photo_id_array":[{"photo_id":"1328699451","filename":"file2"},{"photo_id":"1328699433","filename":"file1"},{"photo_id":"1328699428","filename":"file0"},{"photo_id":"1328699453","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328699433":["hashtag1","hashtag2"]},{"1328699453":["hashtag1","hashtag2"]},{"1328699428":["hashtag1","hashtag2"]},{"1328699451":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328699433, 1328699453, 1328699428, 1328699451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.67205023765564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:17:22.489879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/16/image_13012025_22_16_02_516223_0003.jpg', '/home/pi/Desktop/images/13012025/22/17/image_13012025_22_17_02_668398_0000.jpg', '/home/pi/Desktop/images/13012025/22/17/image_13012025_22_17_02_668398_0001.jpg', '/home/pi/Desktop/images/13012025/22/17/image_13012025_22_17_02_668398_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/16/image_13012025_22_16_02_516223_0003.jpg
/home/pi/Desktop/images/13012025/22/17/image_13012025_22_17_02_668398_0000.jpg
/home/pi/Desktop/images/13012025/22/17/image_13012025_22_17_02_668398_0001.jpg
/home/pi/Desktop/images/13012025/22/17/image_13012025_22_17_02_668398_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328700026","1328700016","1328700021","1328700024"],"photo_ids_order":["1328700016","1328700021","1328700024","1328700026"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9b2396df422587da5c29c369ed111f18.jpg","text":"TemporaryFile(/tmp/multipartBody5735121879811401305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803112777,"filename":"image_13012025_22_17_02_668398_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5eb34c0fff333138fd5e4aed9c46a7ba.jpg","text":"TemporaryFile(/tmp/multipartBody1875411894874482480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803112777,"filename":"image_13012025_22_16_02_516223_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c325fff23935ba380c046fdb6a2c8ce7.jpg","text":"TemporaryFile(/tmp/multipartBody8596130635907724129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803112777,"filename":"image_13012025_22_17_02_668398_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c5bdfde381b645824ef0ac6a98dc63ff.jpg","text":"TemporaryFile(/tmp/multipartBody7280441964573185622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803112777,"filename":"image_13012025_22_17_02_668398_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328700024","file1":"1328700021","file0":"1328700016","file3":"1328700026"},"map_files_photo_id_array":[{"photo_id":"1328700024","filename":"file2"},{"photo_id":"1328700021","filename":"file1"},{"photo_id":"1328700016","filename":"file0"},{"photo_id":"1328700026","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328700026":["hashtag1","hashtag2"]},{"1328700016":["hashtag1","hashtag2"]},{"1328700021":["hashtag1","hashtag2"]},{"1328700024":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328700026, 1328700016, 1328700021, 1328700024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.598315954208374 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:18:22.737643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/17/image_13012025_22_17_02_668398_0003.jpg', '/home/pi/Desktop/images/13012025/22/18/image_13012025_22_18_02_830437_0000.jpg', '/home/pi/Desktop/images/13012025/22/18/image_13012025_22_18_02_830437_0001.jpg', '/home/pi/Desktop/images/13012025/22/18/image_13012025_22_18_02_830437_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/17/image_13012025_22_17_02_668398_0003.jpg
/home/pi/Desktop/images/13012025/22/18/image_13012025_22_18_02_830437_0000.jpg
/home/pi/Desktop/images/13012025/22/18/image_13012025_22_18_02_830437_0001.jpg
/home/pi/Desktop/images/13012025/22/18/image_13012025_22_18_02_830437_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328700314","1328700297","1328700330","1328700411"],"photo_ids_order":["1328700297","1328700314","1328700330","1328700411"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/17a953c91dde0b33ee73983b71f27db3.jpg","text":"TemporaryFile(/tmp/multipartBody4495111214278368291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803172957,"filename":"image_13012025_22_18_02_830437_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1723bc923154f71ec1457781b5ccbd1a.jpg","text":"TemporaryFile(/tmp/multipartBody7489167883420622031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803172957,"filename":"image_13012025_22_17_02_668398_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/16b76db50240de57d854c9e5a74b6446.jpg","text":"TemporaryFile(/tmp/multipartBody744625787282862983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803172957,"filename":"image_13012025_22_18_02_830437_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ec643d37a9fca0b62bc17d59d9021774.jpg","text":"TemporaryFile(/tmp/multipartBody7343122603031166781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803172957,"filename":"image_13012025_22_18_02_830437_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328700330","file1":"1328700314","file0":"1328700297","file3":"1328700411"},"map_files_photo_id_array":[{"photo_id":"1328700330","filename":"file2"},{"photo_id":"1328700314","filename":"file1"},{"photo_id":"1328700297","filename":"file0"},{"photo_id":"1328700411","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328700314":["hashtag1","hashtag2"]},{"1328700297":["hashtag1","hashtag2"]},{"1328700330":["hashtag1","hashtag2"]},{"1328700411":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328700314, 1328700297, 1328700330, 1328700411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.36174726486206 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:19:21.868327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/18/image_13012025_22_18_02_830437_0003.jpg', '/home/pi/Desktop/images/13012025/22/19/image_13012025_22_19_03_068707_0000.jpg', '/home/pi/Desktop/images/13012025/22/19/image_13012025_22_19_03_068707_0001.jpg', '/home/pi/Desktop/images/13012025/22/19/image_13012025_22_19_03_068707_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/18/image_13012025_22_18_02_830437_0003.jpg
/home/pi/Desktop/images/13012025/22/19/image_13012025_22_19_03_068707_0000.jpg
/home/pi/Desktop/images/13012025/22/19/image_13012025_22_19_03_068707_0001.jpg
/home/pi/Desktop/images/13012025/22/19/image_13012025_22_19_03_068707_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328700463","1328700436","1328700451","1328700439"],"photo_ids_order":["1328700436","1328700439","1328700451","1328700463"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4ff765b54cb4d0f061c1c97e63db21f5.jpg","text":"TemporaryFile(/tmp/multipartBody6785073855152014314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803232060,"filename":"image_13012025_22_19_03_068707_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f3106905afa82299dacf186e9e5db6dc.jpg","text":"TemporaryFile(/tmp/multipartBody8953240422392611814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803232060,"filename":"image_13012025_22_18_02_830437_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/89e70dddbb7f7455b801ff5911cfc67b.jpg","text":"TemporaryFile(/tmp/multipartBody4759956392814259268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803232060,"filename":"image_13012025_22_19_03_068707_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/78ca771381f3447f00507d0154ee52b2.jpg","text":"TemporaryFile(/tmp/multipartBody6647687539578604962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803232060,"filename":"image_13012025_22_19_03_068707_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328700451","file1":"1328700439","file0":"1328700436","file3":"1328700463"},"map_files_photo_id_array":[{"photo_id":"1328700451","filename":"file2"},{"photo_id":"1328700439","filename":"file1"},{"photo_id":"1328700436","filename":"file0"},{"photo_id":"1328700463","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328700463":["hashtag1","hashtag2"]},{"1328700436":["hashtag1","hashtag2"]},{"1328700451":["hashtag1","hashtag2"]},{"1328700439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328700463, 1328700436, 1328700451, 1328700439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.84320521354675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:20:22.114047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/19/image_13012025_22_19_03_068707_0003.jpg', '/home/pi/Desktop/images/13012025/22/20/image_13012025_22_20_02_266616_0000.jpg', '/home/pi/Desktop/images/13012025/22/20/image_13012025_22_20_02_266616_0001.jpg', '/home/pi/Desktop/images/13012025/22/20/image_13012025_22_20_02_266616_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/19/image_13012025_22_19_03_068707_0003.jpg
/home/pi/Desktop/images/13012025/22/20/image_13012025_22_20_02_266616_0000.jpg
/home/pi/Desktop/images/13012025/22/20/image_13012025_22_20_02_266616_0001.jpg
/home/pi/Desktop/images/13012025/22/20/image_13012025_22_20_02_266616_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.999878406524658 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 22:20:42.041424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/19/image_13012025_22_19_03_068707_0003.jpg', '/home/pi/Desktop/images/13012025/22/20/image_13012025_22_20_02_266616_0000.jpg', '/home/pi/Desktop/images/13012025/22/20/image_13012025_22_20_02_266616_0001.jpg', '/home/pi/Desktop/images/13012025/22/20/image_13012025_22_20_02_266616_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/19/image_13012025_22_19_03_068707_0003.jpg
/home/pi/Desktop/images/13012025/22/20/image_13012025_22_20_02_266616_0000.jpg
/home/pi/Desktop/images/13012025/22/20/image_13012025_22_20_02_266616_0001.jpg
/home/pi/Desktop/images/13012025/22/20/image_13012025_22_20_02_266616_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328700592","1328700597","1328700594","1328700600"],"photo_ids_order":["1328700592","1328700594","1328700597","1328700600"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2bb57ef44d5626fcb9a5a03a2fc28a9e.jpg","text":"TemporaryFile(/tmp/multipartBody7777138660910181300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803312445,"filename":"image_13012025_22_19_03_068707_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2588b30380449686e623597fd277c97a.jpg","text":"TemporaryFile(/tmp/multipartBody6466247613667030041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803312445,"filename":"image_13012025_22_20_02_266616_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c961d79c22b2f0ab8367886ed20c4ee3.jpg","text":"TemporaryFile(/tmp/multipartBody8527122432774741014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803312445,"filename":"image_13012025_22_20_02_266616_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8b5d0cf38b78c64267f91bcddc9eaa53.jpg","text":"TemporaryFile(/tmp/multipartBody8450314309322258065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803312445,"filename":"image_13012025_22_20_02_266616_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328700597","file1":"1328700594","file0":"1328700592","file3":"1328700600"},"map_files_photo_id_array":[{"photo_id":"1328700597","filename":"file2"},{"photo_id":"1328700594","filename":"file1"},{"photo_id":"1328700592","filename":"file0"},{"photo_id":"1328700600","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328700592":["hashtag1","hashtag2"]},{"1328700597":["hashtag1","hashtag2"]},{"1328700594":["hashtag1","hashtag2"]},{"1328700600":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328700592, 1328700597, 1328700594, 1328700600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.19779872894287 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:21:22.196278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/20/image_13012025_22_20_02_266616_0003.jpg', '/home/pi/Desktop/images/13012025/22/21/image_13012025_22_21_02_371431_0000.jpg', '/home/pi/Desktop/images/13012025/22/21/image_13012025_22_21_02_371431_0001.jpg', '/home/pi/Desktop/images/13012025/22/21/image_13012025_22_21_02_371431_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/20/image_13012025_22_20_02_266616_0003.jpg
/home/pi/Desktop/images/13012025/22/21/image_13012025_22_21_02_371431_0000.jpg
/home/pi/Desktop/images/13012025/22/21/image_13012025_22_21_02_371431_0001.jpg
/home/pi/Desktop/images/13012025/22/21/image_13012025_22_21_02_371431_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328700617","1328700639","1328700618","1328700641"],"photo_ids_order":["1328700617","1328700618","1328700639","1328700641"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cb3986f0010165e06010852054749d97.jpg","text":"TemporaryFile(/tmp/multipartBody405468121874976312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803352363,"filename":"image_13012025_22_20_02_266616_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1d63271386d516c96f832109a426d0a4.jpg","text":"TemporaryFile(/tmp/multipartBody449909330263601044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803352363,"filename":"image_13012025_22_21_02_371431_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/18b5be8894ff6e7d516cadd62083b010.jpg","text":"TemporaryFile(/tmp/multipartBody8549699421539883394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803352363,"filename":"image_13012025_22_21_02_371431_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f949db186a6dd0645b11c1b9c51137c2.jpg","text":"TemporaryFile(/tmp/multipartBody3213457562464861755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803352363,"filename":"image_13012025_22_21_02_371431_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328700639","file1":"1328700618","file0":"1328700617","file3":"1328700641"},"map_files_photo_id_array":[{"photo_id":"1328700639","filename":"file2"},{"photo_id":"1328700618","filename":"file1"},{"photo_id":"1328700617","filename":"file0"},{"photo_id":"1328700641","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328700617":["hashtag1","hashtag2"]},{"1328700639":["hashtag1","hashtag2"]},{"1328700618":["hashtag1","hashtag2"]},{"1328700641":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328700617, 1328700639, 1328700618, 1328700641)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.72222352027893 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:22:22.376077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/21/image_13012025_22_21_02_371431_0003.jpg', '/home/pi/Desktop/images/13012025/22/22/image_13012025_22_22_02_605266_0000.jpg', '/home/pi/Desktop/images/13012025/22/22/image_13012025_22_22_02_605266_0001.jpg', '/home/pi/Desktop/images/13012025/22/22/image_13012025_22_22_02_605266_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/21/image_13012025_22_21_02_371431_0003.jpg
/home/pi/Desktop/images/13012025/22/22/image_13012025_22_22_02_605266_0000.jpg
/home/pi/Desktop/images/13012025/22/22/image_13012025_22_22_02_605266_0001.jpg
/home/pi/Desktop/images/13012025/22/22/image_13012025_22_22_02_605266_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328700659","1328700666","1328700654","1328700662"],"photo_ids_order":["1328700654","1328700659","1328700662","1328700666"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ac3a0e47867cee28814221bc7aa7d03b.jpg","text":"TemporaryFile(/tmp/multipartBody8054042172959634643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803412650,"filename":"image_13012025_22_22_02_605266_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/32966ff1d949bd61baf71c51a3ec05c9.jpg","text":"TemporaryFile(/tmp/multipartBody7663874262808685010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803412650,"filename":"image_13012025_22_22_02_605266_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6d4fa1a83ab3043b9e6e3cbf5a8bd4e6.jpg","text":"TemporaryFile(/tmp/multipartBody4051171734244481739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803412650,"filename":"image_13012025_22_21_02_371431_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1d23c63adfa3ca4cbf5505baf04f38aa.jpg","text":"TemporaryFile(/tmp/multipartBody6417020102885025552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803412650,"filename":"image_13012025_22_22_02_605266_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328700662","file1":"1328700659","file0":"1328700654","file3":"1328700666"},"map_files_photo_id_array":[{"photo_id":"1328700662","filename":"file2"},{"photo_id":"1328700659","filename":"file1"},{"photo_id":"1328700654","filename":"file0"},{"photo_id":"1328700666","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328700659":["hashtag1","hashtag2"]},{"1328700666":["hashtag1","hashtag2"]},{"1328700654":["hashtag1","hashtag2"]},{"1328700662":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328700659, 1328700666, 1328700654, 1328700662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 54.93679213523865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:23:22.551078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/22/image_13012025_22_22_02_605266_0003.jpg', '/home/pi/Desktop/images/13012025/22/23/image_13012025_22_23_02_730931_0000.jpg', '/home/pi/Desktop/images/13012025/22/23/image_13012025_22_23_02_730931_0001.jpg', '/home/pi/Desktop/images/13012025/22/23/image_13012025_22_23_02_730931_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/22/image_13012025_22_22_02_605266_0003.jpg
/home/pi/Desktop/images/13012025/22/23/image_13012025_22_23_02_730931_0000.jpg
/home/pi/Desktop/images/13012025/22/23/image_13012025_22_23_02_730931_0001.jpg
/home/pi/Desktop/images/13012025/22/23/image_13012025_22_23_02_730931_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328700688","1328700706","1328700686","1328700705"],"photo_ids_order":["1328700686","1328700688","1328700705","1328700706"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1b05f38bf4142af23bf3e72ec041f1d1.jpg","text":"TemporaryFile(/tmp/multipartBody6973441298299248251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803473032,"filename":"image_13012025_22_23_02_730931_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/61d11893660a6c5d64f6bd557f083f35.jpg","text":"TemporaryFile(/tmp/multipartBody2488212112300083046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803473032,"filename":"image_13012025_22_23_02_730931_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/55d117f9ce15f7a192f6a277da05bc15.jpg","text":"TemporaryFile(/tmp/multipartBody5723380578129261336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803473032,"filename":"image_13012025_22_22_02_605266_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/17db6dccbc38cd23a8489d9144258c5c.jpg","text":"TemporaryFile(/tmp/multipartBody7710863999366465642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803473032,"filename":"image_13012025_22_23_02_730931_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328700705","file1":"1328700688","file0":"1328700686","file3":"1328700706"},"map_files_photo_id_array":[{"photo_id":"1328700705","filename":"file2"},{"photo_id":"1328700688","filename":"file1"},{"photo_id":"1328700686","filename":"file0"},{"photo_id":"1328700706","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328700688":["hashtag1","hashtag2"]},{"1328700706":["hashtag1","hashtag2"]},{"1328700686":["hashtag1","hashtag2"]},{"1328700705":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328700688, 1328700706, 1328700686, 1328700705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.53598070144653 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 22:24:03.092059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:24:22.712503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/23/image_13012025_22_23_02_730931_0003.jpg', '/home/pi/Desktop/images/13012025/22/24/image_13012025_22_24_02_855612_0000.jpg', '/home/pi/Desktop/images/13012025/22/24/image_13012025_22_24_02_855612_0001.jpg', '/home/pi/Desktop/images/13012025/22/24/image_13012025_22_24_02_855612_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/23/image_13012025_22_23_02_730931_0003.jpg
/home/pi/Desktop/images/13012025/22/24/image_13012025_22_24_02_855612_0000.jpg
/home/pi/Desktop/images/13012025/22/24/image_13012025_22_24_02_855612_0001.jpg
/home/pi/Desktop/images/13012025/22/24/image_13012025_22_24_02_855612_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.898094177246094 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 22:24:42.692135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/23/image_13012025_22_23_02_730931_0003.jpg', '/home/pi/Desktop/images/13012025/22/24/image_13012025_22_24_02_855612_0000.jpg', '/home/pi/Desktop/images/13012025/22/24/image_13012025_22_24_02_855612_0001.jpg', '/home/pi/Desktop/images/13012025/22/24/image_13012025_22_24_02_855612_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/23/image_13012025_22_23_02_730931_0003.jpg
/home/pi/Desktop/images/13012025/22/24/image_13012025_22_24_02_855612_0000.jpg
/home/pi/Desktop/images/13012025/22/24/image_13012025_22_24_02_855612_0001.jpg
/home/pi/Desktop/images/13012025/22/24/image_13012025_22_24_02_855612_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328700778","1328700748","1328700768","1328700740"],"photo_ids_order":["1328700740","1328700748","1328700768","1328700778"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7c20142f9229715fe14bb12b746eb591.jpg","text":"TemporaryFile(/tmp/multipartBody2834454519494089094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803553004,"filename":"image_13012025_22_24_02_855612_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7173b96c1a594be83c737b37f52f8637.jpg","text":"TemporaryFile(/tmp/multipartBody7198257907386614296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803553004,"filename":"image_13012025_22_24_02_855612_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8f611692398a281fa31577e114dde471.jpg","text":"TemporaryFile(/tmp/multipartBody8663185005233933047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803553004,"filename":"image_13012025_22_24_02_855612_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/44683778b206f8dda61513833859bfca.jpg","text":"TemporaryFile(/tmp/multipartBody4242965432809400779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803553004,"filename":"image_13012025_22_23_02_730931_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328700768","file1":"1328700748","file0":"1328700740","file3":"1328700778"},"map_files_photo_id_array":[{"photo_id":"1328700768","filename":"file2"},{"photo_id":"1328700748","filename":"file1"},{"photo_id":"1328700740","filename":"file0"},{"photo_id":"1328700778","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328700778":["hashtag1","hashtag2"]},{"1328700748":["hashtag1","hashtag2"]},{"1328700768":["hashtag1","hashtag2"]},{"1328700740":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328700778, 1328700748, 1328700768, 1328700740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.15639400482178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 22:25:31.799373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/24/image_13012025_22_24_02_855612_0003.jpg', '/home/pi/Desktop/images/13012025/22/25/image_13012025_22_25_03_035489_0000.jpg', '/home/pi/Desktop/images/13012025/22/25/image_13012025_22_25_03_035489_0001.jpg', '/home/pi/Desktop/images/13012025/22/25/image_13012025_22_25_03_035489_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/24/image_13012025_22_24_02_855612_0003.jpg
/home/pi/Desktop/images/13012025/22/25/image_13012025_22_25_03_035489_0000.jpg
/home/pi/Desktop/images/13012025/22/25/image_13012025_22_25_03_035489_0001.jpg
/home/pi/Desktop/images/13012025/22/25/image_13012025_22_25_03_035489_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328700790","1328700793","1328700792","1328700791"],"photo_ids_order":["1328700790","1328700791","1328700792","1328700793"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/642a1a7a4c2b64f9fa84072f23b5c949.jpg","text":"TemporaryFile(/tmp/multipartBody5776173198054371160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803602166,"filename":"image_13012025_22_24_02_855612_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8aa4d32eeaf660eaebd6f85591063ce0.jpg","text":"TemporaryFile(/tmp/multipartBody1792686354172502622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803602166,"filename":"image_13012025_22_25_03_035489_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f8c52ae63e90907de8cf89d45f71a38a.jpg","text":"TemporaryFile(/tmp/multipartBody962145261460570957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803602166,"filename":"image_13012025_22_25_03_035489_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b2931162c0cde876a4a7bff24813145f.jpg","text":"TemporaryFile(/tmp/multipartBody1016742976131557328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803602166,"filename":"image_13012025_22_25_03_035489_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328700792","file1":"1328700791","file0":"1328700790","file3":"1328700793"},"map_files_photo_id_array":[{"photo_id":"1328700792","filename":"file2"},{"photo_id":"1328700791","filename":"file1"},{"photo_id":"1328700790","filename":"file0"},{"photo_id":"1328700793","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328700790":["hashtag1","hashtag2"]},{"1328700793":["hashtag1","hashtag2"]},{"1328700792":["hashtag1","hashtag2"]},{"1328700791":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328700790, 1328700793, 1328700792, 1328700791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.35624599456787 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:26:21.998370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/25/image_13012025_22_25_03_035489_0003.jpg', '/home/pi/Desktop/images/13012025/22/26/image_13012025_22_26_02_169321_0000.jpg', '/home/pi/Desktop/images/13012025/22/26/image_13012025_22_26_02_169321_0001.jpg', '/home/pi/Desktop/images/13012025/22/26/image_13012025_22_26_02_169321_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/25/image_13012025_22_25_03_035489_0003.jpg
/home/pi/Desktop/images/13012025/22/26/image_13012025_22_26_02_169321_0000.jpg
/home/pi/Desktop/images/13012025/22/26/image_13012025_22_26_02_169321_0001.jpg
/home/pi/Desktop/images/13012025/22/26/image_13012025_22_26_02_169321_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328700803","1328700812","1328700807","1328700810"],"photo_ids_order":["1328700803","1328700807","1328700810","1328700812"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7b21684cb5c3fd8d00cf5cde84dcf526.jpg","text":"TemporaryFile(/tmp/multipartBody1108180660433189466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803652416,"filename":"image_13012025_22_25_03_035489_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/45b3395e7decd528b6a65f32014c1a17.jpg","text":"TemporaryFile(/tmp/multipartBody2752003894742759833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803652416,"filename":"image_13012025_22_26_02_169321_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a65c5872c0229d28ef303e6b784ad8de.jpg","text":"TemporaryFile(/tmp/multipartBody144187286528496917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803652416,"filename":"image_13012025_22_26_02_169321_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5e8a6b48e5967530b8a6d3ec35ffa129.jpg","text":"TemporaryFile(/tmp/multipartBody5686242312644837293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803652416,"filename":"image_13012025_22_26_02_169321_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328700810","file1":"1328700807","file0":"1328700803","file3":"1328700812"},"map_files_photo_id_array":[{"photo_id":"1328700810","filename":"file2"},{"photo_id":"1328700807","filename":"file1"},{"photo_id":"1328700803","filename":"file0"},{"photo_id":"1328700812","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328700803":["hashtag1","hashtag2"]},{"1328700812":["hashtag1","hashtag2"]},{"1328700807":["hashtag1","hashtag2"]},{"1328700810":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328700803, 1328700812, 1328700807, 1328700810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.32549476623535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:27:22.177043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/26/image_13012025_22_26_02_169321_0003.jpg', '/home/pi/Desktop/images/13012025/22/27/image_13012025_22_27_02_410160_0000.jpg', '/home/pi/Desktop/images/13012025/22/27/image_13012025_22_27_02_410160_0001.jpg', '/home/pi/Desktop/images/13012025/22/27/image_13012025_22_27_02_410160_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/26/image_13012025_22_26_02_169321_0003.jpg
/home/pi/Desktop/images/13012025/22/27/image_13012025_22_27_02_410160_0000.jpg
/home/pi/Desktop/images/13012025/22/27/image_13012025_22_27_02_410160_0001.jpg
/home/pi/Desktop/images/13012025/22/27/image_13012025_22_27_02_410160_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328701381","1328701264","1328701365","1328701136"],"photo_ids_order":["1328701136","1328701264","1328701365","1328701381"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bdb6186a4d1bca9883a1fa63feba99a0.jpg","text":"TemporaryFile(/tmp/multipartBody2284113809206928979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803712554,"filename":"image_13012025_22_27_02_410160_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/839caec7afae520da5e8352c48c285fe.jpg","text":"TemporaryFile(/tmp/multipartBody2639219747366710129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803712554,"filename":"image_13012025_22_27_02_410160_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9452a1f6bc889e9ac0eb5afaebc28aff.jpg","text":"TemporaryFile(/tmp/multipartBody6794300125194018422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803712554,"filename":"image_13012025_22_27_02_410160_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/34b6fef81c8811e088d6ea716a968675.jpg","text":"TemporaryFile(/tmp/multipartBody3924385012893365919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803712554,"filename":"image_13012025_22_26_02_169321_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328701365","file1":"1328701264","file0":"1328701136","file3":"1328701381"},"map_files_photo_id_array":[{"photo_id":"1328701365","filename":"file2"},{"photo_id":"1328701264","filename":"file1"},{"photo_id":"1328701136","filename":"file0"},{"photo_id":"1328701381","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328701381":["hashtag1","hashtag2"]},{"1328701264":["hashtag1","hashtag2"]},{"1328701365":["hashtag1","hashtag2"]},{"1328701136":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328701381, 1328701264, 1328701365, 1328701136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.20546746253967 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 22:28:02.808960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:28:22.468456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/27/image_13012025_22_27_02_410160_0003.jpg', '/home/pi/Desktop/images/13012025/22/28/image_13012025_22_28_02_613587_0000.jpg', '/home/pi/Desktop/images/13012025/22/28/image_13012025_22_28_02_613587_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/27/image_13012025_22_27_02_410160_0003.jpg
/home/pi/Desktop/images/13012025/22/28/image_13012025_22_28_02_613587_0000.jpg
/home/pi/Desktop/images/13012025/22/28/image_13012025_22_28_02_613587_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.551781415939331 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 22:28:32.424173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/27/image_13012025_22_27_02_410160_0003.jpg', '/home/pi/Desktop/images/13012025/22/28/image_13012025_22_28_02_613587_0000.jpg', '/home/pi/Desktop/images/13012025/22/28/image_13012025_22_28_02_613587_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/27/image_13012025_22_27_02_410160_0003.jpg
/home/pi/Desktop/images/13012025/22/28/image_13012025_22_28_02_613587_0000.jpg
/home/pi/Desktop/images/13012025/22/28/image_13012025_22_28_02_613587_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328701627","1328701630","1328701631"],"photo_ids_order":["1328701627","1328701630","1328701631"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eefc50221ed95363bb4c83e808c9f98e.jpg","text":"TemporaryFile(/tmp/multipartBody3183338773857870213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803780360,"filename":"image_13012025_22_27_02_410160_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/10b80370b5bfc5deccac5ee3720e7a59.jpg","text":"TemporaryFile(/tmp/multipartBody679178261786799845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803780360,"filename":"image_13012025_22_28_02_613587_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/86843592e98d265fdaeef236d744498a.jpg","text":"TemporaryFile(/tmp/multipartBody6303166076865579498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803780360,"filename":"image_13012025_22_28_02_613587_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328701631","file1":"1328701630","file0":"1328701627"},"map_files_photo_id_array":[{"photo_id":"1328701631","filename":"file2"},{"photo_id":"1328701630","filename":"file1"},{"photo_id":"1328701627","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328701627":["hashtag1","hashtag2"]},{"1328701630":["hashtag1","hashtag2"]},{"1328701631":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328701627, 1328701630, 1328701631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.918412685394287 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:29:22.647396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/28/image_13012025_22_28_02_613587_0002.jpg', '/home/pi/Desktop/images/13012025/22/29/image_13012025_22_29_02_773479_0000.jpg', '/home/pi/Desktop/images/13012025/22/29/image_13012025_22_29_02_773479_0001.jpg', '/home/pi/Desktop/images/13012025/22/29/image_13012025_22_29_02_773479_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/28/image_13012025_22_28_02_613587_0002.jpg
/home/pi/Desktop/images/13012025/22/29/image_13012025_22_29_02_773479_0000.jpg
/home/pi/Desktop/images/13012025/22/29/image_13012025_22_29_02_773479_0001.jpg
/home/pi/Desktop/images/13012025/22/29/image_13012025_22_29_02_773479_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328701651","1328701648","1328701643","1328701646"],"photo_ids_order":["1328701643","1328701646","1328701648","1328701651"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/82506a1d909724c086825cf0edd2b475.jpg","text":"TemporaryFile(/tmp/multipartBody2326081129378884382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803833131,"filename":"image_13012025_22_29_02_773479_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/20055e885cecda5dee904f3f5eafb386.jpg","text":"TemporaryFile(/tmp/multipartBody5534040358926144421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803833131,"filename":"image_13012025_22_29_02_773479_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/03fe30db9a108d4782cae8ee12f29c1f.jpg","text":"TemporaryFile(/tmp/multipartBody8675050292598273307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803833131,"filename":"image_13012025_22_28_02_613587_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9d5549b09c61f4a962c76e6ae311551b.jpg","text":"TemporaryFile(/tmp/multipartBody7488542048573087891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803833131,"filename":"image_13012025_22_29_02_773479_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328701648","file1":"1328701646","file0":"1328701643","file3":"1328701651"},"map_files_photo_id_array":[{"photo_id":"1328701648","filename":"file2"},{"photo_id":"1328701646","filename":"file1"},{"photo_id":"1328701643","filename":"file0"},{"photo_id":"1328701651","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328701651":["hashtag1","hashtag2"]},{"1328701648":["hashtag1","hashtag2"]},{"1328701643":["hashtag1","hashtag2"]},{"1328701646":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328701651, 1328701648, 1328701643, 1328701646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.56161117553711 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:30:21.841053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/29/image_13012025_22_29_02_773479_0003.jpg', '/home/pi/Desktop/images/13012025/22/30/image_13012025_22_30_02_953219_0000.jpg', '/home/pi/Desktop/images/13012025/22/30/image_13012025_22_30_02_953219_0001.jpg', '/home/pi/Desktop/images/13012025/22/30/image_13012025_22_30_02_953219_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/29/image_13012025_22_29_02_773479_0003.jpg
/home/pi/Desktop/images/13012025/22/30/image_13012025_22_30_02_953219_0000.jpg
/home/pi/Desktop/images/13012025/22/30/image_13012025_22_30_02_953219_0001.jpg
/home/pi/Desktop/images/13012025/22/30/image_13012025_22_30_02_953219_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328701786","1328701747","1328701804","1328701809"],"photo_ids_order":["1328701747","1328701786","1328701804","1328701809"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0eb16f06c0c54775e053ccf26e020dbe.jpg","text":"TemporaryFile(/tmp/multipartBody2930257304800413216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803892219,"filename":"image_13012025_22_30_02_953219_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4e466d16c585cd6ee6aef379eb25d446.jpg","text":"TemporaryFile(/tmp/multipartBody8496372579140668626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803892219,"filename":"image_13012025_22_29_02_773479_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/afd357a1376e9952a13998d82c0c1413.jpg","text":"TemporaryFile(/tmp/multipartBody3782856751289728398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803892219,"filename":"image_13012025_22_30_02_953219_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ff78e3276c60495431322da13d356bc1.jpg","text":"TemporaryFile(/tmp/multipartBody7702813080249032493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803892219,"filename":"image_13012025_22_30_02_953219_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328701804","file1":"1328701786","file0":"1328701747","file3":"1328701809"},"map_files_photo_id_array":[{"photo_id":"1328701804","filename":"file2"},{"photo_id":"1328701786","filename":"file1"},{"photo_id":"1328701747","filename":"file0"},{"photo_id":"1328701809","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328701786":["hashtag1","hashtag2"]},{"1328701747":["hashtag1","hashtag2"]},{"1328701804":["hashtag1","hashtag2"]},{"1328701809":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328701786, 1328701747, 1328701804, 1328701809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.80176901817322 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:31:22.070140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/30/image_13012025_22_30_02_953219_0003.jpg', '/home/pi/Desktop/images/13012025/22/31/image_13012025_22_31_02_226730_0000.jpg', '/home/pi/Desktop/images/13012025/22/31/image_13012025_22_31_02_226730_0001.jpg', '/home/pi/Desktop/images/13012025/22/31/image_13012025_22_31_02_226730_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/30/image_13012025_22_30_02_953219_0003.jpg
/home/pi/Desktop/images/13012025/22/31/image_13012025_22_31_02_226730_0000.jpg
/home/pi/Desktop/images/13012025/22/31/image_13012025_22_31_02_226730_0001.jpg
/home/pi/Desktop/images/13012025/22/31/image_13012025_22_31_02_226730_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328701876","1328701861","1328701858","1328701877"],"photo_ids_order":["1328701858","1328701861","1328701876","1328701877"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c8914ec1a709b8b1dfe48ca31a86fbcd.jpg","text":"TemporaryFile(/tmp/multipartBody8449352726643560850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803952472,"filename":"image_13012025_22_31_02_226730_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b5bc95db8da0ee49aa671d1d506c25f0.jpg","text":"TemporaryFile(/tmp/multipartBody4241122412274114396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803952472,"filename":"image_13012025_22_31_02_226730_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/405dac6e5eb5ec67bf51dc65989fdc07.jpg","text":"TemporaryFile(/tmp/multipartBody5436202829769915448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803952472,"filename":"image_13012025_22_30_02_953219_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/75f4660a957c884db2b18e6a1c2fe184.jpg","text":"TemporaryFile(/tmp/multipartBody2909410214842383535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736803952472,"filename":"image_13012025_22_31_02_226730_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328701876","file1":"1328701861","file0":"1328701858","file3":"1328701877"},"map_files_photo_id_array":[{"photo_id":"1328701876","filename":"file2"},{"photo_id":"1328701861","filename":"file1"},{"photo_id":"1328701858","filename":"file0"},{"photo_id":"1328701877","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328701876":["hashtag1","hashtag2"]},{"1328701861":["hashtag1","hashtag2"]},{"1328701858":["hashtag1","hashtag2"]},{"1328701877":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328701876, 1328701861, 1328701858, 1328701877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.51954412460327 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 22:32:02.590181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:32:22.263754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/31/image_13012025_22_31_02_226730_0003.jpg', '/home/pi/Desktop/images/13012025/22/32/image_13012025_22_32_02_357165_0000.jpg', '/home/pi/Desktop/images/13012025/22/32/image_13012025_22_32_02_357165_0001.jpg', '/home/pi/Desktop/images/13012025/22/32/image_13012025_22_32_02_357165_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/31/image_13012025_22_31_02_226730_0003.jpg
/home/pi/Desktop/images/13012025/22/32/image_13012025_22_32_02_357165_0000.jpg
/home/pi/Desktop/images/13012025/22/32/image_13012025_22_32_02_357165_0001.jpg
/home/pi/Desktop/images/13012025/22/32/image_13012025_22_32_02_357165_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.944174766540527 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 22:32:42.214524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/31/image_13012025_22_31_02_226730_0003.jpg', '/home/pi/Desktop/images/13012025/22/32/image_13012025_22_32_02_357165_0000.jpg', '/home/pi/Desktop/images/13012025/22/32/image_13012025_22_32_02_357165_0001.jpg', '/home/pi/Desktop/images/13012025/22/32/image_13012025_22_32_02_357165_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/31/image_13012025_22_31_02_226730_0003.jpg
/home/pi/Desktop/images/13012025/22/32/image_13012025_22_32_02_357165_0000.jpg
/home/pi/Desktop/images/13012025/22/32/image_13012025_22_32_02_357165_0001.jpg
/home/pi/Desktop/images/13012025/22/32/image_13012025_22_32_02_357165_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328702473","1328702460","1328702463","1328702461"],"photo_ids_order":["1328702460","1328702461","1328702463","1328702473"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/04e0d3d70721e950cb8777b908a233ef.jpg","text":"TemporaryFile(/tmp/multipartBody112289773465698443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804032584,"filename":"image_13012025_22_32_02_357165_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/752c3f8a205ac0ff4204efa64ed84ba8.jpg","text":"TemporaryFile(/tmp/multipartBody2143867838032585831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804032584,"filename":"image_13012025_22_31_02_226730_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/78b0bd580a590585bb64f42f9b38ff7d.jpg","text":"TemporaryFile(/tmp/multipartBody1397802182274900951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804032584,"filename":"image_13012025_22_32_02_357165_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6789bfb2e8c34e8a74484fc32918e93f.jpg","text":"TemporaryFile(/tmp/multipartBody5308823293022366163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804032584,"filename":"image_13012025_22_32_02_357165_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328702463","file1":"1328702461","file0":"1328702460","file3":"1328702473"},"map_files_photo_id_array":[{"photo_id":"1328702463","filename":"file2"},{"photo_id":"1328702461","filename":"file1"},{"photo_id":"1328702460","filename":"file0"},{"photo_id":"1328702473","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328702473":["hashtag1","hashtag2"]},{"1328702460":["hashtag1","hashtag2"]},{"1328702463":["hashtag1","hashtag2"]},{"1328702461":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328702473, 1328702460, 1328702463, 1328702461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.61289834976196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:33:22.381277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/32/image_13012025_22_32_02_357165_0003.jpg', '/home/pi/Desktop/images/13012025/22/33/image_13012025_22_33_02_604572_0000.jpg', '/home/pi/Desktop/images/13012025/22/33/image_13012025_22_33_02_604572_0001.jpg', '/home/pi/Desktop/images/13012025/22/33/image_13012025_22_33_02_604572_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/32/image_13012025_22_32_02_357165_0003.jpg
/home/pi/Desktop/images/13012025/22/33/image_13012025_22_33_02_604572_0000.jpg
/home/pi/Desktop/images/13012025/22/33/image_13012025_22_33_02_604572_0001.jpg
/home/pi/Desktop/images/13012025/22/33/image_13012025_22_33_02_604572_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328702799","1328702798","1328702783","1328702768"],"photo_ids_order":["1328702768","1328702783","1328702798","1328702799"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ced2312bbf22b1e07dd961e9638578a3.jpg","text":"TemporaryFile(/tmp/multipartBody5375175866000574652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804072764,"filename":"image_13012025_22_33_02_604572_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/66e90301f47832570ae698da220f094b.jpg","text":"TemporaryFile(/tmp/multipartBody142426340200686189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804072764,"filename":"image_13012025_22_33_02_604572_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aa50b43658e7f4664bdfa4ef30426fd2.jpg","text":"TemporaryFile(/tmp/multipartBody5105308329793829228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804072764,"filename":"image_13012025_22_33_02_604572_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a34819222809ef9882f4cde664947433.jpg","text":"TemporaryFile(/tmp/multipartBody6736382654236426885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804072764,"filename":"image_13012025_22_32_02_357165_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328702798","file1":"1328702783","file0":"1328702768","file3":"1328702799"},"map_files_photo_id_array":[{"photo_id":"1328702798","filename":"file2"},{"photo_id":"1328702783","filename":"file1"},{"photo_id":"1328702768","filename":"file0"},{"photo_id":"1328702799","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328702799":["hashtag1","hashtag2"]},{"1328702798":["hashtag1","hashtag2"]},{"1328702783":["hashtag1","hashtag2"]},{"1328702768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328702799, 1328702798, 1328702783, 1328702768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.6560161113739 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 22:34:02.962458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:34:22.627969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/33/image_13012025_22_33_02_604572_0003.jpg', '/home/pi/Desktop/images/13012025/22/34/image_13012025_22_34_02_764507_0000.jpg', '/home/pi/Desktop/images/13012025/22/34/image_13012025_22_34_02_764507_0001.jpg', '/home/pi/Desktop/images/13012025/22/34/image_13012025_22_34_02_764507_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/33/image_13012025_22_33_02_604572_0003.jpg
/home/pi/Desktop/images/13012025/22/34/image_13012025_22_34_02_764507_0000.jpg
/home/pi/Desktop/images/13012025/22/34/image_13012025_22_34_02_764507_0001.jpg
/home/pi/Desktop/images/13012025/22/34/image_13012025_22_34_02_764507_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328702931","1328702925","1328702928","1328702933"],"photo_ids_order":["1328702925","1328702928","1328702931","1328702933"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/671f316df984ee3cd807515c600e11b8.jpg","text":"TemporaryFile(/tmp/multipartBody7569660547519486532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804132962,"filename":"image_13012025_22_34_02_764507_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4a8c8d55f296b71523444691b76a9896.jpg","text":"TemporaryFile(/tmp/multipartBody2580697043222924368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804132962,"filename":"image_13012025_22_33_02_604572_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5611ad2f690dbc9eda28e382a829a318.jpg","text":"TemporaryFile(/tmp/multipartBody2887675677337581235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804132962,"filename":"image_13012025_22_34_02_764507_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/67921037b8ffbc1bb4c99bf4acac72ad.jpg","text":"TemporaryFile(/tmp/multipartBody2483706668695520730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804132962,"filename":"image_13012025_22_34_02_764507_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328702931","file1":"1328702928","file0":"1328702925","file3":"1328702933"},"map_files_photo_id_array":[{"photo_id":"1328702931","filename":"file2"},{"photo_id":"1328702928","filename":"file1"},{"photo_id":"1328702925","filename":"file0"},{"photo_id":"1328702933","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328702931":["hashtag1","hashtag2"]},{"1328702925":["hashtag1","hashtag2"]},{"1328702928":["hashtag1","hashtag2"]},{"1328702933":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328702931, 1328702925, 1328702928, 1328702933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.87459087371826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:35:21.889333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/34/image_13012025_22_34_02_764507_0003.jpg', '/home/pi/Desktop/images/13012025/22/35/image_13012025_22_35_02_938860_0000.jpg', '/home/pi/Desktop/images/13012025/22/35/image_13012025_22_35_02_938860_0001.jpg', '/home/pi/Desktop/images/13012025/22/35/image_13012025_22_35_02_938860_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/34/image_13012025_22_34_02_764507_0003.jpg
/home/pi/Desktop/images/13012025/22/35/image_13012025_22_35_02_938860_0000.jpg
/home/pi/Desktop/images/13012025/22/35/image_13012025_22_35_02_938860_0001.jpg
/home/pi/Desktop/images/13012025/22/35/image_13012025_22_35_02_938860_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328703035","1328703065","1328703067","1328703046"],"photo_ids_order":["1328703035","1328703046","1328703065","1328703067"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/de1d61be6b813863f958c8b9e5fcb04f.jpg","text":"TemporaryFile(/tmp/multipartBody6684178303045327754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804192187,"filename":"image_13012025_22_34_02_764507_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/55d7eab834fe25fb754f1f18992e6197.jpg","text":"TemporaryFile(/tmp/multipartBody3116587485458291747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804192187,"filename":"image_13012025_22_35_02_938860_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9aed4439c21e4d1419aeaeaedb6a76b7.jpg","text":"TemporaryFile(/tmp/multipartBody8768794536955082707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804192187,"filename":"image_13012025_22_35_02_938860_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f8309e96556a85e74e4f09b3c178585d.jpg","text":"TemporaryFile(/tmp/multipartBody6669740628553812050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804192187,"filename":"image_13012025_22_35_02_938860_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328703065","file1":"1328703046","file0":"1328703035","file3":"1328703067"},"map_files_photo_id_array":[{"photo_id":"1328703065","filename":"file2"},{"photo_id":"1328703046","filename":"file1"},{"photo_id":"1328703035","filename":"file0"},{"photo_id":"1328703067","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328703035":["hashtag1","hashtag2"]},{"1328703065":["hashtag1","hashtag2"]},{"1328703067":["hashtag1","hashtag2"]},{"1328703046":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328703035, 1328703065, 1328703067, 1328703046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.61034107208252 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:36:21.994656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/35/image_13012025_22_35_02_938860_0003.jpg', '/home/pi/Desktop/images/13012025/22/36/image_13012025_22_36_02_172239_0000.jpg', '/home/pi/Desktop/images/13012025/22/36/image_13012025_22_36_02_172239_0001.jpg', '/home/pi/Desktop/images/13012025/22/36/image_13012025_22_36_02_172239_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/35/image_13012025_22_35_02_938860_0003.jpg
/home/pi/Desktop/images/13012025/22/36/image_13012025_22_36_02_172239_0000.jpg
/home/pi/Desktop/images/13012025/22/36/image_13012025_22_36_02_172239_0001.jpg
/home/pi/Desktop/images/13012025/22/36/image_13012025_22_36_02_172239_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.784122228622437 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 22:36:42.017131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/35/image_13012025_22_35_02_938860_0003.jpg', '/home/pi/Desktop/images/13012025/22/36/image_13012025_22_36_02_172239_0000.jpg', '/home/pi/Desktop/images/13012025/22/36/image_13012025_22_36_02_172239_0001.jpg', '/home/pi/Desktop/images/13012025/22/36/image_13012025_22_36_02_172239_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/35/image_13012025_22_35_02_938860_0003.jpg
/home/pi/Desktop/images/13012025/22/36/image_13012025_22_36_02_172239_0000.jpg
/home/pi/Desktop/images/13012025/22/36/image_13012025_22_36_02_172239_0001.jpg
/home/pi/Desktop/images/13012025/22/36/image_13012025_22_36_02_172239_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328703159","1328703150","1328703154","1328703112"],"photo_ids_order":["1328703112","1328703150","1328703154","1328703159"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c438861106ac9ee97c57442b8c5de851.jpg","text":"TemporaryFile(/tmp/multipartBody3886519833835579605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804272223,"filename":"image_13012025_22_36_02_172239_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3f4a3df30805cba068f5177a0adbfc4a.jpg","text":"TemporaryFile(/tmp/multipartBody7957766926406735855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804272223,"filename":"image_13012025_22_36_02_172239_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/35e8ba8aaf1fba11bafec72121d97dc2.jpg","text":"TemporaryFile(/tmp/multipartBody7816425693669779104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804272223,"filename":"image_13012025_22_36_02_172239_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d04f74c9604b716770de613401bad30c.jpg","text":"TemporaryFile(/tmp/multipartBody8759780961411971953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804272223,"filename":"image_13012025_22_35_02_938860_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328703154","file1":"1328703150","file0":"1328703112","file3":"1328703159"},"map_files_photo_id_array":[{"photo_id":"1328703154","filename":"file2"},{"photo_id":"1328703150","filename":"file1"},{"photo_id":"1328703112","filename":"file0"},{"photo_id":"1328703159","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328703159":["hashtag1","hashtag2"]},{"1328703150":["hashtag1","hashtag2"]},{"1328703154":["hashtag1","hashtag2"]},{"1328703112":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328703159, 1328703150, 1328703154, 1328703112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.91443920135498 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:37:22.181756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/36/image_13012025_22_36_02_172239_0003.jpg', '/home/pi/Desktop/images/13012025/22/37/image_13012025_22_37_02_345784_0000.jpg', '/home/pi/Desktop/images/13012025/22/37/image_13012025_22_37_02_345784_0001.jpg', '/home/pi/Desktop/images/13012025/22/37/image_13012025_22_37_02_345784_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/36/image_13012025_22_36_02_172239_0003.jpg
/home/pi/Desktop/images/13012025/22/37/image_13012025_22_37_02_345784_0000.jpg
/home/pi/Desktop/images/13012025/22/37/image_13012025_22_37_02_345784_0001.jpg
/home/pi/Desktop/images/13012025/22/37/image_13012025_22_37_02_345784_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328703189","1328703246","1328703185","1328703188"],"photo_ids_order":["1328703185","1328703188","1328703189","1328703246"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cd72a82dabb5832b7975e17c90daab43.jpg","text":"TemporaryFile(/tmp/multipartBody234279849408858878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804312279,"filename":"image_13012025_22_37_02_345784_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5f61e38b51f9ee7307edd3169d96a4b7.jpg","text":"TemporaryFile(/tmp/multipartBody2422286878253673688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804312279,"filename":"image_13012025_22_37_02_345784_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e645807020b5f7edf399e99411ab4468.jpg","text":"TemporaryFile(/tmp/multipartBody2900652222671671711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804312279,"filename":"image_13012025_22_36_02_172239_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ebad669532531b67cd92ef6abe743c2c.jpg","text":"TemporaryFile(/tmp/multipartBody79493433779403350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804312279,"filename":"image_13012025_22_37_02_345784_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328703189","file1":"1328703188","file0":"1328703185","file3":"1328703246"},"map_files_photo_id_array":[{"photo_id":"1328703189","filename":"file2"},{"photo_id":"1328703188","filename":"file1"},{"photo_id":"1328703185","filename":"file0"},{"photo_id":"1328703246","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328703189":["hashtag1","hashtag2"]},{"1328703246":["hashtag1","hashtag2"]},{"1328703185":["hashtag1","hashtag2"]},{"1328703188":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328703189, 1328703246, 1328703185, 1328703188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.278207778930664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 22:38:02.681295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:38:22.338477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/37/image_13012025_22_37_02_345784_0003.jpg', '/home/pi/Desktop/images/13012025/22/38/image_13012025_22_38_02_501090_0000.jpg', '/home/pi/Desktop/images/13012025/22/38/image_13012025_22_38_02_501090_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/37/image_13012025_22_37_02_345784_0003.jpg
/home/pi/Desktop/images/13012025/22/38/image_13012025_22_38_02_501090_0000.jpg
/home/pi/Desktop/images/13012025/22/38/image_13012025_22_38_02_501090_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328703267","1328703270","1328703263"],"photo_ids_order":["1328703263","1328703267","1328703270"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/578fb365846e4ebfeaeefb5b235f528a.jpg","text":"TemporaryFile(/tmp/multipartBody1630097065632230199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804370088,"filename":"image_13012025_22_38_02_501090_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/074f866080a61b6e90e981ff7e7857ea.jpg","text":"TemporaryFile(/tmp/multipartBody6317810541763840940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804370088,"filename":"image_13012025_22_38_02_501090_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7425322bec6574ef2be1993290cbe7e3.jpg","text":"TemporaryFile(/tmp/multipartBody3856651096862893139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804370088,"filename":"image_13012025_22_37_02_345784_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328703270","file1":"1328703267","file0":"1328703263"},"map_files_photo_id_array":[{"photo_id":"1328703270","filename":"file2"},{"photo_id":"1328703267","filename":"file1"},{"photo_id":"1328703263","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328703267":["hashtag1","hashtag2"]},{"1328703270":["hashtag1","hashtag2"]},{"1328703263":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328703267, 1328703270, 1328703263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.845855236053467 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 22:39:03.000870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:39:22.538172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/38/image_13012025_22_38_02_501090_0002.jpg', '/home/pi/Desktop/images/13012025/22/39/image_13012025_22_39_02_681960_0000.jpg', '/home/pi/Desktop/images/13012025/22/39/image_13012025_22_39_02_681960_0001.jpg', '/home/pi/Desktop/images/13012025/22/39/image_13012025_22_39_02_681960_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/38/image_13012025_22_38_02_501090_0002.jpg
/home/pi/Desktop/images/13012025/22/39/image_13012025_22_39_02_681960_0000.jpg
/home/pi/Desktop/images/13012025/22/39/image_13012025_22_39_02_681960_0001.jpg
/home/pi/Desktop/images/13012025/22/39/image_13012025_22_39_02_681960_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328703291","1328703318","1328703359","1328703331"],"photo_ids_order":["1328703291","1328703318","1328703331","1328703359"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/01a265087e3c7f03b8ce1606908aa8ca.jpg","text":"TemporaryFile(/tmp/multipartBody5330962042844178056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804432712,"filename":"image_13012025_22_38_02_501090_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eb47d4e5db34be95a576a4af8f8ef371.jpg","text":"TemporaryFile(/tmp/multipartBody7553289600488229219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804432712,"filename":"image_13012025_22_39_02_681960_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/43ac5946cbe0af2bd4d2e3a6a1672885.jpg","text":"TemporaryFile(/tmp/multipartBody4979108159596892059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804432712,"filename":"image_13012025_22_39_02_681960_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4c5c2f08bc97a74282b538bedb6bf9c7.jpg","text":"TemporaryFile(/tmp/multipartBody6499415416894124878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804432712,"filename":"image_13012025_22_39_02_681960_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328703331","file1":"1328703318","file0":"1328703291","file3":"1328703359"},"map_files_photo_id_array":[{"photo_id":"1328703331","filename":"file2"},{"photo_id":"1328703318","filename":"file1"},{"photo_id":"1328703291","filename":"file0"},{"photo_id":"1328703359","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328703291":["hashtag1","hashtag2"]},{"1328703318":["hashtag1","hashtag2"]},{"1328703359":["hashtag1","hashtag2"]},{"1328703331":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328703291, 1328703318, 1328703359, 1328703331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.218838691711426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:40:22.705628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/39/image_13012025_22_39_02_681960_0003.jpg', '/home/pi/Desktop/images/13012025/22/40/image_13012025_22_40_02_862905_0000.jpg', '/home/pi/Desktop/images/13012025/22/40/image_13012025_22_40_02_862905_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/39/image_13012025_22_39_02_681960_0003.jpg
/home/pi/Desktop/images/13012025/22/40/image_13012025_22_40_02_862905_0000.jpg
/home/pi/Desktop/images/13012025/22/40/image_13012025_22_40_02_862905_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328703522","1328703557","1328703553"],"photo_ids_order":["1328703522","1328703553","1328703557"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dff3942a8d7c68dd78e87cd5aa0444dd.jpg","text":"TemporaryFile(/tmp/multipartBody2023620677788698596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804490532,"filename":"image_13012025_22_39_02_681960_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4710f50a7722c7fa026fcfe93a999499.jpg","text":"TemporaryFile(/tmp/multipartBody3701985068741697251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804490532,"filename":"image_13012025_22_40_02_862905_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4856e2940c8ff669046023c2b28d0df8.jpg","text":"TemporaryFile(/tmp/multipartBody6232791574942469006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804490532,"filename":"image_13012025_22_40_02_862905_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328703557","file1":"1328703553","file0":"1328703522"},"map_files_photo_id_array":[{"photo_id":"1328703557","filename":"file2"},{"photo_id":"1328703553","filename":"file1"},{"photo_id":"1328703522","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328703522":["hashtag1","hashtag2"]},{"1328703557":["hashtag1","hashtag2"]},{"1328703553":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328703522, 1328703557, 1328703553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.48709011077881 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 22:41:02.440077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:41:22.052049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/40/image_13012025_22_40_02_862905_0003.jpg', '/home/pi/Desktop/images/13012025/22/41/image_13012025_22_41_03_062073_0000.jpg', '/home/pi/Desktop/images/13012025/22/41/image_13012025_22_41_03_062073_0001.jpg', '/home/pi/Desktop/images/13012025/22/41/image_13012025_22_41_03_062073_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/40/image_13012025_22_40_02_862905_0003.jpg
/home/pi/Desktop/images/13012025/22/41/image_13012025_22_41_03_062073_0000.jpg
/home/pi/Desktop/images/13012025/22/41/image_13012025_22_41_03_062073_0001.jpg
/home/pi/Desktop/images/13012025/22/41/image_13012025_22_41_03_062073_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328703570","1328703580","1328703574","1328703577"],"photo_ids_order":["1328703570","1328703574","1328703577","1328703580"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0543a796e280362e3431ab8ae3e2152c.jpg","text":"TemporaryFile(/tmp/multipartBody2397859498239736797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804552521,"filename":"image_13012025_22_40_02_862905_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/df0955e2aa951d321c021040a19b8ca0.jpg","text":"TemporaryFile(/tmp/multipartBody3056556148533903810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804552521,"filename":"image_13012025_22_41_03_062073_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f9bb8618b9ea548137256f95cdbf49db.jpg","text":"TemporaryFile(/tmp/multipartBody4638674289261063991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804552521,"filename":"image_13012025_22_41_03_062073_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c79d02b1a0780e45ec99c79761c2ea4b.jpg","text":"TemporaryFile(/tmp/multipartBody7180941241098906230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804552521,"filename":"image_13012025_22_41_03_062073_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328703577","file1":"1328703574","file0":"1328703570","file3":"1328703580"},"map_files_photo_id_array":[{"photo_id":"1328703577","filename":"file2"},{"photo_id":"1328703574","filename":"file1"},{"photo_id":"1328703570","filename":"file0"},{"photo_id":"1328703580","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328703570":["hashtag1","hashtag2"]},{"1328703580":["hashtag1","hashtag2"]},{"1328703574":["hashtag1","hashtag2"]},{"1328703577":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328703570, 1328703580, 1328703574, 1328703577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.87303686141968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 22:42:02.607375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:42:22.127572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/41/image_13012025_22_41_03_062073_0003.jpg', '/home/pi/Desktop/images/13012025/22/42/image_13012025_22_42_02_253311_0001.jpg', '/home/pi/Desktop/images/13012025/22/42/image_13012025_22_42_02_253311_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/41/image_13012025_22_41_03_062073_0003.jpg
/home/pi/Desktop/images/13012025/22/42/image_13012025_22_42_02_253311_0001.jpg
/home/pi/Desktop/images/13012025/22/42/image_13012025_22_42_02_253311_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328703591","1328703603","1328703594"],"photo_ids_order":["1328703591","1328703594","1328703603"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/420a1f0550346b7565371fd05b2538f2.jpg","text":"TemporaryFile(/tmp/multipartBody3120421370688910191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804610051,"filename":"image_13012025_22_41_03_062073_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/03c4469c10820f548ddb37fe23c69c87.jpg","text":"TemporaryFile(/tmp/multipartBody3239482550508773068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804610051,"filename":"image_13012025_22_42_02_253311_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e9dc96891979009cd9c2b46d5ef2bf24.jpg","text":"TemporaryFile(/tmp/multipartBody7704905228204183001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804610051,"filename":"image_13012025_22_42_02_253311_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328703603","file1":"1328703594","file0":"1328703591"},"map_files_photo_id_array":[{"photo_id":"1328703603","filename":"file2"},{"photo_id":"1328703594","filename":"file1"},{"photo_id":"1328703591","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328703591":["hashtag1","hashtag2"]},{"1328703603":["hashtag1","hashtag2"]},{"1328703594":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328703591, 1328703603, 1328703594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.72405457496643 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 22:43:02.906020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:43:22.285973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/42/image_13012025_22_42_02_253311_0003.jpg', '/home/pi/Desktop/images/13012025/22/43/image_13012025_22_43_02_465643_0000.jpg', '/home/pi/Desktop/images/13012025/22/43/image_13012025_22_43_02_465643_0001.jpg', '/home/pi/Desktop/images/13012025/22/43/image_13012025_22_43_02_465643_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/42/image_13012025_22_42_02_253311_0003.jpg
/home/pi/Desktop/images/13012025/22/43/image_13012025_22_43_02_465643_0000.jpg
/home/pi/Desktop/images/13012025/22/43/image_13012025_22_43_02_465643_0001.jpg
/home/pi/Desktop/images/13012025/22/43/image_13012025_22_43_02_465643_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.8034508228302 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 22:43:42.264030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/42/image_13012025_22_42_02_253311_0003.jpg', '/home/pi/Desktop/images/13012025/22/43/image_13012025_22_43_02_465643_0000.jpg', '/home/pi/Desktop/images/13012025/22/43/image_13012025_22_43_02_465643_0001.jpg', '/home/pi/Desktop/images/13012025/22/43/image_13012025_22_43_02_465643_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/42/image_13012025_22_42_02_253311_0003.jpg
/home/pi/Desktop/images/13012025/22/43/image_13012025_22_43_02_465643_0000.jpg
/home/pi/Desktop/images/13012025/22/43/image_13012025_22_43_02_465643_0001.jpg
/home/pi/Desktop/images/13012025/22/43/image_13012025_22_43_02_465643_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328703662","1328703667","1328703652","1328703643"],"photo_ids_order":["1328703643","1328703652","1328703662","1328703667"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/984644aa6814952f5e440e5d3e9da893.jpg","text":"TemporaryFile(/tmp/multipartBody6753365191408576818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804692467,"filename":"image_13012025_22_43_02_465643_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8fe004995e5e0e079b826b71cc65adf7.jpg","text":"TemporaryFile(/tmp/multipartBody4384532772589359004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804692467,"filename":"image_13012025_22_43_02_465643_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5da222d26a8ad0294129a57ce6a7e3f1.jpg","text":"TemporaryFile(/tmp/multipartBody7156750425689016966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804692467,"filename":"image_13012025_22_43_02_465643_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/62a7fff975b16bc6af9226a1dac94be5.jpg","text":"TemporaryFile(/tmp/multipartBody4012605145666383866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804692467,"filename":"image_13012025_22_42_02_253311_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328703662","file1":"1328703652","file0":"1328703643","file3":"1328703667"},"map_files_photo_id_array":[{"photo_id":"1328703662","filename":"file2"},{"photo_id":"1328703652","filename":"file1"},{"photo_id":"1328703643","filename":"file0"},{"photo_id":"1328703667","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328703662":["hashtag1","hashtag2"]},{"1328703667":["hashtag1","hashtag2"]},{"1328703652":["hashtag1","hashtag2"]},{"1328703643":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328703662, 1328703667, 1328703652, 1328703643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.02767729759216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:44:22.469200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/43/image_13012025_22_43_02_465643_0003.jpg', '/home/pi/Desktop/images/13012025/22/44/image_13012025_22_44_02_610751_0000.jpg', '/home/pi/Desktop/images/13012025/22/44/image_13012025_22_44_02_610751_0001.jpg', '/home/pi/Desktop/images/13012025/22/44/image_13012025_22_44_02_610751_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/43/image_13012025_22_43_02_465643_0003.jpg
/home/pi/Desktop/images/13012025/22/44/image_13012025_22_44_02_610751_0000.jpg
/home/pi/Desktop/images/13012025/22/44/image_13012025_22_44_02_610751_0001.jpg
/home/pi/Desktop/images/13012025/22/44/image_13012025_22_44_02_610751_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328703712","1328703711","1328703713","1328703715"],"photo_ids_order":["1328703711","1328703712","1328703713","1328703715"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9356a1176750c8a8eea4501a4d50d877.jpg","text":"TemporaryFile(/tmp/multipartBody8789594896043848705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804732667,"filename":"image_13012025_22_44_02_610751_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aac9d9807077d76e27984f26d34c99e2.jpg","text":"TemporaryFile(/tmp/multipartBody5327264646257345522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804732667,"filename":"image_13012025_22_43_02_465643_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f3faffe3547a14c1b2a0be50f5c59887.jpg","text":"TemporaryFile(/tmp/multipartBody8849278371175469622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804732667,"filename":"image_13012025_22_44_02_610751_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d692849892c43b3ac504be26d735a8b5.jpg","text":"TemporaryFile(/tmp/multipartBody3469477772994947024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804732667,"filename":"image_13012025_22_44_02_610751_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328703713","file1":"1328703712","file0":"1328703711","file3":"1328703715"},"map_files_photo_id_array":[{"photo_id":"1328703713","filename":"file2"},{"photo_id":"1328703712","filename":"file1"},{"photo_id":"1328703711","filename":"file0"},{"photo_id":"1328703715","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328703712":["hashtag1","hashtag2"]},{"1328703711":["hashtag1","hashtag2"]},{"1328703713":["hashtag1","hashtag2"]},{"1328703715":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328703712, 1328703711, 1328703713, 1328703715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.03554844856262 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:45:22.633690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/44/image_13012025_22_44_02_610751_0003.jpg', '/home/pi/Desktop/images/13012025/22/45/image_13012025_22_45_02_822212_0000.jpg', '/home/pi/Desktop/images/13012025/22/45/image_13012025_22_45_02_822212_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/44/image_13012025_22_44_02_610751_0003.jpg
/home/pi/Desktop/images/13012025/22/45/image_13012025_22_45_02_822212_0000.jpg
/home/pi/Desktop/images/13012025/22/45/image_13012025_22_45_02_822212_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328703733","1328703736","1328703739"],"photo_ids_order":["1328703733","1328703736","1328703739"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/df38b43b13aba3cac70cb1beb4f51ceb.jpg","text":"TemporaryFile(/tmp/multipartBody6128963340194356016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804790442,"filename":"image_13012025_22_44_02_610751_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4de75c1c08874fb00a33cb528228420b.jpg","text":"TemporaryFile(/tmp/multipartBody5135643845606296578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804790442,"filename":"image_13012025_22_45_02_822212_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e0b61b1048d18dba99a9b264c43e4a44.jpg","text":"TemporaryFile(/tmp/multipartBody7746255651576154509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804790442,"filename":"image_13012025_22_45_02_822212_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328703739","file1":"1328703736","file0":"1328703733"},"map_files_photo_id_array":[{"photo_id":"1328703739","filename":"file2"},{"photo_id":"1328703736","filename":"file1"},{"photo_id":"1328703733","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328703733":["hashtag1","hashtag2"]},{"1328703736":["hashtag1","hashtag2"]},{"1328703739":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328703733, 1328703736, 1328703739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.96180248260498 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 22:46:02.255730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:46:21.864069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/45/image_13012025_22_45_02_822212_0003.jpg', '/home/pi/Desktop/images/13012025/22/46/image_13012025_22_46_02_977450_0000.jpg', '/home/pi/Desktop/images/13012025/22/46/image_13012025_22_46_02_977450_0001.jpg', '/home/pi/Desktop/images/13012025/22/46/image_13012025_22_46_02_977450_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/45/image_13012025_22_45_02_822212_0003.jpg
/home/pi/Desktop/images/13012025/22/46/image_13012025_22_46_02_977450_0000.jpg
/home/pi/Desktop/images/13012025/22/46/image_13012025_22_46_02_977450_0001.jpg
/home/pi/Desktop/images/13012025/22/46/image_13012025_22_46_02_977450_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328703777","1328703779","1328703773","1328703784"],"photo_ids_order":["1328703773","1328703777","1328703779","1328703784"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/54a08d1d195198483456b5778d106b58.jpg","text":"TemporaryFile(/tmp/multipartBody4725436739527054337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804852202,"filename":"image_13012025_22_46_02_977450_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1dba5e426ad786fb3bd05b278fbb8467.jpg","text":"TemporaryFile(/tmp/multipartBody6830836160067793739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804852202,"filename":"image_13012025_22_46_02_977450_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9a1f1bbcca5edfbaa747f62a75cae734.jpg","text":"TemporaryFile(/tmp/multipartBody8809589922073524362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804852202,"filename":"image_13012025_22_45_02_822212_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8cd52a6394eea3693b2079e156b14fc6.jpg","text":"TemporaryFile(/tmp/multipartBody4607702403073712678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804852202,"filename":"image_13012025_22_46_02_977450_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328703779","file1":"1328703777","file0":"1328703773","file3":"1328703784"},"map_files_photo_id_array":[{"photo_id":"1328703779","filename":"file2"},{"photo_id":"1328703777","filename":"file1"},{"photo_id":"1328703773","filename":"file0"},{"photo_id":"1328703784","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328703777":["hashtag1","hashtag2"]},{"1328703779":["hashtag1","hashtag2"]},{"1328703773":["hashtag1","hashtag2"]},{"1328703784":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328703777, 1328703779, 1328703773, 1328703784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.915029525756836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 22:47:02.675392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:47:22.028672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/46/image_13012025_22_46_02_977450_0003.jpg', '/home/pi/Desktop/images/13012025/22/47/image_13012025_22_47_02_208580_0000.jpg', '/home/pi/Desktop/images/13012025/22/47/image_13012025_22_47_02_208580_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/46/image_13012025_22_46_02_977450_0003.jpg
/home/pi/Desktop/images/13012025/22/47/image_13012025_22_47_02_208580_0000.jpg
/home/pi/Desktop/images/13012025/22/47/image_13012025_22_47_02_208580_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328703815","1328703818","1328703812"],"photo_ids_order":["1328703812","1328703815","1328703818"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/58507abfe4b03f200abc9f89a185077c.jpg","text":"TemporaryFile(/tmp/multipartBody6325668097812729361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804909905,"filename":"image_13012025_22_47_02_208580_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d9d7d06b7dbfd3e0c282c0ffb9b6d540.jpg","text":"TemporaryFile(/tmp/multipartBody7069609022934576831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804909905,"filename":"image_13012025_22_47_02_208580_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/706eed6114bcb7da2ed7cc7bff639206.jpg","text":"TemporaryFile(/tmp/multipartBody7218523095772832335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804909905,"filename":"image_13012025_22_46_02_977450_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328703818","file1":"1328703815","file0":"1328703812"},"map_files_photo_id_array":[{"photo_id":"1328703818","filename":"file2"},{"photo_id":"1328703815","filename":"file1"},{"photo_id":"1328703812","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328703815":["hashtag1","hashtag2"]},{"1328703818":["hashtag1","hashtag2"]},{"1328703812":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328703815, 1328703818, 1328703812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 36.402085065841675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 22:48:02.769405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:48:22.274889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/47/image_13012025_22_47_02_208580_0003.jpg', '/home/pi/Desktop/images/13012025/22/48/image_13012025_22_48_02_416784_0000.jpg', '/home/pi/Desktop/images/13012025/22/48/image_13012025_22_48_02_416784_0001.jpg', '/home/pi/Desktop/images/13012025/22/48/image_13012025_22_48_02_416784_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/47/image_13012025_22_47_02_208580_0003.jpg
/home/pi/Desktop/images/13012025/22/48/image_13012025_22_48_02_416784_0000.jpg
/home/pi/Desktop/images/13012025/22/48/image_13012025_22_48_02_416784_0001.jpg
/home/pi/Desktop/images/13012025/22/48/image_13012025_22_48_02_416784_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328703840","1328703872","1328703851","1328703830"],"photo_ids_order":["1328703830","1328703840","1328703851","1328703872"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5a6ab99e57157d31440627935dc539e3.jpg","text":"TemporaryFile(/tmp/multipartBody6033016629877964270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804972348,"filename":"image_13012025_22_48_02_416784_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c4434267d5495c3f4076de45c1a60762.jpg","text":"TemporaryFile(/tmp/multipartBody5811807654251538347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804972348,"filename":"image_13012025_22_48_02_416784_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cf4a312e47516430a4e93c6b4b989c07.jpg","text":"TemporaryFile(/tmp/multipartBody1697106720899716275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804972348,"filename":"image_13012025_22_48_02_416784_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6c9dc7454382b32cfb56f52e947d2c3a.jpg","text":"TemporaryFile(/tmp/multipartBody400054113131766927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736804972348,"filename":"image_13012025_22_47_02_208580_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328703851","file1":"1328703840","file0":"1328703830","file3":"1328703872"},"map_files_photo_id_array":[{"photo_id":"1328703851","filename":"file2"},{"photo_id":"1328703840","filename":"file1"},{"photo_id":"1328703830","filename":"file0"},{"photo_id":"1328703872","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328703840":["hashtag1","hashtag2"]},{"1328703872":["hashtag1","hashtag2"]},{"1328703851":["hashtag1","hashtag2"]},{"1328703830":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328703840, 1328703872, 1328703851, 1328703830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.031309604644775 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 22:49:02.988068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:49:22.459762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/48/image_13012025_22_48_02_416784_0003.jpg', '/home/pi/Desktop/images/13012025/22/49/image_13012025_22_49_02_569426_0000.jpg', '/home/pi/Desktop/images/13012025/22/49/image_13012025_22_49_02_569426_0001.jpg', '/home/pi/Desktop/images/13012025/22/49/image_13012025_22_49_02_569426_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/48/image_13012025_22_48_02_416784_0003.jpg
/home/pi/Desktop/images/13012025/22/49/image_13012025_22_49_02_569426_0000.jpg
/home/pi/Desktop/images/13012025/22/49/image_13012025_22_49_02_569426_0001.jpg
/home/pi/Desktop/images/13012025/22/49/image_13012025_22_49_02_569426_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328703887","1328703895","1328703898","1328703892"],"photo_ids_order":["1328703887","1328703892","1328703895","1328703898"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d909c88d4d0732fe88f0f01ddc057f71.jpg","text":"TemporaryFile(/tmp/multipartBody6528291982127540658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805032702,"filename":"image_13012025_22_48_02_416784_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1cbd0dd48b3da698653cbddb33bd2f6a.jpg","text":"TemporaryFile(/tmp/multipartBody13406717275839800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805032702,"filename":"image_13012025_22_49_02_569426_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/48d32f1bc9c9cf4d4dfd208fd2db8ab7.jpg","text":"TemporaryFile(/tmp/multipartBody6368404313448383120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805032702,"filename":"image_13012025_22_49_02_569426_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/de2993e6aa49521cd86db3335f3ed278.jpg","text":"TemporaryFile(/tmp/multipartBody7174896695953616539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805032702,"filename":"image_13012025_22_49_02_569426_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328703895","file1":"1328703892","file0":"1328703887","file3":"1328703898"},"map_files_photo_id_array":[{"photo_id":"1328703895","filename":"file2"},{"photo_id":"1328703892","filename":"file1"},{"photo_id":"1328703887","filename":"file0"},{"photo_id":"1328703898","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328703887":["hashtag1","hashtag2"]},{"1328703895":["hashtag1","hashtag2"]},{"1328703898":["hashtag1","hashtag2"]},{"1328703892":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328703887, 1328703895, 1328703898, 1328703892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.76496410369873 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:50:22.710461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/49/image_13012025_22_49_02_569426_0003.jpg', '/home/pi/Desktop/images/13012025/22/50/image_13012025_22_50_02_802265_0000.jpg', '/home/pi/Desktop/images/13012025/22/50/image_13012025_22_50_02_802265_0001.jpg', '/home/pi/Desktop/images/13012025/22/50/image_13012025_22_50_02_802265_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/49/image_13012025_22_49_02_569426_0003.jpg
/home/pi/Desktop/images/13012025/22/50/image_13012025_22_50_02_802265_0000.jpg
/home/pi/Desktop/images/13012025/22/50/image_13012025_22_50_02_802265_0001.jpg
/home/pi/Desktop/images/13012025/22/50/image_13012025_22_50_02_802265_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328703910","1328703908","1328703931","1328703922"],"photo_ids_order":["1328703908","1328703910","1328703922","1328703931"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f24a7906ea5c34c9a50c5cba49306fd7.jpg","text":"TemporaryFile(/tmp/multipartBody6133480307033156822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805092986,"filename":"image_13012025_22_50_02_802265_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/888f3ccadcf7fb5a8899ffbc67163acf.jpg","text":"TemporaryFile(/tmp/multipartBody4464415400291146508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805092986,"filename":"image_13012025_22_49_02_569426_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aa6cc070e9cea7f2b1b24c8620e12b70.jpg","text":"TemporaryFile(/tmp/multipartBody1639520217813447171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805092986,"filename":"image_13012025_22_50_02_802265_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2075ad9475b74c1737a1116cc3a68df0.jpg","text":"TemporaryFile(/tmp/multipartBody3375552367972834367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805092986,"filename":"image_13012025_22_50_02_802265_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328703922","file1":"1328703910","file0":"1328703908","file3":"1328703931"},"map_files_photo_id_array":[{"photo_id":"1328703922","filename":"file2"},{"photo_id":"1328703910","filename":"file1"},{"photo_id":"1328703908","filename":"file0"},{"photo_id":"1328703931","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328703910":["hashtag1","hashtag2"]},{"1328703908":["hashtag1","hashtag2"]},{"1328703931":["hashtag1","hashtag2"]},{"1328703922":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328703910, 1328703908, 1328703931, 1328703922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.46104025840759 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:51:21.924402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/50/image_13012025_22_50_02_802265_0003.jpg', '/home/pi/Desktop/images/13012025/22/51/image_13012025_22_51_03_008486_0000.jpg', '/home/pi/Desktop/images/13012025/22/51/image_13012025_22_51_03_008486_0001.jpg', '/home/pi/Desktop/images/13012025/22/51/image_13012025_22_51_03_008486_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/50/image_13012025_22_50_02_802265_0003.jpg
/home/pi/Desktop/images/13012025/22/51/image_13012025_22_51_03_008486_0000.jpg
/home/pi/Desktop/images/13012025/22/51/image_13012025_22_51_03_008486_0001.jpg
/home/pi/Desktop/images/13012025/22/51/image_13012025_22_51_03_008486_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328705303","1328705337","1328705310","1328705313"],"photo_ids_order":["1328705303","1328705310","1328705313","1328705337"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7652b479d9621976403a1942ad2612d5.jpg","text":"TemporaryFile(/tmp/multipartBody6821691624940535865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805152244,"filename":"image_13012025_22_50_02_802265_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a7b68a5c294f882602a9aa5ffb586511.jpg","text":"TemporaryFile(/tmp/multipartBody2680489987732100331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805152244,"filename":"image_13012025_22_51_03_008486_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d637f082865a3c00f2461ad3365dca9c.jpg","text":"TemporaryFile(/tmp/multipartBody3315547129724469302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805152244,"filename":"image_13012025_22_51_03_008486_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ff360c01e0678d2fcfe78557ffe1e30d.jpg","text":"TemporaryFile(/tmp/multipartBody6533591628049671860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805152244,"filename":"image_13012025_22_51_03_008486_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328705313","file1":"1328705310","file0":"1328705303","file3":"1328705337"},"map_files_photo_id_array":[{"photo_id":"1328705313","filename":"file2"},{"photo_id":"1328705310","filename":"file1"},{"photo_id":"1328705303","filename":"file0"},{"photo_id":"1328705337","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328705303":["hashtag1","hashtag2"]},{"1328705337":["hashtag1","hashtag2"]},{"1328705310":["hashtag1","hashtag2"]},{"1328705313":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328705303, 1328705337, 1328705310, 1328705313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.82007122039795 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 22:52:02.526622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:52:21.954127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/51/image_13012025_22_51_03_008486_0003.jpg', '/home/pi/Desktop/images/13012025/22/52/image_13012025_22_52_02_292152_0000.jpg', '/home/pi/Desktop/images/13012025/22/52/image_13012025_22_52_02_292152_0001.jpg', '/home/pi/Desktop/images/13012025/22/52/image_13012025_22_52_02_292152_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/51/image_13012025_22_51_03_008486_0003.jpg
/home/pi/Desktop/images/13012025/22/52/image_13012025_22_52_02_292152_0000.jpg
/home/pi/Desktop/images/13012025/22/52/image_13012025_22_52_02_292152_0001.jpg
/home/pi/Desktop/images/13012025/22/52/image_13012025_22_52_02_292152_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328705582","1328705350","1328705347","1328705355"],"photo_ids_order":["1328705347","1328705350","1328705355","1328705582"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ebc047226cf52cbdabe8667d019d85d6.jpg","text":"TemporaryFile(/tmp/multipartBody4091875647587724044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805212271,"filename":"image_13012025_22_52_02_292152_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fc739763308001187c474670f4ae7fd3.jpg","text":"TemporaryFile(/tmp/multipartBody6563685515276242857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805212271,"filename":"image_13012025_22_52_02_292152_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c01f7751059b35479a9e535d340cb8e4.jpg","text":"TemporaryFile(/tmp/multipartBody6173139544414887350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805212271,"filename":"image_13012025_22_51_03_008486_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b52628be854f3c28a9060c97502b5b49.jpg","text":"TemporaryFile(/tmp/multipartBody5316120621955629186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805212271,"filename":"image_13012025_22_52_02_292152_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328705355","file1":"1328705350","file0":"1328705347","file3":"1328705582"},"map_files_photo_id_array":[{"photo_id":"1328705355","filename":"file2"},{"photo_id":"1328705350","filename":"file1"},{"photo_id":"1328705347","filename":"file0"},{"photo_id":"1328705582","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328705582":["hashtag1","hashtag2"]},{"1328705350":["hashtag1","hashtag2"]},{"1328705347":["hashtag1","hashtag2"]},{"1328705355":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328705582, 1328705350, 1328705347, 1328705355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.24773955345154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 22:53:02.879779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:53:22.242426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/52/image_13012025_22_52_02_292152_0003.jpg', '/home/pi/Desktop/images/13012025/22/53/image_13012025_22_53_02_368022_0000.jpg', '/home/pi/Desktop/images/13012025/22/53/image_13012025_22_53_02_368022_0001.jpg', '/home/pi/Desktop/images/13012025/22/53/image_13012025_22_53_02_368022_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/52/image_13012025_22_52_02_292152_0003.jpg
/home/pi/Desktop/images/13012025/22/53/image_13012025_22_53_02_368022_0000.jpg
/home/pi/Desktop/images/13012025/22/53/image_13012025_22_53_02_368022_0001.jpg
/home/pi/Desktop/images/13012025/22/53/image_13012025_22_53_02_368022_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328705993","1328705996","1328705988","1328705999"],"photo_ids_order":["1328705988","1328705993","1328705996","1328705999"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a4c0f10bd543cafa40f31db7b34e9161.jpg","text":"TemporaryFile(/tmp/multipartBody7544973445445771074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805272430,"filename":"image_13012025_22_53_02_368022_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3f710b669bd15885ad7168f34b357b45.jpg","text":"TemporaryFile(/tmp/multipartBody3839156261191904356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805272430,"filename":"image_13012025_22_53_02_368022_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/faf2b4ded3f2eb6e4c1a5b29219e78d9.jpg","text":"TemporaryFile(/tmp/multipartBody2880941138704113774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805272430,"filename":"image_13012025_22_52_02_292152_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c18e345ae790ada79bfe7cc12e034117.jpg","text":"TemporaryFile(/tmp/multipartBody4488510313447312427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805272430,"filename":"image_13012025_22_53_02_368022_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328705996","file1":"1328705993","file0":"1328705988","file3":"1328705999"},"map_files_photo_id_array":[{"photo_id":"1328705996","filename":"file2"},{"photo_id":"1328705993","filename":"file1"},{"photo_id":"1328705988","filename":"file0"},{"photo_id":"1328705999","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328705993":["hashtag1","hashtag2"]},{"1328705996":["hashtag1","hashtag2"]},{"1328705988":["hashtag1","hashtag2"]},{"1328705999":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328705993, 1328705996, 1328705988, 1328705999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.54709982872009 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 22:54:02.777986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:54:22.473806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/53/image_13012025_22_53_02_368022_0003.jpg', '/home/pi/Desktop/images/13012025/22/54/image_13012025_22_54_02_564041_0000.jpg', '/home/pi/Desktop/images/13012025/22/54/image_13012025_22_54_02_564041_0001.jpg', '/home/pi/Desktop/images/13012025/22/54/image_13012025_22_54_02_564041_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/53/image_13012025_22_53_02_368022_0003.jpg
/home/pi/Desktop/images/13012025/22/54/image_13012025_22_54_02_564041_0000.jpg
/home/pi/Desktop/images/13012025/22/54/image_13012025_22_54_02_564041_0001.jpg
/home/pi/Desktop/images/13012025/22/54/image_13012025_22_54_02_564041_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328706351","1328706168","1328706333","1328706327"],"photo_ids_order":["1328706168","1328706327","1328706333","1328706351"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d337425d25d3e74e40283abc1d248c6a.jpg","text":"TemporaryFile(/tmp/multipartBody264223647370299934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805332673,"filename":"image_13012025_22_54_02_564041_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fda3204383fe0c54429bd6c8aa1918c5.jpg","text":"TemporaryFile(/tmp/multipartBody6211929090506785786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805332673,"filename":"image_13012025_22_53_02_368022_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2d34835f9cf9987ab8f10a8ff7c68391.jpg","text":"TemporaryFile(/tmp/multipartBody2966665742318266972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805332673,"filename":"image_13012025_22_54_02_564041_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/55db33eba77da675bfbfac1adff2192a.jpg","text":"TemporaryFile(/tmp/multipartBody1661093427080257881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805332673,"filename":"image_13012025_22_54_02_564041_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328706333","file1":"1328706327","file0":"1328706168","file3":"1328706351"},"map_files_photo_id_array":[{"photo_id":"1328706333","filename":"file2"},{"photo_id":"1328706327","filename":"file1"},{"photo_id":"1328706168","filename":"file0"},{"photo_id":"1328706351","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328706351":["hashtag1","hashtag2"]},{"1328706168":["hashtag1","hashtag2"]},{"1328706333":["hashtag1","hashtag2"]},{"1328706327":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328706351, 1328706168, 1328706333, 1328706327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.706480741500854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:55:22.641974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/54/image_13012025_22_54_02_564041_0003.jpg', '/home/pi/Desktop/images/13012025/22/55/image_13012025_22_55_02_748402_0000.jpg', '/home/pi/Desktop/images/13012025/22/55/image_13012025_22_55_02_748402_0001.jpg', '/home/pi/Desktop/images/13012025/22/55/image_13012025_22_55_02_748402_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/54/image_13012025_22_54_02_564041_0003.jpg
/home/pi/Desktop/images/13012025/22/55/image_13012025_22_55_02_748402_0000.jpg
/home/pi/Desktop/images/13012025/22/55/image_13012025_22_55_02_748402_0001.jpg
/home/pi/Desktop/images/13012025/22/55/image_13012025_22_55_02_748402_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328706385","1328706390","1328706387","1328706389"],"photo_ids_order":["1328706385","1328706387","1328706389","1328706390"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0c3dcb0c02b61666d0e7d61a560f74ff.jpg","text":"TemporaryFile(/tmp/multipartBody4471657487681212665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805392766,"filename":"image_13012025_22_54_02_564041_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b93e21bff3b27f454e3b4b0300846e7b.jpg","text":"TemporaryFile(/tmp/multipartBody6146230462037948209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805392766,"filename":"image_13012025_22_55_02_748402_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/236868016ec423144984abf38af29d88.jpg","text":"TemporaryFile(/tmp/multipartBody4936621562441464425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805392766,"filename":"image_13012025_22_55_02_748402_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f7e02e91b01b13226aa2c67423b4fdf5.jpg","text":"TemporaryFile(/tmp/multipartBody3405409162955995744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805392766,"filename":"image_13012025_22_55_02_748402_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328706389","file1":"1328706387","file0":"1328706385","file3":"1328706390"},"map_files_photo_id_array":[{"photo_id":"1328706389","filename":"file2"},{"photo_id":"1328706387","filename":"file1"},{"photo_id":"1328706385","filename":"file0"},{"photo_id":"1328706390","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328706385":["hashtag1","hashtag2"]},{"1328706390":["hashtag1","hashtag2"]},{"1328706387":["hashtag1","hashtag2"]},{"1328706389":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328706385, 1328706390, 1328706387, 1328706389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.87347364425659 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:56:22.807643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/55/image_13012025_22_55_02_748402_0003.jpg', '/home/pi/Desktop/images/13012025/22/56/image_13012025_22_56_02_937201_0000.jpg', '/home/pi/Desktop/images/13012025/22/56/image_13012025_22_56_02_937201_0001.jpg', '/home/pi/Desktop/images/13012025/22/56/image_13012025_22_56_02_937201_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/55/image_13012025_22_55_02_748402_0003.jpg
/home/pi/Desktop/images/13012025/22/56/image_13012025_22_56_02_937201_0000.jpg
/home/pi/Desktop/images/13012025/22/56/image_13012025_22_56_02_937201_0001.jpg
/home/pi/Desktop/images/13012025/22/56/image_13012025_22_56_02_937201_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328706413","1328706407","1328706416","1328706409"],"photo_ids_order":["1328706407","1328706409","1328706413","1328706416"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cb903e5c160a6f97aa847b89951f9c1b.jpg","text":"TemporaryFile(/tmp/multipartBody1053739677277305918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805452925,"filename":"image_13012025_22_56_02_937201_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a4606f3ae9ca80b54857233b86c74e75.jpg","text":"TemporaryFile(/tmp/multipartBody784583913828500609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805452925,"filename":"image_13012025_22_55_02_748402_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e6aa6611b7b9a9560abbbfc433b0de79.jpg","text":"TemporaryFile(/tmp/multipartBody1391859920317854593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805452925,"filename":"image_13012025_22_56_02_937201_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/16d3d4ef5ff834c870642107dd9982b9.jpg","text":"TemporaryFile(/tmp/multipartBody4004419325755525397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805452925,"filename":"image_13012025_22_56_02_937201_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328706413","file1":"1328706409","file0":"1328706407","file3":"1328706416"},"map_files_photo_id_array":[{"photo_id":"1328706413","filename":"file2"},{"photo_id":"1328706409","filename":"file1"},{"photo_id":"1328706407","filename":"file0"},{"photo_id":"1328706416","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328706413":["hashtag1","hashtag2"]},{"1328706407":["hashtag1","hashtag2"]},{"1328706416":["hashtag1","hashtag2"]},{"1328706409":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328706413, 1328706407, 1328706416, 1328706409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.0655779838562 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 22:57:21.923617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/56/image_13012025_22_56_02_937201_0003.jpg', '/home/pi/Desktop/images/13012025/22/57/image_13012025_22_57_03_090167_0000.jpg', '/home/pi/Desktop/images/13012025/22/57/image_13012025_22_57_03_090167_0001.jpg', '/home/pi/Desktop/images/13012025/22/57/image_13012025_22_57_03_090167_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/56/image_13012025_22_56_02_937201_0003.jpg
/home/pi/Desktop/images/13012025/22/57/image_13012025_22_57_03_090167_0000.jpg
/home/pi/Desktop/images/13012025/22/57/image_13012025_22_57_03_090167_0001.jpg
/home/pi/Desktop/images/13012025/22/57/image_13012025_22_57_03_090167_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328706472","1328706436","1328706445","1328706444"],"photo_ids_order":["1328706436","1328706444","1328706445","1328706472"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/36097a0da7ee1b6dff912a27e8201349.jpg","text":"TemporaryFile(/tmp/multipartBody2735114484860334431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805512174,"filename":"image_13012025_22_57_03_090167_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5a40cad95beec6c9baf8fe3d22f6699d.jpg","text":"TemporaryFile(/tmp/multipartBody5355195508005911375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805512174,"filename":"image_13012025_22_56_02_937201_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5864247a82a4be21d33ab9f79d7a1436.jpg","text":"TemporaryFile(/tmp/multipartBody8710025562301635842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805512174,"filename":"image_13012025_22_57_03_090167_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ba39fc064b8028e0f1c425739e2670f7.jpg","text":"TemporaryFile(/tmp/multipartBody2281969397661115440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805512174,"filename":"image_13012025_22_57_03_090167_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328706445","file1":"1328706444","file0":"1328706436","file3":"1328706472"},"map_files_photo_id_array":[{"photo_id":"1328706445","filename":"file2"},{"photo_id":"1328706444","filename":"file1"},{"photo_id":"1328706436","filename":"file0"},{"photo_id":"1328706472","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328706472":["hashtag1","hashtag2"]},{"1328706436":["hashtag1","hashtag2"]},{"1328706445":["hashtag1","hashtag2"]},{"1328706444":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328706472, 1328706436, 1328706445, 1328706444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.039700508117676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 22:59:03.013168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/57/image_13012025_22_57_03_090167_0003.jpg', '/home/pi/Desktop/images/13012025/22/58/image_13012025_22_58_02_276958_0000.jpg', '/home/pi/Desktop/images/13012025/22/58/image_13012025_22_58_02_276958_0001.jpg', '/home/pi/Desktop/images/13012025/22/58/image_13012025_22_58_02_276958_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/57/image_13012025_22_57_03_090167_0003.jpg
/home/pi/Desktop/images/13012025/22/58/image_13012025_22_58_02_276958_0000.jpg
/home/pi/Desktop/images/13012025/22/58/image_13012025_22_58_02_276958_0001.jpg
/home/pi/Desktop/images/13012025/22/58/image_13012025_22_58_02_276958_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328706500","1328706489","1328706498","1328706494"],"photo_ids_order":["1328706489","1328706494","1328706498","1328706500"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fe90b25d3c20231fe637acddfd8fb227.jpg","text":"TemporaryFile(/tmp/multipartBody5267451919907355332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805613303,"filename":"image_13012025_22_58_02_276958_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/29e6c3994e00aa034f8cc7a17c54040f.jpg","text":"TemporaryFile(/tmp/multipartBody4711949010743166230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805613303,"filename":"image_13012025_22_57_03_090167_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2bd401cbc451dcc1519df1cb6e253f6f.jpg","text":"TemporaryFile(/tmp/multipartBody4797782101906741326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805613303,"filename":"image_13012025_22_58_02_276958_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/02487c1fe51bf21cdcb515563a4a6e4e.jpg","text":"TemporaryFile(/tmp/multipartBody2986791922164217287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805613303,"filename":"image_13012025_22_58_02_276958_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328706498","file1":"1328706494","file0":"1328706489","file3":"1328706500"},"map_files_photo_id_array":[{"photo_id":"1328706498","filename":"file2"},{"photo_id":"1328706494","filename":"file1"},{"photo_id":"1328706489","filename":"file0"},{"photo_id":"1328706500","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328706500":["hashtag1","hashtag2"]},{"1328706489":["hashtag1","hashtag2"]},{"1328706498":["hashtag1","hashtag2"]},{"1328706494":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328706500, 1328706489, 1328706498, 1328706494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.759960412979126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 22:59:42.324097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/58/image_13012025_22_58_02_276958_0003.jpg', '/home/pi/Desktop/images/13012025/22/59/image_13012025_22_59_02_489016_0000.jpg', '/home/pi/Desktop/images/13012025/22/59/image_13012025_22_59_02_489016_0001.jpg', '/home/pi/Desktop/images/13012025/22/59/image_13012025_22_59_02_489016_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/58/image_13012025_22_58_02_276958_0003.jpg
/home/pi/Desktop/images/13012025/22/59/image_13012025_22_59_02_489016_0000.jpg
/home/pi/Desktop/images/13012025/22/59/image_13012025_22_59_02_489016_0001.jpg
/home/pi/Desktop/images/13012025/22/59/image_13012025_22_59_02_489016_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328707278","1328707292","1328707295","1328707289"],"photo_ids_order":["1328707278","1328707289","1328707292","1328707295"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/68607f5c24574e404b8ae58b274a73c0.jpg","text":"TemporaryFile(/tmp/multipartBody982202348171840451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805652652,"filename":"image_13012025_22_58_02_276958_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3ead87128e3a1be7744b524741b8fee2.jpg","text":"TemporaryFile(/tmp/multipartBody6682631539065019895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805652652,"filename":"image_13012025_22_59_02_489016_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/70be2741b7d02443252ab6d4b1b490e8.jpg","text":"TemporaryFile(/tmp/multipartBody1429700543828016662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805652652,"filename":"image_13012025_22_59_02_489016_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dc5c55f22e9e59aad5aa3d6b620ca346.jpg","text":"TemporaryFile(/tmp/multipartBody2474877278903647405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805652652,"filename":"image_13012025_22_59_02_489016_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328707292","file1":"1328707289","file0":"1328707278","file3":"1328707295"},"map_files_photo_id_array":[{"photo_id":"1328707292","filename":"file2"},{"photo_id":"1328707289","filename":"file1"},{"photo_id":"1328707278","filename":"file0"},{"photo_id":"1328707295","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328707278":["hashtag1","hashtag2"]},{"1328707292":["hashtag1","hashtag2"]},{"1328707295":["hashtag1","hashtag2"]},{"1328707289":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328707278, 1328707292, 1328707295, 1328707289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.2470965385437 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:00:22.433440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/22/59/image_13012025_22_59_02_489016_0003.jpg', '/home/pi/Desktop/images/13012025/23/00/image_13012025_23_00_02_637659_0000.jpg', '/home/pi/Desktop/images/13012025/23/00/image_13012025_23_00_02_637659_0001.jpg', '/home/pi/Desktop/images/13012025/23/00/image_13012025_23_00_02_637659_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/22/59/image_13012025_22_59_02_489016_0003.jpg
/home/pi/Desktop/images/13012025/23/00/image_13012025_23_00_02_637659_0000.jpg
/home/pi/Desktop/images/13012025/23/00/image_13012025_23_00_02_637659_0001.jpg
/home/pi/Desktop/images/13012025/23/00/image_13012025_23_00_02_637659_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328707618","1328707595","1328707620","1328707556"],"photo_ids_order":["1328707556","1328707595","1328707618","1328707620"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f82480595c87f2ff5d28d1847a653aac.jpg","text":"TemporaryFile(/tmp/multipartBody8321893127422404621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805692620,"filename":"image_13012025_23_00_02_637659_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/375f005b5e789d0189b13d80e5818a3f.jpg","text":"TemporaryFile(/tmp/multipartBody2484054026557409541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805692620,"filename":"image_13012025_23_00_02_637659_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d1d63664144981966a516c3f3a9ca338.jpg","text":"TemporaryFile(/tmp/multipartBody5871007536838390259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805692620,"filename":"image_13012025_23_00_02_637659_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/89430720407ff90a18852bfe3ac6ba5d.jpg","text":"TemporaryFile(/tmp/multipartBody4515033585927224255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805692620,"filename":"image_13012025_22_59_02_489016_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328707618","file1":"1328707595","file0":"1328707556","file3":"1328707620"},"map_files_photo_id_array":[{"photo_id":"1328707618","filename":"file2"},{"photo_id":"1328707595","filename":"file1"},{"photo_id":"1328707556","filename":"file0"},{"photo_id":"1328707620","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328707618":["hashtag1","hashtag2"]},{"1328707595":["hashtag1","hashtag2"]},{"1328707620":["hashtag1","hashtag2"]},{"1328707556":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328707618, 1328707595, 1328707620, 1328707556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.28883409500122 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 23:01:03.241738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:01:22.676209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/00/image_13012025_23_00_02_637659_0003.jpg', '/home/pi/Desktop/images/13012025/23/01/image_13012025_23_01_02_808621_0000.jpg', '/home/pi/Desktop/images/13012025/23/01/image_13012025_23_01_02_808621_0001.jpg', '/home/pi/Desktop/images/13012025/23/01/image_13012025_23_01_02_808621_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/00/image_13012025_23_00_02_637659_0003.jpg
/home/pi/Desktop/images/13012025/23/01/image_13012025_23_01_02_808621_0000.jpg
/home/pi/Desktop/images/13012025/23/01/image_13012025_23_01_02_808621_0001.jpg
/home/pi/Desktop/images/13012025/23/01/image_13012025_23_01_02_808621_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328707711","1328707714","1328707708","1328707710"],"photo_ids_order":["1328707708","1328707710","1328707711","1328707714"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/23efff74762244c7b94b9ccf928ca859.jpg","text":"TemporaryFile(/tmp/multipartBody5348676089870891491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805752861,"filename":"image_13012025_23_01_02_808621_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d8562eccfef2ee2d249b2a64c6d920e1.jpg","text":"TemporaryFile(/tmp/multipartBody2715925503792897327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805752861,"filename":"image_13012025_23_01_02_808621_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cc85c168086b1daf9548b4a6ee9eb9a0.jpg","text":"TemporaryFile(/tmp/multipartBody3964524989708458253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805752861,"filename":"image_13012025_23_00_02_637659_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/32d1a6e23dcdee80b3989f832a038789.jpg","text":"TemporaryFile(/tmp/multipartBody3468789667028691378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805752861,"filename":"image_13012025_23_01_02_808621_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328707711","file1":"1328707710","file0":"1328707708","file3":"1328707714"},"map_files_photo_id_array":[{"photo_id":"1328707711","filename":"file2"},{"photo_id":"1328707710","filename":"file1"},{"photo_id":"1328707708","filename":"file0"},{"photo_id":"1328707714","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328707711":["hashtag1","hashtag2"]},{"1328707714":["hashtag1","hashtag2"]},{"1328707708":["hashtag1","hashtag2"]},{"1328707710":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328707711, 1328707714, 1328707708, 1328707710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.53911733627319 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:02:21.846293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/01/image_13012025_23_01_02_808621_0003.jpg', '/home/pi/Desktop/images/13012025/23/02/image_13012025_23_02_03_106359_0000.jpg', '/home/pi/Desktop/images/13012025/23/02/image_13012025_23_02_03_106359_0001.jpg', '/home/pi/Desktop/images/13012025/23/02/image_13012025_23_02_03_106359_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/01/image_13012025_23_01_02_808621_0003.jpg
/home/pi/Desktop/images/13012025/23/02/image_13012025_23_02_03_106359_0000.jpg
/home/pi/Desktop/images/13012025/23/02/image_13012025_23_02_03_106359_0001.jpg
/home/pi/Desktop/images/13012025/23/02/image_13012025_23_02_03_106359_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328707729","1328707731","1328707733","1328707736"],"photo_ids_order":["1328707729","1328707731","1328707733","1328707736"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cdbefa49c87630ceb192652afdc2523a.jpg","text":"TemporaryFile(/tmp/multipartBody8294514542397644638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805812201,"filename":"image_13012025_23_01_02_808621_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/80fa365784cbdc3860c90e81156330b6.jpg","text":"TemporaryFile(/tmp/multipartBody3373627978545620711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805812201,"filename":"image_13012025_23_02_03_106359_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/56aff5c2457088469ee9d457593d6207.jpg","text":"TemporaryFile(/tmp/multipartBody8469647781858734859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805812201,"filename":"image_13012025_23_02_03_106359_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e0f6de55b511d6ee657799e33825bf9a.jpg","text":"TemporaryFile(/tmp/multipartBody5535903308567744353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805812201,"filename":"image_13012025_23_02_03_106359_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328707733","file1":"1328707731","file0":"1328707729","file3":"1328707736"},"map_files_photo_id_array":[{"photo_id":"1328707733","filename":"file2"},{"photo_id":"1328707731","filename":"file1"},{"photo_id":"1328707729","filename":"file0"},{"photo_id":"1328707736","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328707729":["hashtag1","hashtag2"]},{"1328707731":["hashtag1","hashtag2"]},{"1328707733":["hashtag1","hashtag2"]},{"1328707736":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328707729, 1328707731, 1328707733, 1328707736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.22756004333496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:03:21.982172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/02/image_13012025_23_02_03_106359_0003.jpg', '/home/pi/Desktop/images/13012025/23/03/image_13012025_23_03_02_187981_0000.jpg', '/home/pi/Desktop/images/13012025/23/03/image_13012025_23_03_02_187981_0001.jpg', '/home/pi/Desktop/images/13012025/23/03/image_13012025_23_03_02_187981_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/02/image_13012025_23_02_03_106359_0003.jpg
/home/pi/Desktop/images/13012025/23/03/image_13012025_23_03_02_187981_0000.jpg
/home/pi/Desktop/images/13012025/23/03/image_13012025_23_03_02_187981_0001.jpg
/home/pi/Desktop/images/13012025/23/03/image_13012025_23_03_02_187981_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328707775","1328707763","1328707766","1328707769"],"photo_ids_order":["1328707763","1328707766","1328707769","1328707775"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ae34340b619da371ce5983a5adbaf700.jpg","text":"TemporaryFile(/tmp/multipartBody9013089243367623984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805872374,"filename":"image_13012025_23_03_02_187981_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b8c5f63874ed2b38c60ae5ec2720e579.jpg","text":"TemporaryFile(/tmp/multipartBody6496721097368962778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805872374,"filename":"image_13012025_23_02_03_106359_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/42bb7d596520ea1d676facd1582b01b4.jpg","text":"TemporaryFile(/tmp/multipartBody8938175228763927989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805872374,"filename":"image_13012025_23_03_02_187981_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0bb7a8f5ee844550f4534da609c4de90.jpg","text":"TemporaryFile(/tmp/multipartBody8027801468900264276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805872374,"filename":"image_13012025_23_03_02_187981_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328707769","file1":"1328707766","file0":"1328707763","file3":"1328707775"},"map_files_photo_id_array":[{"photo_id":"1328707769","filename":"file2"},{"photo_id":"1328707766","filename":"file1"},{"photo_id":"1328707763","filename":"file0"},{"photo_id":"1328707775","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328707775":["hashtag1","hashtag2"]},{"1328707763":["hashtag1","hashtag2"]},{"1328707766":["hashtag1","hashtag2"]},{"1328707769":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328707775, 1328707763, 1328707766, 1328707769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.994438886642456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 23:04:02.513929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:04:22.130564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/03/image_13012025_23_03_02_187981_0003.jpg', '/home/pi/Desktop/images/13012025/23/04/image_13012025_23_04_02_390904_0000.jpg', '/home/pi/Desktop/images/13012025/23/04/image_13012025_23_04_02_390904_0001.jpg', '/home/pi/Desktop/images/13012025/23/04/image_13012025_23_04_02_390904_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/03/image_13012025_23_03_02_187981_0003.jpg
/home/pi/Desktop/images/13012025/23/04/image_13012025_23_04_02_390904_0000.jpg
/home/pi/Desktop/images/13012025/23/04/image_13012025_23_04_02_390904_0001.jpg
/home/pi/Desktop/images/13012025/23/04/image_13012025_23_04_02_390904_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.883305072784424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 23:04:42.170144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/03/image_13012025_23_03_02_187981_0003.jpg', '/home/pi/Desktop/images/13012025/23/04/image_13012025_23_04_02_390904_0000.jpg', '/home/pi/Desktop/images/13012025/23/04/image_13012025_23_04_02_390904_0001.jpg', '/home/pi/Desktop/images/13012025/23/04/image_13012025_23_04_02_390904_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/03/image_13012025_23_03_02_187981_0003.jpg
/home/pi/Desktop/images/13012025/23/04/image_13012025_23_04_02_390904_0000.jpg
/home/pi/Desktop/images/13012025/23/04/image_13012025_23_04_02_390904_0001.jpg
/home/pi/Desktop/images/13012025/23/04/image_13012025_23_04_02_390904_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328707894","1328707888","1328707889","1328707891"],"photo_ids_order":["1328707888","1328707889","1328707891","1328707894"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/167ffd224e5c0c9de0f2168bbae4bd95.jpg","text":"TemporaryFile(/tmp/multipartBody9212811183247101433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805952450,"filename":"image_13012025_23_04_02_390904_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3d10e63948b8d8f2b1d4d9961f1370b3.jpg","text":"TemporaryFile(/tmp/multipartBody5356011450516839844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805952450,"filename":"image_13012025_23_03_02_187981_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/aef887f5b2781401c8141ad10c45c173.jpg","text":"TemporaryFile(/tmp/multipartBody7082629499369216621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805952450,"filename":"image_13012025_23_04_02_390904_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d23a8168c2cb712624a61ce7acc51bfd.jpg","text":"TemporaryFile(/tmp/multipartBody4449405801086484693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736805952450,"filename":"image_13012025_23_04_02_390904_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328707891","file1":"1328707889","file0":"1328707888","file3":"1328707894"},"map_files_photo_id_array":[{"photo_id":"1328707891","filename":"file2"},{"photo_id":"1328707889","filename":"file1"},{"photo_id":"1328707888","filename":"file0"},{"photo_id":"1328707894","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328707894":["hashtag1","hashtag2"]},{"1328707888":["hashtag1","hashtag2"]},{"1328707889":["hashtag1","hashtag2"]},{"1328707891":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328707894, 1328707888, 1328707889, 1328707891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.72563624382019 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 23:05:32.340059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/04/image_13012025_23_04_02_390904_0003.jpg', '/home/pi/Desktop/images/13012025/23/05/image_13012025_23_05_02_587857_0000.jpg', '/home/pi/Desktop/images/13012025/23/05/image_13012025_23_05_02_587857_0001.jpg', '/home/pi/Desktop/images/13012025/23/05/image_13012025_23_05_02_587857_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/04/image_13012025_23_04_02_390904_0003.jpg
/home/pi/Desktop/images/13012025/23/05/image_13012025_23_05_02_587857_0000.jpg
/home/pi/Desktop/images/13012025/23/05/image_13012025_23_05_02_587857_0001.jpg
/home/pi/Desktop/images/13012025/23/05/image_13012025_23_05_02_587857_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328709123","1328708463","1328708896","1328708665"],"photo_ids_order":["1328708463","1328708665","1328708896","1328709123"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7762a27719bf97f287b959f623c73380.jpg","text":"TemporaryFile(/tmp/multipartBody4712135662099461493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806002649,"filename":"image_13012025_23_05_02_587857_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e3694434cd351236b43502ca863ef1af.jpg","text":"TemporaryFile(/tmp/multipartBody6205138930064096045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806002649,"filename":"image_13012025_23_04_02_390904_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/58895650f56295279fcc4aa1e6ceac1e.jpg","text":"TemporaryFile(/tmp/multipartBody8545700076741498704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806002649,"filename":"image_13012025_23_05_02_587857_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/394461afd6da7926d81c0a3fcb1e8bd9.jpg","text":"TemporaryFile(/tmp/multipartBody3195192647616157092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806002649,"filename":"image_13012025_23_05_02_587857_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328708896","file1":"1328708665","file0":"1328708463","file3":"1328709123"},"map_files_photo_id_array":[{"photo_id":"1328708896","filename":"file2"},{"photo_id":"1328708665","filename":"file1"},{"photo_id":"1328708463","filename":"file0"},{"photo_id":"1328709123","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328709123":["hashtag1","hashtag2"]},{"1328708463":["hashtag1","hashtag2"]},{"1328708896":["hashtag1","hashtag2"]},{"1328708665":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328709123, 1328708463, 1328708896, 1328708665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.43732261657715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:06:22.579156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/05/image_13012025_23_05_02_587857_0003.jpg', '/home/pi/Desktop/images/13012025/23/06/image_13012025_23_06_02_719363_0000.jpg', '/home/pi/Desktop/images/13012025/23/06/image_13012025_23_06_02_719363_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/05/image_13012025_23_05_02_587857_0003.jpg
/home/pi/Desktop/images/13012025/23/06/image_13012025_23_06_02_719363_0000.jpg
/home/pi/Desktop/images/13012025/23/06/image_13012025_23_06_02_719363_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328709153","1328709137","1328709148"],"photo_ids_order":["1328709137","1328709148","1328709153"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3bf96d1c962016500f23d9edcc47675e.jpg","text":"TemporaryFile(/tmp/multipartBody7519014678781390980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806050384,"filename":"image_13012025_23_06_02_719363_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/43346a9ba81c31ff70b236cbd57a4bdf.jpg","text":"TemporaryFile(/tmp/multipartBody4130255969233574183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806050384,"filename":"image_13012025_23_05_02_587857_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/24b35e8a82457a477e5ca9705890c772.jpg","text":"TemporaryFile(/tmp/multipartBody3528673864719082516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806050384,"filename":"image_13012025_23_06_02_719363_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328709153","file1":"1328709148","file0":"1328709137"},"map_files_photo_id_array":[{"photo_id":"1328709153","filename":"file2"},{"photo_id":"1328709148","filename":"file1"},{"photo_id":"1328709137","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328709153":["hashtag1","hashtag2"]},{"1328709137":["hashtag1","hashtag2"]},{"1328709148":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328709153, 1328709137, 1328709148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.28999662399292 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 23:07:03.164298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:07:22.725106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/06/image_13012025_23_06_02_719363_0003.jpg', '/home/pi/Desktop/images/13012025/23/07/image_13012025_23_07_02_942369_0000.jpg', '/home/pi/Desktop/images/13012025/23/07/image_13012025_23_07_02_942369_0001.jpg', '/home/pi/Desktop/images/13012025/23/07/image_13012025_23_07_02_942369_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/06/image_13012025_23_06_02_719363_0003.jpg
/home/pi/Desktop/images/13012025/23/07/image_13012025_23_07_02_942369_0000.jpg
/home/pi/Desktop/images/13012025/23/07/image_13012025_23_07_02_942369_0001.jpg
/home/pi/Desktop/images/13012025/23/07/image_13012025_23_07_02_942369_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328709522","1328709530","1328709524","1328709527"],"photo_ids_order":["1328709522","1328709524","1328709527","1328709530"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8ff5c2025a3ff0e83674a4211123a2ac.jpg","text":"TemporaryFile(/tmp/multipartBody1229997846489151606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806113035,"filename":"image_13012025_23_06_02_719363_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9c3a41af021e6a7a467a07c27a16f6c2.jpg","text":"TemporaryFile(/tmp/multipartBody915080294710350783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806113035,"filename":"image_13012025_23_07_02_942369_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8961c57c3c0383b3d51ab35c635681d3.jpg","text":"TemporaryFile(/tmp/multipartBody1111952703743778631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806113035,"filename":"image_13012025_23_07_02_942369_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ba6ba36343429eb1c6bc118ca10aa957.jpg","text":"TemporaryFile(/tmp/multipartBody98127840805931200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806113035,"filename":"image_13012025_23_07_02_942369_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328709527","file1":"1328709524","file0":"1328709522","file3":"1328709530"},"map_files_photo_id_array":[{"photo_id":"1328709527","filename":"file2"},{"photo_id":"1328709524","filename":"file1"},{"photo_id":"1328709522","filename":"file0"},{"photo_id":"1328709530","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328709522":["hashtag1","hashtag2"]},{"1328709530":["hashtag1","hashtag2"]},{"1328709524":["hashtag1","hashtag2"]},{"1328709527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328709522, 1328709530, 1328709524, 1328709527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.30549955368042 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:08:21.884256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/07/image_13012025_23_07_02_942369_0003.jpg', '/home/pi/Desktop/images/13012025/23/08/image_13012025_23_08_03_063226_0000.jpg', '/home/pi/Desktop/images/13012025/23/08/image_13012025_23_08_03_063226_0001.jpg', '/home/pi/Desktop/images/13012025/23/08/image_13012025_23_08_03_063226_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/07/image_13012025_23_07_02_942369_0003.jpg
/home/pi/Desktop/images/13012025/23/08/image_13012025_23_08_03_063226_0000.jpg
/home/pi/Desktop/images/13012025/23/08/image_13012025_23_08_03_063226_0001.jpg
/home/pi/Desktop/images/13012025/23/08/image_13012025_23_08_03_063226_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328709665","1328709662","1328709664","1328709667"],"photo_ids_order":["1328709662","1328709664","1328709665","1328709667"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/201e959a72dc7028f939a3be30bb5cc1.jpg","text":"TemporaryFile(/tmp/multipartBody1061661692457543619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806172134,"filename":"image_13012025_23_08_03_063226_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4a72d719628e6adf4e86741207dfbf57.jpg","text":"TemporaryFile(/tmp/multipartBody2234043776686431291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806172134,"filename":"image_13012025_23_07_02_942369_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bd43f68b34cce8fa1f5882388231b61b.jpg","text":"TemporaryFile(/tmp/multipartBody3642781032455785579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806172134,"filename":"image_13012025_23_08_03_063226_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c52a13a5a216a6177f65c91bd90871bf.jpg","text":"TemporaryFile(/tmp/multipartBody2304460049531404690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806172134,"filename":"image_13012025_23_08_03_063226_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328709665","file1":"1328709664","file0":"1328709662","file3":"1328709667"},"map_files_photo_id_array":[{"photo_id":"1328709665","filename":"file2"},{"photo_id":"1328709664","filename":"file1"},{"photo_id":"1328709662","filename":"file0"},{"photo_id":"1328709667","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328709665":["hashtag1","hashtag2"]},{"1328709662":["hashtag1","hashtag2"]},{"1328709664":["hashtag1","hashtag2"]},{"1328709667":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328709665, 1328709662, 1328709664, 1328709667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.945350646972656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 23:09:02.530460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:09:21.921870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/08/image_13012025_23_08_03_063226_0003.jpg', '/home/pi/Desktop/images/13012025/23/09/image_13012025_23_09_02_240385_0000.jpg', '/home/pi/Desktop/images/13012025/23/09/image_13012025_23_09_02_240385_0001.jpg', '/home/pi/Desktop/images/13012025/23/09/image_13012025_23_09_02_240385_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/08/image_13012025_23_08_03_063226_0003.jpg
/home/pi/Desktop/images/13012025/23/09/image_13012025_23_09_02_240385_0000.jpg
/home/pi/Desktop/images/13012025/23/09/image_13012025_23_09_02_240385_0001.jpg
/home/pi/Desktop/images/13012025/23/09/image_13012025_23_09_02_240385_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328709717","1328709680","1328709691","1328709715"],"photo_ids_order":["1328709680","1328709691","1328709715","1328709717"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6ffae405caab0c050286a884852f429a.jpg","text":"TemporaryFile(/tmp/multipartBody5825320865368513911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806232196,"filename":"image_13012025_23_09_02_240385_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fb2d8bb336962437a65bb4b60f305b16.jpg","text":"TemporaryFile(/tmp/multipartBody6944280594257584497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806232196,"filename":"image_13012025_23_08_03_063226_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7640308247bca97ccd5cfef24f86a5c9.jpg","text":"TemporaryFile(/tmp/multipartBody8682552709152024273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806232196,"filename":"image_13012025_23_09_02_240385_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/74ba4ab4a8391d3de3302cec2fd01c2c.jpg","text":"TemporaryFile(/tmp/multipartBody8876914791559970067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806232196,"filename":"image_13012025_23_09_02_240385_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328709715","file1":"1328709691","file0":"1328709680","file3":"1328709717"},"map_files_photo_id_array":[{"photo_id":"1328709715","filename":"file2"},{"photo_id":"1328709691","filename":"file1"},{"photo_id":"1328709680","filename":"file0"},{"photo_id":"1328709717","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328709717":["hashtag1","hashtag2"]},{"1328709680":["hashtag1","hashtag2"]},{"1328709691":["hashtag1","hashtag2"]},{"1328709715":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328709717, 1328709680, 1328709691, 1328709715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.04928493499756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 23:10:02.635607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:10:22.152136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/09/image_13012025_23_09_02_240385_0003.jpg', '/home/pi/Desktop/images/13012025/23/10/image_13012025_23_10_02_367258_0000.jpg', '/home/pi/Desktop/images/13012025/23/10/image_13012025_23_10_02_367258_0001.jpg', '/home/pi/Desktop/images/13012025/23/10/image_13012025_23_10_02_367258_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/09/image_13012025_23_09_02_240385_0003.jpg
/home/pi/Desktop/images/13012025/23/10/image_13012025_23_10_02_367258_0000.jpg
/home/pi/Desktop/images/13012025/23/10/image_13012025_23_10_02_367258_0001.jpg
/home/pi/Desktop/images/13012025/23/10/image_13012025_23_10_02_367258_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.679347276687622 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 23:10:42.156252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/09/image_13012025_23_09_02_240385_0003.jpg', '/home/pi/Desktop/images/13012025/23/10/image_13012025_23_10_02_367258_0000.jpg', '/home/pi/Desktop/images/13012025/23/10/image_13012025_23_10_02_367258_0001.jpg', '/home/pi/Desktop/images/13012025/23/10/image_13012025_23_10_02_367258_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/09/image_13012025_23_09_02_240385_0003.jpg
/home/pi/Desktop/images/13012025/23/10/image_13012025_23_10_02_367258_0000.jpg
/home/pi/Desktop/images/13012025/23/10/image_13012025_23_10_02_367258_0001.jpg
/home/pi/Desktop/images/13012025/23/10/image_13012025_23_10_02_367258_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328709768","1328709770","1328709767","1328709752"],"photo_ids_order":["1328709752","1328709767","1328709768","1328709770"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9b3bd294541877fff238161dfba4fc90.jpg","text":"TemporaryFile(/tmp/multipartBody3341911145389709966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806312220,"filename":"image_13012025_23_10_02_367258_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2f4e34ec0c67b32177b46103811bdb09.jpg","text":"TemporaryFile(/tmp/multipartBody5219249179197206700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806312220,"filename":"image_13012025_23_10_02_367258_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a7fdfb2bc56e977dadf2079bcd2b8d5b.jpg","text":"TemporaryFile(/tmp/multipartBody6898478792907789008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806312220,"filename":"image_13012025_23_10_02_367258_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8d1c9eb84316aefa55990e2c9cf0cb5e.jpg","text":"TemporaryFile(/tmp/multipartBody3084572355416663552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806312220,"filename":"image_13012025_23_09_02_240385_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328709768","file1":"1328709767","file0":"1328709752","file3":"1328709770"},"map_files_photo_id_array":[{"photo_id":"1328709768","filename":"file2"},{"photo_id":"1328709767","filename":"file1"},{"photo_id":"1328709752","filename":"file0"},{"photo_id":"1328709770","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328709768":["hashtag1","hashtag2"]},{"1328709770":["hashtag1","hashtag2"]},{"1328709767":["hashtag1","hashtag2"]},{"1328709752":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328709768, 1328709770, 1328709767, 1328709752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.582849979400635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:11:22.379910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/10/image_13012025_23_10_02_367258_0003.jpg', '/home/pi/Desktop/images/13012025/23/11/image_13012025_23_11_02_496397_0000.jpg', '/home/pi/Desktop/images/13012025/23/11/image_13012025_23_11_02_496397_0001.jpg', '/home/pi/Desktop/images/13012025/23/11/image_13012025_23_11_02_496397_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/10/image_13012025_23_10_02_367258_0003.jpg
/home/pi/Desktop/images/13012025/23/11/image_13012025_23_11_02_496397_0000.jpg
/home/pi/Desktop/images/13012025/23/11/image_13012025_23_11_02_496397_0001.jpg
/home/pi/Desktop/images/13012025/23/11/image_13012025_23_11_02_496397_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328709782","1328709791","1328709787","1328709778"],"photo_ids_order":["1328709778","1328709782","1328709787","1328709791"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ac6abf556eb2cd560bc66c8b6970373f.jpg","text":"TemporaryFile(/tmp/multipartBody5761440441779684538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806352515,"filename":"image_13012025_23_11_02_496397_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/47278e5d075371bbbb159c271d07fc2d.jpg","text":"TemporaryFile(/tmp/multipartBody8932867301440431803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806352515,"filename":"image_13012025_23_11_02_496397_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/574775baef3f11d7206bbd82ab3499e0.jpg","text":"TemporaryFile(/tmp/multipartBody7053491920530706258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806352515,"filename":"image_13012025_23_11_02_496397_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5dc117d0ca9b8d82f9957e75928911a4.jpg","text":"TemporaryFile(/tmp/multipartBody803178108120091085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806352515,"filename":"image_13012025_23_10_02_367258_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328709787","file1":"1328709782","file0":"1328709778","file3":"1328709791"},"map_files_photo_id_array":[{"photo_id":"1328709787","filename":"file2"},{"photo_id":"1328709782","filename":"file1"},{"photo_id":"1328709778","filename":"file0"},{"photo_id":"1328709791","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328709782":["hashtag1","hashtag2"]},{"1328709791":["hashtag1","hashtag2"]},{"1328709787":["hashtag1","hashtag2"]},{"1328709778":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328709782, 1328709791, 1328709787, 1328709778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.62281656265259 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 23:12:02.939195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:12:22.493504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/11/image_13012025_23_11_02_496397_0003.jpg', '/home/pi/Desktop/images/13012025/23/12/image_13012025_23_12_02_704474_0000.jpg', '/home/pi/Desktop/images/13012025/23/12/image_13012025_23_12_02_704474_0001.jpg', '/home/pi/Desktop/images/13012025/23/12/image_13012025_23_12_02_704474_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/11/image_13012025_23_11_02_496397_0003.jpg
/home/pi/Desktop/images/13012025/23/12/image_13012025_23_12_02_704474_0000.jpg
/home/pi/Desktop/images/13012025/23/12/image_13012025_23_12_02_704474_0001.jpg
/home/pi/Desktop/images/13012025/23/12/image_13012025_23_12_02_704474_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328709834","1328709811","1328709814","1328709802"],"photo_ids_order":["1328709802","1328709811","1328709814","1328709834"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1ac7b4c23c6e1bf42293120304178397.jpg","text":"TemporaryFile(/tmp/multipartBody2457981794769693425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806412766,"filename":"image_13012025_23_12_02_704474_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cef91c1c30385ca16486b7e7e6c5745b.jpg","text":"TemporaryFile(/tmp/multipartBody7295354646524160175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806412766,"filename":"image_13012025_23_12_02_704474_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/106785e1be5ef2ead9140a4d4c06eea8.jpg","text":"TemporaryFile(/tmp/multipartBody8180650146693322888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806412766,"filename":"image_13012025_23_12_02_704474_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/46965f0b70789389f4382f9d8566a2b4.jpg","text":"TemporaryFile(/tmp/multipartBody1120978311989196125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806412766,"filename":"image_13012025_23_11_02_496397_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328709814","file1":"1328709811","file0":"1328709802","file3":"1328709834"},"map_files_photo_id_array":[{"photo_id":"1328709814","filename":"file2"},{"photo_id":"1328709811","filename":"file1"},{"photo_id":"1328709802","filename":"file0"},{"photo_id":"1328709834","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328709834":["hashtag1","hashtag2"]},{"1328709811":["hashtag1","hashtag2"]},{"1328709814":["hashtag1","hashtag2"]},{"1328709802":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328709834, 1328709811, 1328709814, 1328709802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.25847887992859 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 23:13:03.336601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:13:22.613305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/12/image_13012025_23_12_02_704474_0003.jpg', '/home/pi/Desktop/images/13012025/23/13/image_13012025_23_13_02_812291_0000.jpg', '/home/pi/Desktop/images/13012025/23/13/image_13012025_23_13_02_812291_0001.jpg', '/home/pi/Desktop/images/13012025/23/13/image_13012025_23_13_02_812291_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/12/image_13012025_23_12_02_704474_0003.jpg
/home/pi/Desktop/images/13012025/23/13/image_13012025_23_13_02_812291_0000.jpg
/home/pi/Desktop/images/13012025/23/13/image_13012025_23_13_02_812291_0001.jpg
/home/pi/Desktop/images/13012025/23/13/image_13012025_23_13_02_812291_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328709852","1328709854","1328709857","1328709850"],"photo_ids_order":["1328709850","1328709852","1328709854","1328709857"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7fb60e4b627e86be6985f734a4ce9832.jpg","text":"TemporaryFile(/tmp/multipartBody5046581732909763721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806472833,"filename":"image_13012025_23_13_02_812291_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7fc02c3655cd6418f7d1920d16f412bd.jpg","text":"TemporaryFile(/tmp/multipartBody599672280492193549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806472833,"filename":"image_13012025_23_13_02_812291_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fed26188ad1f12cdeb57238d498affba.jpg","text":"TemporaryFile(/tmp/multipartBody7210578493699158877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806472833,"filename":"image_13012025_23_13_02_812291_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/831740472fde4ac4165b49ff22e1d9ef.jpg","text":"TemporaryFile(/tmp/multipartBody637410199247478998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806472833,"filename":"image_13012025_23_12_02_704474_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328709854","file1":"1328709852","file0":"1328709850","file3":"1328709857"},"map_files_photo_id_array":[{"photo_id":"1328709854","filename":"file2"},{"photo_id":"1328709852","filename":"file1"},{"photo_id":"1328709850","filename":"file0"},{"photo_id":"1328709857","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328709852":["hashtag1","hashtag2"]},{"1328709854":["hashtag1","hashtag2"]},{"1328709857":["hashtag1","hashtag2"]},{"1328709850":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328709852, 1328709854, 1328709857, 1328709850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.82082009315491 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:14:21.809668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/13/image_13012025_23_13_02_812291_0003.jpg', '/home/pi/Desktop/images/13012025/23/14/image_13012025_23_14_03_084357_0000.jpg', '/home/pi/Desktop/images/13012025/23/14/image_13012025_23_14_03_084357_0001.jpg', '/home/pi/Desktop/images/13012025/23/14/image_13012025_23_14_03_084357_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/13/image_13012025_23_13_02_812291_0003.jpg
/home/pi/Desktop/images/13012025/23/14/image_13012025_23_14_03_084357_0000.jpg
/home/pi/Desktop/images/13012025/23/14/image_13012025_23_14_03_084357_0001.jpg
/home/pi/Desktop/images/13012025/23/14/image_13012025_23_14_03_084357_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328709884","1328709892","1328709874","1328709871"],"photo_ids_order":["1328709871","1328709874","1328709884","1328709892"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/12114a06a5e16c1807b9818ea6a5f699.jpg","text":"TemporaryFile(/tmp/multipartBody3936107171088028810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806532017,"filename":"image_13012025_23_14_03_084357_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8c19f6c0fe748aeee513d23e434f5a78.jpg","text":"TemporaryFile(/tmp/multipartBody3867670795512343941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806532017,"filename":"image_13012025_23_14_03_084357_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1154e534d826cd2910b1822605e31626.jpg","text":"TemporaryFile(/tmp/multipartBody2383299928039461960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806532017,"filename":"image_13012025_23_14_03_084357_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9d62daabe1ae312846bd5908a9bf6ea9.jpg","text":"TemporaryFile(/tmp/multipartBody7229619351547911181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806532017,"filename":"image_13012025_23_13_02_812291_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328709884","file1":"1328709874","file0":"1328709871","file3":"1328709892"},"map_files_photo_id_array":[{"photo_id":"1328709884","filename":"file2"},{"photo_id":"1328709874","filename":"file1"},{"photo_id":"1328709871","filename":"file0"},{"photo_id":"1328709892","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328709884":["hashtag1","hashtag2"]},{"1328709892":["hashtag1","hashtag2"]},{"1328709874":["hashtag1","hashtag2"]},{"1328709871":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328709884, 1328709892, 1328709874, 1328709871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.626089334487915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:15:21.978731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/14/image_13012025_23_14_03_084357_0003.jpg', '/home/pi/Desktop/images/13012025/23/15/image_13012025_23_15_02_167691_0000.jpg', '/home/pi/Desktop/images/13012025/23/15/image_13012025_23_15_02_167691_0001.jpg', '/home/pi/Desktop/images/13012025/23/15/image_13012025_23_15_02_167691_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/14/image_13012025_23_14_03_084357_0003.jpg
/home/pi/Desktop/images/13012025/23/15/image_13012025_23_15_02_167691_0000.jpg
/home/pi/Desktop/images/13012025/23/15/image_13012025_23_15_02_167691_0001.jpg
/home/pi/Desktop/images/13012025/23/15/image_13012025_23_15_02_167691_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328709993","1328710128","1328710124","1328710121"],"photo_ids_order":["1328709993","1328710121","1328710124","1328710128"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f9fc172f4a471b811408f1a42b633516.jpg","text":"TemporaryFile(/tmp/multipartBody8748680503140538804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806592302,"filename":"image_13012025_23_14_03_084357_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ad65bc1b00d4eba0ef2bc627d20835ae.jpg","text":"TemporaryFile(/tmp/multipartBody668931485093074811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806592302,"filename":"image_13012025_23_15_02_167691_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bf27612c7217e2d8d79e03f12d9f8508.jpg","text":"TemporaryFile(/tmp/multipartBody4070746468078762108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806592302,"filename":"image_13012025_23_15_02_167691_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c428689fbc925f272fd043e1e7cb9d58.jpg","text":"TemporaryFile(/tmp/multipartBody6797039221396142327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806592302,"filename":"image_13012025_23_15_02_167691_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328710124","file1":"1328710121","file0":"1328709993","file3":"1328710128"},"map_files_photo_id_array":[{"photo_id":"1328710124","filename":"file2"},{"photo_id":"1328710121","filename":"file1"},{"photo_id":"1328709993","filename":"file0"},{"photo_id":"1328710128","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328709993":["hashtag1","hashtag2"]},{"1328710128":["hashtag1","hashtag2"]},{"1328710124":["hashtag1","hashtag2"]},{"1328710121":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328709993, 1328710128, 1328710124, 1328710121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.62438488006592 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 23:16:02.582871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:16:22.377952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/15/image_13012025_23_15_02_167691_0003.jpg', '/home/pi/Desktop/images/13012025/23/16/image_13012025_23_16_02_380290_0000.jpg', '/home/pi/Desktop/images/13012025/23/16/image_13012025_23_16_02_380290_0001.jpg', '/home/pi/Desktop/images/13012025/23/16/image_13012025_23_16_02_380290_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/15/image_13012025_23_15_02_167691_0003.jpg
/home/pi/Desktop/images/13012025/23/16/image_13012025_23_16_02_380290_0000.jpg
/home/pi/Desktop/images/13012025/23/16/image_13012025_23_16_02_380290_0001.jpg
/home/pi/Desktop/images/13012025/23/16/image_13012025_23_16_02_380290_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328710243","1328710227","1328710230","1328710232"],"photo_ids_order":["1328710227","1328710230","1328710232","1328710243"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5066338ff42b1b4d4c2c25bb64fd0290.jpg","text":"TemporaryFile(/tmp/multipartBody1665962861658582275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806652740,"filename":"image_13012025_23_16_02_380290_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/67d0ea2ff9430f06d12b96152667cde0.jpg","text":"TemporaryFile(/tmp/multipartBody3239241484402795611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806652740,"filename":"image_13012025_23_15_02_167691_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ef62dcbfc83a0d3630dbf07ba3146dca.jpg","text":"TemporaryFile(/tmp/multipartBody5102850330103022020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806652740,"filename":"image_13012025_23_16_02_380290_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8dc38bade75add612f4e1ab8699a9d26.jpg","text":"TemporaryFile(/tmp/multipartBody8505669292218405968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806652740,"filename":"image_13012025_23_16_02_380290_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328710232","file1":"1328710230","file0":"1328710227","file3":"1328710243"},"map_files_photo_id_array":[{"photo_id":"1328710232","filename":"file2"},{"photo_id":"1328710230","filename":"file1"},{"photo_id":"1328710227","filename":"file0"},{"photo_id":"1328710243","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328710243":["hashtag1","hashtag2"]},{"1328710227":["hashtag1","hashtag2"]},{"1328710230":["hashtag1","hashtag2"]},{"1328710232":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328710243, 1328710227, 1328710230, 1328710232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.71502470970154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:17:22.402844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/16/image_13012025_23_16_02_380290_0003.jpg', '/home/pi/Desktop/images/13012025/23/17/image_13012025_23_17_02_616850_0000.jpg', '/home/pi/Desktop/images/13012025/23/17/image_13012025_23_17_02_616850_0001.jpg', '/home/pi/Desktop/images/13012025/23/17/image_13012025_23_17_02_616850_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/16/image_13012025_23_16_02_380290_0003.jpg
/home/pi/Desktop/images/13012025/23/17/image_13012025_23_17_02_616850_0000.jpg
/home/pi/Desktop/images/13012025/23/17/image_13012025_23_17_02_616850_0001.jpg
/home/pi/Desktop/images/13012025/23/17/image_13012025_23_17_02_616850_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328710303","1328710299","1328710302","1328710305"],"photo_ids_order":["1328710299","1328710302","1328710303","1328710305"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/32b795b182960b5afd39b3235dc46f28.jpg","text":"TemporaryFile(/tmp/multipartBody153790733157999902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806712779,"filename":"image_13012025_23_17_02_616850_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a94b86f5ac9abab1e6eafa6e4a8eb015.jpg","text":"TemporaryFile(/tmp/multipartBody7083686064261320664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806712779,"filename":"image_13012025_23_16_02_380290_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/71de4eb36d3f3794059b4e06689a346d.jpg","text":"TemporaryFile(/tmp/multipartBody4263948731181125708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806712779,"filename":"image_13012025_23_17_02_616850_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/534086963ad9dc7bf44b05293e844eee.jpg","text":"TemporaryFile(/tmp/multipartBody3525265159233169385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806712779,"filename":"image_13012025_23_17_02_616850_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328710303","file1":"1328710302","file0":"1328710299","file3":"1328710305"},"map_files_photo_id_array":[{"photo_id":"1328710303","filename":"file2"},{"photo_id":"1328710302","filename":"file1"},{"photo_id":"1328710299","filename":"file0"},{"photo_id":"1328710305","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328710303":["hashtag1","hashtag2"]},{"1328710299":["hashtag1","hashtag2"]},{"1328710302":["hashtag1","hashtag2"]},{"1328710305":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328710303, 1328710299, 1328710302, 1328710305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.85767936706543 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 23:18:03.094408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:18:22.556839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/17/image_13012025_23_17_02_616850_0003.jpg', '/home/pi/Desktop/images/13012025/23/18/image_13012025_23_18_02_721729_0000.jpg', '/home/pi/Desktop/images/13012025/23/18/image_13012025_23_18_02_721729_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/17/image_13012025_23_17_02_616850_0003.jpg
/home/pi/Desktop/images/13012025/23/18/image_13012025_23_18_02_721729_0000.jpg
/home/pi/Desktop/images/13012025/23/18/image_13012025_23_18_02_721729_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328710339","1328710347","1328710343"],"photo_ids_order":["1328710339","1328710343","1328710347"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/be903079af089f3bda88b4ea7ab297ee.jpg","text":"TemporaryFile(/tmp/multipartBody2343888073785248417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806770409,"filename":"image_13012025_23_17_02_616850_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/40c529be8edeaba1e62ed4afe4192066.jpg","text":"TemporaryFile(/tmp/multipartBody1269430779898788438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806770409,"filename":"image_13012025_23_18_02_721729_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5fff7270635734fc392afc859529712c.jpg","text":"TemporaryFile(/tmp/multipartBody1897064488303781604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806770409,"filename":"image_13012025_23_18_02_721729_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328710347","file1":"1328710343","file0":"1328710339"},"map_files_photo_id_array":[{"photo_id":"1328710347","filename":"file2"},{"photo_id":"1328710343","filename":"file1"},{"photo_id":"1328710339","filename":"file0"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328710339":["hashtag1","hashtag2"]},{"1328710347":["hashtag1","hashtag2"]},{"1328710343":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328710339, 1328710347, 1328710343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.16722083091736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 23:19:02.309292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:19:21.733939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/18/image_13012025_23_18_02_721729_0003.jpg', '/home/pi/Desktop/images/13012025/23/19/image_13012025_23_19_02_986500_0000.jpg', '/home/pi/Desktop/images/13012025/23/19/image_13012025_23_19_02_986500_0001.jpg', '/home/pi/Desktop/images/13012025/23/19/image_13012025_23_19_02_986500_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/18/image_13012025_23_18_02_721729_0003.jpg
/home/pi/Desktop/images/13012025/23/19/image_13012025_23_19_02_986500_0000.jpg
/home/pi/Desktop/images/13012025/23/19/image_13012025_23_19_02_986500_0001.jpg
/home/pi/Desktop/images/13012025/23/19/image_13012025_23_19_02_986500_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328710392","1328710425","1328710440","1328710412"],"photo_ids_order":["1328710392","1328710412","1328710425","1328710440"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3eedfe505ef6c8cfab39616a490b3d41.jpg","text":"TemporaryFile(/tmp/multipartBody5961107688683208152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806831983,"filename":"image_13012025_23_18_02_721729_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/906d6c43e762c63a5ca5dcea9d5e57ab.jpg","text":"TemporaryFile(/tmp/multipartBody7615441214908620370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806831983,"filename":"image_13012025_23_19_02_986500_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c6ceee9db92aaeb54ebd9d7f41370176.jpg","text":"TemporaryFile(/tmp/multipartBody7763793413150053228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806831983,"filename":"image_13012025_23_19_02_986500_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7ca25d18e90fd422c0a18ea985d7ab39.jpg","text":"TemporaryFile(/tmp/multipartBody168831675745533222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806831983,"filename":"image_13012025_23_19_02_986500_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328710425","file1":"1328710412","file0":"1328710392","file3":"1328710440"},"map_files_photo_id_array":[{"photo_id":"1328710425","filename":"file2"},{"photo_id":"1328710412","filename":"file1"},{"photo_id":"1328710392","filename":"file0"},{"photo_id":"1328710440","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328710392":["hashtag1","hashtag2"]},{"1328710425":["hashtag1","hashtag2"]},{"1328710440":["hashtag1","hashtag2"]},{"1328710412":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328710392, 1328710425, 1328710440, 1328710412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.794368267059326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:20:21.926139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/19/image_13012025_23_19_02_986500_0003.jpg', '/home/pi/Desktop/images/13012025/23/20/image_13012025_23_20_02_134631_0000.jpg', '/home/pi/Desktop/images/13012025/23/20/image_13012025_23_20_02_134631_0001.jpg', '/home/pi/Desktop/images/13012025/23/20/image_13012025_23_20_02_134631_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/19/image_13012025_23_19_02_986500_0003.jpg
/home/pi/Desktop/images/13012025/23/20/image_13012025_23_20_02_134631_0000.jpg
/home/pi/Desktop/images/13012025/23/20/image_13012025_23_20_02_134631_0001.jpg
/home/pi/Desktop/images/13012025/23/20/image_13012025_23_20_02_134631_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.685765266418457 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 23:20:42.003306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/19/image_13012025_23_19_02_986500_0003.jpg', '/home/pi/Desktop/images/13012025/23/20/image_13012025_23_20_02_134631_0000.jpg', '/home/pi/Desktop/images/13012025/23/20/image_13012025_23_20_02_134631_0001.jpg', '/home/pi/Desktop/images/13012025/23/20/image_13012025_23_20_02_134631_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/19/image_13012025_23_19_02_986500_0003.jpg
/home/pi/Desktop/images/13012025/23/20/image_13012025_23_20_02_134631_0000.jpg
/home/pi/Desktop/images/13012025/23/20/image_13012025_23_20_02_134631_0001.jpg
/home/pi/Desktop/images/13012025/23/20/image_13012025_23_20_02_134631_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328710501","1328710503","1328710505","1328710498"],"photo_ids_order":["1328710498","1328710501","1328710503","1328710505"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a860a3e8a15cfa68c863d1a5606c496a.jpg","text":"TemporaryFile(/tmp/multipartBody8185488329771506578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806912132,"filename":"image_13012025_23_20_02_134631_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f81fbe8171d5bca6283439cc1e63aed7.jpg","text":"TemporaryFile(/tmp/multipartBody3874884589864582155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806912132,"filename":"image_13012025_23_20_02_134631_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/52ba94c418287325ba705821bd0e68c7.jpg","text":"TemporaryFile(/tmp/multipartBody2822043401505942771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806912132,"filename":"image_13012025_23_20_02_134631_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4b6fb297636360696b525249852231d1.jpg","text":"TemporaryFile(/tmp/multipartBody2900373884386912397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806912132,"filename":"image_13012025_23_19_02_986500_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328710503","file1":"1328710501","file0":"1328710498","file3":"1328710505"},"map_files_photo_id_array":[{"photo_id":"1328710503","filename":"file2"},{"photo_id":"1328710501","filename":"file1"},{"photo_id":"1328710498","filename":"file0"},{"photo_id":"1328710505","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328710501":["hashtag1","hashtag2"]},{"1328710503":["hashtag1","hashtag2"]},{"1328710505":["hashtag1","hashtag2"]},{"1328710498":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328710501, 1328710503, 1328710505, 1328710498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.07044577598572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:21:22.230841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/20/image_13012025_23_20_02_134631_0003.jpg', '/home/pi/Desktop/images/13012025/23/21/image_13012025_23_21_02_282219_0000.jpg', '/home/pi/Desktop/images/13012025/23/21/image_13012025_23_21_02_282219_0001.jpg', '/home/pi/Desktop/images/13012025/23/21/image_13012025_23_21_02_282219_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/20/image_13012025_23_20_02_134631_0003.jpg
/home/pi/Desktop/images/13012025/23/21/image_13012025_23_21_02_282219_0000.jpg
/home/pi/Desktop/images/13012025/23/21/image_13012025_23_21_02_282219_0001.jpg
/home/pi/Desktop/images/13012025/23/21/image_13012025_23_21_02_282219_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328710540","1328710519","1328710542","1328710538"],"photo_ids_order":["1328710519","1328710538","1328710540","1328710542"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/79257d51472cd05979cdd09e6880d690.jpg","text":"TemporaryFile(/tmp/multipartBody2164233861777189774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806952538,"filename":"image_13012025_23_21_02_282219_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/67c74a7bafaff4d52f76f6927427035f.jpg","text":"TemporaryFile(/tmp/multipartBody9180272832892813169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806952538,"filename":"image_13012025_23_20_02_134631_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/58d5d7c914add28a2fe169ebde9d7955.jpg","text":"TemporaryFile(/tmp/multipartBody5010865995828206829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806952538,"filename":"image_13012025_23_21_02_282219_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4dc1deeeef290eb39a37e541153943f9.jpg","text":"TemporaryFile(/tmp/multipartBody8539015112069816391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736806952538,"filename":"image_13012025_23_21_02_282219_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328710540","file1":"1328710538","file0":"1328710519","file3":"1328710542"},"map_files_photo_id_array":[{"photo_id":"1328710540","filename":"file2"},{"photo_id":"1328710538","filename":"file1"},{"photo_id":"1328710519","filename":"file0"},{"photo_id":"1328710542","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328710540":["hashtag1","hashtag2"]},{"1328710519":["hashtag1","hashtag2"]},{"1328710542":["hashtag1","hashtag2"]},{"1328710538":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328710540, 1328710519, 1328710542, 1328710538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.50545573234558 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:22:22.295421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/21/image_13012025_23_21_02_282219_0003.jpg', '/home/pi/Desktop/images/13012025/23/22/image_13012025_23_22_02_498390_0000.jpg', '/home/pi/Desktop/images/13012025/23/22/image_13012025_23_22_02_498390_0001.jpg', '/home/pi/Desktop/images/13012025/23/22/image_13012025_23_22_02_498390_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/21/image_13012025_23_21_02_282219_0003.jpg
/home/pi/Desktop/images/13012025/23/22/image_13012025_23_22_02_498390_0000.jpg
/home/pi/Desktop/images/13012025/23/22/image_13012025_23_22_02_498390_0001.jpg
/home/pi/Desktop/images/13012025/23/22/image_13012025_23_22_02_498390_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328710560","1328710563","1328710565","1328710564"],"photo_ids_order":["1328710560","1328710563","1328710564","1328710565"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/31557076e22a21642255dfcbc131cc28.jpg","text":"TemporaryFile(/tmp/multipartBody8044112086959627298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807012346,"filename":"image_13012025_23_21_02_282219_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/461dc9931e1af95e5064f84c1965ea0b.jpg","text":"TemporaryFile(/tmp/multipartBody1850073622855705840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807012346,"filename":"image_13012025_23_22_02_498390_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/576c718336e3a0cc80c2bfc9733f12cf.jpg","text":"TemporaryFile(/tmp/multipartBody7329239689238298708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807012346,"filename":"image_13012025_23_22_02_498390_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6e5e713ba16c23fda9c0990e167529c4.jpg","text":"TemporaryFile(/tmp/multipartBody1163554551832883417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807012346,"filename":"image_13012025_23_22_02_498390_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328710564","file1":"1328710563","file0":"1328710560","file3":"1328710565"},"map_files_photo_id_array":[{"photo_id":"1328710564","filename":"file2"},{"photo_id":"1328710563","filename":"file1"},{"photo_id":"1328710560","filename":"file0"},{"photo_id":"1328710565","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328710560":["hashtag1","hashtag2"]},{"1328710563":["hashtag1","hashtag2"]},{"1328710565":["hashtag1","hashtag2"]},{"1328710564":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328710560, 1328710563, 1328710565, 1328710564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.44476246833801 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:23:22.650175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/22/image_13012025_23_22_02_498390_0003.jpg', '/home/pi/Desktop/images/13012025/23/23/image_13012025_23_23_02_748759_0000.jpg', '/home/pi/Desktop/images/13012025/23/23/image_13012025_23_23_02_748759_0001.jpg', '/home/pi/Desktop/images/13012025/23/23/image_13012025_23_23_02_748759_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/22/image_13012025_23_22_02_498390_0003.jpg
/home/pi/Desktop/images/13012025/23/23/image_13012025_23_23_02_748759_0000.jpg
/home/pi/Desktop/images/13012025/23/23/image_13012025_23_23_02_748759_0001.jpg
/home/pi/Desktop/images/13012025/23/23/image_13012025_23_23_02_748759_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328710587","1328710575","1328710578","1328710583"],"photo_ids_order":["1328710575","1328710578","1328710583","1328710587"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bd3e9ba6273b3611df5381e615062929.jpg","text":"TemporaryFile(/tmp/multipartBody7508017212405110231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807072741,"filename":"image_13012025_23_23_02_748759_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/b49ee98da2aefa39fd78869b407e43d7.jpg","text":"TemporaryFile(/tmp/multipartBody5871181023555510524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807072741,"filename":"image_13012025_23_22_02_498390_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d8fdfb5657213673a273a80b484e9aed.jpg","text":"TemporaryFile(/tmp/multipartBody7293001399942681426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807072741,"filename":"image_13012025_23_23_02_748759_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5495a3ea3d38ae5cb29c873b2ca2592b.jpg","text":"TemporaryFile(/tmp/multipartBody7096964401873819864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807072741,"filename":"image_13012025_23_23_02_748759_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328710583","file1":"1328710578","file0":"1328710575","file3":"1328710587"},"map_files_photo_id_array":[{"photo_id":"1328710583","filename":"file2"},{"photo_id":"1328710578","filename":"file1"},{"photo_id":"1328710575","filename":"file0"},{"photo_id":"1328710587","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328710587":["hashtag1","hashtag2"]},{"1328710575":["hashtag1","hashtag2"]},{"1328710578":["hashtag1","hashtag2"]},{"1328710583":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328710587, 1328710575, 1328710578, 1328710583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.914472579956055 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 23:24:03.040811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:24:22.831715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/23/image_13012025_23_23_02_748759_0003.jpg', '/home/pi/Desktop/images/13012025/23/24/image_13012025_23_24_02_994187_0000.jpg', '/home/pi/Desktop/images/13012025/23/24/image_13012025_23_24_02_994187_0001.jpg', '/home/pi/Desktop/images/13012025/23/24/image_13012025_23_24_02_994187_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/23/image_13012025_23_23_02_748759_0003.jpg
/home/pi/Desktop/images/13012025/23/24/image_13012025_23_24_02_994187_0000.jpg
/home/pi/Desktop/images/13012025/23/24/image_13012025_23_24_02_994187_0001.jpg
/home/pi/Desktop/images/13012025/23/24/image_13012025_23_24_02_994187_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328710636","1328710643","1328710639","1328710630"],"photo_ids_order":["1328710630","1328710636","1328710639","1328710643"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1a4f229290831d8808f7ac20c99205ff.jpg","text":"TemporaryFile(/tmp/multipartBody2221934004626577001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807132858,"filename":"image_13012025_23_24_02_994187_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c5484affd66fec87b88ba4ca788b0338.jpg","text":"TemporaryFile(/tmp/multipartBody5035134240947356699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807132858,"filename":"image_13012025_23_24_02_994187_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0409e37a2308418305ffddcb1f62e7e2.jpg","text":"TemporaryFile(/tmp/multipartBody1723408691630964968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807132858,"filename":"image_13012025_23_24_02_994187_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1e105a7f5ef359a6f1a82d06d923bb99.jpg","text":"TemporaryFile(/tmp/multipartBody5222104274050199318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807132858,"filename":"image_13012025_23_23_02_748759_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328710639","file1":"1328710636","file0":"1328710630","file3":"1328710643"},"map_files_photo_id_array":[{"photo_id":"1328710639","filename":"file2"},{"photo_id":"1328710636","filename":"file1"},{"photo_id":"1328710630","filename":"file0"},{"photo_id":"1328710643","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328710636":["hashtag1","hashtag2"]},{"1328710643":["hashtag1","hashtag2"]},{"1328710639":["hashtag1","hashtag2"]},{"1328710630":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328710636, 1328710643, 1328710639, 1328710630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.90731167793274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:25:21.952906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/24/image_13012025_23_24_02_994187_0003.jpg', '/home/pi/Desktop/images/13012025/23/25/image_13012025_23_25_03_069230_0000.jpg', '/home/pi/Desktop/images/13012025/23/25/image_13012025_23_25_03_069230_0001.jpg', '/home/pi/Desktop/images/13012025/23/25/image_13012025_23_25_03_069230_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/24/image_13012025_23_24_02_994187_0003.jpg
/home/pi/Desktop/images/13012025/23/25/image_13012025_23_25_03_069230_0000.jpg
/home/pi/Desktop/images/13012025/23/25/image_13012025_23_25_03_069230_0001.jpg
/home/pi/Desktop/images/13012025/23/25/image_13012025_23_25_03_069230_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328710726","1328710740","1328710730","1328710733"],"photo_ids_order":["1328710726","1328710730","1328710733","1328710740"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bd0e2226d898c1c480c62b64e91dab0c.jpg","text":"TemporaryFile(/tmp/multipartBody406173956366618411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807192077,"filename":"image_13012025_23_24_02_994187_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/607848f95e1b7ca4ae22a9d56b6417dc.jpg","text":"TemporaryFile(/tmp/multipartBody684917479580397374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807192077,"filename":"image_13012025_23_25_03_069230_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bb8ed676b941cf2a3530179d972690cc.jpg","text":"TemporaryFile(/tmp/multipartBody7399295772595250598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807192077,"filename":"image_13012025_23_25_03_069230_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1c993cb1ddbc92514c13a1cf4f746293.jpg","text":"TemporaryFile(/tmp/multipartBody2473769087446932035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807192077,"filename":"image_13012025_23_25_03_069230_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328710733","file1":"1328710730","file0":"1328710726","file3":"1328710740"},"map_files_photo_id_array":[{"photo_id":"1328710733","filename":"file2"},{"photo_id":"1328710730","filename":"file1"},{"photo_id":"1328710726","filename":"file0"},{"photo_id":"1328710740","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328710726":["hashtag1","hashtag2"]},{"1328710740":["hashtag1","hashtag2"]},{"1328710730":["hashtag1","hashtag2"]},{"1328710733":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328710726, 1328710740, 1328710730, 1328710733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.47331404685974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 23:26:02.494141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:26:22.138050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/25/image_13012025_23_25_03_069230_0003.jpg', '/home/pi/Desktop/images/13012025/23/26/image_13012025_23_26_02_292475_0000.jpg', '/home/pi/Desktop/images/13012025/23/26/image_13012025_23_26_02_292475_0001.jpg', '/home/pi/Desktop/images/13012025/23/26/image_13012025_23_26_02_292475_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/25/image_13012025_23_25_03_069230_0003.jpg
/home/pi/Desktop/images/13012025/23/26/image_13012025_23_26_02_292475_0000.jpg
/home/pi/Desktop/images/13012025/23/26/image_13012025_23_26_02_292475_0001.jpg
/home/pi/Desktop/images/13012025/23/26/image_13012025_23_26_02_292475_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.83826494216919 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 23:26:42.140158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/25/image_13012025_23_25_03_069230_0003.jpg', '/home/pi/Desktop/images/13012025/23/26/image_13012025_23_26_02_292475_0000.jpg', '/home/pi/Desktop/images/13012025/23/26/image_13012025_23_26_02_292475_0001.jpg', '/home/pi/Desktop/images/13012025/23/26/image_13012025_23_26_02_292475_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/25/image_13012025_23_25_03_069230_0003.jpg
/home/pi/Desktop/images/13012025/23/26/image_13012025_23_26_02_292475_0000.jpg
/home/pi/Desktop/images/13012025/23/26/image_13012025_23_26_02_292475_0001.jpg
/home/pi/Desktop/images/13012025/23/26/image_13012025_23_26_02_292475_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328710846","1328710844","1328710847","1328710849"],"photo_ids_order":["1328710844","1328710846","1328710847","1328710849"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/844ae13a7df54717fbb1de63359d0ef1.jpg","text":"TemporaryFile(/tmp/multipartBody3433038721352528413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807272385,"filename":"image_13012025_23_26_02_292475_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/364a14796b774b124f6050a7542e85e6.jpg","text":"TemporaryFile(/tmp/multipartBody2473986387258476933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807272385,"filename":"image_13012025_23_25_03_069230_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3172a4518155096868d281b09c215c28.jpg","text":"TemporaryFile(/tmp/multipartBody6167364477526917382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807272385,"filename":"image_13012025_23_26_02_292475_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/02c4011b02acfa67fa093b0ea9e7b01c.jpg","text":"TemporaryFile(/tmp/multipartBody6107273332326719592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807272385,"filename":"image_13012025_23_26_02_292475_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328710847","file1":"1328710846","file0":"1328710844","file3":"1328710849"},"map_files_photo_id_array":[{"photo_id":"1328710847","filename":"file2"},{"photo_id":"1328710846","filename":"file1"},{"photo_id":"1328710844","filename":"file0"},{"photo_id":"1328710849","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328710846":["hashtag1","hashtag2"]},{"1328710844":["hashtag1","hashtag2"]},{"1328710847":["hashtag1","hashtag2"]},{"1328710849":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328710846, 1328710844, 1328710847, 1328710849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.36859440803528 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:27:22.291500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/26/image_13012025_23_26_02_292475_0003.jpg', '/home/pi/Desktop/images/13012025/23/27/image_13012025_23_27_02_655946_0000.jpg', '/home/pi/Desktop/images/13012025/23/27/image_13012025_23_27_02_655946_0001.jpg', '/home/pi/Desktop/images/13012025/23/27/image_13012025_23_27_02_655946_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/26/image_13012025_23_26_02_292475_0003.jpg
/home/pi/Desktop/images/13012025/23/27/image_13012025_23_27_02_655946_0000.jpg
/home/pi/Desktop/images/13012025/23/27/image_13012025_23_27_02_655946_0001.jpg
/home/pi/Desktop/images/13012025/23/27/image_13012025_23_27_02_655946_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328710866","1328710862","1328710864","1328710858"],"photo_ids_order":["1328710858","1328710862","1328710864","1328710866"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/80774d015f6fdf1981b78277d1c2317d.jpg","text":"TemporaryFile(/tmp/multipartBody8450587897007709885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807312583,"filename":"image_13012025_23_27_02_655946_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/053f018c611005f43090f9b8efd2882a.jpg","text":"TemporaryFile(/tmp/multipartBody4016701690392099136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807312583,"filename":"image_13012025_23_27_02_655946_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/3e67f017b7afce053f3ed32d7ae0cd00.jpg","text":"TemporaryFile(/tmp/multipartBody5679289218063730674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807312583,"filename":"image_13012025_23_27_02_655946_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/195ac093d55469f0b0d67a432c020d8a.jpg","text":"TemporaryFile(/tmp/multipartBody1604661884014866834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807312583,"filename":"image_13012025_23_26_02_292475_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328710864","file1":"1328710862","file0":"1328710858","file3":"1328710866"},"map_files_photo_id_array":[{"photo_id":"1328710864","filename":"file2"},{"photo_id":"1328710862","filename":"file1"},{"photo_id":"1328710858","filename":"file0"},{"photo_id":"1328710866","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328710866":["hashtag1","hashtag2"]},{"1328710862":["hashtag1","hashtag2"]},{"1328710864":["hashtag1","hashtag2"]},{"1328710858":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328710866, 1328710862, 1328710864, 1328710858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.66535925865173 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:28:22.365329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/27/image_13012025_23_27_02_655946_0003.jpg', '/home/pi/Desktop/images/13012025/23/28/image_13012025_23_28_02_676878_0000.jpg', '/home/pi/Desktop/images/13012025/23/28/image_13012025_23_28_02_676878_0001.jpg', '/home/pi/Desktop/images/13012025/23/28/image_13012025_23_28_02_676878_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/27/image_13012025_23_27_02_655946_0003.jpg
/home/pi/Desktop/images/13012025/23/28/image_13012025_23_28_02_676878_0000.jpg
/home/pi/Desktop/images/13012025/23/28/image_13012025_23_28_02_676878_0001.jpg
/home/pi/Desktop/images/13012025/23/28/image_13012025_23_28_02_676878_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328710881","1328710878","1328710891","1328710888"],"photo_ids_order":["1328710878","1328710881","1328710888","1328710891"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/972c40f9bb31807ffe4fa854abe6e925.jpg","text":"TemporaryFile(/tmp/multipartBody8870652663548910618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807372590,"filename":"image_13012025_23_28_02_676878_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/12d493641bb2a4f6a9a26cbf69a63b10.jpg","text":"TemporaryFile(/tmp/multipartBody3406831366320214887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807372590,"filename":"image_13012025_23_27_02_655946_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/873c43d6e366b8fd77eb71ffde1c1eac.jpg","text":"TemporaryFile(/tmp/multipartBody4551213279177210649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807372590,"filename":"image_13012025_23_28_02_676878_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7c2def4c579ab0db493380f0428b57a7.jpg","text":"TemporaryFile(/tmp/multipartBody3968007199679208591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807372590,"filename":"image_13012025_23_28_02_676878_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328710888","file1":"1328710881","file0":"1328710878","file3":"1328710891"},"map_files_photo_id_array":[{"photo_id":"1328710888","filename":"file2"},{"photo_id":"1328710881","filename":"file1"},{"photo_id":"1328710878","filename":"file0"},{"photo_id":"1328710891","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328710881":["hashtag1","hashtag2"]},{"1328710878":["hashtag1","hashtag2"]},{"1328710891":["hashtag1","hashtag2"]},{"1328710888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328710881, 1328710878, 1328710891, 1328710888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.33598232269287 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 23:29:03.248363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:29:22.482289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/28/image_13012025_23_28_02_676878_0003.jpg', '/home/pi/Desktop/images/13012025/23/29/image_13012025_23_29_02_821144_0000.jpg', '/home/pi/Desktop/images/13012025/23/29/image_13012025_23_29_02_821144_0001.jpg', '/home/pi/Desktop/images/13012025/23/29/image_13012025_23_29_02_821144_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/28/image_13012025_23_28_02_676878_0003.jpg
/home/pi/Desktop/images/13012025/23/29/image_13012025_23_29_02_821144_0000.jpg
/home/pi/Desktop/images/13012025/23/29/image_13012025_23_29_02_821144_0001.jpg
/home/pi/Desktop/images/13012025/23/29/image_13012025_23_29_02_821144_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328710918","1328710912","1328710915","1328710922"],"photo_ids_order":["1328710912","1328710915","1328710918","1328710922"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f303d1795698969f034288e869d04090.jpg","text":"TemporaryFile(/tmp/multipartBody7034725512218581670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807432723,"filename":"image_13012025_23_29_02_821144_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0592e016ffcb3e0aebc8165994d487cb.jpg","text":"TemporaryFile(/tmp/multipartBody951279308941663491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807432723,"filename":"image_13012025_23_28_02_676878_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/decc623e13097b060f8ec908587c0cf7.jpg","text":"TemporaryFile(/tmp/multipartBody2719510480445060166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807432723,"filename":"image_13012025_23_29_02_821144_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/072ace5745ee5e3154ef95d2906a0db2.jpg","text":"TemporaryFile(/tmp/multipartBody2279006261221918610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807432723,"filename":"image_13012025_23_29_02_821144_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328710918","file1":"1328710915","file0":"1328710912","file3":"1328710922"},"map_files_photo_id_array":[{"photo_id":"1328710918","filename":"file2"},{"photo_id":"1328710915","filename":"file1"},{"photo_id":"1328710912","filename":"file0"},{"photo_id":"1328710922","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328710918":["hashtag1","hashtag2"]},{"1328710912":["hashtag1","hashtag2"]},{"1328710915":["hashtag1","hashtag2"]},{"1328710922":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328710918, 1328710912, 1328710915, 1328710922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.47491502761841 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 23:30:03.169907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:30:22.684690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/29/image_13012025_23_29_02_821144_0003.jpg', '/home/pi/Desktop/images/13012025/23/30/image_13012025_23_30_02_959675_0000.jpg', '/home/pi/Desktop/images/13012025/23/30/image_13012025_23_30_02_959675_0001.jpg', '/home/pi/Desktop/images/13012025/23/30/image_13012025_23_30_02_959675_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/29/image_13012025_23_29_02_821144_0003.jpg
/home/pi/Desktop/images/13012025/23/30/image_13012025_23_30_02_959675_0000.jpg
/home/pi/Desktop/images/13012025/23/30/image_13012025_23_30_02_959675_0001.jpg
/home/pi/Desktop/images/13012025/23/30/image_13012025_23_30_02_959675_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328710973","1328710978","1328710981","1328710975"],"photo_ids_order":["1328710973","1328710975","1328710978","1328710981"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a9839668bf9cf1560b2ada182aa846aa.jpg","text":"TemporaryFile(/tmp/multipartBody3824119428481327602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807492776,"filename":"image_13012025_23_29_02_821144_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/90c465fd011c5d369e30b794dfd7ecbc.jpg","text":"TemporaryFile(/tmp/multipartBody7699013118441260399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807492776,"filename":"image_13012025_23_30_02_959675_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/06b9baabaadf9df6a98eae161dc74336.jpg","text":"TemporaryFile(/tmp/multipartBody1200962696770966511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807492776,"filename":"image_13012025_23_30_02_959675_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5025771d2c37b4e0cf845c9abe69d8d8.jpg","text":"TemporaryFile(/tmp/multipartBody9128426758586747293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807492776,"filename":"image_13012025_23_30_02_959675_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328710978","file1":"1328710975","file0":"1328710973","file3":"1328710981"},"map_files_photo_id_array":[{"photo_id":"1328710978","filename":"file2"},{"photo_id":"1328710975","filename":"file1"},{"photo_id":"1328710973","filename":"file0"},{"photo_id":"1328710981","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328710973":["hashtag1","hashtag2"]},{"1328710978":["hashtag1","hashtag2"]},{"1328710981":["hashtag1","hashtag2"]},{"1328710975":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328710973, 1328710978, 1328710981, 1328710975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.30335354804993 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 23:31:02.365897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:31:21.859186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/30/image_13012025_23_30_02_959675_0003.jpg', '/home/pi/Desktop/images/13012025/23/31/image_13012025_23_31_03_053665_0000.jpg', '/home/pi/Desktop/images/13012025/23/31/image_13012025_23_31_03_053665_0001.jpg', '/home/pi/Desktop/images/13012025/23/31/image_13012025_23_31_03_053665_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/30/image_13012025_23_30_02_959675_0003.jpg
/home/pi/Desktop/images/13012025/23/31/image_13012025_23_31_03_053665_0000.jpg
/home/pi/Desktop/images/13012025/23/31/image_13012025_23_31_03_053665_0001.jpg
/home/pi/Desktop/images/13012025/23/31/image_13012025_23_31_03_053665_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328711061","1328711064","1328711066","1328711065"],"photo_ids_order":["1328711061","1328711064","1328711065","1328711066"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ce6dd61042b832cca56ff3e0147c4868.jpg","text":"TemporaryFile(/tmp/multipartBody6887830236289720966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807551944,"filename":"image_13012025_23_30_02_959675_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/db48d27d06c231329189950ac42024ec.jpg","text":"TemporaryFile(/tmp/multipartBody4117895420715785589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807551944,"filename":"image_13012025_23_31_03_053665_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/53d337ca51c943331da8e1348895fc68.jpg","text":"TemporaryFile(/tmp/multipartBody6452357836569720526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807551944,"filename":"image_13012025_23_31_03_053665_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/db654660fce2d225c4ca9cedddf8efe0.jpg","text":"TemporaryFile(/tmp/multipartBody3892658339669843285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807551944,"filename":"image_13012025_23_31_03_053665_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328711065","file1":"1328711064","file0":"1328711061","file3":"1328711066"},"map_files_photo_id_array":[{"photo_id":"1328711065","filename":"file2"},{"photo_id":"1328711064","filename":"file1"},{"photo_id":"1328711061","filename":"file0"},{"photo_id":"1328711066","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328711061":["hashtag1","hashtag2"]},{"1328711064":["hashtag1","hashtag2"]},{"1328711066":["hashtag1","hashtag2"]},{"1328711065":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328711061, 1328711064, 1328711066, 1328711065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.080445289611816 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:32:22.147087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/31/image_13012025_23_31_03_053665_0003.jpg', '/home/pi/Desktop/images/13012025/23/32/image_13012025_23_32_02_275784_0000.jpg', '/home/pi/Desktop/images/13012025/23/32/image_13012025_23_32_02_275784_0001.jpg', '/home/pi/Desktop/images/13012025/23/32/image_13012025_23_32_02_275784_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/31/image_13012025_23_31_03_053665_0003.jpg
/home/pi/Desktop/images/13012025/23/32/image_13012025_23_32_02_275784_0000.jpg
/home/pi/Desktop/images/13012025/23/32/image_13012025_23_32_02_275784_0001.jpg
/home/pi/Desktop/images/13012025/23/32/image_13012025_23_32_02_275784_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.899876832962036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 23:32:42.157118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/31/image_13012025_23_31_03_053665_0003.jpg', '/home/pi/Desktop/images/13012025/23/32/image_13012025_23_32_02_275784_0000.jpg', '/home/pi/Desktop/images/13012025/23/32/image_13012025_23_32_02_275784_0001.jpg', '/home/pi/Desktop/images/13012025/23/32/image_13012025_23_32_02_275784_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/31/image_13012025_23_31_03_053665_0003.jpg
/home/pi/Desktop/images/13012025/23/32/image_13012025_23_32_02_275784_0000.jpg
/home/pi/Desktop/images/13012025/23/32/image_13012025_23_32_02_275784_0001.jpg
/home/pi/Desktop/images/13012025/23/32/image_13012025_23_32_02_275784_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328711090","1328711093","1328711087","1328711088"],"photo_ids_order":["1328711087","1328711088","1328711090","1328711093"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/516ea2972f6daed7c88fcc430dc534bb.jpg","text":"TemporaryFile(/tmp/multipartBody8199195524125203136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807632432,"filename":"image_13012025_23_32_02_275784_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7c568cf6c4c17ef38a71ccb54af8370a.jpg","text":"TemporaryFile(/tmp/multipartBody2593573994100767641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807632432,"filename":"image_13012025_23_32_02_275784_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c361a4335ff9eef0007267b665664547.jpg","text":"TemporaryFile(/tmp/multipartBody8909217048854927596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807632432,"filename":"image_13012025_23_31_03_053665_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/11575481258dab70d1be01228bb3c2c6.jpg","text":"TemporaryFile(/tmp/multipartBody8380172390816088190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807632432,"filename":"image_13012025_23_32_02_275784_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328711090","file1":"1328711088","file0":"1328711087","file3":"1328711093"},"map_files_photo_id_array":[{"photo_id":"1328711090","filename":"file2"},{"photo_id":"1328711088","filename":"file1"},{"photo_id":"1328711087","filename":"file0"},{"photo_id":"1328711093","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328711090":["hashtag1","hashtag2"]},{"1328711093":["hashtag1","hashtag2"]},{"1328711087":["hashtag1","hashtag2"]},{"1328711088":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328711090, 1328711093, 1328711087, 1328711088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.950284481048584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:33:22.371609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/32/image_13012025_23_32_02_275784_0003.jpg', '/home/pi/Desktop/images/13012025/23/33/image_13012025_23_33_02_554888_0000.jpg', '/home/pi/Desktop/images/13012025/23/33/image_13012025_23_33_02_554888_0001.jpg', '/home/pi/Desktop/images/13012025/23/33/image_13012025_23_33_02_554888_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/32/image_13012025_23_32_02_275784_0003.jpg
/home/pi/Desktop/images/13012025/23/33/image_13012025_23_33_02_554888_0000.jpg
/home/pi/Desktop/images/13012025/23/33/image_13012025_23_33_02_554888_0001.jpg
/home/pi/Desktop/images/13012025/23/33/image_13012025_23_33_02_554888_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328711106","1328711132","1328711126","1328711131"],"photo_ids_order":["1328711106","1328711126","1328711131","1328711132"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c52de87010664c6ffb3f390463de1ff6.jpg","text":"TemporaryFile(/tmp/multipartBody1872602396462010578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807672583,"filename":"image_13012025_23_32_02_275784_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/447d0c8347477941a860b0361519d6da.jpg","text":"TemporaryFile(/tmp/multipartBody3884742204932230857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807672583,"filename":"image_13012025_23_33_02_554888_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d0ebf827693dfc042824e1081c2c2e5f.jpg","text":"TemporaryFile(/tmp/multipartBody1122544230436353681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807672583,"filename":"image_13012025_23_33_02_554888_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/fba277ca8f0f7dabfab66f91a2fbefb0.jpg","text":"TemporaryFile(/tmp/multipartBody6218357341792021616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807672583,"filename":"image_13012025_23_33_02_554888_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328711131","file1":"1328711126","file0":"1328711106","file3":"1328711132"},"map_files_photo_id_array":[{"photo_id":"1328711131","filename":"file2"},{"photo_id":"1328711126","filename":"file1"},{"photo_id":"1328711106","filename":"file0"},{"photo_id":"1328711132","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328711106":["hashtag1","hashtag2"]},{"1328711132":["hashtag1","hashtag2"]},{"1328711126":["hashtag1","hashtag2"]},{"1328711131":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328711106, 1328711132, 1328711126, 1328711131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.250702142715454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:34:22.510697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/33/image_13012025_23_33_02_554888_0003.jpg', '/home/pi/Desktop/images/13012025/23/34/image_13012025_23_34_02_773900_0000.jpg', '/home/pi/Desktop/images/13012025/23/34/image_13012025_23_34_02_773900_0001.jpg', '/home/pi/Desktop/images/13012025/23/34/image_13012025_23_34_02_773900_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/33/image_13012025_23_33_02_554888_0003.jpg
/home/pi/Desktop/images/13012025/23/34/image_13012025_23_34_02_773900_0000.jpg
/home/pi/Desktop/images/13012025/23/34/image_13012025_23_34_02_773900_0001.jpg
/home/pi/Desktop/images/13012025/23/34/image_13012025_23_34_02_773900_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328711199","1328711205","1328711204","1328711207"],"photo_ids_order":["1328711199","1328711204","1328711205","1328711207"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0382446b4a88f86f71ac91f148379332.jpg","text":"TemporaryFile(/tmp/multipartBody3557101744440439931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807732615,"filename":"image_13012025_23_33_02_554888_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ad6e5e07f7f9e7ed81d5af6dc50367b7.jpg","text":"TemporaryFile(/tmp/multipartBody4089990271992616583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807732615,"filename":"image_13012025_23_34_02_773900_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/29e1b04c6cc15cae0a630b5079d72ff1.jpg","text":"TemporaryFile(/tmp/multipartBody1487995809865026582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807732615,"filename":"image_13012025_23_34_02_773900_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/08f62d301f043050b47581a09db5418d.jpg","text":"TemporaryFile(/tmp/multipartBody8456962777418999584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807732615,"filename":"image_13012025_23_34_02_773900_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328711205","file1":"1328711204","file0":"1328711199","file3":"1328711207"},"map_files_photo_id_array":[{"photo_id":"1328711205","filename":"file2"},{"photo_id":"1328711204","filename":"file1"},{"photo_id":"1328711199","filename":"file0"},{"photo_id":"1328711207","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328711199":["hashtag1","hashtag2"]},{"1328711205":["hashtag1","hashtag2"]},{"1328711204":["hashtag1","hashtag2"]},{"1328711207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328711199, 1328711205, 1328711204, 1328711207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.786097288131714 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 23:35:03.139382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:35:22.695696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/34/image_13012025_23_34_02_773900_0003.jpg', '/home/pi/Desktop/images/13012025/23/35/image_13012025_23_35_02_932156_0000.jpg', '/home/pi/Desktop/images/13012025/23/35/image_13012025_23_35_02_932156_0001.jpg', '/home/pi/Desktop/images/13012025/23/35/image_13012025_23_35_02_932156_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/34/image_13012025_23_34_02_773900_0003.jpg
/home/pi/Desktop/images/13012025/23/35/image_13012025_23_35_02_932156_0000.jpg
/home/pi/Desktop/images/13012025/23/35/image_13012025_23_35_02_932156_0001.jpg
/home/pi/Desktop/images/13012025/23/35/image_13012025_23_35_02_932156_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328711393","1328711395","1328711374","1328711391"],"photo_ids_order":["1328711374","1328711391","1328711393","1328711395"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/636ed1cedb2c4cc91ff75376a9dcb8d7.jpg","text":"TemporaryFile(/tmp/multipartBody815532259020412733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807793089,"filename":"image_13012025_23_35_02_932156_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4f4988ca8ed2d45c8577cffaedee7649.jpg","text":"TemporaryFile(/tmp/multipartBody5350681417467940660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807793089,"filename":"image_13012025_23_35_02_932156_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/2a95bbc634035dd104b59e0e4b89b75c.jpg","text":"TemporaryFile(/tmp/multipartBody8476576765823305733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807793089,"filename":"image_13012025_23_34_02_773900_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e31e5f90c5e714c79320e05b09821696.jpg","text":"TemporaryFile(/tmp/multipartBody8078026379665429526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807793089,"filename":"image_13012025_23_35_02_932156_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328711393","file1":"1328711391","file0":"1328711374","file3":"1328711395"},"map_files_photo_id_array":[{"photo_id":"1328711393","filename":"file2"},{"photo_id":"1328711391","filename":"file1"},{"photo_id":"1328711374","filename":"file0"},{"photo_id":"1328711395","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328711393":["hashtag1","hashtag2"]},{"1328711395":["hashtag1","hashtag2"]},{"1328711374":["hashtag1","hashtag2"]},{"1328711391":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328711393, 1328711395, 1328711374, 1328711391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.7870454788208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:36:21.822588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/35/image_13012025_23_35_02_932156_0003.jpg', '/home/pi/Desktop/images/13012025/23/36/image_13012025_23_36_03_040097_0000.jpg', '/home/pi/Desktop/images/13012025/23/36/image_13012025_23_36_03_040097_0001.jpg', '/home/pi/Desktop/images/13012025/23/36/image_13012025_23_36_03_040097_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/35/image_13012025_23_35_02_932156_0003.jpg
/home/pi/Desktop/images/13012025/23/36/image_13012025_23_36_03_040097_0000.jpg
/home/pi/Desktop/images/13012025/23/36/image_13012025_23_36_03_040097_0001.jpg
/home/pi/Desktop/images/13012025/23/36/image_13012025_23_36_03_040097_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328712775","1328712769","1328712780","1328712783"],"photo_ids_order":["1328712769","1328712775","1328712780","1328712783"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5037e76cbb63daa8f10a256dbf9e277f.jpg","text":"TemporaryFile(/tmp/multipartBody7134325799366277806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807852021,"filename":"image_13012025_23_36_03_040097_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/dff48e1236a6f6d0203b31f742570787.jpg","text":"TemporaryFile(/tmp/multipartBody962456054379460340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807852021,"filename":"image_13012025_23_35_02_932156_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/81cfe8e4c3ed51dba83e1bdbb6747cfc.jpg","text":"TemporaryFile(/tmp/multipartBody6881758341015744156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807852021,"filename":"image_13012025_23_36_03_040097_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1959f603aa80f585f0389d4685e74450.jpg","text":"TemporaryFile(/tmp/multipartBody3590496594023723210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807852021,"filename":"image_13012025_23_36_03_040097_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328712780","file1":"1328712775","file0":"1328712769","file3":"1328712783"},"map_files_photo_id_array":[{"photo_id":"1328712780","filename":"file2"},{"photo_id":"1328712775","filename":"file1"},{"photo_id":"1328712769","filename":"file0"},{"photo_id":"1328712783","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328712775":["hashtag1","hashtag2"]},{"1328712769":["hashtag1","hashtag2"]},{"1328712780":["hashtag1","hashtag2"]},{"1328712783":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328712775, 1328712769, 1328712780, 1328712783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.971537828445435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:37:22.002865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/36/image_13012025_23_36_03_040097_0003.jpg', '/home/pi/Desktop/images/13012025/23/37/image_13012025_23_37_02_159018_0000.jpg', '/home/pi/Desktop/images/13012025/23/37/image_13012025_23_37_02_159018_0001.jpg', '/home/pi/Desktop/images/13012025/23/37/image_13012025_23_37_02_159018_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/36/image_13012025_23_36_03_040097_0003.jpg
/home/pi/Desktop/images/13012025/23/37/image_13012025_23_37_02_159018_0000.jpg
/home/pi/Desktop/images/13012025/23/37/image_13012025_23_37_02_159018_0001.jpg
/home/pi/Desktop/images/13012025/23/37/image_13012025_23_37_02_159018_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328712804","1328712807","1328712806","1328712802"],"photo_ids_order":["1328712802","1328712804","1328712806","1328712807"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/092ff6cc33e23e32362198a35112102e.jpg","text":"TemporaryFile(/tmp/multipartBody7933564309291491816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807912486,"filename":"image_13012025_23_37_02_159018_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/96ac194a1b7efc09d8da7b32eb79134a.jpg","text":"TemporaryFile(/tmp/multipartBody1331978230666978605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807912486,"filename":"image_13012025_23_37_02_159018_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5c9f21fea76dbfcee4764dfeb8378f5a.jpg","text":"TemporaryFile(/tmp/multipartBody4240869752492471236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807912486,"filename":"image_13012025_23_37_02_159018_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/78125d3396722ff28a04b442cd577547.jpg","text":"TemporaryFile(/tmp/multipartBody8539294351170247108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807912486,"filename":"image_13012025_23_36_03_040097_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328712806","file1":"1328712804","file0":"1328712802","file3":"1328712807"},"map_files_photo_id_array":[{"photo_id":"1328712806","filename":"file2"},{"photo_id":"1328712804","filename":"file1"},{"photo_id":"1328712802","filename":"file0"},{"photo_id":"1328712807","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328712804":["hashtag1","hashtag2"]},{"1328712807":["hashtag1","hashtag2"]},{"1328712806":["hashtag1","hashtag2"]},{"1328712802":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328712804, 1328712807, 1328712806, 1328712802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.084266662597656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:38:22.180061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/37/image_13012025_23_37_02_159018_0003.jpg', '/home/pi/Desktop/images/13012025/23/38/image_13012025_23_38_02_458303_0000.jpg', '/home/pi/Desktop/images/13012025/23/38/image_13012025_23_38_02_458303_0001.jpg', '/home/pi/Desktop/images/13012025/23/38/image_13012025_23_38_02_458303_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/37/image_13012025_23_37_02_159018_0003.jpg
/home/pi/Desktop/images/13012025/23/38/image_13012025_23_38_02_458303_0000.jpg
/home/pi/Desktop/images/13012025/23/38/image_13012025_23_38_02_458303_0001.jpg
/home/pi/Desktop/images/13012025/23/38/image_13012025_23_38_02_458303_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.80203628540039 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 23:38:42.223398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/37/image_13012025_23_37_02_159018_0003.jpg', '/home/pi/Desktop/images/13012025/23/38/image_13012025_23_38_02_458303_0000.jpg', '/home/pi/Desktop/images/13012025/23/38/image_13012025_23_38_02_458303_0001.jpg', '/home/pi/Desktop/images/13012025/23/38/image_13012025_23_38_02_458303_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/37/image_13012025_23_37_02_159018_0003.jpg
/home/pi/Desktop/images/13012025/23/38/image_13012025_23_38_02_458303_0000.jpg
/home/pi/Desktop/images/13012025/23/38/image_13012025_23_38_02_458303_0001.jpg
/home/pi/Desktop/images/13012025/23/38/image_13012025_23_38_02_458303_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328713421","1328713412","1328713429","1328713438"],"photo_ids_order":["1328713412","1328713421","1328713429","1328713438"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a53be4b1c165a3c87693f96888ad3f25.jpg","text":"TemporaryFile(/tmp/multipartBody3212800290658869078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807992425,"filename":"image_13012025_23_38_02_458303_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a7ffbcfcd1436703781c995af6684ab7.jpg","text":"TemporaryFile(/tmp/multipartBody8135476027696589516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807992425,"filename":"image_13012025_23_37_02_159018_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ee6fd82e543ebfacc267c116325e3ed2.jpg","text":"TemporaryFile(/tmp/multipartBody5452626196769487974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807992425,"filename":"image_13012025_23_38_02_458303_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/76ac2705e893c1062c2865b034012459.jpg","text":"TemporaryFile(/tmp/multipartBody1821446681615088730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736807992425,"filename":"image_13012025_23_38_02_458303_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328713429","file1":"1328713421","file0":"1328713412","file3":"1328713438"},"map_files_photo_id_array":[{"photo_id":"1328713429","filename":"file2"},{"photo_id":"1328713421","filename":"file1"},{"photo_id":"1328713412","filename":"file0"},{"photo_id":"1328713438","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328713421":["hashtag1","hashtag2"]},{"1328713412":["hashtag1","hashtag2"]},{"1328713429":["hashtag1","hashtag2"]},{"1328713438":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328713421, 1328713412, 1328713429, 1328713438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.80680799484253 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 23:39:32.313572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/38/image_13012025_23_38_02_458303_0003.jpg', '/home/pi/Desktop/images/13012025/23/39/image_13012025_23_39_02_579653_0000.jpg', '/home/pi/Desktop/images/13012025/23/39/image_13012025_23_39_02_579653_0001.jpg', '/home/pi/Desktop/images/13012025/23/39/image_13012025_23_39_02_579653_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/38/image_13012025_23_38_02_458303_0003.jpg
/home/pi/Desktop/images/13012025/23/39/image_13012025_23_39_02_579653_0000.jpg
/home/pi/Desktop/images/13012025/23/39/image_13012025_23_39_02_579653_0001.jpg
/home/pi/Desktop/images/13012025/23/39/image_13012025_23_39_02_579653_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328713712","1328713710","1328713713","1328713707"],"photo_ids_order":["1328713707","1328713710","1328713712","1328713713"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4bd6de691d250381f57fe8e8aff0dc0e.jpg","text":"TemporaryFile(/tmp/multipartBody2960747058852939473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808042368,"filename":"image_13012025_23_39_02_579653_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a7aae45568620645fb25048453738cc2.jpg","text":"TemporaryFile(/tmp/multipartBody5060604606669583738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808042368,"filename":"image_13012025_23_39_02_579653_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e087ce5a0fd32e3461e21d124f30d0dd.jpg","text":"TemporaryFile(/tmp/multipartBody1546628341670995435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808042368,"filename":"image_13012025_23_39_02_579653_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/bf1c36b22deb4b5da292255f32d30f4a.jpg","text":"TemporaryFile(/tmp/multipartBody8686137374663138261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808042368,"filename":"image_13012025_23_38_02_458303_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328713712","file1":"1328713710","file0":"1328713707","file3":"1328713713"},"map_files_photo_id_array":[{"photo_id":"1328713712","filename":"file2"},{"photo_id":"1328713710","filename":"file1"},{"photo_id":"1328713707","filename":"file0"},{"photo_id":"1328713713","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328713712":["hashtag1","hashtag2"]},{"1328713710":["hashtag1","hashtag2"]},{"1328713713":["hashtag1","hashtag2"]},{"1328713707":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328713712, 1328713710, 1328713713, 1328713707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.66713571548462 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:40:22.549123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/39/image_13012025_23_39_02_579653_0003.jpg', '/home/pi/Desktop/images/13012025/23/40/image_13012025_23_40_02_702079_0000.jpg', '/home/pi/Desktop/images/13012025/23/40/image_13012025_23_40_02_702079_0001.jpg', '/home/pi/Desktop/images/13012025/23/40/image_13012025_23_40_02_702079_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/39/image_13012025_23_39_02_579653_0003.jpg
/home/pi/Desktop/images/13012025/23/40/image_13012025_23_40_02_702079_0000.jpg
/home/pi/Desktop/images/13012025/23/40/image_13012025_23_40_02_702079_0001.jpg
/home/pi/Desktop/images/13012025/23/40/image_13012025_23_40_02_702079_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328713745","1328713741","1328713740","1328713743"],"photo_ids_order":["1328713740","1328713741","1328713743","1328713745"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0992221eaef0e0795c1257190f87bc45.jpg","text":"TemporaryFile(/tmp/multipartBody869655559689741017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808092763,"filename":"image_13012025_23_40_02_702079_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4b0102f96b406c0937eacbec17696e21.jpg","text":"TemporaryFile(/tmp/multipartBody3929329626943366325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808092763,"filename":"image_13012025_23_40_02_702079_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/eb8430ec6d712c0f3f126697c00f02de.jpg","text":"TemporaryFile(/tmp/multipartBody5902025420249637187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808092763,"filename":"image_13012025_23_39_02_579653_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/84d6c0e58cf3d58b3740de710dce15f6.jpg","text":"TemporaryFile(/tmp/multipartBody6277963706850969555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808092763,"filename":"image_13012025_23_40_02_702079_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328713743","file1":"1328713741","file0":"1328713740","file3":"1328713745"},"map_files_photo_id_array":[{"photo_id":"1328713743","filename":"file2"},{"photo_id":"1328713741","filename":"file1"},{"photo_id":"1328713740","filename":"file0"},{"photo_id":"1328713745","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328713745":["hashtag1","hashtag2"]},{"1328713741":["hashtag1","hashtag2"]},{"1328713740":["hashtag1","hashtag2"]},{"1328713743":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328713745, 1328713741, 1328713740, 1328713743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.60497689247131 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:41:22.802752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/40/image_13012025_23_40_02_702079_0003.jpg', '/home/pi/Desktop/images/13012025/23/41/image_13012025_23_41_02_901761_0000.jpg', '/home/pi/Desktop/images/13012025/23/41/image_13012025_23_41_02_901761_0001.jpg', '/home/pi/Desktop/images/13012025/23/41/image_13012025_23_41_02_901761_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/40/image_13012025_23_40_02_702079_0003.jpg
/home/pi/Desktop/images/13012025/23/41/image_13012025_23_41_02_901761_0000.jpg
/home/pi/Desktop/images/13012025/23/41/image_13012025_23_41_02_901761_0001.jpg
/home/pi/Desktop/images/13012025/23/41/image_13012025_23_41_02_901761_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328713768","1328713765","1328713759","1328713755"],"photo_ids_order":["1328713755","1328713759","1328713765","1328713768"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1098f95a9760995cd488cb6b990d030e.jpg","text":"TemporaryFile(/tmp/multipartBody6657982267994546167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808153004,"filename":"image_13012025_23_41_02_901761_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/03ccf513d94a9f0935848a9a761f84cf.jpg","text":"TemporaryFile(/tmp/multipartBody8159935963970240700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808153004,"filename":"image_13012025_23_41_02_901761_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cdaf003b3e2d9019ffacbde9f4ffc232.jpg","text":"TemporaryFile(/tmp/multipartBody5923097769421483444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808153004,"filename":"image_13012025_23_41_02_901761_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/573cbbfb900d509fc3060e42c28b2a6a.jpg","text":"TemporaryFile(/tmp/multipartBody2441879458908734918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808153004,"filename":"image_13012025_23_40_02_702079_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328713765","file1":"1328713759","file0":"1328713755","file3":"1328713768"},"map_files_photo_id_array":[{"photo_id":"1328713765","filename":"file2"},{"photo_id":"1328713759","filename":"file1"},{"photo_id":"1328713755","filename":"file0"},{"photo_id":"1328713768","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328713768":["hashtag1","hashtag2"]},{"1328713765":["hashtag1","hashtag2"]},{"1328713759":["hashtag1","hashtag2"]},{"1328713755":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328713768, 1328713765, 1328713759, 1328713755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.42506670951843 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:42:21.933020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/41/image_13012025_23_41_02_901761_0003.jpg', '/home/pi/Desktop/images/13012025/23/42/image_13012025_23_42_03_066461_0000.jpg', '/home/pi/Desktop/images/13012025/23/42/image_13012025_23_42_03_066461_0001.jpg', '/home/pi/Desktop/images/13012025/23/42/image_13012025_23_42_03_066461_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/41/image_13012025_23_41_02_901761_0003.jpg
/home/pi/Desktop/images/13012025/23/42/image_13012025_23_42_03_066461_0000.jpg
/home/pi/Desktop/images/13012025/23/42/image_13012025_23_42_03_066461_0001.jpg
/home/pi/Desktop/images/13012025/23/42/image_13012025_23_42_03_066461_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328713799","1328713802","1328713805","1328713807"],"photo_ids_order":["1328713799","1328713802","1328713805","1328713807"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/859c90c7a43bc3fe19eedb6d566ea8de.jpg","text":"TemporaryFile(/tmp/multipartBody490816912933105420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808212223,"filename":"image_13012025_23_41_02_901761_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c14a3be7dcfe2ef133604810d0f7e3c7.jpg","text":"TemporaryFile(/tmp/multipartBody8342548046990618258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808212223,"filename":"image_13012025_23_42_03_066461_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/90f1fddaef34a4b3cffc7fbc544c490f.jpg","text":"TemporaryFile(/tmp/multipartBody4791237677273134260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808212223,"filename":"image_13012025_23_42_03_066461_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4e7a6f482de95722eed0da071716ac0b.jpg","text":"TemporaryFile(/tmp/multipartBody5977789487717676733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808212223,"filename":"image_13012025_23_42_03_066461_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328713805","file1":"1328713802","file0":"1328713799","file3":"1328713807"},"map_files_photo_id_array":[{"photo_id":"1328713805","filename":"file2"},{"photo_id":"1328713802","filename":"file1"},{"photo_id":"1328713799","filename":"file0"},{"photo_id":"1328713807","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328713799":["hashtag1","hashtag2"]},{"1328713802":["hashtag1","hashtag2"]},{"1328713805":["hashtag1","hashtag2"]},{"1328713807":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328713799, 1328713802, 1328713805, 1328713807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.822838306427 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 23:43:02.631490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:43:21.981170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/42/image_13012025_23_42_03_066461_0003.jpg', '/home/pi/Desktop/images/13012025/23/43/image_13012025_23_43_02_213623_0000.jpg', '/home/pi/Desktop/images/13012025/23/43/image_13012025_23_43_02_213623_0001.jpg', '/home/pi/Desktop/images/13012025/23/43/image_13012025_23_43_02_213623_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/42/image_13012025_23_42_03_066461_0003.jpg
/home/pi/Desktop/images/13012025/23/43/image_13012025_23_43_02_213623_0000.jpg
/home/pi/Desktop/images/13012025/23/43/image_13012025_23_43_02_213623_0001.jpg
/home/pi/Desktop/images/13012025/23/43/image_13012025_23_43_02_213623_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328713862","1328713856","1328713859","1328713861"],"photo_ids_order":["1328713856","1328713859","1328713861","1328713862"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c7b51f420636f5ad1b3f223cbfb6fa47.jpg","text":"TemporaryFile(/tmp/multipartBody8163922368024049687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808272245,"filename":"image_13012025_23_43_02_213623_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/41649812fdacb67d38d9eb08bf489be5.jpg","text":"TemporaryFile(/tmp/multipartBody3813069482275139203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808272245,"filename":"image_13012025_23_42_03_066461_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/46f6b9f1f04978f14891ae24557c3d71.jpg","text":"TemporaryFile(/tmp/multipartBody9157400066327607396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808272245,"filename":"image_13012025_23_43_02_213623_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/988f01763b88eac77ef865ce7207466f.jpg","text":"TemporaryFile(/tmp/multipartBody8446638504584534502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808272245,"filename":"image_13012025_23_43_02_213623_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328713861","file1":"1328713859","file0":"1328713856","file3":"1328713862"},"map_files_photo_id_array":[{"photo_id":"1328713861","filename":"file2"},{"photo_id":"1328713859","filename":"file1"},{"photo_id":"1328713856","filename":"file0"},{"photo_id":"1328713862","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328713862":["hashtag1","hashtag2"]},{"1328713856":["hashtag1","hashtag2"]},{"1328713859":["hashtag1","hashtag2"]},{"1328713861":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328713862, 1328713856, 1328713859, 1328713861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.241798639297485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 23:44:02.639262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:44:22.114729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/43/image_13012025_23_43_02_213623_0003.jpg', '/home/pi/Desktop/images/13012025/23/44/image_13012025_23_44_02_313839_0000.jpg', '/home/pi/Desktop/images/13012025/23/44/image_13012025_23_44_02_313839_0001.jpg', '/home/pi/Desktop/images/13012025/23/44/image_13012025_23_44_02_313839_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/43/image_13012025_23_43_02_213623_0003.jpg
/home/pi/Desktop/images/13012025/23/44/image_13012025_23_44_02_313839_0000.jpg
/home/pi/Desktop/images/13012025/23/44/image_13012025_23_44_02_313839_0001.jpg
/home/pi/Desktop/images/13012025/23/44/image_13012025_23_44_02_313839_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328714321","1328713951","1328714072","1328714195"],"photo_ids_order":["1328713951","1328714072","1328714195","1328714321"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/830524b4ea68403f91c33559a6252f1f.jpg","text":"TemporaryFile(/tmp/multipartBody6814413252902870699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808332332,"filename":"image_13012025_23_44_02_313839_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d415735a76850112d15bac7c42ebead0.jpg","text":"TemporaryFile(/tmp/multipartBody4166441733871942317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808332332,"filename":"image_13012025_23_43_02_213623_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8fd3cf06ee4636f1b1bec815119ee641.jpg","text":"TemporaryFile(/tmp/multipartBody1666151209157731344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808332332,"filename":"image_13012025_23_44_02_313839_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9fe302ed062c725463fa07c4e56a4839.jpg","text":"TemporaryFile(/tmp/multipartBody3553823301643610519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808332332,"filename":"image_13012025_23_44_02_313839_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328714195","file1":"1328714072","file0":"1328713951","file3":"1328714321"},"map_files_photo_id_array":[{"photo_id":"1328714195","filename":"file2"},{"photo_id":"1328714072","filename":"file1"},{"photo_id":"1328713951","filename":"file0"},{"photo_id":"1328714321","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328714321":["hashtag1","hashtag2"]},{"1328713951":["hashtag1","hashtag2"]},{"1328714072":["hashtag1","hashtag2"]},{"1328714195":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328714321, 1328713951, 1328714072, 1328714195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.23897123336792 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 23:45:02.810386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:45:22.330886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/44/image_13012025_23_44_02_313839_0003.jpg', '/home/pi/Desktop/images/13012025/23/45/image_13012025_23_45_02_541144_0000.jpg', '/home/pi/Desktop/images/13012025/23/45/image_13012025_23_45_02_541144_0001.jpg', '/home/pi/Desktop/images/13012025/23/45/image_13012025_23_45_02_541144_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/44/image_13012025_23_44_02_313839_0003.jpg
/home/pi/Desktop/images/13012025/23/45/image_13012025_23_45_02_541144_0000.jpg
/home/pi/Desktop/images/13012025/23/45/image_13012025_23_45_02_541144_0001.jpg
/home/pi/Desktop/images/13012025/23/45/image_13012025_23_45_02_541144_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328714671","1328714569","1328714565","1328714567"],"photo_ids_order":["1328714565","1328714567","1328714569","1328714671"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c98e9fb86218182ab50e4f269ea50b74.jpg","text":"TemporaryFile(/tmp/multipartBody2655493370391402072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808392618,"filename":"image_13012025_23_45_02_541144_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ff4cae1e4bf42c9c58631d2ffd1e806b.jpg","text":"TemporaryFile(/tmp/multipartBody1405782129528371180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808392618,"filename":"image_13012025_23_45_02_541144_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/043c265b92cb59b19aa6ef7aaf4b47ef.jpg","text":"TemporaryFile(/tmp/multipartBody6017888619841970009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808392618,"filename":"image_13012025_23_44_02_313839_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/096f1ab1ba7c00ec28120e9b141a602a.jpg","text":"TemporaryFile(/tmp/multipartBody622556420543501022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808392618,"filename":"image_13012025_23_45_02_541144_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328714569","file1":"1328714567","file0":"1328714565","file3":"1328714671"},"map_files_photo_id_array":[{"photo_id":"1328714569","filename":"file2"},{"photo_id":"1328714567","filename":"file1"},{"photo_id":"1328714565","filename":"file0"},{"photo_id":"1328714671","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328714671":["hashtag1","hashtag2"]},{"1328714569":["hashtag1","hashtag2"]},{"1328714565":["hashtag1","hashtag2"]},{"1328714567":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328714671, 1328714569, 1328714565, 1328714567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.62181568145752 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 23:46:02.996951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:46:22.538937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/45/image_13012025_23_45_02_541144_0003.jpg', '/home/pi/Desktop/images/13012025/23/46/image_13012025_23_46_02_711133_0000.jpg', '/home/pi/Desktop/images/13012025/23/46/image_13012025_23_46_02_711133_0001.jpg', '/home/pi/Desktop/images/13012025/23/46/image_13012025_23_46_02_711133_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/45/image_13012025_23_45_02_541144_0003.jpg
/home/pi/Desktop/images/13012025/23/46/image_13012025_23_46_02_711133_0000.jpg
/home/pi/Desktop/images/13012025/23/46/image_13012025_23_46_02_711133_0001.jpg
/home/pi/Desktop/images/13012025/23/46/image_13012025_23_46_02_711133_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328715571","1328715568","1328715420","1328715575"],"photo_ids_order":["1328715420","1328715568","1328715571","1328715575"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f4ba5ea3b1c8a95f32039072cae84dc5.jpg","text":"TemporaryFile(/tmp/multipartBody6584512053149402270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808452595,"filename":"image_13012025_23_46_02_711133_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a2fc132f1e67ce44643d3aec27de9038.jpg","text":"TemporaryFile(/tmp/multipartBody3031262374367700101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808452595,"filename":"image_13012025_23_46_02_711133_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/acb8dd747e20f7675e02abcd61371970.jpg","text":"TemporaryFile(/tmp/multipartBody8099154710687885698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808452595,"filename":"image_13012025_23_45_02_541144_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/851e6a9900e2e1ad055d55ffe1a173b6.jpg","text":"TemporaryFile(/tmp/multipartBody2774663042436803035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808452595,"filename":"image_13012025_23_46_02_711133_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328715571","file1":"1328715568","file0":"1328715420","file3":"1328715575"},"map_files_photo_id_array":[{"photo_id":"1328715571","filename":"file2"},{"photo_id":"1328715568","filename":"file1"},{"photo_id":"1328715420","filename":"file0"},{"photo_id":"1328715575","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328715571":["hashtag1","hashtag2"]},{"1328715568":["hashtag1","hashtag2"]},{"1328715420":["hashtag1","hashtag2"]},{"1328715575":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328715571, 1328715568, 1328715420, 1328715575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.175740003585815 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 23:47:03.310628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:47:22.774983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/46/image_13012025_23_46_02_711133_0003.jpg', '/home/pi/Desktop/images/13012025/23/47/image_13012025_23_47_02_840804_0000.jpg', '/home/pi/Desktop/images/13012025/23/47/image_13012025_23_47_02_840804_0001.jpg', '/home/pi/Desktop/images/13012025/23/47/image_13012025_23_47_02_840804_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/46/image_13012025_23_46_02_711133_0003.jpg
/home/pi/Desktop/images/13012025/23/47/image_13012025_23_47_02_840804_0000.jpg
/home/pi/Desktop/images/13012025/23/47/image_13012025_23_47_02_840804_0001.jpg
/home/pi/Desktop/images/13012025/23/47/image_13012025_23_47_02_840804_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328716140","1328716097","1328716142","1328716016"],"photo_ids_order":["1328716016","1328716097","1328716140","1328716142"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/e893d64a23efd1843b21c6aff011abb6.jpg","text":"TemporaryFile(/tmp/multipartBody4709568179366623926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808512983,"filename":"image_13012025_23_47_02_840804_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8824a542eabfe1d34d608c10ac7ff805.jpg","text":"TemporaryFile(/tmp/multipartBody2069293581282906004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808512983,"filename":"image_13012025_23_47_02_840804_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ac7552052aa0dd65edb2a151d53e0c84.jpg","text":"TemporaryFile(/tmp/multipartBody4203451029272329629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808512983,"filename":"image_13012025_23_47_02_840804_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9c33e8624f5447d5f9b98145daaa2d4d.jpg","text":"TemporaryFile(/tmp/multipartBody5767942709031462506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808512983,"filename":"image_13012025_23_46_02_711133_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328716140","file1":"1328716097","file0":"1328716016","file3":"1328716142"},"map_files_photo_id_array":[{"photo_id":"1328716140","filename":"file2"},{"photo_id":"1328716097","filename":"file1"},{"photo_id":"1328716016","filename":"file0"},{"photo_id":"1328716142","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328716140":["hashtag1","hashtag2"]},{"1328716097":["hashtag1","hashtag2"]},{"1328716142":["hashtag1","hashtag2"]},{"1328716016":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328716140, 1328716097, 1328716142, 1328716016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.46227550506592 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:48:21.905249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/47/image_13012025_23_47_02_840804_0003.jpg', '/home/pi/Desktop/images/13012025/23/48/image_13012025_23_48_03_066477_0000.jpg', '/home/pi/Desktop/images/13012025/23/48/image_13012025_23_48_03_066477_0001.jpg', '/home/pi/Desktop/images/13012025/23/48/image_13012025_23_48_03_066477_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/47/image_13012025_23_47_02_840804_0003.jpg
/home/pi/Desktop/images/13012025/23/48/image_13012025_23_48_03_066477_0000.jpg
/home/pi/Desktop/images/13012025/23/48/image_13012025_23_48_03_066477_0001.jpg
/home/pi/Desktop/images/13012025/23/48/image_13012025_23_48_03_066477_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.74609112739563 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 23:48:41.882163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/47/image_13012025_23_47_02_840804_0003.jpg', '/home/pi/Desktop/images/13012025/23/48/image_13012025_23_48_03_066477_0000.jpg', '/home/pi/Desktop/images/13012025/23/48/image_13012025_23_48_03_066477_0001.jpg', '/home/pi/Desktop/images/13012025/23/48/image_13012025_23_48_03_066477_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/47/image_13012025_23_47_02_840804_0003.jpg
/home/pi/Desktop/images/13012025/23/48/image_13012025_23_48_03_066477_0000.jpg
/home/pi/Desktop/images/13012025/23/48/image_13012025_23_48_03_066477_0001.jpg
/home/pi/Desktop/images/13012025/23/48/image_13012025_23_48_03_066477_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328716161","1328716158","1328716155","1328716156"],"photo_ids_order":["1328716155","1328716156","1328716158","1328716161"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/358096be1e5a01458f4fe5142bf94219.jpg","text":"TemporaryFile(/tmp/multipartBody8757880665456976485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808592037,"filename":"image_13012025_23_48_03_066477_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/33d6cc456dc5ecc2473f9dfd1aff139a.jpg","text":"TemporaryFile(/tmp/multipartBody587962806388736193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808592037,"filename":"image_13012025_23_48_03_066477_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9823fc00d513e4addff244ad7fcaa09f.jpg","text":"TemporaryFile(/tmp/multipartBody6349567717176805083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808592037,"filename":"image_13012025_23_47_02_840804_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1f412cfb141bbf278045870fd5f06ffa.jpg","text":"TemporaryFile(/tmp/multipartBody4060630620291311678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808592037,"filename":"image_13012025_23_48_03_066477_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328716158","file1":"1328716156","file0":"1328716155","file3":"1328716161"},"map_files_photo_id_array":[{"photo_id":"1328716158","filename":"file2"},{"photo_id":"1328716156","filename":"file1"},{"photo_id":"1328716155","filename":"file0"},{"photo_id":"1328716161","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328716161":["hashtag1","hashtag2"]},{"1328716158":["hashtag1","hashtag2"]},{"1328716155":["hashtag1","hashtag2"]},{"1328716156":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328716161, 1328716158, 1328716155, 1328716156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.12345886230469 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:49:22.073841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/48/image_13012025_23_48_03_066477_0003.jpg', '/home/pi/Desktop/images/13012025/23/49/image_13012025_23_49_02_234471_0000.jpg', '/home/pi/Desktop/images/13012025/23/49/image_13012025_23_49_02_234471_0001.jpg', '/home/pi/Desktop/images/13012025/23/49/image_13012025_23_49_02_234471_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/48/image_13012025_23_48_03_066477_0003.jpg
/home/pi/Desktop/images/13012025/23/49/image_13012025_23_49_02_234471_0000.jpg
/home/pi/Desktop/images/13012025/23/49/image_13012025_23_49_02_234471_0001.jpg
/home/pi/Desktop/images/13012025/23/49/image_13012025_23_49_02_234471_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328716176","1328716173","1328716178","1328716177"],"photo_ids_order":["1328716173","1328716176","1328716177","1328716178"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0f01aa3763cf901bc285b13a34d5336f.jpg","text":"TemporaryFile(/tmp/multipartBody7552337139511377908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808632250,"filename":"image_13012025_23_49_02_234471_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/af2e5e1b3d6bb751a5d10ddff27cb2e9.jpg","text":"TemporaryFile(/tmp/multipartBody3102885111776779019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808632250,"filename":"image_13012025_23_48_03_066477_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c41c899fc3e4df4d221814a346dcd0be.jpg","text":"TemporaryFile(/tmp/multipartBody8456840456972487475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808632250,"filename":"image_13012025_23_49_02_234471_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/782a1504fec403daf18612050d299b27.jpg","text":"TemporaryFile(/tmp/multipartBody649640822395112736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808632250,"filename":"image_13012025_23_49_02_234471_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328716177","file1":"1328716176","file0":"1328716173","file3":"1328716178"},"map_files_photo_id_array":[{"photo_id":"1328716177","filename":"file2"},{"photo_id":"1328716176","filename":"file1"},{"photo_id":"1328716173","filename":"file0"},{"photo_id":"1328716178","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328716176":["hashtag1","hashtag2"]},{"1328716173":["hashtag1","hashtag2"]},{"1328716178":["hashtag1","hashtag2"]},{"1328716177":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328716176, 1328716173, 1328716178, 1328716177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.138394355773926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 23:50:02.621572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:50:22.149533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/49/image_13012025_23_49_02_234471_0003.jpg', '/home/pi/Desktop/images/13012025/23/50/image_13012025_23_50_02_465816_0000.jpg', '/home/pi/Desktop/images/13012025/23/50/image_13012025_23_50_02_465816_0001.jpg', '/home/pi/Desktop/images/13012025/23/50/image_13012025_23_50_02_465816_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/49/image_13012025_23_49_02_234471_0003.jpg
/home/pi/Desktop/images/13012025/23/50/image_13012025_23_50_02_465816_0000.jpg
/home/pi/Desktop/images/13012025/23/50/image_13012025_23_50_02_465816_0001.jpg
/home/pi/Desktop/images/13012025/23/50/image_13012025_23_50_02_465816_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328716194","1328716197","1328716193","1328716195"],"photo_ids_order":["1328716193","1328716194","1328716195","1328716197"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/491ac5dbf6a91ed8ebe6a336467d76af.jpg","text":"TemporaryFile(/tmp/multipartBody3246886321116463299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808692296,"filename":"image_13012025_23_50_02_465816_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/1a7c9a36d81fc2f2b80eb1712cfb6a88.jpg","text":"TemporaryFile(/tmp/multipartBody8711467555610355469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808692296,"filename":"image_13012025_23_50_02_465816_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/5ad4ac856f2b2719e7579a3fed550866.jpg","text":"TemporaryFile(/tmp/multipartBody6655477227551956445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808692296,"filename":"image_13012025_23_49_02_234471_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/01de612fc66841db95fbf5c77db4203b.jpg","text":"TemporaryFile(/tmp/multipartBody8181763239137074673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808692296,"filename":"image_13012025_23_50_02_465816_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328716195","file1":"1328716194","file0":"1328716193","file3":"1328716197"},"map_files_photo_id_array":[{"photo_id":"1328716195","filename":"file2"},{"photo_id":"1328716194","filename":"file1"},{"photo_id":"1328716193","filename":"file0"},{"photo_id":"1328716197","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328716194":["hashtag1","hashtag2"]},{"1328716197":["hashtag1","hashtag2"]},{"1328716193":["hashtag1","hashtag2"]},{"1328716195":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328716194, 1328716197, 1328716193, 1328716195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.823946952819824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 23:51:02.950755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:51:22.426055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/50/image_13012025_23_50_02_465816_0003.jpg', '/home/pi/Desktop/images/13012025/23/51/image_13012025_23_51_02_525762_0000.jpg', '/home/pi/Desktop/images/13012025/23/51/image_13012025_23_51_02_525762_0001.jpg', '/home/pi/Desktop/images/13012025/23/51/image_13012025_23_51_02_525762_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/50/image_13012025_23_50_02_465816_0003.jpg
/home/pi/Desktop/images/13012025/23/51/image_13012025_23_51_02_525762_0000.jpg
/home/pi/Desktop/images/13012025/23/51/image_13012025_23_51_02_525762_0001.jpg
/home/pi/Desktop/images/13012025/23/51/image_13012025_23_51_02_525762_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328716286","1328716283","1328716282","1328716279"],"photo_ids_order":["1328716279","1328716282","1328716283","1328716286"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/45e00783618c3f5d4935417ca382906d.jpg","text":"TemporaryFile(/tmp/multipartBody4419669986994386992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808752884,"filename":"image_13012025_23_51_02_525762_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d2e0a79658c48328e2d36b2d12858a64.jpg","text":"TemporaryFile(/tmp/multipartBody1464367768610895648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808752884,"filename":"image_13012025_23_51_02_525762_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/8ce2c1b3cf01a884103189dbec6517f9.jpg","text":"TemporaryFile(/tmp/multipartBody8185444128457334157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808752884,"filename":"image_13012025_23_51_02_525762_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/230a6d5f7531a1fb6a4b39c69e7626a4.jpg","text":"TemporaryFile(/tmp/multipartBody2409536367153049863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808752884,"filename":"image_13012025_23_50_02_465816_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328716283","file1":"1328716282","file0":"1328716279","file3":"1328716286"},"map_files_photo_id_array":[{"photo_id":"1328716283","filename":"file2"},{"photo_id":"1328716282","filename":"file1"},{"photo_id":"1328716279","filename":"file0"},{"photo_id":"1328716286","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328716286":["hashtag1","hashtag2"]},{"1328716283":["hashtag1","hashtag2"]},{"1328716282":["hashtag1","hashtag2"]},{"1328716279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328716286, 1328716283, 1328716282, 1328716279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.12840127944946 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 23:52:03.036705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:52:22.564280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/51/image_13012025_23_51_02_525762_0003.jpg', '/home/pi/Desktop/images/13012025/23/52/image_13012025_23_52_02_728369_0000.jpg', '/home/pi/Desktop/images/13012025/23/52/image_13012025_23_52_02_728369_0001.jpg', '/home/pi/Desktop/images/13012025/23/52/image_13012025_23_52_02_728369_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/51/image_13012025_23_51_02_525762_0003.jpg
/home/pi/Desktop/images/13012025/23/52/image_13012025_23_52_02_728369_0000.jpg
/home/pi/Desktop/images/13012025/23/52/image_13012025_23_52_02_728369_0001.jpg
/home/pi/Desktop/images/13012025/23/52/image_13012025_23_52_02_728369_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.755446672439575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-13 23:52:42.491925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/51/image_13012025_23_51_02_525762_0003.jpg', '/home/pi/Desktop/images/13012025/23/52/image_13012025_23_52_02_728369_0000.jpg', '/home/pi/Desktop/images/13012025/23/52/image_13012025_23_52_02_728369_0001.jpg', '/home/pi/Desktop/images/13012025/23/52/image_13012025_23_52_02_728369_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/51/image_13012025_23_51_02_525762_0003.jpg
/home/pi/Desktop/images/13012025/23/52/image_13012025_23_52_02_728369_0000.jpg
/home/pi/Desktop/images/13012025/23/52/image_13012025_23_52_02_728369_0001.jpg
/home/pi/Desktop/images/13012025/23/52/image_13012025_23_52_02_728369_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328716309","1328716306","1328716314","1328716312"],"photo_ids_order":["1328716306","1328716309","1328716312","1328716314"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/6ffccdd1e6cebef323ad841b1ba4ca49.jpg","text":"TemporaryFile(/tmp/multipartBody5051072137632142269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808832640,"filename":"image_13012025_23_52_02_728369_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/350d6d6840acd0dde308f5882a4c9ecc.jpg","text":"TemporaryFile(/tmp/multipartBody4605153781974145514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808832640,"filename":"image_13012025_23_51_02_525762_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/37115477d7cb171933b6fd9ef819212c.jpg","text":"TemporaryFile(/tmp/multipartBody4038277587469050020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808832640,"filename":"image_13012025_23_52_02_728369_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/d6a25df16fdf1e0df58162b07df39a94.jpg","text":"TemporaryFile(/tmp/multipartBody2148477404055709309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808832640,"filename":"image_13012025_23_52_02_728369_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328716312","file1":"1328716309","file0":"1328716306","file3":"1328716314"},"map_files_photo_id_array":[{"photo_id":"1328716312","filename":"file2"},{"photo_id":"1328716309","filename":"file1"},{"photo_id":"1328716306","filename":"file0"},{"photo_id":"1328716314","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328716309":["hashtag1","hashtag2"]},{"1328716306":["hashtag1","hashtag2"]},{"1328716314":["hashtag1","hashtag2"]},{"1328716312":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328716309, 1328716306, 1328716314, 1328716312)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.63193154335022 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-13 23:53:32.675881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/52/image_13012025_23_52_02_728369_0003.jpg', '/home/pi/Desktop/images/13012025/23/53/image_13012025_23_53_02_821716_0000.jpg', '/home/pi/Desktop/images/13012025/23/53/image_13012025_23_53_02_821716_0001.jpg', '/home/pi/Desktop/images/13012025/23/53/image_13012025_23_53_02_821716_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/52/image_13012025_23_52_02_728369_0003.jpg
/home/pi/Desktop/images/13012025/23/53/image_13012025_23_53_02_821716_0000.jpg
/home/pi/Desktop/images/13012025/23/53/image_13012025_23_53_02_821716_0001.jpg
/home/pi/Desktop/images/13012025/23/53/image_13012025_23_53_02_821716_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328716323","1328716332","1328716335","1328716328"],"photo_ids_order":["1328716323","1328716328","1328716332","1328716335"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/15c4e6cfcee0ca590ee26664b705d4d2.jpg","text":"TemporaryFile(/tmp/multipartBody6008340726842254509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808882933,"filename":"image_13012025_23_52_02_728369_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c27dbf6a55fe5b70ab007aa1d7e07f8b.jpg","text":"TemporaryFile(/tmp/multipartBody3426905630297418477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808882933,"filename":"image_13012025_23_53_02_821716_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/4fc9b59a8f213404fd3edce05e3610b5.jpg","text":"TemporaryFile(/tmp/multipartBody8540822606282400615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808882933,"filename":"image_13012025_23_53_02_821716_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/cc219d554f808625de47ecfd1295de60.jpg","text":"TemporaryFile(/tmp/multipartBody3322432207240907745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808882933,"filename":"image_13012025_23_53_02_821716_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328716332","file1":"1328716328","file0":"1328716323","file3":"1328716335"},"map_files_photo_id_array":[{"photo_id":"1328716332","filename":"file2"},{"photo_id":"1328716328","filename":"file1"},{"photo_id":"1328716323","filename":"file0"},{"photo_id":"1328716335","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328716323":["hashtag1","hashtag2"]},{"1328716332":["hashtag1","hashtag2"]},{"1328716335":["hashtag1","hashtag2"]},{"1328716328":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328716323, 1328716332, 1328716335, 1328716328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.64117097854614 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:54:21.898303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/53/image_13012025_23_53_02_821716_0003.jpg', '/home/pi/Desktop/images/13012025/23/54/image_13012025_23_54_03_037760_0000.jpg', '/home/pi/Desktop/images/13012025/23/54/image_13012025_23_54_03_037760_0001.jpg', '/home/pi/Desktop/images/13012025/23/54/image_13012025_23_54_03_037760_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/53/image_13012025_23_53_02_821716_0003.jpg
/home/pi/Desktop/images/13012025/23/54/image_13012025_23_54_03_037760_0000.jpg
/home/pi/Desktop/images/13012025/23/54/image_13012025_23_54_03_037760_0001.jpg
/home/pi/Desktop/images/13012025/23/54/image_13012025_23_54_03_037760_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328716491","1328716380","1328716388","1328716376"],"photo_ids_order":["1328716376","1328716380","1328716388","1328716491"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/a1f99293fb206661e1ccac2d5fcebbc0.jpg","text":"TemporaryFile(/tmp/multipartBody7684681561059474686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808932190,"filename":"image_13012025_23_54_03_037760_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ce9c4ff105fea76b69736b4ae17a35a0.jpg","text":"TemporaryFile(/tmp/multipartBody1562986752482803803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808932190,"filename":"image_13012025_23_54_03_037760_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9deb811ae1b5c78998a17dd923b1abe6.jpg","text":"TemporaryFile(/tmp/multipartBody5027059236737326605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808932190,"filename":"image_13012025_23_54_03_037760_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/ded327f4f83b9afb34660c3da1ac7850.jpg","text":"TemporaryFile(/tmp/multipartBody4301854144969475152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808932190,"filename":"image_13012025_23_53_02_821716_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328716388","file1":"1328716380","file0":"1328716376","file3":"1328716491"},"map_files_photo_id_array":[{"photo_id":"1328716388","filename":"file2"},{"photo_id":"1328716380","filename":"file1"},{"photo_id":"1328716376","filename":"file0"},{"photo_id":"1328716491","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328716491":["hashtag1","hashtag2"]},{"1328716380":["hashtag1","hashtag2"]},{"1328716388":["hashtag1","hashtag2"]},{"1328716376":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328716491, 1328716380, 1328716388, 1328716376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.38691449165344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-13 23:55:02.617932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:55:22.066931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/54/image_13012025_23_54_03_037760_0003.jpg', '/home/pi/Desktop/images/13012025/23/55/image_13012025_23_55_02_204208_0000.jpg', '/home/pi/Desktop/images/13012025/23/55/image_13012025_23_55_02_204208_0001.jpg', '/home/pi/Desktop/images/13012025/23/55/image_13012025_23_55_02_204208_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/54/image_13012025_23_54_03_037760_0003.jpg
/home/pi/Desktop/images/13012025/23/55/image_13012025_23_55_02_204208_0000.jpg
/home/pi/Desktop/images/13012025/23/55/image_13012025_23_55_02_204208_0001.jpg
/home/pi/Desktop/images/13012025/23/55/image_13012025_23_55_02_204208_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328717136","1328717131","1328717140","1328717137"],"photo_ids_order":["1328717131","1328717136","1328717137","1328717140"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/7033dd415c47ca4bdf51dd67f0ccaab0.jpg","text":"TemporaryFile(/tmp/multipartBody4528415782364634775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808992193,"filename":"image_13012025_23_55_02_204208_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/403761b25a94c4920034b62fe246687f.jpg","text":"TemporaryFile(/tmp/multipartBody686063008678748097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808992193,"filename":"image_13012025_23_54_03_037760_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/0c71cc27eb8aa3948f5e9f10ab2e9741.jpg","text":"TemporaryFile(/tmp/multipartBody2287428811732044221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808992193,"filename":"image_13012025_23_55_02_204208_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/14c0dc5a1dda64b686508f76f173080e.jpg","text":"TemporaryFile(/tmp/multipartBody3198092804470104146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736808992193,"filename":"image_13012025_23_55_02_204208_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328717137","file1":"1328717136","file0":"1328717131","file3":"1328717140"},"map_files_photo_id_array":[{"photo_id":"1328717137","filename":"file2"},{"photo_id":"1328717136","filename":"file1"},{"photo_id":"1328717131","filename":"file0"},{"photo_id":"1328717140","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328717136":["hashtag1","hashtag2"]},{"1328717131":["hashtag1","hashtag2"]},{"1328717140":["hashtag1","hashtag2"]},{"1328717137":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328717136, 1328717131, 1328717140, 1328717137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.12493705749512 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:56:22.263556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/55/image_13012025_23_55_02_204208_0003.jpg', '/home/pi/Desktop/images/13012025/23/56/image_13012025_23_56_02_469592_0000.jpg', '/home/pi/Desktop/images/13012025/23/56/image_13012025_23_56_02_469592_0001.jpg', '/home/pi/Desktop/images/13012025/23/56/image_13012025_23_56_02_469592_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/55/image_13012025_23_55_02_204208_0003.jpg
/home/pi/Desktop/images/13012025/23/56/image_13012025_23_56_02_469592_0000.jpg
/home/pi/Desktop/images/13012025/23/56/image_13012025_23_56_02_469592_0001.jpg
/home/pi/Desktop/images/13012025/23/56/image_13012025_23_56_02_469592_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328717400","1328717422","1328717404","1328717407"],"photo_ids_order":["1328717400","1328717404","1328717407","1328717422"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/f04363f412bb6ca6be5ec3c4a0ab59ec.jpg","text":"TemporaryFile(/tmp/multipartBody8490894275403792765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736809052578,"filename":"image_13012025_23_55_02_204208_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/37fa227a898c5e8a0426d16938662efd.jpg","text":"TemporaryFile(/tmp/multipartBody6447400290788940085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736809052578,"filename":"image_13012025_23_56_02_469592_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/9152e34d5614ff1332a01368f763b246.jpg","text":"TemporaryFile(/tmp/multipartBody8395368378973432559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736809052578,"filename":"image_13012025_23_56_02_469592_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/13/c11f136f48bcea35051f2b12c936fee2.jpg","text":"TemporaryFile(/tmp/multipartBody4186580448990297018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736809052578,"filename":"image_13012025_23_56_02_469592_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328717407","file1":"1328717404","file0":"1328717400","file3":"1328717422"},"map_files_photo_id_array":[{"photo_id":"1328717407","filename":"file2"},{"photo_id":"1328717404","filename":"file1"},{"photo_id":"1328717400","filename":"file0"},{"photo_id":"1328717422","filename":"file3"}],"portfolio_id":19538744,"hashtag_by_photo_ids":[{"1328717400":["hashtag1","hashtag2"]},{"1328717422":["hashtag1","hashtag2"]},{"1328717404":["hashtag1","hashtag2"]},{"1328717407":["hashtag1","hashtag2"]}],"comms":"Portfolio 19538744 used, photo_id : ArrayBuffer(1328717400, 1328717422, 1328717404, 1328717407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.179436922073364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-13 23:57:22.448664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19538744
  datou_current_id : 2477380
in upload_from_sqlite, uploading in 19538744
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/23/56/image_13012025_23_56_02_469592_0003.jpg', '/home/pi/Desktop/images/13012025/23/57/image_13012025_23_57_02_607482_0000.jpg', '/home/pi/Desktop/images/13012025/23/57/image_13012025_23_57_02_607482_0001.jpg', '/home/pi/Desktop/images/13012025/23/57/image_13012025_23_57_02_607482_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477380&datou=0
/home/pi/Desktop/images/13012025/23/56/image_13012025_23_56_02_469592_0003.jpg
/home/pi/Desktop/images/13012025/23/57/image_13012025_23_57_02_607482_0000.jpg
/home/pi/Desktop/images/13012025/23/57/image_13012025_23_57_02_607482_0001.jpg
/home/pi/Desktop/images/13012025/23/57/image_13012025_23_57_02_607482_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
